diff options
author | Ian Jauslin <ian@jauslin.org> | 2022-10-17 21:29:44 -0400 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2022-10-17 21:38:43 -0400 |
commit | 5e93cc41fab3874bf782c5f8050fce53f4362eca (patch) | |
tree | 197240ffd0ffae10fd6ff0584b4d25a7bdb9f701 /figs/potential.fig |
Diffstat (limited to 'figs/potential.fig')
-rw-r--r-- | figs/potential.fig/Makefile | 28 | ||||
-rw-r--r-- | figs/potential.fig/potential.tikz.tex | 22 |
2 files changed, 50 insertions, 0 deletions
diff --git a/figs/potential.fig/Makefile b/figs/potential.fig/Makefile new file mode 100644 index 0000000..33b81e2 --- /dev/null +++ b/figs/potential.fig/Makefile @@ -0,0 +1,28 @@ +PROJECTNAME=$(basename $(basename $(wildcard *.tikz.tex))) +LIBS=$(notdir $(wildcard libs/*)) + +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) + +all: $(PDFS) + +$(PDFS): $(LIBS) + echo $(LIBS) + pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@) + +install: $(PDFS) + cp $^ $(INSTALLDIR)/ + +$(LIBS): + ln -fs libs/$@ ./ + +clean-libs: + rm -f $(LIBS) + +clean-aux: + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + +clean-tex: + rm -f $(PDFS) + +clean: clean-libs clean-aux clean-tex diff --git a/figs/potential.fig/potential.tikz.tex b/figs/potential.fig/potential.tikz.tex new file mode 100644 index 0000000..744634e --- /dev/null +++ b/figs/potential.fig/potential.tikz.tex @@ -0,0 +1,22 @@ +\documentclass{standalone} + +\usepackage{tikz} + +\begin{document} +\begin{tikzpicture} + +\draw(-3,0)--(3,0); +\draw(0,-1.5)--(0,3); + +\draw[line width=1.5pt](-2.5,0)--(0,0)--(0,2.5)--(1.975,-1.25); +\draw(1.5,1.5)node{\small$U-Ex$}; + +\draw[line width=1pt, densely dotted](-2.5,1)--(0,1); +\draw(-3.4,1)node{\small$\mathcal E_F\equiv U-W$}; + +\draw(0,3.3)node{\small$V$}; +\draw(3.3,0)node{\small$x$}; + +\end{tikzpicture} +\end{document} + |