diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:44:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:44:40 +0000 |
commit | b4fc5f639874db951177ec539299d20908adb654 (patch) | |
tree | 52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/pdftricks/test-fig1.tex | |
parent | dec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff) |
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdftricks/test-fig1.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pdftricks/test-fig1.tex | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdftricks/test-fig1.tex b/Master/texmf-dist/doc/latex/pdftricks/test-fig1.tex new file mode 100644 index 00000000000..fe5e1788986 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pdftricks/test-fig1.tex @@ -0,0 +1,28 @@ +\documentclass{article} +\input tmp.inputs +\pagestyle{empty} +\usepackage{amssymb,amsbsy} +\begin{document} +\definecolor{lightblue}{rgb}{0,0,.5} +\definecolor{Navy}{rgb}{0,0,0.5} +\definecolor{LemonChiffon}{rgb}{1,0.98,0.8} +\definecolor{ForestGreen}{rgb}{0.13,0.55,0.13} +\def\transl#1#2{#1\space 72 2.54 div mul #2\space 72 2.54 div + mul translate 0 0 moveto } +\newif\ifnotbothz + \pspicture(-6,-6)(6,6) + \psaxes{<->}(0,0)(-6,-6)(6,6) + \multido{\n=-5+1}{11}{% + \multido{\N=-5+1}{11}{% + \notbothztrue% + \ifnum\N=0 % + \ifnum\n=0 \notbothzfalse\fi% + \fi% + \ifnotbothz% + \psdot(0,0)% + \pstverb{\transl{\n}{\N}\space + \n\space neg \N\space + atan rotate -9 0 moveto 18 0 rlineto stroke } +\fi}} +\endpspicture +\end{document} |