summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty')
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty24
1 files changed, 8 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty
index 99e87eb073d..4252db4ab5e 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty
@@ -6,7 +6,7 @@
%%
%% cc.dtx (with options: `ccalgo,chartab')
%%
-%% Copyright 2000-2010
+%% Copyright 2000-2011
%% Michael N"usken, Joachim von zur Gathen, computational complexity
%%
%% IMPORTANT NOTICE:
@@ -110,12 +110,10 @@
\RequirePackage{thcc}
\RequirePackage{relabel}
\def\list@parshape{%
- %%\typeout{parshape 1 \the\@totalleftmargin+\the\linewidth}%
+ %\typeout{parshape 1 \the\@totalleftmargin+\the\linewidth}%
\parshape \@ne \@totalleftmargin \linewidth}
\newdimen\reinit@list@last
\def\reinit@list#1{%
-%%% \dimen@i#1\relax
-%%% \typeout{Reinit: old \the\reinit@list@last, new \the\dimen@i}%%% DEBUG
\advance\itemindent\reinit@list@last
\advance\@totalleftmargin-\reinit@list@last
\advance\linewidth\reinit@list@last
@@ -125,7 +123,7 @@
\advance\itemindent-\reinit@list@last
\advance\@totalleftmargin\reinit@list@last
\advance\linewidth-\reinit@list@last
- %%\typeout{\the\@totalleftmargin + \the\linewidth}%
+ %\typeout{\the\@totalleftmargin + \the\linewidth}%
\list@parshape}
\def\reinit@list@label{%
\reinit@list{\wd\@tempboxa}%
@@ -205,7 +203,6 @@
}
\newcommand{\algonumerate@postprocess}[1]{%
\expandafter\count@\value{algonumerate}%
- %%{\tracingall\nonstopmode\showbox\@tempboxa}%
\ifnum\last@algolabeltype<\@ne
\ifnum\this@algolabeltype=\@ne
\medskip
@@ -225,7 +222,6 @@
\reinit@list@label
}
\newcommand{\algonumerate@labelexplicit}[1]{% For algorithm i/o
-%%% \typeout{item explicit [#1]}%
\algonumerate@makelabelexplicit{#1}%
\global\let\algonumerate@global\global
\gdef\global{\algonumerate@global\let\global\algonumerate@global
@@ -237,7 +233,6 @@
\global}%
}
\newcommand{\algonumerate@labelempty}[1]{% For algorithm i/o
-%%% \typeout{item empty [#1]}%
\algonumerate@makelabelempty{}%
\global\let\algonumerate@global\global
\gdef\global{\algonumerate@global\let\global\algonumerate@global
@@ -245,7 +240,6 @@
\global}%
}
\newcommand{\algonumerate@labelautomatic}[1]{% For algorithm steps
-%%% \typeout{item automatic [#1]}%
\algonumerate@makelabelautomatic{#1}%
\global\let\algonumerate@global\global
\gdef\global{\algonumerate@global\let\global\algonumerate@global
@@ -257,14 +251,12 @@
\global}%
}
\newcommand{\algonumerate@labelnumber}[1]{% For algorithm steps
-%%% \typeout{item numbered [#1]}%
\algonumerate@makelabelnumber{#1}%
\global\let\algonumerate@global\global
\gdef\global{\algonumerate@global\let\global\algonumerate@global
\algonumerate@postprocess{}%
\global}%
}
-%%%
\newdimen\algonumerate@maxindent
\newdimen\@algolongestlabel
\AtBeginDocument{\ifdim\algonumerate@maxindent=\z@
@@ -338,11 +330,11 @@
\let\@tempa\relax
\protected@edef\@tempa{%
\csname r@\the\algorithmmasterkey-#1\endcsname}%
- %%\show\@tempa
+ %\show\@tempa
\let\@tempc\relax
\protected@edef\@tempc{%
\csname r@\the\algorithmmasterkey-#2\endcsname}%
- %%\show\@tempc
+ %\show\@tempc
\ifx\@tempa\@tempc\global\@trivialrangetrue
\else\global\@trivialrangefalse\fi
}%
@@ -415,9 +407,9 @@
\@newlistfalse
\vskip\topskip
\par
- %%\meta@indent\leftmargin
- %%\advance\meta@indent\algo@labelsep
- %%\advance\meta@indent\steplabelwidth
+ %\meta@indent\leftmargin
+ %\advance\meta@indent\algo@labelsep
+ %\advance\meta@indent\steplabelwidth
\meta@indent\@totalleftmargin
\advance\labelsep-\meta@indent
\advance\@totalleftmargin-\meta@indent