summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lapdf/vector.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/vector.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/vector.tex')
-rw-r--r--Master/texmf-dist/doc/latex/lapdf/vector.tex46
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/lapdf/vector.tex b/Master/texmf-dist/doc/latex/lapdf/vector.tex
new file mode 100644
index 00000000000..bd8867c11a9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lapdf/vector.tex
@@ -0,0 +1,46 @@
+\input preamble.tex
+
+\Defnum(\n,10)
+\Defdim(\m,0)
+\Defdim(\r,7)
+\newdimen\a
+\newdimen\x
+\newdimen\y
+
+% ---------------------------------------------------------------------------
+\begin{document}
+\unitlength1.25cm
+
+\begin{center}
+{\Huge\bf{Vect}}
+\bigskip
+
+\begin{lapdf}(14,14)(-7,-7)
+ \Whiledim{\m<360}{%
+ \Rad(\Np\m,\a)
+ \Cos(\Np\a,\x) \Mul(\x,7)
+ \Sin(\Np\a,\y) \Mul(\y,7)
+ \Nextcol(0,23)
+ \Vect(0,0)(\Np\x,\Np\y)
+ \Dadd(\m,7.5)}
+\end{lapdf}
+\end{center}
+
+\newpage
+
+\begin{center}
+{\Huge\bf{Vecto}}
+\bigskip
+
+\begin{lapdf}(14,14)(-7,-7)
+ \Moveto(\Np\r,0)
+ \Whilenum{\n<1445}{%
+ \Rad(\n,\a)
+ \Cos(\Np\a,\x) \Dmul(\x,\r)
+ \Sin(\Np\a,\y) \Dmul(\y,\r)
+ \Nextcol(0,23)
+ \Vecto(\Np\x,\Np\y)
+ \Add(\n,10) \Dsub(\r,0.05)}
+\end{lapdf}
+\end{center}
+\end{document}