Debian Codegraph @

texk/dvipsk/tex/rotsample.tex

raw
1 \input rotate
2 \newbox\rotbox
3 \newbox\rottwo
4 %
5 \font\big=cmr17 scaled\magstep4
6 This is a \setbox\rotbox=\hbox{simple}\rotl\rotbox\ test of
7 \setbox\rotbox=\hbox{some}\rotu\rotbox\ rotation primitives that
8 \setbox\rotbox=\hbox{\big work}\rotr\rotbox.
9 Or maybe \setbox\rotbox=\hbox{\vrule height .2in width .2in}\rotl\rotbox\
10 not.
11 \bigskip
12 \centerline{\vbox{\offinterlineskip
13 \def\tablerule{\noalign{\hrule}}
14 \def\breather{height 2pt&&&&&&&&&&\cr}
15 \def\allfive#1{\breather
16 &\global\setbox\rottwo=\hbox{#1}\copy\rottwo&&%
17 \setbox\rotbox=\copy\rottwo\rotl\rotbox&&%
18 \setbox\rotbox=\copy\rottwo\rotu\rotbox&&%
19 \setbox\rotbox=\copy\rottwo\rotr\rotbox&&%
20 \rotf\rottwo&\cr
21 \breather\tablerule}
22 \offinterlineskip
23 \halign{\vrule#&\hfil\ #\ \hfil&\vrule#&\hfil\ #\ \hfil&\vrule#&%
24 \hfil\ #\ \hfil&\vrule#&\hfil\ #\ \hfil&\vrule#&\hfil\ #\ \hfil&\vrule#\cr
25 \tablerule
26 \breather
27 &\strut Upside&&Leftside&&Downside&&Rightside&&Flipside&\cr
28 \breather\tablerule
29 \allfive{gnus}
30 \allfive{$-b\pm\sqrt{b^2-4ac}\over2a$}
31 \allfive{{\big A}}}}}%
32 \bye