summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/german/latex-tipps-und-tricks/texdr2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/german/latex-tipps-und-tricks/texdr2.tex')
-rw-r--r--Master/texmf-doc/doc/german/latex-tipps-und-tricks/texdr2.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/german/latex-tipps-und-tricks/texdr2.tex b/Master/texmf-doc/doc/german/latex-tipps-und-tricks/texdr2.tex
new file mode 100644
index 00000000000..268941de7cd
--- /dev/null
+++ b/Master/texmf-doc/doc/german/latex-tipps-und-tricks/texdr2.tex
@@ -0,0 +1,28 @@
+\documentclass{article}
+\usepackage{german,texdraw}
+\input txdps % <-- nur fuer die Torte noetig!
+
+\begin{document}
+
+\centering
+
+\begin{texdraw}
+\drawdim cm
+% maximale Abmessungen bekanntmachen!
+\move(0 0)\move(5 5)
+
+% Torte beginnt an M=(2.5 2.5)
+\move(2.5 2.5)\bsegment
+ \move(0 0) \PSarc r:2 sd:80 ed:290 (0 0)
+ \PSclosepath \ifill f:.7
+ \move(0 0) \PSarc r:2 sd:290 ed:360 (0 0)
+ \PSclosepath \ifill f:.2
+ \move(.3 .3) \PSarc r:2 sd:0 ed:80 (.3 .3)
+ \PSclosepath \lfill f:.9
+ \move(-2.5 1.5) \avec(-1 .5)
+ \htext(-2.5 1.5){Hauptanteil}
+ \move(2 3) \avec(1.5 1)
+ \htext(2 3){Anteil $\frac{\phi_1}{\phi_2}$}
+ \esegment
+\end{texdraw}
+\end{document}