diff -r 8a5b3f58b944 -r 3253c6046d57 doc-src/TutorialI/ttbox.sty --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc-src/TutorialI/ttbox.sty Wed Apr 19 11:54:39 2000 +0200 @@ -0,0 +1,20 @@ +\ProvidesPackage{ttbox}[1997/06/25] +\RequirePackage{alltt} + +%%%Boxed terminal sessions + +%Redefines \{ and \} to be in \tt font and \| to make a BACKSLASH +\def\ttbraces{\chardef\{=`\{\chardef\}=`\}\chardef\|=`\\} + +%Restores % as the comment character (especially, to suppress line breaks) +\newcommand\comments{\catcode`\%=14\relax} + +%alltt* environment: like alltt but smaller, and with \{ \} and \| as in ttbox +\newenvironment{alltt*}{\begin{alltt}\footnotesize\ttbraces}{\end{alltt}} + +%Indented alltt* environment with small point size +%NO LINE BREAKS are allowed unless \pagebreak appears at START of a line +\newenvironment{ttbox}{\begin{quote}\samepage\begin{alltt*}}% + {\end{alltt*}\end{quote}} + +\endinput