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/12-0-11.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/12-0-11.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-graphics-companion/12-0-11.ltx | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/12-0-11.ltx b/Master/texmf-dist/doc/latex/latex-graphics-companion/12-0-11.ltx new file mode 100644 index 00000000000..ab2f7b530e3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/12-0-11.ltx @@ -0,0 +1,93 @@ +\documentclass{ppex} +\nonstopmode +\usepackage {pstall} +\pagestyle{empty} + +\begin{document} +\ResetPreambleCommands +\ReadyForTheFray +\usepackage {pstall} +\definecolor{pink}{rgb}{1, .75, .8} +\definecolor{wheat}{rgb}{.96, .87, .7} +\definecolor{lightblue}{rgb}{.68, .85, .9} +\definecolor{brown}{rgb}{.65, .16, .16} +\definecolor{palegreen}{rgb}{.6, .98, .6} +\definecolor{white}{rgb}{1, 1, 1 } +\DeclareFixedFont{\curly}{T1}{pzc}{m}{it}{30} +% +% The cat is designed to appear on a 10 x 10 grid +% cat head +\def\Cathead{% + \pscircle[fillcolor=black](5,4.2){2.5}% +% ears + \bgroup + \psset{linecolor=black,fillcolor=pink,linewidth=.05,linestyle=solid} + \rput{45}(5,4.2){\pspolygon(2.5,.5)(2.5,-.5)(3.5,0)} + \rput{135}(5,4.2){\pspolygon(2.5,.5)(2.5,-.5)(3.5,0)} + \egroup +} +% eyes, nose and whiskers +\def\Catface{% + \pscircle[fillcolor=yellow](4,5.2){.5} + \psdiamond[fillcolor=gray](4,5.2)(.2,.5) + \pscircle[fillcolor=yellow](6,5.2){.5} + \psdiamond[fillcolor=gray](6,5.2)(.2,.5) +% nose + \rput{180}(5,4.6){\pstriangle[fillcolor=pink](.5,.5)} + % whiskers + \bgroup + \psset{linecolor=white,linestyle=solid,linewidth=.1} + \rput{5}(5,4.2){\psline(.8,0)(1.8,0)} + \rput{15}(5,4.2){\psline(.8,0)(1.8,0)} + \rput{165}(5,4.2){\psline(.8,0)(1.8,0)} + \rput{175}(5,4.2){\psline(.8,0)(1.8,0)} + \egroup +} +% paws +\def\Catpaws{% + \pscircle[fillcolor=black](1,4.2){.8} + \pscircle[fillcolor=black](9,4.2){.8} +% claws + \bgroup + \psset{fillcolor=yellow} + \def\clawsize{.4,.4} + \rput{180}(1,4.4){\pstriangle(\clawsize)} + \rput{180}(1,4.4){\pstriangle(-.45,0)(\clawsize)} + \rput{180}(1,4.4){\pstriangle(.45,0)(\clawsize)} + \rput{180}(9,4.4){\pstriangle(\clawsize)} + \rput{180}(9,4.4){\pstriangle(-.45,0)(\clawsize)} + \rput{180}(9,4.4){\pstriangle(.45,0)(\clawsize)} + \egroup +} +% wall +\def\Wall{% + \psframe[fillcolor=brown](0,0)(10,4) +} +% The whole cat on its wall +\def\Cat#1{% + {\psset{unit=#1} + \Cathead\Catface\Catpaws\Wall}% +} +% bricks +\def\Bricks{% + \bfseries\large + \psset{fillcolor=wheat} + \psframe(1,.4)(2.5,1.9) + \rput[bl](1.1,1){\LaTeX} + \psframe(5,.4)(6.3,1.9) + \psframe(7,.4)(8.5,1.9) + \psframe(2,2.2)(3.2,3.7) + \rput[bl]{90}(2.6,2.4){\normalsize$e=mc^2$} + \psframe(5.3,2.2)(8,3.7) + \rput[bl](5.4,2.8){\textsc{PostScript}} +} +\begin{pspicture}(10,8) +\psset{fillstyle=solid,linestyle=none,linewidth=0} +\psframe[fillcolor=lightblue](10,8) +\Cat{1} +\rput[bl]{5}(1,1){\curly\color{white}Don Knuth Rules OK} +\Bricks +\rput(7,1){\Cat{.1}} +\rput(.1,2){\Cat{.15}} +\end{pspicture} +\end{document} |