summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/verbatim.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/eplain/base/test/verbatim.tex')
-rw-r--r--Master/texmf-dist/source/eplain/base/test/verbatim.tex65
1 files changed, 65 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/eplain/base/test/verbatim.tex b/Master/texmf-dist/source/eplain/base/test/verbatim.tex
new file mode 100644
index 00000000000..677d0f3b176
--- /dev/null
+++ b/Master/texmf-dist/source/eplain/base/test/verbatim.tex
@@ -0,0 +1,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