diff options
author | Karl Berry <karl@freefriends.org> | 2008-03-20 18:12:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-03-20 18:12:53 +0000 |
commit | c7529bba4b9ee042b3afac75519d193644572dbd (patch) | |
tree | 5b6dff743e99e8c8fd4b182bc12a464c8723b3b7 /Master/texmf-dist/source/latex/computational-complexity | |
parent | e0d729e2be657ab085b3ba0238ca79ed8fd2becb (diff) |
computational-complexity 2.08 (19mar08)
git-svn-id: svn://tug.org/texlive/trunk@7045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/computational-complexity')
-rw-r--r-- | Master/texmf-dist/source/latex/computational-complexity/cc.dtx | 71 |
1 files changed, 50 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx index 7199d8aaf9e..782139bb7bc 100644 --- a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx +++ b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx @@ -15,7 +15,8 @@ % ----------------------------------------------------------- % % Look for %*% in this file, when you try to find \documentclass or -% changeable options. +% changeable options. Look for CC MAIN DATE AND VERSION for main date +% and version. % %<*chartab> %\fi @@ -2090,6 +2091,7 @@ support. \item \DescribeMacro{\received}|\received{|\meta{received date}|}| Preamble command to declare the received date of the manuscript. + Use the format \texttt{8 August 2008}. \item \DescribeMacro{\author}|\author{|\meta{author list}|}| @@ -2627,15 +2629,21 @@ multilingual,english]{cc} % N{\"{u}}sken, now(!) Bonn} % \changes{v2.04}{2006/03/08}{Advanced version to 2.05, Michael % N{\"{u}}sken, Bonn} +% \changes{v2.06}{2007/01/10}{Advanced version to 2.07, Michael +% N{\"{u}}sken, Bonn} +% \changes{v2.07}{2008/03/18}{Advanced version to 2.08, Michael +% N{\"{u}}sken, Bonn} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \providecommand\ignorespacesafterend{\@ignoretrue} \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] % \end{macrocode} % % \subsection{Load auxiliaries} @@ -3152,7 +3160,7 @@ multilingual,english]{cc} \if@natbib \RequirePackage{cc2cite} \if@manualbibliography -\bibpunct{[}{]}{;}{n}{}{,} +\bibstyle@plain%\bibpunct{[}{]}{;}{n}{}{,} \fi \else%@natbib \if@cccite @@ -3372,7 +3380,7 @@ multilingual,english]{cc} % \begin{macrocode} %<*ccaux> \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.] % \end{macrocode} @@ -3511,6 +3519,7 @@ multilingual,english]{cc} % happens in algorithms...)} % \changes{v2.04}{2005/11/03}{\cs{ccaddto}, \cs{ccaddtoINDOC}, % \cs{ccaddtonow} now use only global defs.)} +% \changes{v2.07}{2008/03/18}{Changed \cs{cc@ifempty} to long, MN, Bonn} % \begin{macrocode} % \providecommand{\extdef}[2]{% % \ifx#1\@undefined\relax\def#1{}\fi% @@ -3566,7 +3575,7 @@ multilingual,english]{cc} } % \@ifempty and \@ifnotempty are def'd in amsmath.sty, but we need it % here. -\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}{}} @@ -3797,6 +3806,8 @@ multilingual,english]{cc} % the contents in a box, preceded by its argument as a title. % \changes{v2.04}{2006/03/06}{Changed @abstr to allow for very % long abstracts, MN, Bonn} +% \changes{v2.07}{2008/03/18}{Changed @abstr to decrease spacing in +% embedded lists and forbid nested lists, MN, Bonn} % \begin{macrocode} \newdimen\@abstrwidth \newenvironment{@abstr}[1]{% @@ -3811,6 +3822,17 @@ multilingual,english]{cc} \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 @@ -4550,7 +4572,7 @@ multilingual,english]{cc} }% %%\clearpage \gdef\makeendtitle{\ClassWarning{cc}{\protect\makeendtitle\space - multiply used!}} + multiply used!}}% } %</cclayout> % \end{macrocode} @@ -4809,7 +4831,7 @@ multilingual,english]{cc} % \begin{macrocode} %<*thcc> \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.] % \end{macrocode} @@ -4824,20 +4846,23 @@ multilingual,english]{cc} % The macro |\shortcite| might have been provided by the package % \Lpackage{cccite} or predecessors of it. If not we let it be equal % to the normal |\cite|. +% \changes{v2.07}{2007/01/11}{Added support for manualbibliography. +% Michael N{\"{u}}sken, Bonn} % \begin{macrocode} \def\activate@shortcite{} \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 +} % \end{macrocode} % % This is the standard theorem layout for \cc. The theorem text is @@ -7348,7 +7373,7 @@ multilingual,english]{cc} % \end{macrocode} % |\citemul| is composed from the previous commands. % \begin{macrocode} -\def\citemul#1{\@mcite #1\@\@ } +\def\citemul#1{\@mcite #1\@\@} \def\@mcite#1,#2\@\@{\citeauthor{#1}\hskip3pt(\citeyear{#1,#2})} % \end{macrocode} % \begin{macro}{\@citex} @@ -7520,14 +7545,15 @@ multilingual,english]{cc} % % This file (\file{\filename}) has version number \fileversion, last % revised \filedate. +% \changes{v2.07}{2007/01/11}{Changed bibliography basename to +% \cs{jobname}. Michael N{\"{u}}sken, Bonn} % \begin{macrocode} %<*cctemplate> -\begin{filecontents*}{myrefs.bib} - %% Insert your bibliography file here (if any) +\begin{filecontents*}{\jobname.bib} + %% Insert your bibliography file here \end{filecontents*} -\begin{filecontents}{main.bbl} - %% Replace `main.bbl' by your main file's name + ".bbl" - %% Insert your bbl file here (if any) +\begin{filecontents}{\jobname.bbl} + %% Insert your bbl file here (please also add your bib file above!) \end{filecontents} \documentclass{cc} @@ -7538,7 +7564,9 @@ multilingual,english]{cc} %%\ccpublish{}{}{}{} \contact{}% Insert contact email address here. -\received{}% Insert received date here. +\received{}% Insert the date on which you made the original + % submission of your paper to computational complexity, + % in the format \received{8 August 2008}. \title{}% Insert title here. (Use \\ to split lines.) %%\titlehead{}% If necessary insert running head title here. \author{}% Insert author list here. (Each author must be given @@ -7575,7 +7603,8 @@ multilingual,english]{cc} %% Insert your acknowledgments here. \end{acknowledge} -\bibliography{}% Insert your bibliography file names here. +\bibliography{journals,\jobname}% Put your bibliography into the above + % filecontents environment! \end{document} |