summaryrefslogtreecommitdiff
path: root/info/examples/lgc/12-0-8.ltx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/lgc/12-0-8.ltx
Initial commit
Diffstat (limited to 'info/examples/lgc/12-0-8.ltx')
-rw-r--r--info/examples/lgc/12-0-8.ltx28
1 files changed, 28 insertions, 0 deletions
diff --git a/info/examples/lgc/12-0-8.ltx b/info/examples/lgc/12-0-8.ltx
new file mode 100644
index 0000000000..dc7f4eda2b
--- /dev/null
+++ b/info/examples/lgc/12-0-8.ltx
@@ -0,0 +1,28 @@
+\documentclass{ppex}
+\nonstopmode
+\usepackage {pstall}
+\pagestyle{empty}
+
+\begin{document}
+\ResetPreambleCommands
+\ReadyForTheFray
+\usepackage {pstall}
+\DeclareFixedFont{\bigsf}{T1}{phv}{b}{n}{1.75cm}
+\DeclareFixedFont{\tinyrm}{T1}{ptm}{m}{n}{2mm}
+\newcounter{myN}
+\setcounter{myN}{300}
+\begin{pspicture}(0,0)(13,1.4)
+\pscharclip[linecolor=red,fillstyle=solid,
+ fillcolor=yellow]
+ {\rput[bl](0,0){\bigsf CHOCOLATE}}
+\rput[t]{90}(0,0)
+ {\vbox
+ {\hsize=4cm \offinterlineskip \raggedright\tinyrm\color{black}
+ \loop
+ \addtocounter{myN}{-1}
+ \ifnum\value{myN}>0
+ nuts and raisins
+ \repeat}}
+\endpscharclip
+\end{pspicture}
+\end{document}