summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr2.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-19 18:54:54 +0000
committerKarl Berry <karl@freefriends.org>2009-05-19 18:54:54 +0000
commit2d248026682e0a02fa2b004a0ad2f13f57d8535c (patch)
tree7088bbd745de030191c2d843c4b3f4d9d5c46d91 /Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr2.tex
parenteecee5a57aa7fbeb22e0df8440fb3b06c5117fc7 (diff)
move german latex docs out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13264 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr2.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr2.tex b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/texdr2.tex
new file mode 100644
index 00000000000..268941de7cd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/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}