summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lapdf/recttria.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-04 16:35:48 +0000
committerKarl Berry <karl@freefriends.org>2011-09-04 16:35:48 +0000
commit60b4ec6f2bf1ba57aa206b2ac46c454d75f3bf93 (patch)
treecbf61d6f8bd4a2c6ff62d5e7940e22c352757cfa /Master/texmf-dist/doc/latex/lapdf/recttria.tex
parentd422465c9efb44dd32ba6a50f6ef9879bce018be (diff)
lapdf is back (2sep11)
git-svn-id: svn://tug.org/texlive/trunk@23806 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/lapdf/recttria.tex')
-rw-r--r--Master/texmf-dist/doc/latex/lapdf/recttria.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/lapdf/recttria.tex b/Master/texmf-dist/doc/latex/lapdf/recttria.tex
new file mode 100644
index 00000000000..9d96bd6360c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lapdf/recttria.tex
@@ -0,0 +1,29 @@
+\input preamble.tex
+
+\Defnum(\a,0)
+
+% ---------------------------------------------------------------------------
+\begin{document}
+\unitlength1.2cm
+
+\begin{center}
+{\Huge \bf{Rectangle}}
+\bigskip
+
+\begin{lapdf}(15,15)(-7.5,-7.5)
+ \Whilenum{\a<360}{%
+ \Stepcol(0,23,2) \Rectangle(0,0)(4.5,6)(\a) \Stroke \Add(\a,15)}
+\end{lapdf}
+
+\newpage
+
+{\Huge \bf{Triangle}}
+\bigskip
+
+\begin{lapdf}(15,15)(-7.5,-7.5)
+ \Resetcol
+ \Whilenum{\a<360}{%
+ \Stepcol(0,23,2) \Triangle(0,0)(0,4.5)(6,4.5)(\a) \Stroke \Add(\a,15)}
+\end{lapdf}
+\end{center}
+\end{document}