diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
commit | a683c3d7e9fac38ec713f23fb6b9d2c7143aea82 (patch) | |
tree | 424ab223921f85fd3f167a4ccd0e2d37d05c2927 /Master/texmf-dist/doc/latex/latex-graphics-companion/4-6-26.ltx | |
parent | 5beb5368a684995153c8566797ba054f21c666af (diff) |
move english latex doc out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-graphics-companion/4-6-26.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-graphics-companion/4-6-26.ltx | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/4-6-26.ltx b/Master/texmf-dist/doc/latex/latex-graphics-companion/4-6-26.ltx new file mode 100644 index 00000000000..96e648f5bca --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/4-6-26.ltx @@ -0,0 +1,35 @@ +\documentclass{ppex} +\nonstopmode +\usepackage {pstcol,pst-node,multido} +\pagestyle{empty} +\setlength\textwidth{207.0pt} +\begin{document} +\ResetPreambleCommands +\ReadyForTheFray +\usepackage {pstcol,pst-node,multido} +\newcounter{CtA} \newcounter{CtB} +\newcommand{\Wheel}[3]{{% +\color{black} \psset{unit=#2} +\pspicture(-1,-1.2)(1,1.2) +\SpecialCoor \degrees[#1] +\multido{\ia=1+1}{#1}{% + \setcounter{CtA}{\ia}% + \stepcounter{CtA}% + \setcounter{CtB}{#1}% + \addtocounter{CtB}{-\ia}% + \multido{\ib=\value{CtA}+1} + {\value{CtB}}{#3(1;\ia)(1;\ib)}} +\multido{\i=1+1}{#1}{% + \rput(1;\i){% + \pscirclebox[fillstyle=solid, + fillcolor=white]% + {\footnotesize\i}}} +\endpspicture}}% end of newcommand +{\color{white} +\fbox{\Wheel{3}{1.2}{\psline} +\Wheel{5}{1.2}{\psline}} + +\psset{arcangle=10} +\fbox{\Wheel{12}{3}{\pcarc[linecolor=blue]}} +} +\end{document} |