diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/schemetex/astyped.sty |
Initial commit
Diffstat (limited to 'support/schemetex/astyped.sty')
-rw-r--r-- | support/schemetex/astyped.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/support/schemetex/astyped.sty b/support/schemetex/astyped.sty new file mode 100644 index 0000000000..4ad22ba567 --- /dev/null +++ b/support/schemetex/astyped.sty @@ -0,0 +1,23 @@ +%%%%%%%%%%%%%%%%%%%%%% @(#)astyped.sty 1.3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% ASTYPED DOCUMENT-STYLE OPTION - released 88/06/30 +% for LaTeX version 2.09 +% Based on Leslie Lamport's verbatim environment in latex.tex. + +% Defines the `astyped' environment, which is like the `verbatim' +% environment except most of the special characters have their usual meanings. +% Space, ^K, and ^A are the only specials changed. + +\def\astyped{\trivlist \item[]\if@minipage\else\vskip\parskip\fi +\leftskip\@totalleftmargin\rightskip\z@ +\parindent\z@\parfillskip\@flushglue\parskip\z@ +\@tempswafalse \def\par{\if@tempswa\hbox{}\fi\@tempswatrue\@@par} +\obeylines \tt \catcode``=13 \@noligs \let\do\@makeother \do\ \do\^^K\do\^^A + \frenchspacing\@vobeyspaces} + +\let\endastyped=\endtrivlist + +% Used inside astyped environments for normal formatting of a line. +% I wish I could give space its normal catcode within \notastyped. +\def\notastyped#1{\mbox{\rm #1}} + |