From c7529bba4b9ee042b3afac75519d193644572dbd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 20 Mar 2008 18:12:53 +0000 Subject: computational-complexity 2.08 (19mar08) git-svn-id: svn://tug.org/texlive/trunk@7045 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/computational-complexity/cc.cls | 10 ++++++---- .../texmf-dist/tex/latex/computational-complexity/ccaux.sty | 4 ++-- .../tex/latex/computational-complexity/cccite.sty | 2 +- .../tex/latex/computational-complexity/cclayout.sty | 13 ++++++++++++- .../texmf-dist/tex/latex/computational-complexity/thcc.sty | 11 ++++++----- 5 files changed, 27 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/latex/computational-complexity') diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls index 3e7439e4b41..bf245c0405c 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls @@ -39,9 +39,11 @@ \newif\ifclass \ifx\@currext\@clsextension\classtrue\else\classfalse\fi \ifclass\expandafter\ProvidesClass\else\expandafter\ProvidesPackage\fi -{\ifclass cc\else cc-cls\fi}[2006/10/13 v2.06 - computational complexity - \ifclass document class\else package\fi] +{\ifclass cc\else cc-cls\fi} +[% CC MAIN DATE AND VERSION ON NEXT LINE +2008/03/18 v2.08a +computational complexity +\ifclass document class\else package\fi] \RequirePackage{ccaux} \DeclareOption{localnumbering}{\@longarticletrue} \DeclareOption{globalnumbering}{\@longarticlefalse} @@ -305,7 +307,7 @@ \if@natbib \RequirePackage{cc2cite} \if@manualbibliography -\bibpunct{[}{]}{;}{n}{}{,} +\bibstyle@plain%\bibpunct{[}{]}{;}{n}{}{,} \fi \else%@natbib \if@cccite diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty index 93f256b6dcb..3cebac7e979 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{ccaux}[2005/08/27 v2.05 +\ProvidesPackage{ccaux}[2008/03/18 v2.08 computational complexity, auxiliaries. Michael Nuesken, Bonn.] \newif\if@longarticle \@longarticletrue @@ -162,7 +162,7 @@ \fi \fi } -\def\cc@ifempty#1{\cc@xifempty#1@@..\@nil} +\long\def\cc@ifempty#1{\cc@xifempty#1@@..\@nil} \long\def\cc@xifempty#1#2@#3#4#5\@nil{% \ifx#3#4\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi} \long\def\cc@ifnotempty#1{\cc@ifempty{#1}{}} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty b/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty index 459effe5ab4..efcf1b79f8a 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty @@ -51,7 +51,7 @@ \def\citeyear#1{\def\citeauthoryear##1##2{##2}\@citex{#1}} \def\shortcite#1{\def\citeauthoryear##1##2{##1\ ##2}\@citex{#1}} \def\parencite#1{\def\citeauthoryear##1##2{(##1\ ##2)}\@citex{#1}} -\def\citemul#1{\@mcite #1\@\@ } +\def\citemul#1{\@mcite #1\@\@} \def\@mcite#1,#2\@\@{\citeauthor{#1}\hskip3pt(\citeyear{#1,#2})} \def\@citex#1{\@tempswafalse% \if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty index 1a935bc8cac..6d37db5cb7f 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty @@ -90,6 +90,17 @@ \advance\@totalleftmargin \leftmargin \parshape \@ne \@totalleftmargin \linewidth \small + \def\@listi{\leftmargin\leftmargini + \topsep 2\p@ \@plus2\p@ \@minus1\p@ + \parsep 1\p@ + \itemsep \parsep}% +%%% \let\origcclist\list +%%% \def\list{\ifnum\@listdepth>0\relax\@toodeep\fi\origcclist}% + \let\@listii\@toodeep + \let\@listiii\@toodeep + \let\@listiv\@toodeep + \let\@listv\@toodeep + \let\@listvi\@toodeep \textbf{#1. }\ignorespaces} {% %\strut @@ -572,7 +583,7 @@ }% %%\clearpage \gdef\makeendtitle{\ClassWarning{cc}{\protect\makeendtitle\space - multiply used!}} + multiply used!}}% } \endinput %% diff --git a/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty b/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty index a8b751dd098..e7aa3f8eaa7 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{thcc}[2000/02/29 v2.05 +\ProvidesPackage{thcc}[2008/03/18 v2.08 computational complexity, theorem layouts. Michael Nuesken, Bonn.] \RequirePackage{theorem}[1995/11/23] @@ -47,15 +47,16 @@ \AtBeginDocument{% \@ifpackageloaded{cccite}{% \def\activate@shortcite{\let\cite\shortcite} - }{} + }{}% \@ifpackageloaded{natbib}{% \def\activate@shortcite{% \let\cite\citealt \let\citet\citealt \let\citep\citealp - } - }{} - } + }% + }{}% + \if@manualbibliography\def\activate@shortcite{}\fi +} \def\th@cc{% \normalfont\slshape \def\@begintheorem##1##2{\item -- cgit v1.2.3