]> mj.ucw.cz Git - ucwmac.git/blob - test.tex
a542a16b4d151171fda473bc2362b4e2cd812b42
[ucwmac.git] / test.tex
1 \input ucwmac.tex
2 \input ucw-ofs.tex
3 \input ucw-verb.tex
4
5 \showfonts
6
7 \twelvepoint
8
9 \pageunderlay{\placeat{0pt}{0pt}{\crosshair{10pt}}}
10
11 \def\hd#1{\bigskip\leftline{\bf #1}\medskip}
12
13 \hd{Box placement: ordinary word, vbox, vtop, vhang, vhanglines}
14
15 \def\brum{\hbox{Brum}}
16 \def\brums{\brum\brum\brum}
17
18 \noindent
19 \placeat{0pt}{0pt}{\vlap{\hbox to 0.5\hsize{\hrulefill}}}%
20 \placeat{0pt}{0pt}{\crosshair{10pt}}%
21 \brum{}
22 \vbox{\brums}
23 \vtop{\brums}
24 \vhang{\brums}
25 \vhanglines{\brums}
26
27 \hd{Itemization}
28
29 \noindent An~itemized list:
30
31 \itemize\ibull
32 \:It is an important and popular fact that things are not always what
33 they seem.  For instance, on the planet Earth, man had always assumed
34 that he was more intelligent than dolphins because he had achieved so
35 much -- the wheel, New York, wars and so on -- whilst all the dolphins
36 had ever done was muck about in the water having a good time.  But
37 conversely, the dolphins had always believed that they were far more
38 intelligent than man -- for precisely the same reasons.
39 \:Curiously enough, the dolphins had long known of the impending
40 destruction of the of the planet Earth and had made many attempts to
41 alert mankind to the danger; but most of their communications were
42 misinterpreted\dots{} --- Douglas Addams: HHG
43 \:Third:
44         \itemize\istar
45         \:Primus
46         \: Secundus     %% are spaces eaten correctly?
47         \:Tertius
48         \:Graecus:
49                 \numlist\ngreek
50                 \:alpha
51                 \:beta
52                 \: gamma
53                 \endlist
54         \endlist
55 \:Fourth
56 \endlist
57
58 \hd{Inline verbatim}
59
60 \inlineverbon
61 Lo and behold: |a quick brown fox| {\showspacestrue |jumps over  the lazy dog|} |!@#$%^&*()\_|
62
63 \inlineverboff
64 When turned off, vertical lines work as usually: $|a-b| \ge 0$.
65
66 Delimited verbatim: \verb@abracadabra@ or \verb|brekeke|.
67
68 \hd{Block verbatim}
69
70 \noindent Pre-verbatim
71 \showspacestrue
72 \verbatim{
73 abracadabra {!@#$%^&*()\_}
74 1       tab
75 12      tab
76 123     tab
77 1234    tab
78 12345   tab
79 123456  tab
80 1234567 tab
81 12345678        tab     tab
82 123456789       tab45678        tab
83 123456789       tab45678         tab&space
84 123456789               tabtab
85
86 123456789               tabtab
87 }
88 \noindent Post-verbatim
89
90 %\verbinput{ucwmac.tex}
91
92 \hd{Font selection}
93
94 {\bo non-extended bold}
95
96 {\csc Caps And Small Caps}
97
98 \loadmathfam \ttfam [/cmtt\fotenc]%
99 ${\tt x}\in\fam\bbfam R$
100
101 The set{\settextsize{11}text}size macro does not strew spaces.
102
103 \bye