]> mj.ucw.cz Git - ucwmac.git/blob - ucwmac-test.tex
First attempts at a new verbatim environment
[ucwmac.git] / ucwmac-test.tex
1 \input ucwmac.tex
2
3 \pageunderlay{\placeat{0pt}{0pt}{\crosshair{10pt}}}
4
5 \def\hd#1{\bigskip\leftline{\bf #1}\medskip}
6
7 \hd{Box placement: ordinary word, vbox, vtop, vhang, vhanglines}
8
9 \def\brum{\hbox{Brum}}
10 \def\brums{\brum\brum\brum}
11
12 \noindent
13 \placeat{0pt}{0pt}{\vlap{\hbox to 0.5\hsize{\hrulefill}}}%
14 \placeat{0pt}{0pt}{\crosshair{10pt}}%
15 \brum{}
16 \vbox{\brums}
17 \vtop{\brums}
18 \vhang{\brums}
19 \vhanglines{\brums}
20
21 \hd{Itemization}
22
23 \noindent An~itemized list:
24
25 \itemize\ibull
26 \:It is an important and popular fact that things are not always what
27 they seem.  For instance, on the planet Earth, man had always assumed
28 that he was more intelligent than dolphins because he had achieved so
29 much -- the wheel, New York, wars and so on -- whilst all the dolphins
30 had ever done was muck about in the water having a good time.  But
31 conversely, the dolphins had always believed that they were far more
32 intelligent than man -- for precisely the same reasons.
33 \:Curiously enough, the dolphins had long known of the impending
34 destruction of the of the planet Earth and had made many attempts to
35 alert mankind to the danger; but most of their communications were
36 misinterpreted\dots{} --- Douglas Addams: HHG
37 \:Third:
38         \itemize\istar
39         \:Primus
40         \: Secundus     %% are spaces eaten correctly?
41         \:Tertius
42         \:Graecus:
43                 \numlist\ngreek
44                 \:alpha
45                 \:beta
46                 \: gamma
47                 \endlist
48         \endlist
49 \:Fourth
50 \endlist
51
52 \hd{Inline verbatim}
53
54 Lo and behold: |a quick brown fox| {\showspacestrue |jumps over  the lazy dog|} |!@#$%^&*()\_|
55
56 \hd{Block verbatim}
57
58 \noindent Pre-verbatim
59 \showspacestrue
60 \verbatim{
61 abracadabra {!@#$%^&*()\_}
62 1       tab
63 12      tab
64 123     tab
65 1234    tab
66 12345   tab
67 123456  tab
68 1234567 tab
69 12345678        tab     tab
70 123456789       tab45678        tab
71 123456789       tab45678         tab&space
72 123456789               tabtab
73
74 123456789               tabtab
75 }
76 \noindent Post-verbatim
77
78 \bye