2 %% This is file `verbatim.sty' generated
3 %% on <1991/9/3> with the docstrip utility (v1.1l test).
5 %% The original source file was `verbatim.doc'.
8 %% Copyright (C) 1989,1990,1991 by Rainer Schoepf. All rights reserved.
12 %% You are not allowed to change this file. You may however copy this file
13 %% to a different name and then change this copy.
15 %% You are allowed to distribute this file under the condition that it is
16 %% distributed together with all files mentioned in readme.mz4. If you
17 %% receive only some of these files from someone, complain!
19 %% You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED
20 %% to take money for the distribution or use of this file (or a changed
21 %% version) except for some nominal charge for copying etc.
23 %% Error Reports in case of UNCHANGED versions to
26 %% Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
27 %% Heilbronner Str. 10
29 %% Federal Republic of Germany
30 %% Internet: <SCHOEPF@SC.ZIB-Berlin.DE>
32 \def\fileversion{v1.4f}
33 \def\filedate{91/08/05}
34 \def\docdate{91/08/05}
38 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
39 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
40 %% Digits \0\1\2\3\4\5\6\7\8\9
41 %% Exclamation \! Double quote \" Hash (number) \#
42 %% Dollar \$ Percent \% Ampersand \&
43 %% Acute accent \' Left paren \( Right paren \)
44 %% Asterisk \* Plus \+ Comma \,
45 %% Minus \- Point \. Solidus \/
46 %% Colon \: Semicolon \; Less than \<
47 %% Equals \= Greater than \> Question mark \?
48 %% Commercial at \@ Left bracket \[ Backslash \\
49 %% Right bracket \] Circumflex \^ Underscore \_
50 %% Grave accent \` Left brace \{ Vertical bar \|
51 %% Right brace \} Tilde \~}
53 %% Style-option `verbatim' to use with LaTeX v2.09
54 %% Copyright (C) 1989, 1990, 1991 by Rainer Sch\"opf, all rights reserved.
55 \@ifundefined{verbatim@@@}{}{\endinput}
56 \typeout{Style-Option: `verbatim'
57 \fileversion \space <\filedate> (RmS)}
58 \typeout{English Documentation
59 \@spaces \@spaces \space <\docdate> (RmS)}
60 \def\addto@hook#1#2{#1\expandafter{\the#1#2}}
61 \newtoks\every@verbatim
63 \def\@makeother#1{\catcode`#112\relax}
66 \gdef\@vobeyspaces{\catcode`\ \active\let \@xobeysp}%
68 \def\@xobeysp{\leavevmode\penalty\@M\ }
69 \newtoks\verbatim@line
70 \def\verbatim@startline{\verbatim@line{}}
71 \def\verbatim@addtoline#1{%
72 \verbatim@line\expandafter{\the\verbatim@line#1}}
73 \def\verbatim@processline{\the\verbatim@line\par}
74 \def\verbatim@finish{\ifcat$\the\verbatim@line$\else
75 \verbatim@processline\fi}
78 \gdef\verbatim@font{\tt \catcode96\active
79 \def`{\leavevmode\kern\z@\char96 }}
81 \def\@verbatim{\the\every@verbatim
83 \leftskip\@totalleftmargin\rightskip\z@
84 \parindent\z@\parfillskip\@flushglue\parskip\z@
86 \def\par{\leavevmode\null\@@par\penalty\interlinepenalty}%
89 \let\do\@makeother \dospecials}
90 \def\verbatim{\@verbatim \frenchspacing\@vobeyspaces\verbatim@start}
91 \@namedef{verbatim*}{\@verbatim\verbatim@start}
92 \let\endverbatim=\endtrivlist
93 \expandafter\let\csname endverbatim*\endcsname =\endtrivlist
94 \def\comment{\@bsphack
95 \let\do\@makeother\dospecials\catcode`\^^M\active
96 \let\verbatim@startline\relax
97 \let\verbatim@addtoline\@gobble
98 \let\verbatim@processline\relax
99 \let\verbatim@finish\relax
101 \let\endcomment=\@esphack
102 \@ifundefined{vrb@catcodes}%
104 \catcode`\!12\catcode`\[12\catcode`\]12}}{}
107 \lccode`\!=`\\ \lccode`\[=`\{ \lccode`\]=`\}
108 \catcode`\~=\active \lccode`\~=`\^^M
111 \gdef\verbatim@start#1{%
113 \if\noexpand#1\noexpand~%
115 \else \def\next{\verbatim@#1}\fi
117 \gdef\verbatim@#1~{\verbatim@@#1!end\@nil}%
118 \gdef\verbatim@@#1!end{%
119 \verbatim@addtoline{#1}%
120 \futurelet\next\verbatim@@@}%
121 \gdef\verbatim@@@#1\@nil{%
123 \verbatim@processline
127 \def\@tempa##1!end\@nil{\toks@{##1}}%
130 \edef\next{\noexpand\verbatim@test\the\toks@\noexpand~}%
132 \gdef\verbatim@test#1{%
133 \let\next\verbatim@test
134 \if\noexpand#1\noexpand~%
135 \expandafter\verbatim@addtoline
136 \expandafter{\the\@temptokena}%
137 \verbatim@processline
141 \@temptokena\expandafter{\the\@temptokena#1}%
142 \else \if\noexpand#1\noexpand[%
144 \let\next\verbatim@testend
146 \expandafter\verbatim@addtoline
147 \expandafter{\the\@temptokena}%
148 \def\next{\verbatim@#1}%
151 \gdef\verbatim@testend#1{%
152 \if\noexpand#1\noexpand~%
153 \expandafter\verbatim@addtoline
154 \expandafter{\the\@temptokena[}%
155 \expandafter\verbatim@addtoline
156 \expandafter{\@tempc}%
157 \verbatim@processline
160 \else\if\noexpand#1\noexpand]%
161 \let\next\verbatim@@testend
162 \else\if\noexpand#1\noexpand!%
163 \expandafter\verbatim@addtoline
164 \expandafter{\the\@temptokena[}%
165 \expandafter\verbatim@addtoline
166 \expandafter{\@tempc}%
167 \def\next{\verbatim@!}%
168 \else \expandafter\def\expandafter\@tempc\expandafter
171 \gdef\verbatim@@testend{%
172 \ifx\@tempc\@currenvir
174 \edef\next{\noexpand\end{\@currenvir}%
175 \noexpand\verbatim@rescan{\@currenvir}}%
177 \expandafter\verbatim@addtoline
178 \expandafter{\the\@temptokena[}%
179 \expandafter\verbatim@addtoline
180 \expandafter{\@tempc]}%
184 \gdef\verbatim@rescan#1#2~{\if\noexpand~\noexpand#2~\else
185 \@warning{Characters dropped after `\string\end{#1}'}\fi}}
187 \def\verbatiminput{\begingroup
188 \@ifstar\sverbatim@input\verbatim@input}
189 \def\sverbatim@input#1{\@verbatim
190 \@input{#1}\endtrivlist\endgroup\@doendpe}
191 \def\verbatim@input#1{\@verbatim
192 \frenchspacing \@vobeyspaces
193 \@input{#1}\endtrivlist\endgroup\@doendpe}
197 \gdef\verb{\begingroup
200 \def~{\endgroup\@latexerr{\string\verb\space command ended by
202 \let\do\@makeother \dospecials
203 \@ifstar\@sverb{\@vobeyspaces \frenchspacing \@sverb}}}
208 \lowercase{\let~\endgroup}%
212 %% End of file `verbatim.sty'.