diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr1.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr1.tex | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr1.tex b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr1.tex new file mode 100644 index 00000000000..fcb76b66792 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr1.tex @@ -0,0 +1,40 @@ +\documentclass{article} +\usepackage{german,texdraw} +\input txdps % <-- nur fuer die Torte noetig! + +\begin{document} + +\centering + +\begin{texdraw} +\drawdim cm + +% Frame um alles, grau unterlegen +\move(0 0)\lvec(8 0) \lvec(8 5) \lvec(0 5) \lvec(0 0) +\ifill f:.9 + +% Beschriftung +\textref h:C v:C +\htext(4 4.5){"Uberschrift} +\vtext(.5 2.5){$y=\sqrt{g(t)}$} + +\textref h:R v:T +\htext(7 .7){Zeit $t$} + +% Graphik beginnt an Punkt (1,1) +\move(1 1)\bsegment + % Weisse Flaeche + \move(0 0) \lvec(6 0) \lvec(6 3) \lvec(0 3) \lvec(0 0) + \ifill f:1 + % Koordinatensystem + \move(0 0) \avec(6 0) \move(0 0) \avec(0 3) + % Daten + \move(.5 .8) \lvec(1 1) \lvec(2 .8) \lvec(3 2) \lvec(4 1.5) + \lvec(5 1.7) + \lpatt(.1 .1) % je 1 mm Strich und Luecke! + \move(.5 2) \lvec(1 1.8) \lvec(2 1.5) \lvec(3 .8) \lvec(4 1.3) + \lvec(5 1.4) + \esegment +\end{texdraw} + +\end{document} |