diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/computational-complexity/cc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/computational-complexity/cc.dtx | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx index ac68b13ba4d..f8c87511e31 100644 --- a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx +++ b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx @@ -2837,6 +2837,8 @@ multilingual,english]{cc} % Michael N{\"{u}}sken, Bonn} % \changes{v2.25}{2012/06/21}{Allowing longer theorem comments. % Michael N{\"{u}}sken, Bonn} +% \changes{v2.25b}{2013/06/26}{Changed in-proof item indention. +% Michael N{\"{u}}sken, Bonn} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \providecommand\ignorespacesafterend{\@ignoretrue} @@ -2845,7 +2847,7 @@ multilingual,english]{cc} \ifclass\expandafter\ProvidesClass\else\expandafter\ProvidesPackage\fi {\ifclass cc\else cc-cls\fi} [% CC MAIN DATE AND VERSION ON NEXT LINE -2012/06/21 v2.25 +2013/06/26 v2.25c computational complexity \ifclass document class\else package\fi] % \end{macrocode} @@ -3898,7 +3900,7 @@ computational complexity % \begin{macrocode} %<*cclayout> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{cclayout}[2011/07/27 v2.18 cclayout. MNuesken] +\ProvidesPackage{cclayout}[2012/06/22 v2.25 cclayout. MNuesken] \let\@contact\relax \newcommand{\contact}[1]{\gdef\@contact{#1}} \AtBeginDocument{\if@ccpublish @@ -4864,8 +4866,9 @@ computational complexity % We fit the margins so that 1~in + |\oddsidemargin| + |\textwidth| + % |\evensidemargin| + 1~in = |\paperwidth|. (Note that the margins % are usually measured with an offset of 1~in on each side.) +% \changes{v2.25c}{2013/10/14}{Removed parenthesis from typeout.} % \begin{macrocode} -\typeout{Now adjusting margins (\the\@marginmode).} +\typeout{Now adjusting margins: \the\@marginmode.} \ifcase\@marginmode % marginmode 0 \AtEndOfClass{% @@ -5714,7 +5717,7 @@ computational complexity % \begin{macrocode} %<*thcc> \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{thcc}[2008/03/18 v2.08 +\ProvidesPackage{thcc}[2012/06/22 v2.25 computational complexity, theorem layouts. Michael Nuesken, Bonn.] % \end{macrocode} @@ -5771,14 +5774,18 @@ computational complexity % \changes{v2.25}{2012/06/21}{Changed \cs{th@cc} and \cs{th@ccnn} so % that more than single line comments are possible. Michael % N{\"{u}}sken, Bonn} +% \changes{v2.25}{2012/06/27}{Modified spacing. Michael N{\"{u}}sken, +% Bonn} % \begin{macrocode} +\newskip\postthmcmtskip +\postthmcmtskip .5em plus .5em \def\th@cc{% \normalfont\slshape \def\@begintheorem##1##2{\item [\hskip\labelsep \theorem@headerfont ##1\ ##2.]}% \def\@opargbegintheorem##1##2##3{\item [\hskip\labelsep \theorem@headerfont ##1\ ##2]% - {\normalfont({\activate@shortcite{}##3}).}}% + {\normalfont({\activate@shortcite{}##3}).}\hskip\postthmcmtskip}% } % \end{macrocode} % @@ -5792,21 +5799,29 @@ computational complexity [\hskip\labelsep \theorem@headerfont ##1.]}% \def\@opargbegintheorem##1##2##3{\item [\hskip\labelsep \theorem@headerfont ##1]% - {\normalfont({\activate@shortcite{}##3}).}}% + {\normalfont({\activate@shortcite{}##3}).}\hskip\postthmcmtskip}% } % \end{macrocode} % % This is the unnumbered layout for proofs \cc. The proof text is % typeset upright, the header terminates with a dot and a double % blank. +% \changes{v2.25b}{2013/06/26}{Set \cs{itemindent} in proofs to +% \cs{labelsep}, so that no negative indention is produced. You may +% use \cs{everyproof}{\cs{itemsep}1ex} or similar to have vertical +% space before in-proof items.} % \begin{macrocode} +\newskip\postprfcmtskip +\postprfcmtskip .5em plus 1em \def\th@ccproof{% \normalfont\upshape \def\@begintheorem##1##2{\item - [\hskip\labelsep \theorem@headerfont ##1.\ \ ]}% + [\hskip\labelsep \theorem@headerfont ##1.\ \ ]% + \itemindent\labelsep}% \def\@opargbegintheorem##1##2##3{\item - [\hskip\labelsep \theorem@headerfont ##1\ % - \normalfont({\activate@shortcite{}##3}).\ \ ]}% + [\hskip\labelsep \theorem@headerfont ##1]% + {\normalfont({\activate@shortcite{}##3}).}\hskip\postprfcmtskip + \itemindent\labelsep}% } % \end{macrocode} % @@ -5851,7 +5866,7 @@ computational complexity % revised \filedate. % \begin{macrocode} %<*ccthm> -\ProvidesPackage{ccthm}[2000/02/29 v2.05 +\ProvidesPackage{ccthm}[2012/06/22 v2.25 theorem environments for cc. Michael Nuesken, Bonn.] % \end{macrocode} % @@ -6431,7 +6446,7 @@ computational complexity % and output: \cs{item}[itemtitle] does it.} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{ccalgo}[2005/08/27 v2.05 +\ProvidesPackage{ccalgo}[2012/06/22 v2.25 algorithm environment for cc. Michael Nuesken, Bonn.] % \end{macrocode} % Next we undefine some macros in case of overloading. @@ -8563,6 +8578,8 @@ computational complexity % revised \filedate. % \changes{v2.07}{2007/01/11}{Changed bibliography basename to % \cs{jobname}. Michael N{\"{u}}sken, Bonn} +% \changes{v2.25a}{2012/06/25}{Corrected type. Michael N{\"{u}}sken, +% Bonn} % \begin{macrocode} %<*cctemplate> %%% Template (2011/07/27) for an article using cc @@ -8589,7 +8606,7 @@ computational complexity \author{}% Insert author list here. (Each author must be given % including his/her current address, email and possibly % homepage. Lines are seperated by \\, different authors - % are seperated by \and .) + % are separated by \and .) %%\authorhead{}% If necessary insert running head authors here. %%\authorlist{}% If necessary insert title author list here. |