summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex319
-rw-r--r--Master/texmf-dist/doc/latex/computational-complexity/cc.pdfbin790665 -> 790063 bytes
-rw-r--r--Master/texmf-dist/source/latex/computational-complexity/cc.dtx476
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc.cls10
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty2
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty3
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty3
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty3
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty3
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty3
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cc4svjour.sty3
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty14
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty255
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty2
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty2
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty1
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty12
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/relabel.sty1
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/thcc.sty2
19 files changed, 374 insertions, 740 deletions
diff --git a/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex b/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex
index 096940cb7ea..839a0f3c046 100644
--- a/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex
+++ b/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex
@@ -39,7 +39,7 @@
\ifclass\expandafter\ProvidesClass\else\expandafter\ProvidesPackage\fi
{\ifclass cc\else cc-cls\fi}
[% CC MAIN DATE AND VERSION ON NEXT LINE
-2011/07/28 v2.19
+2011/07/28 v2.20
computational complexity
\ifclass document class\else package\fi]
\RequirePackage{ccaux}
@@ -104,7 +104,7 @@ computational complexity
\DeclareOption{standardprefixes}{% old
\PassOptionsToPackage{notheoremitemprefixes}{ccthm}}
\DeclareOption{ccpublish}{\@ccpublishtrue}
-\DeclareOption{noccpublish}{\@ccpublishfalse}
+\DeclareOption{noccpublish}{\@ccpublishfalse\ExecuteOptions{textarea=none}}
\DeclareOption{textarea=full}{\@textareaversion\m@ne}
\DeclareOption{textarea=none}{\@textareaversion\z@}
\DeclareOption{textarea=cc1}{\@textareaversion\@ne}
@@ -188,10 +188,10 @@ computational complexity
\@pass@ptions\@pkgextension{}{german}
\global\expandafter\let\csname ver@german.\@pkgextension\endcsname\@empty
\if@babel
-\RequirePackage{babel}
+\RequirePackage{babel}[2008/07/06 v3.8l]
\fi
\if@latin
-\RequirePackage[latin1]{inputenc}[1998/03/05 v0.97]
+\RequirePackage[latin1]{inputenc}[2008/03/30 v1.1d]
\fi
\if@ams
\RequirePackage{amsmath}[2000/01/15 v2.05]% 1997/03/20 v1.2d
@@ -213,7 +213,7 @@ computational complexity
\def\square{{\fboxsep.3em{\vbox{\hbox{\fbox{}}\vskip0pt}}}}%
\let\text\mbox
\fi
-\RequirePackage{url}[1999/03/02 ver 1.4]
+\RequirePackage{url}[2006/04/12 ver 3.3]
\expandafter\def\expandafter\UrlSpecials\expandafter{%
\UrlSpecials\do\%{}}
\providecommand{\email}{\begingroup\urlstyle{tt}\Url}
@@ -494,7 +494,7 @@ computational complexity
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{cc2cite}[2000/02/29 v2.05 cc2 cite helper package]
-\RequirePackage{natbib}
+\RequirePackage{natbib}[2010/09/13 8.31b]
\bibpunct{(}{)}{;}{a}{}{,}
\newcommand{\bibstyle@cc}{\bibpunct{(}{)}{;}{a}{}{,}}
\expandafter\def\csname bibstyle@cc2\endcsname{%
@@ -568,8 +568,7 @@ computational complexity
computational complexity, adaptions to amsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
@@ -691,8 +690,7 @@ computational complexity
computational complexity, adaptions to elsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\@longarticletrue
@@ -777,8 +775,7 @@ computational complexity
computational complexity, adaptions to jT which uses amsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
@@ -888,8 +885,7 @@ computational complexity
\RequirePackage{amssymb}[1996/11/03 v2.2b]
\RequirePackage{ccaux}
\@longarticletrue
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\RequirePackage{ccref}
\RequirePackage{ccthm,ccproof}
\theoremheaderfont{\upshape\bfseries}
@@ -970,8 +966,7 @@ computational complexity
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\RequirePackage{ccthm}
\RequirePackage{relabel}
\RequirePackage{cc2cite}
@@ -1034,8 +1029,7 @@ computational complexity
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
\RequirePackage{cc2cite}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
@@ -1190,11 +1184,10 @@ computational complexity
Check if current package is valid}
\fi}
\RequirePackage{ccaux}
-\RequirePackage{theorem}
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\RequirePackage{thcc}
\RequirePackage{relabel}
\def\list@parshape{%
- %\typeout{parshape 1 \the\@totalleftmargin+\the\linewidth}%
\parshape \@ne \@totalleftmargin \linewidth}
\newdimen\reinit@list@last
\def\reinit@list#1{%
@@ -1207,7 +1200,6 @@ computational complexity
\advance\itemindent-\reinit@list@last
\advance\@totalleftmargin\reinit@list@last
\advance\linewidth-\reinit@list@last
- %\typeout{\the\@totalleftmargin + \the\linewidth}%
\list@parshape}
\def\reinit@list@label{%
\reinit@list{\wd\@tempboxa}%
@@ -1280,9 +1272,7 @@ computational complexity
}
\newcommand{\algonumerate@makelabelnumber}[1]{%
\hb@xt@\steplabelwidth{\hss
- %\hb@xt@\steplabelwidth{\hfill
#1%
- %}
}\hskip\algo@labelsep%
}
\newcommand{\algonumerate@postprocess}[1]{%
@@ -1375,9 +1365,6 @@ computational complexity
\topsep\z@%
\itemsep\z@%
\parskip\z@%
- %\leftmargin\z@
- %\algo@labelsep\labelsep
- %\labelsep\z@
\leftmargin\labelsep
\algo@labelsep\z@
\settowidth\steplabelwidth{\makealgolabel{99}}%
@@ -1414,11 +1401,9 @@ computational complexity
\let\@tempa\relax
\protected@edef\@tempa{%
\csname r@\the\algorithmmasterkey-#1\endcsname}%
- %\show\@tempa
\let\@tempc\relax
\protected@edef\@tempc{%
\csname r@\the\algorithmmasterkey-#2\endcsname}%
- %\show\@tempc
\ifx\@tempa\@tempc\global\@trivialrangetrue
\else\global\@trivialrangefalse\fi
}%
@@ -1491,9 +1476,6 @@ computational complexity
\@newlistfalse
\vskip\topskip
\par
- %\meta@indent\leftmargin
- %\advance\meta@indent\algo@labelsep
- %\advance\meta@indent\steplabelwidth
\meta@indent\@totalleftmargin
\advance\labelsep-\meta@indent
\advance\@totalleftmargin-\meta@indent
@@ -2195,33 +2177,36 @@ computational complexity
\newcommand{\authorhead}[1]{\gdef\@authorhead{#1}}
\let\@authorlist\@undefined
\newcommand{\authorlist}[1]{\gdef\@authorlist{#1}}
-\newbox\@abstract
\let\abstract\@undefined\let\endabstract\@undefined
\babel\def\ccabstractname{Abstract}[%
german=Zusammenfassung,french=R\'esum\'e]
-\newenvironment{abstract}
- {\global\setbox\@abstract\@abstr{\ccabstractname}}
- {\end@abstr}
-\newtoks\@abstract@toks
-\newcommand{\Abstract}{\global\@abstract@toks}
-\newbox\@keywords
+\RequirePackage{environ}[2008/06/18]
+\def\@abstract@macro{}
+\long\def\for@cc@abstract#1{%
+ \gdef\@abstract@macro{\begin{@abstr}{\ccabstractname}#1\end{@abstr}}}
+\newenvironment{abstract}{\Collect@Body\for@cc@abstract}{}
+\newcommand{\Abstract}{\for@cc@abstract}
\babel\def\cckeywordsname{Keywords}[%
german=Stichworte,french=Mot-cl\'e]
-\newenvironment{keywords}
- {\global\setbox\@keywords\@abstr{\cckeywordsname}}
- {\end@abstr}
-\newbox\@subject
+\def\@keywords@macro{}
+\long\def\for@cc@keywords#1{%
+ \gdef\@keywords@macro{\begin{@abstr}{\cckeywordsname}#1\end{@abstr}}}
+\newenvironment{keywords}{\Collect@Body\for@cc@keywords}{}
\babel\def\ccsubjectclassificationname{Subject classification}[%
german=Klassifizierung,french=Classification de suj\`et]
-\newenvironment{subject}
- {\global\setbox\@subject\@abstr{\ccsubjectclassificationname}}
- {\end@abstr}
+\def\@subject@macro{}
+\long\def\for@cc@subject#1{%
+ \gdef\@subject@macro{\begin{@abstr}{\ccsubjectclassificationname}
+ #1
+ \end{@abstr}}}
+\newenvironment{subject}{\Collect@Body\for@cc@subject}{}
\newdimen\@abstrwidth
+\newbox\@abstr@box
\newenvironment{@abstr}[1]{%
- \vbox\bgroup
- \hsize\textwidth
+ \setbox\@abstr@box\vbox\bgroup%
\@parboxrestore
- \leftmargin.5\textwidth \advance\leftmargin-.5\@abstrwidth
+ \ifdim\@abstrwidth>\hsize\@abstrwidth\hsize\fi
+ \leftmargin.5\hsize \advance\leftmargin-.5\@abstrwidth
\rightmargin\leftmargin
\@trivlist\@newlistfalse\global\@inlabeltrue
\advance\linewidth -\rightmargin
@@ -2233,17 +2218,21 @@ computational complexity
\topsep 2\p@ \@plus2\p@ \@minus1\p@
\parsep 1\p@
\itemsep \parsep}%
- \let\@listii\@toodeep
+ \def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii
+ \advance\labelwidth-\labelsep
+ \topsep 0\p@ \@plus1\p@
+ \parsep 1\p@
+ \itemsep \parsep}%
\let\@listiii\@toodeep
\let\@listiv\@toodeep
\let\@listv\@toodeep
\let\@listvi\@toodeep
\textbf{#1. }\ignorespaces}
{%
- %\strut
\par
- %\vskip\z@
\egroup
+ \leavevmode\unvbox\@abstr@box
\ignorespacesafterend}
\newif\if@abstractoptional
\if@ccpublish\@abstractoptionalfalse\else\@abstractoptionaltrue\fi
@@ -2267,16 +2256,13 @@ computational complexity
\def\@ccfirst{1}%
\let\@cclast\@ccunknown%
\let\@ccnumberofpages\@ccunknown%
+\long\def\cc@secondoffive#1#2#3#4#5{#2}
\AtBeginDocument{%
\@ifundefined{r@ccenddocument}{}{%
\@tempcnta\@ne
\advance\@tempcnta-\@ccfirst
- \xdef\@cclast{\csname r@ccenddocument\endcsname}%
- \ifx\@secondoffive\@@@@undefined% hyperref launches this!
- \xdef\@cclast{\expandafter\@secondoftwo\@cclast{}{}{}{}{}}%
- \else
- \xdef\@cclast{\expandafter\@secondoffive\@cclast{}{}{}{}{}}%
- \fi%
+ \protected@xdef\@cclast{\csname r@ccenddocument\endcsname}%
+ \xdef\@cclast{\expandafter\cc@secondoffive\@cclast{}{}{}{}{}}%
\advance\@tempcnta\@cclast%
\xdef\@ccnumberofpages{\the\@tempcnta}%
}%
@@ -2290,7 +2276,6 @@ computational complexity
\global\@subjectoptionaltrue% Subject class. optional
\global\@ccheadfalse
\gdef\@cctxt{#1}%
- %\global\@twosidefalse
}
\newcommand{\ccpublish}[4]{% Deprecated since 2011/07/25
\global\@ccpublishtrue
@@ -2341,7 +2326,6 @@ computational complexity
{Received/submitted date (##1) override!\MessageBreak
Using \@received.}}}
\define@boolkey{ccsps}{revisionstage}[true]{%
- %%% \ifKV@ccsps@revisionstage\let\revisionstage=Y\else\let\revisionstage=N\fi
}
\define@key{ccsps}{DOImsnr}[??]{% manuscript number
\gdef\@DOImsnr{#1}}
@@ -2358,24 +2342,16 @@ computational complexity
\define@boolkey{ccsps}{helperstrip}[true]{}%
\define@boolkey{ccsps}{grid}[true]{}
\define@boolkey{ccsps}{issuestage}[true]{%
- %%% \ifKV@ccsps@issuestage\let\issuestage=Y\else\let\issuestage=N\fi
}
\define@boolkey{ccsps}{openaccess}[true]{%
- %%% \ifKV@ccsps@openaccess\let\stageaccess=Y\else\let\stageaccess=N\fi
}
\define@boolkey{ccsps}{stageaccess}[true]{% Deprecated.
\setkeys{ccsps}{openaccess=#1}}
\define@key{ccsps}{year}[????]{\gdef\@ccyear{#1}}
\define@key{ccsps}{volume}[??]{\gdef\@ccvolume{#1}}
\define@key{ccsps}{issue}[??]{\gdef\@ccissue{#1}}%
-%%% \@tempcnta\tw@\@tfor\@x:=#1\do{\advance\@tempcnta\m@ne}%
-%%% \ifcase\@tempcnta\gdef\@ccissue{#1}
-%%% \or\gdef\@ccissue{0#1}%
-%%% \or\gdef\@ccissue{00}%
-%%% \fi}
\define@key{ccsps}{firstpage}[1]{%
\gdef\@ccfirst{#1}%
- %\cc@fixelendef40\@ccfirstiv{#1}%
\@tempcnta4\@tfor\@x:=#1\do{\advance\@tempcnta\m@ne}%
\ifcase\@tempcnta\gdef\@ccfirstiv{#1}%
\or\gdef\@ccfirstiv{0#1}%
@@ -2390,7 +2366,6 @@ computational complexity
\ifKV@ccsps@openaccess The Author(s)
\else Springer Basel AG\fi}
\define@key{ccsps}{doisuffix}[????-?]{%
- % Is the doi always 10.1007/s00037-threedigityear-suffix?
\cc@fixelendef50\@doiinfo{\@journalnumber}%
\xdef\@doiinfo{%
10.1007/s\@doiinfo-%
@@ -2401,7 +2376,6 @@ computational complexity
\define@key{ccsps}{onlinefirstyear}[\the\year]{\gdef\@ccyear{#1}}
\define@key{ccsps}{coveryear}[\@ccyear]{\gdef\@coveryear{#1}}
\define@boolkey{ccsps}{pdfpage}[true]{%
- % \ifKV@ccsps@pdfpage\@pdfpagetrue\else\@pdfpagefalse\fi%
}
\define@boolkey{ccsps}{xlink}[true]{}
\setkeys{ccsps}{
@@ -2432,68 +2406,33 @@ computational complexity
\global\@ccackfalse% Acknowledgements required
\global\@ccheadtrue
\global\@autotitletrue
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% Now scan the key, key=value list:
\setkeys{ccsps}{sps,#1}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %\gdef\@cctxt{cc \textbf{\@ccvolume}(\@ccissue)}% MN2011/07/27: Shouldn't it be this?
\gdef\@cctxt{cc \textbf{\@ccvolume} (\@ccyear)}%
- %%% \global\@twosidefalse
- %%% MN2011/07/26 Note that the following makes it necessary that
- %%% \ccsps is used only once!
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% During revisionstage line numbers, a helper strip and a
- %%% watermark shall be added.
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[mathlines]{lineno}[2005/11/02]
\ifKV@ccsps@pdfpage
\setkeys{ccsps}{helperstrip=false}%
- %%% This case should turn off draftcopy but cannot do this
- %%% since draftcopy is badly written.
- %%% Consequently, this makes a double use of ccsps impossible.
\nolinenumbers
\else
\setkeys{ccsps}{helperstrip=true}%
\RequirePackage[conditional,draft]{draftcopy}
\draftcopyPageTransform{155 75 translate 65 rotate}
\draftcopyName{\cc@watermarktext}{75}
- %%% Scaling by a factor 75 is fine for a text like "Uncorrected proof".
\linenumbers
\fi
- %%% With the option xlink the final pdf shall have bookmarks and
- %%% blue links. Otherwise there are no bookmarks and black links.
\RequirePackage[dvips,
bookmarks=\ifKV@ccsps@xlink true\else false\fi,
breaklinks=true,
colorlinks=\ifKV@ccsps@xlink true\else false\fi,
linkcolor=\ifKV@ccsps@xlink blue\else black\fi,
- unicode]{hyperref}%
- %%% \RequirePackage{xcolor}%
- \RequirePackage{breakurl}%
+ unicode]{hyperref}[2011/04/17 v6.82g]%
+ \RequirePackage{breakurl}[2009/01/24 v1.30]%
\def\l@title##1{\@dottedtocline{-1}{0pt}{0pt}{{\large\textbf{##1}}}}%
\let\l@title\l@part
- %%%
- %\ExecuteOptions{nonatbib}
- %\usepackage[comma,square]{modnatbib}%
- %%% The package natbib was modified only marginally. On the one
- %%% hand, spacing after superscripted references was modified, which
- %%% is irrelevant to \cc{}. On the other hand the references were
- %%% also added to the table of contents. This is superfluous since
- %%% \Lclass{cc} redefines \Lenv{thebibliography} and adds that entry
- %%% there. Further punctuation was modified but that is set by
- %%% \Lclass{cc} anyways.
- %%%
- %\usepackage{hypernat}%
- %%% The package \Lpackage{hypernat} would at most be needed if cc
- %%% articles would combine natbib options number and
- %%% sort&compress. However, number is deprecated and sort&compress
- %%% is not used in the journal versions.
- %%%
\ifKV@ccsps@xlink%
\def\@urlcolor{blue}
\def\@citecolor{blue}
\def\externalref##1##2{\hyperimage{##1}{##2}}%
- \def\DOIexternalref##1##2{\hyperimage{##1}{##2}}%%%%
+ \def\DOIexternalref##1##2{\hyperimage{##1}{##2}}%
\InputIfFileExists{bookmarkgreeks.tex}{}{}%
\else
\def\@urlcolor{black}%
@@ -2501,22 +2440,11 @@ computational complexity
\def\externalref##1##2{##2}%
\def\DOIexternalref##1##2{##2}%
\fi%
- %%% The option grid produces a grid to check or align the page and
- %%% column boundarys.
\ifKV@ccsps@grid
\overfullrule=6pt
\let\twidth\textwidth
\let\theight\textheight
-%%% \let\orgGd@draw\Gd@draw
-%%% \def\Gd@draw##1{%
-%%% \newGd@draw{##1}%
-%%% \orgGd@draw{##1}%
- %%% define Gd@draw (and rename later)
- %%% \renewcommand{\twidth}{119mm}%
- %%% \renewcommand{\theight}{45.5pc}% 19.46cm
\else\overfullrule=0pt\fi
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% JS_info (MN2011/07/27: What's this?)
\InputIfFileExists{JS_info.tex}{}{}%
}
\def\printed@issn{1016-3328}%
@@ -2637,11 +2565,8 @@ computational complexity
\def\extractaffilsfr@om@author{%
\parindent\z@
\init@affils
-%%% \begin{tabular}{@{}ll@{}}%
\expandafter\extract@affils\@author\and\and\@nil
\if@oddaffil\else\even@sep\even@post\fi
-%%% \end{tabular}
-%%% \par
}
\def\init@affils{%
\let\and\relax
@@ -2662,22 +2587,21 @@ computational complexity
\affilpost}
\newcommand{\otheraddress}{\end{@ffiliation}\affilsep
\begin{@ffiliation}}
-\def\affilpre{\if@oddaffil\odd@pre\else\even@pre\fi}
-\def\affilpost{\if@oddaffil\odd@post\global\@oddaffilfalse
- \else\even@post\global\@oddaffiltrue\fi}
\def\odd@pre{\par\begin{tabular}{@{}ll@{}}}%
+\def\odd@sep{&}%
\def\odd@post{&}%
\def\even@pre{}%
+\def\even@sep{\end{tabular}\par\begin{tabular}{@{}ll@{}}}%
\def\even@post{\end{tabular}}%
-%%%
+\newif\if@oddaffil
+\def\affilpre{\if@oddaffil\odd@pre\else\even@pre\fi}
\def\affilsep{%
\if@oddaffil\odd@sep\@oddaffilfalse
\else\even@sep\@oddaffiltrue
\fi
}
-\newif\if@oddaffil
-\def\odd@sep{&}%
-\def\even@sep{\end{tabular}\par\begin{tabular}{@{}ll@{}}}%
+\def\affilpost{\if@oddaffil\odd@post\global\@oddaffilfalse
+ \else\even@post\global\@oddaffiltrue\fi}
\if@twocolumnendtitle
\newenvironment{@ffiliation}
{%
@@ -2700,8 +2624,8 @@ computational complexity
}
{\endminipage\bigskip}
\fi
-\@abstrwidth0.85\textwidth
\ifcase\@textareaversion
+\@abstrwidth0.85\textwidth
\or% version 1, used until June 2011
\textwidth=141mm
\@abstrwidth=120mm
@@ -2713,11 +2637,9 @@ computational complexity
\headheight=1.25\headheight
\ifnum\@marginmode<\z@\@marginmode\z@\fi
\or% version 2, used since July 2011
-\special{papersize=155mm,235mm}% Springer's papersize
\paperwidth=155mm
\paperheight=235mm
-\topmargin=-9.6mm%% MN2011/07/25 this is from ccspsmacros but should
- %% be rethought!!! Use \voffset, \hoffset instead...
+\topmargin=-9.6mm
\textheight=45.5pc
\textwidth=119mm
\@abstrwidth=\textwidth
@@ -2728,11 +2650,9 @@ computational complexity
\ifnum\@marginmode<\z@\@marginmode\tw@\fi% use balanced margins
\else% version negative or larger than max: emptypage
\newdimen\allsidemargin \allsidemargin=.5in
-%% LARGE width
\textwidth=\paperwidth
\advance\textwidth-2\allsidemargin% margin left/right
\marginparsep=1pt
-%% LARGE height
\topmargin-1in
\advance\topmargin\allsidemargin
\textheight=\paperheight
@@ -2740,10 +2660,10 @@ computational complexity
\advance\textheight-\headheight
\advance\textheight-\headsep
\advance\textheight-\footskip
-%%% \advance\textheight-\headheight% assuming as much space for foot as head.
\advance\textheight-\allsidemargin
\@marginmode\tw@
\sloppy
+\@abstrwidth0.85\textwidth
\fi
\newdimen\cc@topmargin \cc@topmargin\topmargin
\newdimen\cc@textwidth \cc@textwidth\textwidth
@@ -2857,8 +2777,8 @@ computational complexity
}%
}%
}
-\RequirePackage{graphicx}
-\RequirePackage{xcolor}%
+\RequirePackage{graphics}[2009/02/05 v1.0o]
+\RequirePackage{xcolor}[2007/01/21 v2.11]%
\IfFileExists{Birkh_logo_2010_sps.eps}{%
\def\birklogo{\bgroup\includegraphics{Birkh_logo_2010_sps.eps}\egroup}
}{%
@@ -2891,7 +2811,8 @@ computational complexity
\let\@evenfoot\@oddfoot
\def\@oddhead{%
\ifKV@ccsps@grid
- \hbox to\z@{\vbox to\z@{%
+ \hbox to\z@{%
+ \vbox to\z@{%
\hsize\twidth
\vskip\headsep
\fboxrule=.25pt
@@ -2899,6 +2820,7 @@ computational complexity
\textcolor{lightgray}{%
\fbox{\vbox to\theight{\hbox to\twidth{\hss}\vss}}%
}%
+ \vss
}%
\hss
}%
@@ -2910,7 +2832,6 @@ computational complexity
\AtEndOfClass{\pagestyle{cc}}
\AtEndOfClass{%
\AtBeginDocument{\@onlypreamble{\author{\if@autotitle\maketitle\fi}}}
- %\AtBeginDocument{\if@autotitle\maketitle\fi}
\AtEndDocument{\if@autotitle\makeendtitle\fi}
}
\def\stripbox{\kern -11.7cm%
@@ -2949,31 +2870,6 @@ computational complexity
comput. complex.~\textbf{\@ccvolume}~(\@ccyear),
\thepage\ -- \@cclast\cr
\issn/\expandafter\@gobbletwo\@ccyear%
- %% use + instead --?
- /\cc@fixelen20\@ccissue\relax
- \cc@fixelen40\@ccfirst\relax
- --\@ccnumberofpages\
- \$ 1.50+0.20/0\cr}}\hss
- \vbox to\z@{\vss
- \offinterlineskip%
- \halign{##&##\hfil\cr
- \vertrulea&\ixpt
- \copyright{} Birkh{\"{a}}user Verlag, Basel \@ccyear\cr
- \noalign{\hrule}
- \vertruleb\hskip1mm&%
- \vbox to\z@{\vbox to\z@{\vss
- \hbox{\xptsfbx computational complexity}}\vss}%
- \cr}}}\vskip47.333pt
-}
-\newcommand{\maketitleheadB}{% version since 2011 (Springer)
- \hbox to\textwidth{%
- \vbox to\z@{\vss
- \baselineskip=12pt%
- \halign{\ixpt##\hfil\cr
- comput. complex.~\textbf{\@ccvolume}~(\@ccyear),
- \thepage\ -- \@cclast\cr
- \issn/\expandafter\@gobbletwo\@ccyear%
- %% use + instead --?
/\cc@fixelen20\@ccissue\relax
\cc@fixelen40\@ccfirst\relax
--\@ccnumberofpages\
@@ -2998,13 +2894,6 @@ computational complexity
comput. complex.%
\ifKV@ccsps@issuestage%
~\textbf{\@ccvolume}~(\@ccyear),~\@ccfirst\ -- \@cclast
-%%% {% No coloring on this pageref.
-%%% \def\Hy@colorlink##1{\begingroup\color{black}}%
-%%% \def\Hy@endcolorlink{\endgroup}%
-%%% \pageref{ccenddocument}%
-%%% %%% \def\Hy@colorlink##1{\begingroup\color{##1}}%
-%%% %%% \def\Hy@endcolorlink{\endgroup}%
-%%% }%
\fi\cr
\ifKV@ccsps@openaccess
\copyright{} \@copyholdername\ \@ccyear.
@@ -3014,7 +2903,7 @@ computational complexity
\ifKV@ccsps@issuestage
{\printed@issn/\cc@fixelen20\@coveryear/%
\cc@fixelen20\@ccissue%
- \cc@fixelen50\@ccfirst%
+ \cc@fixelen40\@ccfirst%
-% MN2011/07/27: use + instead?
\@ccnumberofpages}\cr
{{\it published online}\ \@onlinedate}\cr
@@ -3025,7 +2914,6 @@ computational complexity
\offinterlineskip%
\halign{##&##\hfil\cr
\vertrulea&\ixpt\cr
- %%\copyright{} Birkh{\"{a}}user Verlag, Basel \@ccyear\cr
\noalign{\hrule}
\vertruleb\hskip1mm&%
\vbox to\z@{\vbox to\z@{\vss
@@ -3037,32 +2925,21 @@ computational complexity
\renewcommand{\maketitle}{%
\global\@topnum\z@ % Prevents figures from going at top of page.
\cite@hook{}%
+ \thispagestyle{ccfirst}
\if@cchead
\ifnum\@textareaversion=\tw@\vspace*{15pt}\fi
\vbox to\z@{\vss
- \@ifundefined{r@ccenddocument}{\@tempcnta\z@}{%
- \@tempcnta\@ne
- \advance\@tempcnta-\@ccfirst
- \edef\@tempa{\csname r@ccenddocument\endcsname}%
- \ifx\@secondoffive\@@@@undefined% hyperref launches this!
- \edef\@tempa{\expandafter\@secondoftwo\@tempa{}{}{}{}{}}%
- \else
- \edef\@tempa{\expandafter\@secondoffive\@tempa{}{}{}{}{}}%
- \fi%
- \advance\@tempcnta\@tempa%
- }%
\setcounter{page}{\@ccfirst}%
- \ifcase\@textareaversion\maketitleheadA
+ \ifcase\@textareaversion\maketitleheadSPS
\or\maketitleheadA
\or\maketitleheadSPS
- \else\maketitleheadA
+ \else\maketitleheadSPS
\fi
}%
\fi
\hrule\@height\z@
\vskip2.2ex% 4.0mm
\relax
- \thispagestyle{ccfirst}
\begin{center}
\if@ccpublish
\renewcommand{\footnote}[1]{\protect\ClassWarningNoLine{cc}{%
@@ -3074,7 +2951,7 @@ computational complexity
\renewcommand{\footnote}[1]{\protect\ClassWarningNoLine{cc}{%
In title or author \string\footnote\space does not work.\MessageBreak
Avoid footnotes or use \string\thanks}}%
- \renewcommand{\thefootnote}{\@fnsymbol\c@footnote}%
+ \def\thefootnote{\@fnsymbol\c@footnote}%
\def\@makefnmark{%
\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
\long\def\@makefntext##1{\parindent 1em\noindent
@@ -3091,7 +2968,6 @@ computational complexity
\@ifundefined{@subtitle}{}{{%
\large\itshape
\@subtitle
- %%\if!\@subtitle!\relax\else\addcontentsline{toc}{subtitle}{\@subtitle}\fi%
\par
}}
\@ifundefined{@version}{}{{%
@@ -3116,32 +2992,18 @@ computational complexity
\large\@date\par
}\fi
\def\@tempa{\vskip5.5ex\let\@tempa\relax}%
- \expandafter\cc@ifempty\expandafter{\the\@abstract@toks}{%
- \ifvoid\@abstract
- \if@abstractoptional
- \ClassWarningNoLine{cc}{Missing abstract}%
- \else
- \ClassError{cc}{Missing abstract}
- {Define an abstract in the preamble using
- \protect\begin{abstract} ... \protect\end{abstract}.}%
- \fi
+ \ifx\@abstract@macro\@empty
+ \if@abstractoptional
+ \ClassWarningNoLine{cc}{Missing abstract}%
\else
- \addcontentsline{toc}{section}{\ccabstractname}%
- \@tempa\leavevmode\unvbox\@abstract\par
+ \ClassError{cc}{Missing abstract}
+ {Define abstract in the preamble using
+ \protect\begin{abstract} ... \protect\end{abstract}.}%
\fi
- }{%
- \ifvoid\@abstract\else
- \ClassWarningNoLine{cc}{Two abstracts,
- using the one defined by \protect\Abstract}%
- \fi
- \global\setbox\@abstract
- \@abstr{\ccabstractname}
- \the\@abstract@toks
- \end@abstr
- \addcontentsline{toc}{section}{\ccabstractname}%
- \@tempa\leavevmode\unvbox\@abstract\par
- }
- \ifvoid\@keywords
+ \else
+ \@tempa\@abstract@macro\par
+ \fi
+ \ifx\@keywords@macro\@empty
\if@keywordsoptional
\ClassWarningNoLine{cc}{Missing keywords}%
\else
@@ -3150,18 +3012,18 @@ computational complexity
\protect\begin{keywords} ... \protect\end{keywords}.}%
\fi
\else
- \@tempa\leavevmode\unvbox\@keywords\par
+ \@tempa\@keywords@macro\par
\fi
- \ifvoid\@subject
+ \ifx\@subject@macro\@empty
\if@subjectoptional
\ClassWarningNoLine{cc}{Missing subject classification}%
\else
- \ClassError{cc}{Missing subject classification}
- {Define a subject classification in the preamble using
+ \ClassError{cc}{Missing subject}
+ {Define subject in the preamble using
\protect\begin{subject} ... \protect\end{subject}.}%
\fi
\else
- \@tempa\leavevmode\unvbox\@subject\par
+ \@tempa\@subject@macro\par
\fi
\@thanks
\ifx\@tempa\relax\vskip3ex\fi
@@ -3200,7 +3062,6 @@ computational complexity
{\small
\extractaffilsfr@om@author
}%
- %%\clearpage
\gdef\makeendtitle{\ClassWarning{cc}{\protect\makeendtitle\space
multiply used!}}%
}
@@ -3244,7 +3105,7 @@ computational complexity
%% Right brace \} Tilde \~}
\ProvidesPackage{ccproof}[2000/02/29 v2.05
proof environments for cc. Michael Nuesken, Bonn.]
-\RequirePackage{theorem}
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\RequirePackage{thcc}
\RequirePackage{ccqed}
\newcommand{\Qed}{\@qedtrue\qed}%
@@ -3357,13 +3218,11 @@ computational complexity
\fi
}%
\def\page@pushright#1{% 18 Jan 1994
- %\unpenalty % ineffective
\skip@\lastskip
\ifdim\skip@>\z@
\unskip
\else\skip@\z@\relax
\fi
- %\unpenalty % TeX won't let me do this
\dimen@\baselineskip
\advance\dimen@-\prevdepth
\nobreak
@@ -3601,7 +3460,6 @@ computational complexity
\ProvidesPackage{ccreltx}[2002/05/22 v2.05
computational complexity, reactivate ltthm.
Michael Nuesken, Bonn.]
-%%% From File: ltthm.dtx
\def\newtheorem#1{%
\@ifnextchar[{\@othm{#1}}{\@nthm{#1}}}
\def\@nthm#1#2{%
@@ -3705,15 +3563,11 @@ computational complexity
\def\theenumi{\@roman\c@enumi}%
\def\labelenumi{(\theenumi)}%
\defprefix{enumi}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
(##1)}%
- %\def\theenumii{\@alph\c@enumii}%
- %\def\labelenumii{(\theenumii)}%
\defprefix{enumii}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
@@ -3721,15 +3575,11 @@ computational complexity
\def\theenumiii{\@arabic\c@enumiii}%
\def\labelenumiii{(\theenumiii)}%
\defprefix{enumiii}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
(\theenumi.\theenumii.##1)}%
- %\def\theenumiv{\@Alph\c@enumiv}%
- %\def\labelenumiv{\theenumiv.}%
\defprefix{enumiv}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
@@ -3740,14 +3590,10 @@ computational complexity
\def\theenumi{\@roman\c@enumi}%
\def\labelenumi{(\theenumi)}%
\defprefix{enumi}##1{(##1)}%
- %\def\theenumii{\@alph\c@enumii}%
- %\def\labelenumii{(\theenumii)}%
\defprefix{enumii}##1{(\theenumi.##1)}%
\def\theenumiii{\@arabic\c@enumiii}%
\def\labelenumiii{(\theenumiii)}%
\defprefix{enumiii}##1{(\theenumi.\theenumii.##1)}%
- %\def\theenumiv{\@Alph\c@enumiv}%
- %\def\labelenumiv{\theenumiv.}%
\defprefix{enumiv}##1{(\theenumi.\theenumii.\theenumiii##1)}
}
\fi
@@ -4640,7 +4486,6 @@ Submit
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-%%% File: relabel.sty
%% Copyright (C) 1998 Michael N\"{u}sken, all rights reserved.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{relabel}[1998/09/07 v1.01 Relabel. MNuesken]
@@ -4765,7 +4610,7 @@ Submit
\ProvidesPackage{thcc}[2008/03/18 v2.08
computational complexity, theorem layouts.
Michael Nuesken, Bonn.]
-\RequirePackage{theorem}[1995/11/23]
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\def\cc@forbiddenpackage{2010/10/26 Forbidden by cc.cls/thcc.sty. Not loaded!}
\expandafter\global\expandafter\let\csname ver@amsthm.sty\endcsname\cc@forbiddenpackage
\expandafter\global\expandafter\let\csname ver@apthm.sty\endcsname\cc@forbiddenpackage
diff --git a/Master/texmf-dist/doc/latex/computational-complexity/cc.pdf b/Master/texmf-dist/doc/latex/computational-complexity/cc.pdf
index 511ca4ccb5e..f5525ea61b9 100644
--- a/Master/texmf-dist/doc/latex/computational-complexity/cc.pdf
+++ b/Master/texmf-dist/doc/latex/computational-complexity/cc.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx
index 1f613c04cd6..ac72dc55fa4 100644
--- a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx
+++ b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx
@@ -29,7 +29,7 @@
%
%<*chartab>
%\fi
-% \CheckSum{7880}
+% \CheckSum{7723}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -910,7 +910,7 @@ D: \short\ref{rs-D},
%*% This is the beginning of the documentation!
\errorcontextlines9999
\documentclass[noccpublish%
-,textarea=cc1,
+,textarea=cc1
,multilingual,australian%
%*% Insert options here:
%,ccite%
@@ -1452,15 +1452,12 @@ used to specify another address block for the present author without
such a heading. An \meta{abstract}, \meta{keywords} and a
\meta{subject classification} are required for articles in \cc{}. The
\SpecialEnvIndex{abstract}\meta{abstract} should summarize, in less
-than 150 words, the context, content and conclusions of the paper. It
-should not contain any references or citations. (If you insist on
-them, you must use |\Abstract{|\meta{abstract}|}| instead of the
-\Lenv{abstract} environment.) List four to six
-\SpecialEnvIndex{keywords}\meta{keywords} characterizing the article.
-A \SpecialEnvIndex{subject}\meta{subject classification} should be
-given according to the Mathematical Subject Classification 2000
-(MSC~2000), which can be found in the Internet, see \cc{}'s homepage
-\cchomepage{}.
+than 150 words, the context, content and conclusions of the paper.
+List four to six \SpecialEnvIndex{keywords}\meta{keywords}
+characterizing the article. A \SpecialEnvIndex{subject}\meta{subject
+ classification} should be given according to the Mathematical
+Subject Classification 2000 (MSC~2000), which can be found in the
+Internet, see \cc{}'s homepage \cchomepage{}.
The \meta{article text} can be structured by |\section|,
@@ -2297,9 +2294,7 @@ support.
\item \DescribeEnv{abstract}|\begin{abstract}| \meta{text}
|\end{abstract}|
- Preamble environment to specify the abstract. If the abstract
- contains any |\ref| or |\cite| this does not work. Try to avoid it.
- If you cannot avoid it use |\Abstract{|\meta{text}|}|.
+ Preamble environment to specify the abstract.
\item \DescribeEnv{keywords}|\begin{keywords}| \meta{list of keywords}
|\end{keywords}|
@@ -2819,7 +2814,10 @@ multilingual,english]{cc}
% bug. Michael N{\"{u}}sken, Bonn}
% \changes{v2.19}{2011/07/28}{Advanced version to 2.19, many
% modifications for publication service (search sps), removed some
-% comments. It is plan to advance to 3.0 soon. Michael
+% comments. Michael
+% N{\"{u}}sken, Bonn}
+% \changes{v2.20}{2011/07/29}{Advanced version to 2.20, bug fixes,
+% removed some It is planned to advance to 3.0 soon. Michael
% N{\"{u}}sken, Bonn}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
@@ -2829,7 +2827,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
-2011/07/28 v2.19
+2011/07/28 v2.20
computational complexity
\ifclass document class\else package\fi]
% \end{macrocode}
@@ -2986,7 +2984,7 @@ computational complexity
% \Lclo{noccpublish} these things are optional.
% \begin{macrocode}
\DeclareOption{ccpublish}{\@ccpublishtrue}
-\DeclareOption{noccpublish}{\@ccpublishfalse}
+\DeclareOption{noccpublish}{\@ccpublishfalse\ExecuteOptions{textarea=none}}
% \end{macrocode}
% \Lclo{cctextarea} means that the text part of the page is exactly as
% specified for \cc{}, it is the default with the class. It's
@@ -3135,11 +3133,11 @@ computational complexity
\@pass@ptions\@pkgextension{}{german}
\global\expandafter\let\csname ver@german.\@pkgextension\endcsname\@empty
\if@babel
-\RequirePackage{babel}
+\RequirePackage{babel}[2008/07/06 v3.8l]
\fi
\if@latin
% make this optional? yes.
-\RequirePackage[latin1]{inputenc}[1998/03/05 v0.97]
+\RequirePackage[latin1]{inputenc}[2008/03/30 v1.1d]
\fi
% \end{macrocode}
% Next, we load the \AMS{} packages if required. If not we define
@@ -3176,7 +3174,7 @@ computational complexity
% \changes{v2.00}{2000/04/04}{Modified \cs{UrlSpecials} as proposed by
% Paul Daly. Michael N{\"{u}}sken, Paderbon}
% \begin{macrocode}
-\RequirePackage{url}[1999/03/02 ver 1.4]
+\RequirePackage{url}[2006/04/12 ver 3.3]
\expandafter\def\expandafter\UrlSpecials\expandafter{%
\UrlSpecials\do\%{}}
\providecommand{\email}{\begingroup\urlstyle{tt}\Url}
@@ -3930,28 +3928,32 @@ computational complexity
% \end{macro}
% \begin{environment}{abstract}
% \begin{macro}{\Abstract}
-% The abstract is declared by the environment \Lenv{abstract} or the
-% command |\Abstract{|\meta{text}|}|. It is required for \cc{},
-% otherwise optional (although you get a warning if there is no
-% abstract). (Note that the article class defines an abstract
-% environment while the book class does not.) Note that in the
-% environment \Lenv{abstract} |\cite| and |\ref| are not allowed!
-% You must use the command |\Abstract| if you need citation or
-% references. The environment \Lenv{abstract} simply stores its
-% contents in a box.
-% \begin{macrocode}
-\newbox\@abstract
+% The abstract is declared by the environment \Lenv{abstract}. It is
+% required for \cc{}, otherwise optional (although you get a warning
+% if there is no abstract). (Note that the article class defines an
+% abstract environment while the book class does not.) The command
+% |\Abstract{|\meta{text}|}| is deprecated and only exists for
+% downward compatibility.
+% \changes{v2.19}{2011/07/28}{Rewritten environments for abstract,
+% subject and keywords based on \lpackage{environ.sty}. Michael
+% N{\"{u}}sken, Bonn}
+% \begin{macrocode}
+% \newbox\@abstract
\let\abstract\@undefined\let\endabstract\@undefined
\babel\def\ccabstractname{Abstract}[%
german=Zusammenfassung,french=R\'esum\'e]
-\newenvironment{abstract}
- {\global\setbox\@abstract\@abstr{\ccabstractname}}
- {\end@abstr}
+% \newenvironment{abstract}
+% {\global\setbox\@abstract\@abstr{\ccabstractname}}
+% {\end@abstr}
+\RequirePackage{environ}[2008/06/18]
+\def\@abstract@macro{}
+\long\def\for@cc@abstract#1{%
+ \gdef\@abstract@macro{\begin{@abstr}{\ccabstractname}#1\end{@abstr}}}
+\newenvironment{abstract}{\Collect@Body\for@cc@abstract}{}
% \end{macrocode}
-% |\Abstract| stores its argument in a token list.
+% Deprecated now: |\Abstract|.
% \begin{macrocode}
-\newtoks\@abstract@toks
-\newcommand{\Abstract}{\global\@abstract@toks}
+\newcommand{\Abstract}{\for@cc@abstract}
% \end{macrocode}
% \end{macro}
% \end{environment}
@@ -3960,12 +3962,16 @@ computational complexity
% similar to \Lenv{abstract}. It simply stores its contents
% in a box.
% \begin{macrocode}
-\newbox\@keywords
+% \newbox\@keywords
\babel\def\cckeywordsname{Keywords}[%
german=Stichworte,french=Mot-cl\'e]
-\newenvironment{keywords}
- {\global\setbox\@keywords\@abstr{\cckeywordsname}}
- {\end@abstr}
+% \newenvironment{keywords}
+% {\global\setbox\@keywords\@abstr{\cckeywordsname}}
+% {\end@abstr}
+\def\@keywords@macro{}
+\long\def\for@cc@keywords#1{%
+ \gdef\@keywords@macro{\begin{@abstr}{\cckeywordsname}#1\end{@abstr}}}
+\newenvironment{keywords}{\Collect@Body\for@cc@keywords}{}
% \end{macrocode}
% \end{environment}
% \begin{environment}{subject}
@@ -3973,12 +3979,18 @@ computational complexity
% classification. It simply stores its contents
% in a box.
% \begin{macrocode}
-\newbox\@subject
+%\newbox\@subject
\babel\def\ccsubjectclassificationname{Subject classification}[%
german=Klassifizierung,french=Classification de suj\`et]
-\newenvironment{subject}
- {\global\setbox\@subject\@abstr{\ccsubjectclassificationname}}
- {\end@abstr}
+% \newenvironment{subject}
+% {\global\setbox\@subject\@abstr{\ccsubjectclassificationname}}
+% {\end@abstr}
+\def\@subject@macro{}
+\long\def\for@cc@subject#1{%
+ \gdef\@subject@macro{\begin{@abstr}{\ccsubjectclassificationname}
+ #1
+ \end{@abstr}}}
+\newenvironment{subject}{\Collect@Body\for@cc@subject}{}
% \end{macrocode}
% \end{environment}
% \begin{environment}{@abstr}
@@ -3988,13 +4000,16 @@ computational complexity
% long abstracts, MN, Bonn}
% \changes{v2.07}{2008/03/18}{Changed @abstr to decrease spacing in
% embedded lists and forbid nested lists, MN, Bonn}
+% \changes{v2.19}{2011/07/28}{Allowed one nested lists, MN, Bonn}
% \begin{macrocode}
\newdimen\@abstrwidth
+\newbox\@abstr@box
\newenvironment{@abstr}[1]{%
- \vbox\bgroup
- \hsize\textwidth
+% \leavevmode
+ \setbox\@abstr@box\vbox\bgroup%
\@parboxrestore
- \leftmargin.5\textwidth \advance\leftmargin-.5\@abstrwidth
+ \ifdim\@abstrwidth>\hsize\@abstrwidth\hsize\fi
+ \leftmargin.5\hsize \advance\leftmargin-.5\@abstrwidth
\rightmargin\leftmargin
\@trivlist\@newlistfalse\global\@inlabeltrue
\advance\linewidth -\rightmargin
@@ -4006,19 +4021,22 @@ computational complexity
\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
+ \def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii
+ \advance\labelwidth-\labelsep
+ \topsep 0\p@ \@plus1\p@
+ \parsep 1\p@
+ \itemsep \parsep}%
\let\@listiii\@toodeep
\let\@listiv\@toodeep
\let\@listv\@toodeep
\let\@listvi\@toodeep
\textbf{#1. }\ignorespaces}
{%
- %\strut
+% \strut
\par
- %\vskip\z@
\egroup
+ \leavevmode\unvbox\@abstr@box
\ignorespacesafterend}
% \end{macrocode}
% \end{environment}
@@ -4065,6 +4083,9 @@ computational complexity
% Make sure that macros with first, last and number of pages are
% available right after |\begin{document}|. This will be used for
% \cs{maketitle} and possibly more.
+% \changes{v2.19}{2011/07/29}{Always use own secondoffive when
+% computing the page of ccenddocument (hyperref has five groups,
+% otherwise it's just two). Michael Nüsken, Bonn}
% \begin{macrocode}
\AtBeginDocument{\addtocounter{section}{-1}\refstepcounter{section}}%
\AtEndDocument{\hrule height0pt\label{ccenddocument}}%
@@ -4072,16 +4093,13 @@ computational complexity
\def\@ccfirst{1}%
\let\@cclast\@ccunknown%
\let\@ccnumberofpages\@ccunknown%
+\long\def\cc@secondoffive#1#2#3#4#5{#2}
\AtBeginDocument{%
\@ifundefined{r@ccenddocument}{}{%
\@tempcnta\@ne
\advance\@tempcnta-\@ccfirst
- \xdef\@cclast{\csname r@ccenddocument\endcsname}%
- \ifx\@secondoffive\@@@@undefined% hyperref launches this!
- \xdef\@cclast{\expandafter\@secondoftwo\@cclast{}{}{}{}{}}%
- \else
- \xdef\@cclast{\expandafter\@secondoffive\@cclast{}{}{}{}{}}%
- \fi%
+ \protected@xdef\@cclast{\csname r@ccenddocument\endcsname}%
+ \xdef\@cclast{\expandafter\cc@secondoffive\@cclast{}{}{}{}{}}%
\advance\@tempcnta\@cclast%
\xdef\@ccnumberofpages{\the\@tempcnta}%
}%
@@ -4110,7 +4128,7 @@ computational complexity
\global\@subjectoptionaltrue% Subject class. optional
\global\@ccheadfalse
\gdef\@cctxt{#1}%
- %\global\@twosidefalse
+% \global\@twosidefalse
}
\newcommand{\ccpublish}[4]{% Deprecated since 2011/07/25
\global\@ccpublishtrue
@@ -4143,6 +4161,14 @@ computational complexity
% \end{macrocode}
%
% These tiny helpers will allow to produce any fixed length output.
+% \begin{macro}{\cc@fixelendef}
+% The macro \cs{cc@fixelendef} defines \#3 as a fixed
+% expanded-length version of \#4 to \#1 places, cut on the left if
+% necessary or filled up with copies of \#2 on the left.
+% \begin{macro}{\cc@fixelen}
+% The macro \cs{cc@fixelen} outputs a fixed expanded-length version
+% of \#3 to \#1 places, cut on the left if necessary or filled up
+% with copies of \#2 on the left.
% \begin{macrocode}
\def\cc@fixlencountdown#1{%
\@tfor\@x:=#1\do{\advance\@tempcnta\m@ne}}
@@ -4170,6 +4196,8 @@ computational complexity
}%
}
% \end{macrocode}
+% \end{macro}
+% \end{macro}
%
% Now we start defining all the options.
%
@@ -4198,7 +4226,7 @@ computational complexity
%
% \begin{macrocode}
\define@boolkey{ccsps}{revisionstage}[true]{%
- %%% \ifKV@ccsps@revisionstage\let\revisionstage=Y\else\let\revisionstage=N\fi
+% \ifKV@ccsps@revisionstage\let\revisionstage=Y\else\let\revisionstage=N\fi
}
% \end{macrocode}
%
@@ -4239,7 +4267,7 @@ computational complexity
%
% \begin{macrocode}
\define@boolkey{ccsps}{issuestage}[true]{%
- %%% \ifKV@ccsps@issuestage\let\issuestage=Y\else\let\issuestage=N\fi
+% \ifKV@ccsps@issuestage\let\issuestage=Y\else\let\issuestage=N\fi
}
% \end{macrocode}
%
@@ -4247,7 +4275,7 @@ computational complexity
% \begin{macrocode}
% Shall the article be open access?
\define@boolkey{ccsps}{openaccess}[true]{%
- %%% \ifKV@ccsps@openaccess\let\stageaccess=Y\else\let\stageaccess=N\fi
+% \ifKV@ccsps@openaccess\let\stageaccess=Y\else\let\stageaccess=N\fi
}
\define@boolkey{ccsps}{stageaccess}[true]{% Deprecated.
\setkeys{ccsps}{openaccess=#1}}
@@ -4258,14 +4286,9 @@ computational complexity
\define@key{ccsps}{year}[????]{\gdef\@ccyear{#1}}
\define@key{ccsps}{volume}[??]{\gdef\@ccvolume{#1}}
\define@key{ccsps}{issue}[??]{\gdef\@ccissue{#1}}%
-%%% \@tempcnta\tw@\@tfor\@x:=#1\do{\advance\@tempcnta\m@ne}%
-%%% \ifcase\@tempcnta\gdef\@ccissue{#1}
-%%% \or\gdef\@ccissue{0#1}%
-%%% \or\gdef\@ccissue{00}%
-%%% \fi}
\define@key{ccsps}{firstpage}[1]{%
\gdef\@ccfirst{#1}%
- %\cc@fixelendef40\@ccfirstiv{#1}%
+% \cc@fixelendef40\@ccfirstiv{#1}%
\@tempcnta4\@tfor\@x:=#1\do{\advance\@tempcnta\m@ne}%
\ifcase\@tempcnta\gdef\@ccfirstiv{#1}%
\or\gdef\@ccfirstiv{0#1}%
@@ -4280,7 +4303,7 @@ computational complexity
\ifKV@ccsps@openaccess The Author(s)
\else Springer Basel AG\fi}
\define@key{ccsps}{doisuffix}[????-?]{%
- % Is the doi always 10.1007/s00037-threedigityear-suffix?
+% Is the doi always 10.1007/s00037-threedigityear-suffix?
\cc@fixelendef50\@doiinfo{\@journalnumber}%
\xdef\@doiinfo{%
10.1007/s\@doiinfo-%
@@ -4298,7 +4321,7 @@ computational complexity
% latter makes hyperlinks blue and so forth.
% \begin{macrocode}
\define@boolkey{ccsps}{pdfpage}[true]{%
- % \ifKV@ccsps@pdfpage\@pdfpagetrue\else\@pdfpagefalse\fi%
+% \ifKV@ccsps@pdfpage\@pdfpagetrue\else\@pdfpagefalse\fi%
}
\define@boolkey{ccsps}{xlink}[true]{}
% \end{macrocode}
@@ -4339,68 +4362,65 @@ computational complexity
\global\@ccackfalse% Acknowledgements required
\global\@ccheadtrue
\global\@autotitletrue
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% Now scan the key, key=value list:
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Now scan the key, key=value list:
\setkeys{ccsps}{sps,#1}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %\gdef\@cctxt{cc \textbf{\@ccvolume}(\@ccissue)}% MN2011/07/27: Shouldn't it be this?
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \gdef\@cctxt{cc \textbf{\@ccvolume}(\@ccissue)}% MN2011/07/27: Shouldn't it be this?
\gdef\@cctxt{cc \textbf{\@ccvolume} (\@ccyear)}%
- %%% \global\@twosidefalse
- %%% MN2011/07/26 Note that the following makes it necessary that
- %%% \ccsps is used only once!
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% During revisionstage line numbers, a helper strip and a
- %%% watermark shall be added.
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \global\@twosidefalse
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% During revisionstage line numbers, a helper strip and a
+% watermark shall be added.
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[mathlines]{lineno}[2005/11/02]
\ifKV@ccsps@pdfpage
\setkeys{ccsps}{helperstrip=false}%
- %%% This case should turn off draftcopy but cannot do this
- %%% since draftcopy is badly written.
- %%% Consequently, this makes a double use of ccsps impossible.
+% This case should turn off draftcopy but cannot do this
+% since draftcopy is badly written.
+% Consequently, this makes a double use of ccsps impossible.
\nolinenumbers
\else
\setkeys{ccsps}{helperstrip=true}%
\RequirePackage[conditional,draft]{draftcopy}
\draftcopyPageTransform{155 75 translate 65 rotate}
\draftcopyName{\cc@watermarktext}{75}
- %%% Scaling by a factor 75 is fine for a text like "Uncorrected proof".
+% Scaling by a factor 75 is fine for a text like "Uncorrected proof".
\linenumbers
\fi
- %%% With the option xlink the final pdf shall have bookmarks and
- %%% blue links. Otherwise there are no bookmarks and black links.
+% With the option xlink the final pdf shall have bookmarks and
+% blue links. Otherwise there are no bookmarks and black links.
\RequirePackage[dvips,
bookmarks=\ifKV@ccsps@xlink true\else false\fi,
breaklinks=true,
colorlinks=\ifKV@ccsps@xlink true\else false\fi,
linkcolor=\ifKV@ccsps@xlink blue\else black\fi,
- unicode]{hyperref}%
- %%% \RequirePackage{xcolor}%
- \RequirePackage{breakurl}%
+ unicode]{hyperref}[2011/04/17 v6.82g]%
+ \RequirePackage{breakurl}[2009/01/24 v1.30]%
\def\l@title##1{\@dottedtocline{-1}{0pt}{0pt}{{\large\textbf{##1}}}}%
\let\l@title\l@part
- %%%
- %\ExecuteOptions{nonatbib}
- %\usepackage[comma,square]{modnatbib}%
- %%% The package natbib was modified only marginally. On the one
- %%% hand, spacing after superscripted references was modified, which
- %%% is irrelevant to \cc{}. On the other hand the references were
- %%% also added to the table of contents. This is superfluous since
- %%% \Lclass{cc} redefines \Lenv{thebibliography} and adds that entry
- %%% there. Further punctuation was modified but that is set by
- %%% \Lclass{cc} anyways.
- %%%
- %\usepackage{hypernat}%
- %%% The package \Lpackage{hypernat} would at most be needed if cc
- %%% articles would combine natbib options number and
- %%% sort&compress. However, number is deprecated and sort&compress
- %%% is not used in the journal versions.
- %%%
+%
+% \ExecuteOptions{nonatbib}
+% \usepackage[comma,square]{modnatbib}%
+% The package natbib was modified only marginally. On the one
+% hand, spacing after superscripted references was modified, which
+% is irrelevant to \cc{}. On the other hand the references were
+% also added to the table of contents. This is superfluous since
+% \Lclass{cc} redefines \Lenv{thebibliography} and adds that entry
+% there. Further punctuation was modified but that is set by
+% \Lclass{cc} anyways.
+%
+% \usepackage{hypernat}%
+% The package \Lpackage{hypernat} would at most be needed if cc
+% articles would combine natbib options number and
+% sort&compress. However, number is deprecated and sort&compress
+% is not used in the journal versions.
+%
\ifKV@ccsps@xlink%
\def\@urlcolor{blue}
\def\@citecolor{blue}
\def\externalref##1##2{\hyperimage{##1}{##2}}%
- \def\DOIexternalref##1##2{\hyperimage{##1}{##2}}%%%%
+ \def\DOIexternalref##1##2{\hyperimage{##1}{##2}}%
\InputIfFileExists{bookmarkgreeks.tex}{}{}%
\else
\def\@urlcolor{black}%
@@ -4408,22 +4428,15 @@ computational complexity
\def\externalref##1##2{##2}%
\def\DOIexternalref##1##2{##2}%
\fi%
- %%% The option grid produces a grid to check or align the page and
- %%% column boundarys.
+% The option grid produces a grid to check or align the page and
+% column boundarys.
\ifKV@ccsps@grid
\overfullrule=6pt
\let\twidth\textwidth
\let\theight\textheight
-%%% \let\orgGd@draw\Gd@draw
-%%% \def\Gd@draw##1{%
-%%% \newGd@draw{##1}%
-%%% \orgGd@draw{##1}%
- %%% define Gd@draw (and rename later)
- %%% \renewcommand{\twidth}{119mm}%
- %%% \renewcommand{\theight}{45.5pc}% 19.46cm
\else\overfullrule=0pt\fi
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% JS_info (MN2011/07/27: What's this?)
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %%% JS_info (MN2011/07/27: What's this?)
\InputIfFileExists{JS_info.tex}{}{}%
}
% \end{macrocode}
@@ -4629,11 +4642,8 @@ computational complexity
\def\extractaffilsfr@om@author{%
\parindent\z@
\init@affils
-%%% \begin{tabular}{@{}ll@{}}%
\expandafter\extract@affils\@author\and\and\@nil
\if@oddaffil\else\even@sep\even@post\fi
-%%% \end{tabular}
-%%% \par
}
\def\init@affils{%
\let\and\relax
@@ -4671,23 +4681,22 @@ computational complexity
% \begin{macrocode}
\newcommand{\otheraddress}{\end{@ffiliation}\affilsep
\begin{@ffiliation}}
-\def\affilpre{\if@oddaffil\odd@pre\else\even@pre\fi}
-\def\affilpost{\if@oddaffil\odd@post\global\@oddaffilfalse
- \else\even@post\global\@oddaffiltrue\fi}
\def\odd@pre{\par\begin{tabular}{@{}ll@{}}}%
+\def\odd@sep{&}%
\def\odd@post{&}%
\def\even@pre{}%
+\def\even@sep{\end{tabular}\par\begin{tabular}{@{}ll@{}}}%
\def\even@post{\end{tabular}}%
-%%%
+%
+\newif\if@oddaffil
+\def\affilpre{\if@oddaffil\odd@pre\else\even@pre\fi}
\def\affilsep{%
\if@oddaffil\odd@sep\@oddaffilfalse
\else\even@sep\@oddaffiltrue
\fi
}
-\newif\if@oddaffil
-\def\odd@sep{&}%
-\def\even@sep{\end{tabular}\par\begin{tabular}{@{}ll@{}}}%
-%\def\even@sep{\\*[\medskipamount]}%
+\def\affilpost{\if@oddaffil\odd@post\global\@oddaffilfalse
+ \else\even@post\global\@oddaffiltrue\fi}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -4744,9 +4753,9 @@ computational complexity
% \changes{v2.18}{2011/07/26}{Adapted to Springer's ccspsmacros,
% added modified papersize. Michael N{\"{u}}sken, Bonn}
% \begin{macrocode}
-\@abstrwidth0.85\textwidth
\ifcase\@textareaversion
% version 0: nocctextarea
+\@abstrwidth0.85\textwidth
%
\or% version 1, used until June 2011
\textwidth=141mm
@@ -4760,11 +4769,12 @@ computational complexity
\ifnum\@marginmode<\z@\@marginmode\z@\fi
%
\or% version 2, used since July 2011
-\special{papersize=155mm,235mm}% Springer's papersize
+% \special{papersize=155mm,235mm}% Springer's papersize
\paperwidth=155mm
\paperheight=235mm
-\topmargin=-9.6mm%% MN2011/07/25 this is from ccspsmacros but should
- %% be rethought!!! Use \voffset, \hoffset instead...
+\topmargin=-9.6mm
+% MN2011/07/25 this is from ccspsmacros but should be rethought!!!
+% Use \voffset, \hoffset instead..
\textheight=45.5pc
\textwidth=119mm
\@abstrwidth=\textwidth
@@ -4776,11 +4786,11 @@ computational complexity
%
\else% version negative or larger than max: emptypage
\newdimen\allsidemargin \allsidemargin=.5in
-%% LARGE width
+% LARGE width
\textwidth=\paperwidth
\advance\textwidth-2\allsidemargin% margin left/right
\marginparsep=1pt
-%% LARGE height
+% LARGE height
\topmargin-1in
\advance\topmargin\allsidemargin
\textheight=\paperheight
@@ -4788,10 +4798,11 @@ computational complexity
\advance\textheight-\headheight
\advance\textheight-\headsep
\advance\textheight-\footskip
-%%% \advance\textheight-\headheight% assuming as much space for foot as head.
+% \advance\textheight-\headheight% assuming as much space for foot as head.
\advance\textheight-\allsidemargin
\@marginmode\tw@
\sloppy
+\@abstrwidth0.85\textwidth
\fi
\newdimen\cc@topmargin \cc@topmargin\topmargin
\newdimen\cc@textwidth \cc@textwidth\textwidth
@@ -4983,8 +4994,8 @@ computational complexity
%
% For some publishing features graphics and colors are used.
% \begin{macrocode}
-\RequirePackage{graphicx}
-\RequirePackage{xcolor}%
+\RequirePackage{graphics}[2009/02/05 v1.0o]
+\RequirePackage{xcolor}[2007/01/21 v2.11]%
\IfFileExists{Birkh_logo_2010_sps.eps}{%
\def\birklogo{\bgroup\includegraphics{Birkh_logo_2010_sps.eps}\egroup}
}{%
@@ -5024,7 +5035,8 @@ computational complexity
\let\@evenfoot\@oddfoot
\def\@oddhead{%
\ifKV@ccsps@grid
- \hbox to\z@{\vbox to\z@{%
+ \hbox to\z@{%
+ \vbox to\z@{%
\hsize\twidth
\vskip\headsep
\fboxrule=.25pt
@@ -5032,6 +5044,7 @@ computational complexity
\textcolor{lightgray}{%
\fbox{\vbox to\theight{\hbox to\twidth{\hss}\vss}}%
}%
+ \vss
}%
\hss
}%
@@ -5063,7 +5076,7 @@ computational complexity
% \begin{macrocode}
\AtEndOfClass{%
\AtBeginDocument{\@onlypreamble{\author{\if@autotitle\maketitle\fi}}}
- %\AtBeginDocument{\if@autotitle\maketitle\fi}
+% \AtBeginDocument{\if@autotitle\maketitle\fi}
\AtEndDocument{\if@autotitle\makeendtitle\fi}
}
% \end{macrocode}
@@ -5132,31 +5145,7 @@ computational complexity
comput. complex.~\textbf{\@ccvolume}~(\@ccyear),
\thepage\ -- \@cclast\cr
\issn/\expandafter\@gobbletwo\@ccyear%
- %% use + instead --?
- /\cc@fixelen20\@ccissue\relax
- \cc@fixelen40\@ccfirst\relax
- --\@ccnumberofpages\
- \$ 1.50+0.20/0\cr}}\hss
- \vbox to\z@{\vss
- \offinterlineskip%
- \halign{##&##\hfil\cr
- \vertrulea&\ixpt
- \copyright{} Birkh{\"{a}}user Verlag, Basel \@ccyear\cr
- \noalign{\hrule}
- \vertruleb\hskip1mm&%
- \vbox to\z@{\vbox to\z@{\vss
- \hbox{\xptsfbx computational complexity}}\vss}%
- \cr}}}\vskip47.333pt
-}
-\newcommand{\maketitleheadB}{% version since 2011 (Springer)
- \hbox to\textwidth{%
- \vbox to\z@{\vss
- \baselineskip=12pt%
- \halign{\ixpt##\hfil\cr
- comput. complex.~\textbf{\@ccvolume}~(\@ccyear),
- \thepage\ -- \@cclast\cr
- \issn/\expandafter\@gobbletwo\@ccyear%
- %% use + instead --?
+% % use + instead --?
/\cc@fixelen20\@ccissue\relax
\cc@fixelen40\@ccfirst\relax
--\@ccnumberofpages\
@@ -5181,13 +5170,6 @@ computational complexity
comput. complex.%
\ifKV@ccsps@issuestage%
~\textbf{\@ccvolume}~(\@ccyear),~\@ccfirst\ -- \@cclast
-%%% {% No coloring on this pageref.
-%%% \def\Hy@colorlink##1{\begingroup\color{black}}%
-%%% \def\Hy@endcolorlink{\endgroup}%
-%%% \pageref{ccenddocument}%
-%%% %%% \def\Hy@colorlink##1{\begingroup\color{##1}}%
-%%% %%% \def\Hy@endcolorlink{\endgroup}%
-%%% }%
\fi\cr
\ifKV@ccsps@openaccess
\copyright{} \@copyholdername\ \@ccyear.
@@ -5197,7 +5179,7 @@ computational complexity
\ifKV@ccsps@issuestage
{\printed@issn/\cc@fixelen20\@coveryear/%
\cc@fixelen20\@ccissue%
- \cc@fixelen50\@ccfirst%
+ \cc@fixelen40\@ccfirst%
-% MN2011/07/27: use + instead?
\@ccnumberofpages}\cr
{{\it published online}\ \@onlinedate}\cr
@@ -5208,7 +5190,6 @@ computational complexity
\offinterlineskip%
\halign{##&##\hfil\cr
\vertrulea&\ixpt\cr
- %%\copyright{} Birkh{\"{a}}user Verlag, Basel \@ccyear\cr
\noalign{\hrule}
\vertruleb\hskip1mm&%
\vbox to\z@{\vbox to\z@{\vss
@@ -5220,32 +5201,21 @@ computational complexity
\renewcommand{\maketitle}{%
\global\@topnum\z@ % Prevents figures from going at top of page.
\cite@hook{}%
+ \thispagestyle{ccfirst}
\if@cchead
\ifnum\@textareaversion=\tw@\vspace*{15pt}\fi
\vbox to\z@{\vss
- \@ifundefined{r@ccenddocument}{\@tempcnta\z@}{%
- \@tempcnta\@ne
- \advance\@tempcnta-\@ccfirst
- \edef\@tempa{\csname r@ccenddocument\endcsname}%
- \ifx\@secondoffive\@@@@undefined% hyperref launches this!
- \edef\@tempa{\expandafter\@secondoftwo\@tempa{}{}{}{}{}}%
- \else
- \edef\@tempa{\expandafter\@secondoffive\@tempa{}{}{}{}{}}%
- \fi%
- \advance\@tempcnta\@tempa%
- }%
\setcounter{page}{\@ccfirst}%
- \ifcase\@textareaversion\maketitleheadA
+ \ifcase\@textareaversion\maketitleheadSPS
\or\maketitleheadA
\or\maketitleheadSPS
- \else\maketitleheadA
+ \else\maketitleheadSPS
\fi
}%
\fi
\hrule\@height\z@
\vskip2.2ex% 4.0mm
\relax
- \thispagestyle{ccfirst}
\begin{center}
\if@ccpublish
\renewcommand{\footnote}[1]{\protect\ClassWarningNoLine{cc}{%
@@ -5257,7 +5227,7 @@ computational complexity
\renewcommand{\footnote}[1]{\protect\ClassWarningNoLine{cc}{%
In title or author \string\footnote\space does not work.\MessageBreak
Avoid footnotes or use \string\thanks}}%
- \renewcommand{\thefootnote}{\@fnsymbol\c@footnote}%
+ \def\thefootnote{\@fnsymbol\c@footnote}%
\def\@makefnmark{%
\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
\long\def\@makefntext##1{\parindent 1em\noindent
@@ -5274,7 +5244,7 @@ computational complexity
\@ifundefined{@subtitle}{}{{%
\large\itshape
\@subtitle
- %%\if!\@subtitle!\relax\else\addcontentsline{toc}{subtitle}{\@subtitle}\fi%
+% %\if!\@subtitle!\relax\else\addcontentsline{toc}{subtitle}{\@subtitle}\fi%
\par
}}
\@ifundefined{@version}{}{{%
@@ -5299,32 +5269,18 @@ computational complexity
\large\@date\par
}\fi
\def\@tempa{\vskip5.5ex\let\@tempa\relax}%
- \expandafter\cc@ifempty\expandafter{\the\@abstract@toks}{%
- \ifvoid\@abstract
- \if@abstractoptional
- \ClassWarningNoLine{cc}{Missing abstract}%
- \else
- \ClassError{cc}{Missing abstract}
- {Define an abstract in the preamble using
- \protect\begin{abstract} ... \protect\end{abstract}.}%
- \fi
+ \ifx\@abstract@macro\@empty
+ \if@abstractoptional
+ \ClassWarningNoLine{cc}{Missing abstract}%
\else
- \addcontentsline{toc}{section}{\ccabstractname}%
- \@tempa\leavevmode\unvbox\@abstract\par
+ \ClassError{cc}{Missing abstract}
+ {Define abstract in the preamble using
+ \protect\begin{abstract} ... \protect\end{abstract}.}%
\fi
- }{%
- \ifvoid\@abstract\else
- \ClassWarningNoLine{cc}{Two abstracts,
- using the one defined by \protect\Abstract}%
- \fi
- \global\setbox\@abstract
- \@abstr{\ccabstractname}
- \the\@abstract@toks
- \end@abstr
- \addcontentsline{toc}{section}{\ccabstractname}%
- \@tempa\leavevmode\unvbox\@abstract\par
- }
- \ifvoid\@keywords
+ \else
+ \@tempa\@abstract@macro\par
+ \fi
+ \ifx\@keywords@macro\@empty
\if@keywordsoptional
\ClassWarningNoLine{cc}{Missing keywords}%
\else
@@ -5333,18 +5289,18 @@ computational complexity
\protect\begin{keywords} ... \protect\end{keywords}.}%
\fi
\else
- \@tempa\leavevmode\unvbox\@keywords\par
+ \@tempa\@keywords@macro\par
\fi
- \ifvoid\@subject
+ \ifx\@subject@macro\@empty
\if@subjectoptional
\ClassWarningNoLine{cc}{Missing subject classification}%
\else
- \ClassError{cc}{Missing subject classification}
- {Define a subject classification in the preamble using
+ \ClassError{cc}{Missing subject}
+ {Define subject in the preamble using
\protect\begin{subject} ... \protect\end{subject}.}%
\fi
\else
- \@tempa\leavevmode\unvbox\@subject\par
+ \@tempa\@subject@macro\par
\fi
\@thanks
\ifx\@tempa\relax\vskip3ex\fi
@@ -5395,7 +5351,6 @@ computational complexity
{\small
\extractaffilsfr@om@author
}%
- %%\clearpage
\gdef\makeendtitle{\ClassWarning{cc}{\protect\makeendtitle\space
multiply used!}}%
}
@@ -5430,7 +5385,6 @@ computational complexity
%<*relabel>
% \end{macrocode}
% \iffalse meta-comment
-%%% File: relabel.sty
%% Copyright (C) 1998 Michael N\"{u}sken, all rights reserved.
%
% Copyright 1996 Michael N\"{u}sken.
@@ -5724,7 +5678,7 @@ computational complexity
% \end{macrocode}
% We require Frank Mittelbach's \Lpackage{theorem} package.
% \begin{macrocode}
-\RequirePackage{theorem}[1995/11/23]
+\RequirePackage{theorem}[1995/11/23 v2.2c]
% \end{macrocode}
% The following is actually a really dirty trick. On the one hand
% side we pretend that \Lpackage{amsthm} is loaded by defining
@@ -5914,15 +5868,15 @@ computational complexity
\def\theenumi{\@roman\c@enumi}%
\def\labelenumi{(\theenumi)}%
\defprefix{enumi}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
+% \Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
(##1)}%
- %\def\theenumii{\@alph\c@enumii}%
- %\def\labelenumii{(\theenumii)}%
+% \def\theenumii{\@alph\c@enumii}%
+% \def\labelenumii{(\theenumii)}%
\defprefix{enumii}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
+% \Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
@@ -5930,15 +5884,15 @@ computational complexity
\def\theenumiii{\@arabic\c@enumiii}%
\def\labelenumiii{(\theenumiii)}%
\defprefix{enumiii}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
+% \Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
(\theenumi.\theenumii.##1)}%
- %\def\theenumiv{\@Alph\c@enumiv}%
- %\def\labelenumiv{\theenumiv.}%
+% \def\theenumiv{\@Alph\c@enumiv}%
+% \def\labelenumiv{\theenumiv.}%
\defprefix{enumiv}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
+% \Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
@@ -5949,14 +5903,14 @@ computational complexity
\def\theenumi{\@roman\c@enumi}%
\def\labelenumi{(\theenumi)}%
\defprefix{enumi}##1{(##1)}%
- %\def\theenumii{\@alph\c@enumii}%
- %\def\labelenumii{(\theenumii)}%
+% \def\theenumii{\@alph\c@enumii}%
+% \def\labelenumii{(\theenumii)}%
\defprefix{enumii}##1{(\theenumi.##1)}%
\def\theenumiii{\@arabic\c@enumiii}%
\def\labelenumiii{(\theenumiii)}%
\defprefix{enumiii}##1{(\theenumi.\theenumii.##1)}%
- %\def\theenumiv{\@Alph\c@enumiv}%
- %\def\labelenumiv{\theenumiv.}%
+% \def\theenumiv{\@Alph\c@enumiv}%
+% \def\labelenumiv{\theenumiv.}%
\defprefix{enumiv}##1{(\theenumi.\theenumii.\theenumiii##1)}
}
\fi
@@ -6314,7 +6268,7 @@ computational complexity
% We rely on F.~Mittelbach's \Lpackage{theorem} style plus the
% corresponding layout for \cc.
% \begin{macrocode}
-\RequirePackage{theorem}
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\RequirePackage{thcc}
% \end{macrocode}
%
@@ -6505,7 +6459,7 @@ computational complexity
% \changes{v2.05}{2010/01/25}{Requiring ccaux now.}
% \begin{macrocode}
\RequirePackage{ccaux}
-\RequirePackage{theorem}
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\RequirePackage{thcc}
\RequirePackage{relabel}
% \end{macrocode}
@@ -6513,7 +6467,7 @@ computational complexity
% This macro restores the parshape of the current list.
% \begin{macrocode}
\def\list@parshape{%
- %\typeout{parshape 1 \the\@totalleftmargin+\the\linewidth}%
+% \typeout{parshape 1 \the\@totalleftmargin+\the\linewidth}%
\parshape \@ne \@totalleftmargin \linewidth}
% \end{macrocode}
% Reinitializing the list means to readjust the left margin while
@@ -6532,7 +6486,7 @@ computational complexity
\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}
% \end{macrocode}
% Often reinitialization is needed with respect to the label's
@@ -6693,9 +6647,7 @@ computational complexity
}
\newcommand{\algonumerate@makelabelnumber}[1]{%
\hb@xt@\steplabelwidth{\hss
- %\hb@xt@\steplabelwidth{\hfill
#1%
- %}
}\hskip\algo@labelsep%
}
% \end{macrocode}
@@ -6850,9 +6802,6 @@ computational complexity
\topsep\z@%
\itemsep\z@%
\parskip\z@%
- %\leftmargin\z@
- %\algo@labelsep\labelsep
- %\labelsep\z@
\leftmargin\labelsep
\algo@labelsep\z@
\settowidth\steplabelwidth{\makealgolabel{99}}%
@@ -6909,11 +6858,9 @@ computational complexity
\let\@tempa\relax
\protected@edef\@tempa{%
\csname r@\the\algorithmmasterkey-#1\endcsname}%
- %\show\@tempa
\let\@tempc\relax
\protected@edef\@tempc{%
\csname r@\the\algorithmmasterkey-#2\endcsname}%
- %\show\@tempc
\ifx\@tempa\@tempc\global\@trivialrangetrue
\else\global\@trivialrangefalse\fi
}%
@@ -7026,9 +6973,6 @@ computational complexity
\@newlistfalse
\vskip\topskip
\par
- %\meta@indent\leftmargin
- %\advance\meta@indent\algo@labelsep
- %\advance\meta@indent\steplabelwidth
\meta@indent\@totalleftmargin
\advance\labelsep-\meta@indent
\advance\@totalleftmargin-\meta@indent
@@ -7848,7 +7792,7 @@ computational complexity
% If the user has put negative glue in, leave it alone. (15 Feb 1994)
% \begin{macrocode}
\def\page@pushright#1{% 18 Jan 1994
- %\unpenalty % ineffective
+% \unpenalty % ineffective
% \end{macrocode}
% Remove |\parskip|, but only (15 Feb 1994) if it's positive.
% \begin{macrocode}
@@ -7857,7 +7801,7 @@ computational complexity
\unskip
\else\skip@\z@\relax
\fi
- %\unpenalty % TeX won't let me do this
+% \unpenalty % TeX won't let me do this
\dimen@\baselineskip
% \end{macrocode}
% Save |\prevdepth| to make a strut
@@ -8254,7 +8198,7 @@ computational complexity
% \end{macrocode}
% We simply load \Lpackage{natbib} and make some small initializations.
% \begin{macrocode}
-\RequirePackage{natbib}
+\RequirePackage{natbib}[2010/09/13 8.31b]
\bibpunct{(}{)}{;}{a}{}{,}
\newcommand{\bibstyle@cc}{\bibpunct{(}{)}{;}{a}{}{,}}
\expandafter\def\csname bibstyle@cc2\endcsname{%
@@ -8652,7 +8596,7 @@ computational complexity
\ProvidesPackage{ccreltx}[2002/05/22 v2.05
computational complexity, reactivate ltthm.
Michael Nuesken, Bonn.]
-%%% From File: ltthm.dtx
+% From File: ltthm.dtx
\def\newtheorem#1{%
\@ifnextchar[{\@othm{#1}}{\@nthm{#1}}}
\def\@nthm#1#2{%
@@ -8767,8 +8711,8 @@ computational complexity
computational complexity, adaptions to amsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+% ccreltex deactivates amsthm.sty and reactive LaTeX's definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
@@ -8812,8 +8756,8 @@ computational complexity
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
\RequirePackage{cc2cite}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+% ccreltex deactivates amsthm.sty and reactive LaTeX's definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
@@ -8916,8 +8860,8 @@ computational complexity
\RequirePackage{amssymb}[1996/11/03 v2.2b]
\RequirePackage{ccaux}
\@longarticletrue
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+% ccreltex deactivates amsthm.sty and reactive LaTeX's definitions.
+\RequirePackage{ccreltx}
\RequirePackage{ccref}
\RequirePackage{ccthm,ccproof}
\theoremheaderfont{\upshape\bfseries}
@@ -8980,8 +8924,8 @@ computational complexity
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+% ccreltex deactivates amsthm.sty and reactive LaTeX's definitions.
+\RequirePackage{ccreltx}
% \PassOptionsToPackage{bare}{relabel}
\RequirePackage{ccthm}
\RequirePackage{relabel}
@@ -9023,8 +8967,8 @@ computational complexity
computational complexity, adaptions to jT which uses amsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+% ccreltex deactivates amsthm.sty and reactive LaTeX's definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
@@ -9094,8 +9038,8 @@ computational complexity
computational complexity, adaptions to elsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+% ccreltex deactivates amsthm.sty and reactive LaTeX's definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
% \gdef\theorem@headerfont{\bfseries}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls
index 44ee5d1c057..86de8ee3527 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls
@@ -38,7 +38,7 @@
\ifclass\expandafter\ProvidesClass\else\expandafter\ProvidesPackage\fi
{\ifclass cc\else cc-cls\fi}
[% CC MAIN DATE AND VERSION ON NEXT LINE
-2011/07/28 v2.19
+2011/07/28 v2.20
computational complexity
\ifclass document class\else package\fi]
\RequirePackage{ccaux}
@@ -103,7 +103,7 @@ computational complexity
\DeclareOption{standardprefixes}{% old
\PassOptionsToPackage{notheoremitemprefixes}{ccthm}}
\DeclareOption{ccpublish}{\@ccpublishtrue}
-\DeclareOption{noccpublish}{\@ccpublishfalse}
+\DeclareOption{noccpublish}{\@ccpublishfalse\ExecuteOptions{textarea=none}}
\DeclareOption{textarea=full}{\@textareaversion\m@ne}
\DeclareOption{textarea=none}{\@textareaversion\z@}
\DeclareOption{textarea=cc1}{\@textareaversion\@ne}
@@ -187,10 +187,10 @@ computational complexity
\@pass@ptions\@pkgextension{}{german}
\global\expandafter\let\csname ver@german.\@pkgextension\endcsname\@empty
\if@babel
-\RequirePackage{babel}
+\RequirePackage{babel}[2008/07/06 v3.8l]
\fi
\if@latin
-\RequirePackage[latin1]{inputenc}[1998/03/05 v0.97]
+\RequirePackage[latin1]{inputenc}[2008/03/30 v1.1d]
\fi
\if@ams
\RequirePackage{amsmath}[2000/01/15 v2.05]% 1997/03/20 v1.2d
@@ -212,7 +212,7 @@ computational complexity
\def\square{{\fboxsep.3em{\vbox{\hbox{\fbox{}}\vskip0pt}}}}%
\let\text\mbox
\fi
-\RequirePackage{url}[1999/03/02 ver 1.4]
+\RequirePackage{url}[2006/04/12 ver 3.3]
\expandafter\def\expandafter\UrlSpecials\expandafter{%
\UrlSpecials\do\%{}}
\providecommand{\email}{\begingroup\urlstyle{tt}\Url}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty
index f964133b38b..7e13bd5bf34 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty
@@ -33,7 +33,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{cc2cite}[2000/02/29 v2.05 cc2 cite helper package]
-\RequirePackage{natbib}
+\RequirePackage{natbib}[2010/09/13 8.31b]
\bibpunct{(}{)}{;}{a}{}{,}
\newcommand{\bibstyle@cc}{\bibpunct{(}{)}{;}{a}{}{,}}
\expandafter\def\csname bibstyle@cc2\endcsname{%
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty
index 753809cbd12..f188e54f3a3 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty
@@ -36,8 +36,7 @@
computational complexity, adaptions to amsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty
index bbb965e9919..6818939fc7a 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty
@@ -36,8 +36,7 @@
computational complexity, adaptions to elsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\@longarticletrue
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty
index af8f2d211b7..fb0f24c8dc5 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty
@@ -36,8 +36,7 @@
computational complexity, adaptions to jT which uses amsart.
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty
index e41bff4367c..4c9d4fbcc79 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty
@@ -64,8 +64,7 @@
\RequirePackage{amssymb}[1996/11/03 v2.2b]
\RequirePackage{ccaux}
\@longarticletrue
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\RequirePackage{ccref}
\RequirePackage{ccthm,ccproof}
\theoremheaderfont{\upshape\bfseries}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty
index 552ea93db6c..c276629becf 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty
@@ -53,8 +53,7 @@
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{ccaux}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\RequirePackage{ccthm}
\RequirePackage{relabel}
\RequirePackage{cc2cite}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4svjour.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4svjour.sty
index 5c66f9daa43..6f22e844822 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cc4svjour.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4svjour.sty
@@ -37,8 +37,7 @@
Michael Nuesken, Bonn.]
\RequirePackage{ccaux}
\RequirePackage{cc2cite}
-\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's
- % definitions.
+\RequirePackage{ccreltx}
\PassOptionsToPackage{bare}{relabel}
\RequirePackage{thcc}
\gdef\theorem@headerfont{\bfseries}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty
index 4252db4ab5e..ce81a0da1ce 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty
@@ -106,11 +106,10 @@
Check if current package is valid}
\fi}
\RequirePackage{ccaux}
-\RequirePackage{theorem}
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\RequirePackage{thcc}
\RequirePackage{relabel}
\def\list@parshape{%
- %\typeout{parshape 1 \the\@totalleftmargin+\the\linewidth}%
\parshape \@ne \@totalleftmargin \linewidth}
\newdimen\reinit@list@last
\def\reinit@list#1{%
@@ -123,7 +122,6 @@
\advance\itemindent-\reinit@list@last
\advance\@totalleftmargin\reinit@list@last
\advance\linewidth-\reinit@list@last
- %\typeout{\the\@totalleftmargin + \the\linewidth}%
\list@parshape}
\def\reinit@list@label{%
\reinit@list{\wd\@tempboxa}%
@@ -196,9 +194,7 @@
}
\newcommand{\algonumerate@makelabelnumber}[1]{%
\hb@xt@\steplabelwidth{\hss
- %\hb@xt@\steplabelwidth{\hfill
#1%
- %}
}\hskip\algo@labelsep%
}
\newcommand{\algonumerate@postprocess}[1]{%
@@ -291,9 +287,6 @@
\topsep\z@%
\itemsep\z@%
\parskip\z@%
- %\leftmargin\z@
- %\algo@labelsep\labelsep
- %\labelsep\z@
\leftmargin\labelsep
\algo@labelsep\z@
\settowidth\steplabelwidth{\makealgolabel{99}}%
@@ -330,11 +323,9 @@
\let\@tempa\relax
\protected@edef\@tempa{%
\csname r@\the\algorithmmasterkey-#1\endcsname}%
- %\show\@tempa
\let\@tempc\relax
\protected@edef\@tempc{%
\csname r@\the\algorithmmasterkey-#2\endcsname}%
- %\show\@tempc
\ifx\@tempa\@tempc\global\@trivialrangetrue
\else\global\@trivialrangefalse\fi
}%
@@ -407,9 +398,6 @@
\@newlistfalse
\vskip\topskip
\par
- %\meta@indent\leftmargin
- %\advance\meta@indent\algo@labelsep
- %\advance\meta@indent\steplabelwidth
\meta@indent\@totalleftmargin
\advance\labelsep-\meta@indent
\advance\@totalleftmargin-\meta@indent
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty
index e1e9ced1ad2..c1f0d17b0e0 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty
@@ -56,33 +56,36 @@
\newcommand{\authorhead}[1]{\gdef\@authorhead{#1}}
\let\@authorlist\@undefined
\newcommand{\authorlist}[1]{\gdef\@authorlist{#1}}
-\newbox\@abstract
\let\abstract\@undefined\let\endabstract\@undefined
\babel\def\ccabstractname{Abstract}[%
german=Zusammenfassung,french=R\'esum\'e]
-\newenvironment{abstract}
- {\global\setbox\@abstract\@abstr{\ccabstractname}}
- {\end@abstr}
-\newtoks\@abstract@toks
-\newcommand{\Abstract}{\global\@abstract@toks}
-\newbox\@keywords
+\RequirePackage{environ}[2008/06/18]
+\def\@abstract@macro{}
+\long\def\for@cc@abstract#1{%
+ \gdef\@abstract@macro{\begin{@abstr}{\ccabstractname}#1\end{@abstr}}}
+\newenvironment{abstract}{\Collect@Body\for@cc@abstract}{}
+\newcommand{\Abstract}{\for@cc@abstract}
\babel\def\cckeywordsname{Keywords}[%
german=Stichworte,french=Mot-cl\'e]
-\newenvironment{keywords}
- {\global\setbox\@keywords\@abstr{\cckeywordsname}}
- {\end@abstr}
-\newbox\@subject
+\def\@keywords@macro{}
+\long\def\for@cc@keywords#1{%
+ \gdef\@keywords@macro{\begin{@abstr}{\cckeywordsname}#1\end{@abstr}}}
+\newenvironment{keywords}{\Collect@Body\for@cc@keywords}{}
\babel\def\ccsubjectclassificationname{Subject classification}[%
german=Klassifizierung,french=Classification de suj\`et]
-\newenvironment{subject}
- {\global\setbox\@subject\@abstr{\ccsubjectclassificationname}}
- {\end@abstr}
+\def\@subject@macro{}
+\long\def\for@cc@subject#1{%
+ \gdef\@subject@macro{\begin{@abstr}{\ccsubjectclassificationname}
+ #1
+ \end{@abstr}}}
+\newenvironment{subject}{\Collect@Body\for@cc@subject}{}
\newdimen\@abstrwidth
+\newbox\@abstr@box
\newenvironment{@abstr}[1]{%
- \vbox\bgroup
- \hsize\textwidth
+ \setbox\@abstr@box\vbox\bgroup%
\@parboxrestore
- \leftmargin.5\textwidth \advance\leftmargin-.5\@abstrwidth
+ \ifdim\@abstrwidth>\hsize\@abstrwidth\hsize\fi
+ \leftmargin.5\hsize \advance\leftmargin-.5\@abstrwidth
\rightmargin\leftmargin
\@trivlist\@newlistfalse\global\@inlabeltrue
\advance\linewidth -\rightmargin
@@ -94,17 +97,21 @@
\topsep 2\p@ \@plus2\p@ \@minus1\p@
\parsep 1\p@
\itemsep \parsep}%
- \let\@listii\@toodeep
+ \def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii
+ \advance\labelwidth-\labelsep
+ \topsep 0\p@ \@plus1\p@
+ \parsep 1\p@
+ \itemsep \parsep}%
\let\@listiii\@toodeep
\let\@listiv\@toodeep
\let\@listv\@toodeep
\let\@listvi\@toodeep
\textbf{#1. }\ignorespaces}
{%
- %\strut
\par
- %\vskip\z@
\egroup
+ \leavevmode\unvbox\@abstr@box
\ignorespacesafterend}
\newif\if@abstractoptional
\if@ccpublish\@abstractoptionalfalse\else\@abstractoptionaltrue\fi
@@ -128,16 +135,13 @@
\def\@ccfirst{1}%
\let\@cclast\@ccunknown%
\let\@ccnumberofpages\@ccunknown%
+\long\def\cc@secondoffive#1#2#3#4#5{#2}
\AtBeginDocument{%
\@ifundefined{r@ccenddocument}{}{%
\@tempcnta\@ne
\advance\@tempcnta-\@ccfirst
- \xdef\@cclast{\csname r@ccenddocument\endcsname}%
- \ifx\@secondoffive\@@@@undefined% hyperref launches this!
- \xdef\@cclast{\expandafter\@secondoftwo\@cclast{}{}{}{}{}}%
- \else
- \xdef\@cclast{\expandafter\@secondoffive\@cclast{}{}{}{}{}}%
- \fi%
+ \protected@xdef\@cclast{\csname r@ccenddocument\endcsname}%
+ \xdef\@cclast{\expandafter\cc@secondoffive\@cclast{}{}{}{}{}}%
\advance\@tempcnta\@cclast%
\xdef\@ccnumberofpages{\the\@tempcnta}%
}%
@@ -151,7 +155,6 @@
\global\@subjectoptionaltrue% Subject class. optional
\global\@ccheadfalse
\gdef\@cctxt{#1}%
- %\global\@twosidefalse
}
\newcommand{\ccpublish}[4]{% Deprecated since 2011/07/25
\global\@ccpublishtrue
@@ -202,7 +205,6 @@
{Received/submitted date (##1) override!\MessageBreak
Using \@received.}}}
\define@boolkey{ccsps}{revisionstage}[true]{%
- %%% \ifKV@ccsps@revisionstage\let\revisionstage=Y\else\let\revisionstage=N\fi
}
\define@key{ccsps}{DOImsnr}[??]{% manuscript number
\gdef\@DOImsnr{#1}}
@@ -219,24 +221,16 @@
\define@boolkey{ccsps}{helperstrip}[true]{}%
\define@boolkey{ccsps}{grid}[true]{}
\define@boolkey{ccsps}{issuestage}[true]{%
- %%% \ifKV@ccsps@issuestage\let\issuestage=Y\else\let\issuestage=N\fi
}
\define@boolkey{ccsps}{openaccess}[true]{%
- %%% \ifKV@ccsps@openaccess\let\stageaccess=Y\else\let\stageaccess=N\fi
}
\define@boolkey{ccsps}{stageaccess}[true]{% Deprecated.
\setkeys{ccsps}{openaccess=#1}}
\define@key{ccsps}{year}[????]{\gdef\@ccyear{#1}}
\define@key{ccsps}{volume}[??]{\gdef\@ccvolume{#1}}
\define@key{ccsps}{issue}[??]{\gdef\@ccissue{#1}}%
-%%% \@tempcnta\tw@\@tfor\@x:=#1\do{\advance\@tempcnta\m@ne}%
-%%% \ifcase\@tempcnta\gdef\@ccissue{#1}
-%%% \or\gdef\@ccissue{0#1}%
-%%% \or\gdef\@ccissue{00}%
-%%% \fi}
\define@key{ccsps}{firstpage}[1]{%
\gdef\@ccfirst{#1}%
- %\cc@fixelendef40\@ccfirstiv{#1}%
\@tempcnta4\@tfor\@x:=#1\do{\advance\@tempcnta\m@ne}%
\ifcase\@tempcnta\gdef\@ccfirstiv{#1}%
\or\gdef\@ccfirstiv{0#1}%
@@ -251,7 +245,6 @@
\ifKV@ccsps@openaccess The Author(s)
\else Springer Basel AG\fi}
\define@key{ccsps}{doisuffix}[????-?]{%
- % Is the doi always 10.1007/s00037-threedigityear-suffix?
\cc@fixelendef50\@doiinfo{\@journalnumber}%
\xdef\@doiinfo{%
10.1007/s\@doiinfo-%
@@ -262,7 +255,6 @@
\define@key{ccsps}{onlinefirstyear}[\the\year]{\gdef\@ccyear{#1}}
\define@key{ccsps}{coveryear}[\@ccyear]{\gdef\@coveryear{#1}}
\define@boolkey{ccsps}{pdfpage}[true]{%
- % \ifKV@ccsps@pdfpage\@pdfpagetrue\else\@pdfpagefalse\fi%
}
\define@boolkey{ccsps}{xlink}[true]{}
\setkeys{ccsps}{
@@ -293,68 +285,33 @@
\global\@ccackfalse% Acknowledgements required
\global\@ccheadtrue
\global\@autotitletrue
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% Now scan the key, key=value list:
\setkeys{ccsps}{sps,#1}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %\gdef\@cctxt{cc \textbf{\@ccvolume}(\@ccissue)}% MN2011/07/27: Shouldn't it be this?
\gdef\@cctxt{cc \textbf{\@ccvolume} (\@ccyear)}%
- %%% \global\@twosidefalse
- %%% MN2011/07/26 Note that the following makes it necessary that
- %%% \ccsps is used only once!
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% During revisionstage line numbers, a helper strip and a
- %%% watermark shall be added.
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[mathlines]{lineno}[2005/11/02]
\ifKV@ccsps@pdfpage
\setkeys{ccsps}{helperstrip=false}%
- %%% This case should turn off draftcopy but cannot do this
- %%% since draftcopy is badly written.
- %%% Consequently, this makes a double use of ccsps impossible.
\nolinenumbers
\else
\setkeys{ccsps}{helperstrip=true}%
\RequirePackage[conditional,draft]{draftcopy}
\draftcopyPageTransform{155 75 translate 65 rotate}
\draftcopyName{\cc@watermarktext}{75}
- %%% Scaling by a factor 75 is fine for a text like "Uncorrected proof".
\linenumbers
\fi
- %%% With the option xlink the final pdf shall have bookmarks and
- %%% blue links. Otherwise there are no bookmarks and black links.
\RequirePackage[dvips,
bookmarks=\ifKV@ccsps@xlink true\else false\fi,
breaklinks=true,
colorlinks=\ifKV@ccsps@xlink true\else false\fi,
linkcolor=\ifKV@ccsps@xlink blue\else black\fi,
- unicode]{hyperref}%
- %%% \RequirePackage{xcolor}%
- \RequirePackage{breakurl}%
+ unicode]{hyperref}[2011/04/17 v6.82g]%
+ \RequirePackage{breakurl}[2009/01/24 v1.30]%
\def\l@title##1{\@dottedtocline{-1}{0pt}{0pt}{{\large\textbf{##1}}}}%
\let\l@title\l@part
- %%%
- %\ExecuteOptions{nonatbib}
- %\usepackage[comma,square]{modnatbib}%
- %%% The package natbib was modified only marginally. On the one
- %%% hand, spacing after superscripted references was modified, which
- %%% is irrelevant to \cc{}. On the other hand the references were
- %%% also added to the table of contents. This is superfluous since
- %%% \Lclass{cc} redefines \Lenv{thebibliography} and adds that entry
- %%% there. Further punctuation was modified but that is set by
- %%% \Lclass{cc} anyways.
- %%%
- %\usepackage{hypernat}%
- %%% The package \Lpackage{hypernat} would at most be needed if cc
- %%% articles would combine natbib options number and
- %%% sort&compress. However, number is deprecated and sort&compress
- %%% is not used in the journal versions.
- %%%
\ifKV@ccsps@xlink%
\def\@urlcolor{blue}
\def\@citecolor{blue}
\def\externalref##1##2{\hyperimage{##1}{##2}}%
- \def\DOIexternalref##1##2{\hyperimage{##1}{##2}}%%%%
+ \def\DOIexternalref##1##2{\hyperimage{##1}{##2}}%
\InputIfFileExists{bookmarkgreeks.tex}{}{}%
\else
\def\@urlcolor{black}%
@@ -362,22 +319,11 @@
\def\externalref##1##2{##2}%
\def\DOIexternalref##1##2{##2}%
\fi%
- %%% The option grid produces a grid to check or align the page and
- %%% column boundarys.
\ifKV@ccsps@grid
\overfullrule=6pt
\let\twidth\textwidth
\let\theight\textheight
-%%% \let\orgGd@draw\Gd@draw
-%%% \def\Gd@draw##1{%
-%%% \newGd@draw{##1}%
-%%% \orgGd@draw{##1}%
- %%% define Gd@draw (and rename later)
- %%% \renewcommand{\twidth}{119mm}%
- %%% \renewcommand{\theight}{45.5pc}% 19.46cm
\else\overfullrule=0pt\fi
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%% JS_info (MN2011/07/27: What's this?)
\InputIfFileExists{JS_info.tex}{}{}%
}
\def\printed@issn{1016-3328}%
@@ -498,11 +444,8 @@
\def\extractaffilsfr@om@author{%
\parindent\z@
\init@affils
-%%% \begin{tabular}{@{}ll@{}}%
\expandafter\extract@affils\@author\and\and\@nil
\if@oddaffil\else\even@sep\even@post\fi
-%%% \end{tabular}
-%%% \par
}
\def\init@affils{%
\let\and\relax
@@ -523,22 +466,21 @@
\affilpost}
\newcommand{\otheraddress}{\end{@ffiliation}\affilsep
\begin{@ffiliation}}
-\def\affilpre{\if@oddaffil\odd@pre\else\even@pre\fi}
-\def\affilpost{\if@oddaffil\odd@post\global\@oddaffilfalse
- \else\even@post\global\@oddaffiltrue\fi}
\def\odd@pre{\par\begin{tabular}{@{}ll@{}}}%
+\def\odd@sep{&}%
\def\odd@post{&}%
\def\even@pre{}%
+\def\even@sep{\end{tabular}\par\begin{tabular}{@{}ll@{}}}%
\def\even@post{\end{tabular}}%
-%%%
+\newif\if@oddaffil
+\def\affilpre{\if@oddaffil\odd@pre\else\even@pre\fi}
\def\affilsep{%
\if@oddaffil\odd@sep\@oddaffilfalse
\else\even@sep\@oddaffiltrue
\fi
}
-\newif\if@oddaffil
-\def\odd@sep{&}%
-\def\even@sep{\end{tabular}\par\begin{tabular}{@{}ll@{}}}%
+\def\affilpost{\if@oddaffil\odd@post\global\@oddaffilfalse
+ \else\even@post\global\@oddaffiltrue\fi}
\if@twocolumnendtitle
\newenvironment{@ffiliation}
{%
@@ -561,8 +503,8 @@
}
{\endminipage\bigskip}
\fi
-\@abstrwidth0.85\textwidth
\ifcase\@textareaversion
+\@abstrwidth0.85\textwidth
\or% version 1, used until June 2011
\textwidth=141mm
\@abstrwidth=120mm
@@ -574,11 +516,9 @@
\headheight=1.25\headheight
\ifnum\@marginmode<\z@\@marginmode\z@\fi
\or% version 2, used since July 2011
-\special{papersize=155mm,235mm}% Springer's papersize
\paperwidth=155mm
\paperheight=235mm
-\topmargin=-9.6mm%% MN2011/07/25 this is from ccspsmacros but should
- %% be rethought!!! Use \voffset, \hoffset instead...
+\topmargin=-9.6mm
\textheight=45.5pc
\textwidth=119mm
\@abstrwidth=\textwidth
@@ -589,11 +529,9 @@
\ifnum\@marginmode<\z@\@marginmode\tw@\fi% use balanced margins
\else% version negative or larger than max: emptypage
\newdimen\allsidemargin \allsidemargin=.5in
-%% LARGE width
\textwidth=\paperwidth
\advance\textwidth-2\allsidemargin% margin left/right
\marginparsep=1pt
-%% LARGE height
\topmargin-1in
\advance\topmargin\allsidemargin
\textheight=\paperheight
@@ -601,10 +539,10 @@
\advance\textheight-\headheight
\advance\textheight-\headsep
\advance\textheight-\footskip
-%%% \advance\textheight-\headheight% assuming as much space for foot as head.
\advance\textheight-\allsidemargin
\@marginmode\tw@
\sloppy
+\@abstrwidth0.85\textwidth
\fi
\newdimen\cc@topmargin \cc@topmargin\topmargin
\newdimen\cc@textwidth \cc@textwidth\textwidth
@@ -718,8 +656,8 @@
}%
}%
}
-\RequirePackage{graphicx}
-\RequirePackage{xcolor}%
+\RequirePackage{graphics}[2009/02/05 v1.0o]
+\RequirePackage{xcolor}[2007/01/21 v2.11]%
\IfFileExists{Birkh_logo_2010_sps.eps}{%
\def\birklogo{\bgroup\includegraphics{Birkh_logo_2010_sps.eps}\egroup}
}{%
@@ -752,7 +690,8 @@
\let\@evenfoot\@oddfoot
\def\@oddhead{%
\ifKV@ccsps@grid
- \hbox to\z@{\vbox to\z@{%
+ \hbox to\z@{%
+ \vbox to\z@{%
\hsize\twidth
\vskip\headsep
\fboxrule=.25pt
@@ -760,6 +699,7 @@
\textcolor{lightgray}{%
\fbox{\vbox to\theight{\hbox to\twidth{\hss}\vss}}%
}%
+ \vss
}%
\hss
}%
@@ -771,7 +711,6 @@
\AtEndOfClass{\pagestyle{cc}}
\AtEndOfClass{%
\AtBeginDocument{\@onlypreamble{\author{\if@autotitle\maketitle\fi}}}
- %\AtBeginDocument{\if@autotitle\maketitle\fi}
\AtEndDocument{\if@autotitle\makeendtitle\fi}
}
\def\stripbox{\kern -11.7cm%
@@ -810,31 +749,6 @@
comput. complex.~\textbf{\@ccvolume}~(\@ccyear),
\thepage\ -- \@cclast\cr
\issn/\expandafter\@gobbletwo\@ccyear%
- %% use + instead --?
- /\cc@fixelen20\@ccissue\relax
- \cc@fixelen40\@ccfirst\relax
- --\@ccnumberofpages\
- \$ 1.50+0.20/0\cr}}\hss
- \vbox to\z@{\vss
- \offinterlineskip%
- \halign{##&##\hfil\cr
- \vertrulea&\ixpt
- \copyright{} Birkh{\"{a}}user Verlag, Basel \@ccyear\cr
- \noalign{\hrule}
- \vertruleb\hskip1mm&%
- \vbox to\z@{\vbox to\z@{\vss
- \hbox{\xptsfbx computational complexity}}\vss}%
- \cr}}}\vskip47.333pt
-}
-\newcommand{\maketitleheadB}{% version since 2011 (Springer)
- \hbox to\textwidth{%
- \vbox to\z@{\vss
- \baselineskip=12pt%
- \halign{\ixpt##\hfil\cr
- comput. complex.~\textbf{\@ccvolume}~(\@ccyear),
- \thepage\ -- \@cclast\cr
- \issn/\expandafter\@gobbletwo\@ccyear%
- %% use + instead --?
/\cc@fixelen20\@ccissue\relax
\cc@fixelen40\@ccfirst\relax
--\@ccnumberofpages\
@@ -859,13 +773,6 @@
comput. complex.%
\ifKV@ccsps@issuestage%
~\textbf{\@ccvolume}~(\@ccyear),~\@ccfirst\ -- \@cclast
-%%% {% No coloring on this pageref.
-%%% \def\Hy@colorlink##1{\begingroup\color{black}}%
-%%% \def\Hy@endcolorlink{\endgroup}%
-%%% \pageref{ccenddocument}%
-%%% %%% \def\Hy@colorlink##1{\begingroup\color{##1}}%
-%%% %%% \def\Hy@endcolorlink{\endgroup}%
-%%% }%
\fi\cr
\ifKV@ccsps@openaccess
\copyright{} \@copyholdername\ \@ccyear.
@@ -875,7 +782,7 @@
\ifKV@ccsps@issuestage
{\printed@issn/\cc@fixelen20\@coveryear/%
\cc@fixelen20\@ccissue%
- \cc@fixelen50\@ccfirst%
+ \cc@fixelen40\@ccfirst%
-% MN2011/07/27: use + instead?
\@ccnumberofpages}\cr
{{\it published online}\ \@onlinedate}\cr
@@ -886,7 +793,6 @@
\offinterlineskip%
\halign{##&##\hfil\cr
\vertrulea&\ixpt\cr
- %%\copyright{} Birkh{\"{a}}user Verlag, Basel \@ccyear\cr
\noalign{\hrule}
\vertruleb\hskip1mm&%
\vbox to\z@{\vbox to\z@{\vss
@@ -898,32 +804,21 @@
\renewcommand{\maketitle}{%
\global\@topnum\z@ % Prevents figures from going at top of page.
\cite@hook{}%
+ \thispagestyle{ccfirst}
\if@cchead
\ifnum\@textareaversion=\tw@\vspace*{15pt}\fi
\vbox to\z@{\vss
- \@ifundefined{r@ccenddocument}{\@tempcnta\z@}{%
- \@tempcnta\@ne
- \advance\@tempcnta-\@ccfirst
- \edef\@tempa{\csname r@ccenddocument\endcsname}%
- \ifx\@secondoffive\@@@@undefined% hyperref launches this!
- \edef\@tempa{\expandafter\@secondoftwo\@tempa{}{}{}{}{}}%
- \else
- \edef\@tempa{\expandafter\@secondoffive\@tempa{}{}{}{}{}}%
- \fi%
- \advance\@tempcnta\@tempa%
- }%
\setcounter{page}{\@ccfirst}%
- \ifcase\@textareaversion\maketitleheadA
+ \ifcase\@textareaversion\maketitleheadSPS
\or\maketitleheadA
\or\maketitleheadSPS
- \else\maketitleheadA
+ \else\maketitleheadSPS
\fi
}%
\fi
\hrule\@height\z@
\vskip2.2ex% 4.0mm
\relax
- \thispagestyle{ccfirst}
\begin{center}
\if@ccpublish
\renewcommand{\footnote}[1]{\protect\ClassWarningNoLine{cc}{%
@@ -935,7 +830,7 @@
\renewcommand{\footnote}[1]{\protect\ClassWarningNoLine{cc}{%
In title or author \string\footnote\space does not work.\MessageBreak
Avoid footnotes or use \string\thanks}}%
- \renewcommand{\thefootnote}{\@fnsymbol\c@footnote}%
+ \def\thefootnote{\@fnsymbol\c@footnote}%
\def\@makefnmark{%
\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
\long\def\@makefntext##1{\parindent 1em\noindent
@@ -952,7 +847,6 @@
\@ifundefined{@subtitle}{}{{%
\large\itshape
\@subtitle
- %%\if!\@subtitle!\relax\else\addcontentsline{toc}{subtitle}{\@subtitle}\fi%
\par
}}
\@ifundefined{@version}{}{{%
@@ -977,32 +871,18 @@
\large\@date\par
}\fi
\def\@tempa{\vskip5.5ex\let\@tempa\relax}%
- \expandafter\cc@ifempty\expandafter{\the\@abstract@toks}{%
- \ifvoid\@abstract
- \if@abstractoptional
- \ClassWarningNoLine{cc}{Missing abstract}%
- \else
- \ClassError{cc}{Missing abstract}
- {Define an abstract in the preamble using
- \protect\begin{abstract} ... \protect\end{abstract}.}%
- \fi
+ \ifx\@abstract@macro\@empty
+ \if@abstractoptional
+ \ClassWarningNoLine{cc}{Missing abstract}%
\else
- \addcontentsline{toc}{section}{\ccabstractname}%
- \@tempa\leavevmode\unvbox\@abstract\par
- \fi
- }{%
- \ifvoid\@abstract\else
- \ClassWarningNoLine{cc}{Two abstracts,
- using the one defined by \protect\Abstract}%
+ \ClassError{cc}{Missing abstract}
+ {Define abstract in the preamble using
+ \protect\begin{abstract} ... \protect\end{abstract}.}%
\fi
- \global\setbox\@abstract
- \@abstr{\ccabstractname}
- \the\@abstract@toks
- \end@abstr
- \addcontentsline{toc}{section}{\ccabstractname}%
- \@tempa\leavevmode\unvbox\@abstract\par
- }
- \ifvoid\@keywords
+ \else
+ \@tempa\@abstract@macro\par
+ \fi
+ \ifx\@keywords@macro\@empty
\if@keywordsoptional
\ClassWarningNoLine{cc}{Missing keywords}%
\else
@@ -1011,18 +891,18 @@
\protect\begin{keywords} ... \protect\end{keywords}.}%
\fi
\else
- \@tempa\leavevmode\unvbox\@keywords\par
+ \@tempa\@keywords@macro\par
\fi
- \ifvoid\@subject
+ \ifx\@subject@macro\@empty
\if@subjectoptional
\ClassWarningNoLine{cc}{Missing subject classification}%
\else
- \ClassError{cc}{Missing subject classification}
- {Define a subject classification in the preamble using
+ \ClassError{cc}{Missing subject}
+ {Define subject in the preamble using
\protect\begin{subject} ... \protect\end{subject}.}%
\fi
\else
- \@tempa\leavevmode\unvbox\@subject\par
+ \@tempa\@subject@macro\par
\fi
\@thanks
\ifx\@tempa\relax\vskip3ex\fi
@@ -1061,7 +941,6 @@
{\small
\extractaffilsfr@om@author
}%
- %%\clearpage
\gdef\makeendtitle{\ClassWarning{cc}{\protect\makeendtitle\space
multiply used!}}%
}
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty
index bee3f7dfa6d..27bc74a01d6 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty
@@ -33,7 +33,7 @@
%% Right brace \} Tilde \~}
\ProvidesPackage{ccproof}[2000/02/29 v2.05
proof environments for cc. Michael Nuesken, Bonn.]
-\RequirePackage{theorem}
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\RequirePackage{thcc}
\RequirePackage{ccqed}
\newcommand{\Qed}{\@qedtrue\qed}%
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty
index 340cc41d614..a86a0cefdbd 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty
@@ -85,13 +85,11 @@
\fi
}%
\def\page@pushright#1{% 18 Jan 1994
- %\unpenalty % ineffective
\skip@\lastskip
\ifdim\skip@>\z@
\unskip
\else\skip@\z@\relax
\fi
- %\unpenalty % TeX won't let me do this
\dimen@\baselineskip
\advance\dimen@-\prevdepth
\nobreak
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty
index d415b82005b..5f0ac869108 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty
@@ -35,7 +35,6 @@
\ProvidesPackage{ccreltx}[2002/05/22 v2.05
computational complexity, reactivate ltthm.
Michael Nuesken, Bonn.]
-%%% From File: ltthm.dtx
\def\newtheorem#1{%
\@ifnextchar[{\@othm{#1}}{\@nthm{#1}}}
\def\@nthm#1#2{%
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty
index b17db0421b1..b370259845c 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty
@@ -58,15 +58,11 @@
\def\theenumi{\@roman\c@enumi}%
\def\labelenumi{(\theenumi)}%
\defprefix{enumi}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
(##1)}%
- %\def\theenumii{\@alph\c@enumii}%
- %\def\labelenumii{(\theenumii)}%
\defprefix{enumii}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
@@ -74,15 +70,11 @@
\def\theenumiii{\@arabic\c@enumiii}%
\def\labelenumiii{(\theenumiii)}%
\defprefix{enumiii}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
(\theenumi.\theenumii.##1)}%
- %\def\theenumiv{\@Alph\c@enumiv}%
- %\def\labelenumiv{\theenumiv.}%
\defprefix{enumiv}##1{%
- %\Iflabelchanged{#1}{\uselabel{#1}}%
\protect\protect\protect\@@conduselabel
{{\protect\csname the#1\endcsname}}%
{\@thm@bare@currentlabel}{\@thm@currentlabel}%
@@ -93,14 +85,10 @@
\def\theenumi{\@roman\c@enumi}%
\def\labelenumi{(\theenumi)}%
\defprefix{enumi}##1{(##1)}%
- %\def\theenumii{\@alph\c@enumii}%
- %\def\labelenumii{(\theenumii)}%
\defprefix{enumii}##1{(\theenumi.##1)}%
\def\theenumiii{\@arabic\c@enumiii}%
\def\labelenumiii{(\theenumiii)}%
\defprefix{enumiii}##1{(\theenumi.\theenumii.##1)}%
- %\def\theenumiv{\@Alph\c@enumiv}%
- %\def\labelenumiv{\theenumiv.}%
\defprefix{enumiv}##1{(\theenumi.\theenumii.\theenumiii##1)}
}
\fi
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty b/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty
index cccba2a27c3..8bf37755e2c 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty
@@ -31,7 +31,6 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-%%% File: relabel.sty
%% Copyright (C) 1998 Michael N\"{u}sken, all rights reserved.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{relabel}[1998/09/07 v1.01 Relabel. MNuesken]
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty b/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty
index 907c8a627a7..b0fe7be23a4 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 @@
\ProvidesPackage{thcc}[2008/03/18 v2.08
computational complexity, theorem layouts.
Michael Nuesken, Bonn.]
-\RequirePackage{theorem}[1995/11/23]
+\RequirePackage{theorem}[1995/11/23 v2.2c]
\def\cc@forbiddenpackage{2010/10/26 Forbidden by cc.cls/thcc.sty. Not loaded!}
\expandafter\global\expandafter\let\csname ver@amsthm.sty\endcsname\cc@forbiddenpackage
\expandafter\global\expandafter\let\csname ver@apthm.sty\endcsname\cc@forbiddenpackage