diff options
Diffstat (limited to 'Master/texmf-dist/source/eplain/base/test/verb2.tex')
-rw-r--r-- | Master/texmf-dist/source/eplain/base/test/verb2.tex | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/eplain/base/test/verb2.tex b/Master/texmf-dist/source/eplain/base/test/verb2.tex new file mode 100644 index 00000000000..b3c7c4ad54c --- /dev/null +++ b/Master/texmf-dist/source/eplain/base/test/verb2.tex @@ -0,0 +1,61 @@ +% This file is public domain. +% +% Date: Wed, 30 Mar 94 09:50:27 CST +% From: dorai@cs.rice.edu (Dorai Sitaram) +% To: karl@cs.umb.edu +% Subject: eplain 2.4's \verbatim: problem & fix + +\input eplain + +Testing Eplain's \verbatim verbatim|endverbatim + +\def\junk{{\it Some obviously $a^2+b^2$ non-verbatim stuff}} + +\bigskip\bigskip + +First let's test if the default | works + +\verbatim +verbatim starts +Some special chars: + !@#$%^&*()_+ +Now test if doubling works: + This line ends with a single || +Now test if I can use || to get non-verbatim stuff: + \junk +verbatim ends +|endverbatim + +\bigskip\bigskip + +Now let's try the same with escape set to \#. +\verbatimescapechar\# + +\verbatim +verbatim starts +Some special chars: + !@$%^&*()_+ +Now test if doubling works: + This line ends with a single ## +Now test if I can use ## to get non-verbatim stuff: + #junk +verbatim ends +#endverbatim + +\bigskip\bigskip + +Now with @. +\verbatimescapechar\@ + +\verbatim +verbatim starts +Some special chars: + !#$%^&*()_+ +Now test if doubling works: + This line ends with a single @@ +Now test if I can use @@ to get non-verbatim stuff: + @junk +verbatim ends +@endverbatim + +\bye |