From b2646621603e50dcbbb88857894e72a033681c42 Mon Sep 17 00:00:00 2001 From: interp Date: Sat, 5 Jun 2004 13:57:51 +0000 Subject: [PATCH] Rewrite definition for proglist that irritate tex2page.sty --- doc/latex/decls.tex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/latex/decls.tex b/doc/latex/decls.tex index 47fb16e..c0e16a5 100644 --- a/doc/latex/decls.tex +++ b/doc/latex/decls.tex @@ -285,21 +285,21 @@ \def\sunet{SUnet\xspace} %From surflet/decls.tex -{\theoremstyle{break} -\theoremheaderfont{\normalfont\bfseries\em} - \newtheorem{proglist}{Listing}[section]} -\setlength{\theorempreskipamount}{1.5ex plus0.2ex minus0.2ex} -\setlength{\theorempostskipamount}{2ex plus0.5ex minus0.2ex} +%{\theoremstyle{break} +%\theoremheaderfont{\normalfont\bfseries\em} +% \newtheorem{proglist}{Listing}[section]} +%\setlength{\theorempreskipamount}{1.5ex plus0.2ex minus0.2ex} +%\setlength{\theorempostskipamount}{2ex plus0.5ex minus0.2ex} % These environments differ from the other definition by the % positioning of \normalem \newenvironment{listing} - {\ULforem\begin{proglist}\begin{alltt}\small\normalem} - {\end{alltt}\end{proglist}} + {\ULforem\begin{alltt}\small\normalem} + {\end{alltt}} \newenvironment{reflisting}[1] - {\ULforem\begin{proglist}[\refinlisting{#1}]\begin{alltt}\small\normalem} - {\end{alltt}\end{proglist}} + {\ULforem[\refinlisting{#1}]\begin{alltt}\small\normalem} + {\end{alltt}} \newcommand{\contatlisting}[1]{% {\normalfont\textit{$<$continued in listing~\ref{#1}\/$>$}}}