diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-11 23:14:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-11 23:14:24 +0000 |
commit | 52bfd911dee324971d1d3f36c3b6f1fa2be1cd9e (patch) | |
tree | d8a50d5594a34031cc16b1a6aa5c61b00ba79d9f /Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty | |
parent | 4b253de4e3a6e181da022e0ccd93d348dcfe894b (diff) |
computational-complexity (11nov15)
git-svn-id: svn://tug.org/texlive/trunk@38824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty index 333df87af81..86035d17d29 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty @@ -315,7 +315,7 @@ \newdimen\blockindent \blockindent\parindent \newcounter{block@cnt} \newcommand{\nextblock}{% - \stepcounter{block@cnt}\edef\currentblock{\arabic{block@cnt}}% + \stepcounter{block@cnt}\edef\currentblock{\the\c@block@cnt}% } \newif\if@trivialrange \newcommand{\refsetrange}[2]{% @@ -348,7 +348,7 @@ } \newenvironment{algo@range}{% \par - \stepcounter{block@cnt}\edef\block@{\arabic{block@cnt}}% + \stepcounter{block@cnt}\edef\block@{\the\c@block@cnt}% \refsetrange{bob\block@}{eob\block@}% \AtNextNumberedItem{\algolabel{bob\block@}}% }{% @@ -534,7 +534,7 @@ \unhbox0 \else \dimen0=\linewidth \advance\dimen0 by -\wd2 - \unhbox2\parbox[t]{\dimen0}{\unhbox4\strut}\par\unhbox6 + \unhbox2\parbox[t]{\dimen0}{#2\strut}\par\unhbox6 \fi } \newenvironment{ifblock}[2][] |