doc-src/mathsing.sty
changeset 455 466dd59b3645
parent 350 d9ebca601847
equal deleted inserted replaced
454:0d19ab250cc9 455:466dd59b3645
   537  \frenchspacing\@vobeyspaces}
   537  \frenchspacing\@vobeyspaces}
   538 
   538 
   539 \def\endlisting{\endtrivlist\baselineskip=\oldbaselineskip}
   539 \def\endlisting{\endtrivlist\baselineskip=\oldbaselineskip}
   540 
   540 
   541 %Add ttbox to Springer's macros!!  - LCP
   541 %Add ttbox to Springer's macros!!  - LCP
       
   542 %now redefines \{ and \}
   542 \newenvironment{ttbox}{\par\nobreak\vskip-2pt%
   543 \newenvironment{ttbox}{\par\nobreak\vskip-2pt%
   543            \vbox\bgroup\begin{listing}\leftskip\leftmargini}%
   544            \vbox\bgroup\begin{listing}\chardef\{=`\{\chardef\}=`\}%
       
   545                       \leftskip\leftmargini}%
   544         {\end{listing}\egroup\vskip-7pt\@endparenv}
   546         {\end{listing}\egroup\vskip-7pt\@endparenv}
   545 \newcommand\ttbreak{\end{ttbox}\goodbreak\vskip-8pt plus 3pt\begin{ttbox}}
   547 \newcommand\ttbreak{\end{ttbox}\goodbreak\vskip-8pt plus 3pt\begin{ttbox}}
   546 
   548 
   547 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   549 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   548 %
   550 %