summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/verbatim.tex
blob: 677d0f3b176808b75d7e7e08d105fdc48a3a6a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
% This file is public domain.
%
\input eplain

Leading spaces:

\verbatim
---T--T----
One

   Two

      Three

   Four

Five
|endverbatim

The same again with spaces on empty lines:

\verbatim
---T--T----
One
   
   Two
   
      Three
   
   Four
   
Five
|endverbatim

Now for some tabs:

\verbatim
--------T-------T
One

	Two

		Three

	Four

Five
	
|endverbatim

Here is how you can get vertical bars into verbatim:

\verbatim
||!@#$%^&*()_-+=\~`{}[]:'';'<>?,./
|endverbatim

And here's you can use it in a paragraph:
\verbatim middle%%%%|endverbatim.  And this is the example from the
manual, quoted with a leading space: `\verbatim| ||\#%&!|endverbatim'.

Now we change the escape character to @ and have a leading space:
\verbatimescapechar @
`\verbatim@ @@|my what big teeth you have!@endverbatim'.

\bye