diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-15 23:10:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-15 23:10:05 +0000 |
commit | 750d0a4ae06420dccbb19d2158d90c3a52216859 (patch) | |
tree | 2cef8f678da6028a157dc2c64b71a2a195f6639b /Master/texmf-dist/source/latex/computational-complexity | |
parent | 19b68112afa7a9fefc611f2e796e82a3884d0e08 (diff) |
computational-complexity (15oct10)
git-svn-id: svn://tug.org/texlive/trunk@20116 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/computational-complexity')
-rw-r--r-- | Master/texmf-dist/source/latex/computational-complexity/cc.dtx | 125 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/computational-complexity/cc.ins | 1 |
2 files changed, 118 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx index be7f94d45c4..0e40084c68c 100644 --- a/Master/texmf-dist/source/latex/computational-complexity/cc.dtx +++ b/Master/texmf-dist/source/latex/computational-complexity/cc.dtx @@ -2648,8 +2648,10 @@ multilingual,english]{cc} % ccalgo, Michael N{\"{u}}sken, Bonn} % \changes{v2.12}{2010/05/21}{Advanced version to 2.13, debugged % indention processing in ccalgo, Michael N{\"{u}}sken, Bonn} -% \changes{v2.13}{2010/05/29}{Advanced version to 2.14, debugged +% \changes{v2.13}{2010/06/29}{Advanced version to 2.14, debugged % setrefrange in ccalgo, Michael N{\"{u}}sken, Bonn} +% \changes{v2.14}{2010/10/14}{Advanced version to 2.15, added +% cc4svjour, Michael N{\"{u}}sken, Bonn} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \providecommand\ignorespacesafterend{\@ignoretrue} @@ -2658,7 +2660,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 -2010/06/29 v2.14 +2010/10/14 v2.15 computational complexity \ifclass document class\else package\fi] % \end{macrocode} @@ -4130,14 +4132,15 @@ computational complexity \def\extractaffilsfr@om@author{% \parindent\z@ \init@affils - \begin{tabular}{@{}ll@{}}% +%%% \begin{tabular}{@{}ll@{}}% \expandafter\extract@affils\@author\and\and\@nil - \end{tabular} - \par + \if@oddaffil\else\even@sep\even@post\fi +%%% \end{tabular} +%%% \par } \def\init@affils{% \let\and\relax - \@oddaffiltrue + \global\@oddaffiltrue } \def\extract@affils#1\and#2\@nil{% \cc@ifempty{#1}{\let\next\gobble@nil}{% @@ -4151,12 +4154,13 @@ computational complexity % the author name is typed in small capitals. % \begin{macrocode} \def\extract@affil#1\\#2\@nil{% + \affilpre \def\currentaddress{\otheraddress Current address of \textsc{\ignorespaces#1}:\\}% \begin{@ffiliation} \textsc{\ignorespaces#1}\\#2 \end{@ffiliation} - \affilsep} + \affilpost} % \end{macrocode} % \begin{macro}{\otheraddress} % \begin{macro}{\affilsep} @@ -4165,9 +4169,19 @@ computational complexity % column or to a new line in the surrounding \Lenv{tabular}. % \changes{v2.01}{2001/01/23}{Changed odd affiliation seperator. % Michael N{\"{u}}sken, Paderborn} +% \changes{v2.14}{2010/08/03}{Debugged affiliation seperation. +% Michael N{\"{u}}sken, Paderborn} % \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@post{&}% +\def\even@pre{}% +\def\even@post{\end{tabular}}% +%%% \def\affilsep{% \if@oddaffil\odd@sep\@oddaffilfalse \else\even@sep\@oddaffiltrue @@ -4175,8 +4189,8 @@ computational complexity } \newif\if@oddaffil \def\odd@sep{&}% -%\def\even@sep{\\*[\medskipamount]}% \def\even@sep{\end{tabular}\par\begin{tabular}{@{}ll@{}}}% +%\def\even@sep{\\*[\medskipamount]}% % \end{macrocode} % \end{macro} % \end{macro} @@ -7938,6 +7952,101 @@ computational complexity %</cc4amsart> % \end{macrocode} % +% \def\filename{cc4svjour.sty} +% \CodelinePrefix{} +% +% \section{Source of \filename (\fileprefix)} +% +% This file (\file{\filename}) has version number \fileversion, last +% revised \filedate. +% +% It allows to use the document class \Lclass{svjour3} or derivatives +% of it for a file that has been written with the document class +% \Lclass{cc}. To do this add a |\usepackage{cc4svjour}| after it. +% \changes{v2.14}{2010/10/14}{Derived from \Lpackage{cc4amsart.sty}.} +% \begin{macrocode} +%<*cc4svjour> +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{cc4svjour}[2010/10/14 v2.15 + computational complexity, adaptions to svjour3. + Michael Nuesken, Bonn.] +\RequirePackage{ccaux} +\RequirePackage{cc2cite} +\RequirePackage{ccreltx}% deactivate amsthm.sty and reactive LaTeX's + % definitions. +\PassOptionsToPackage{bare}{relabel} +\RequirePackage{thcc} +\gdef\theorem@headerfont{\bfseries} +%% \def\th@cc{% +%% \normalfont\itshape +%% \def\@begintheorem##1##2{\item +%% [\hskip\labelsep \theorem@headerfont ##1\ ##2.]}% +%% \def\@opargbegintheorem##1##2##3{\item +%% [\hskip\labelsep \theorem@headerfont ##1\ ##2\ % +%% \normalfont({\activate@shortcite{}##3}).]}% +%% } +%% +%%% Deactivate svjour3's theorem definitions: +\let\claim\relax \let\endclaim\relax +\let\conjecture\relax \let\endconjecture\relax +\let\corollary\relax \let\endcorollary\relax +\let\counterexample\relax \let\endcounterexample\relax +\let\definition\relax \let\enddefinition\relax +\let\exercise\relax \let\endexercise\relax +\let\fact\relax \let\endfact\relax +\let\hypothesis\relax \let\endhypothesis\relax +\let\lemma\relax \let\endlemma\relax +\let\notation\relax \let\endnotation\relax +\let\note\relax \let\endnote\relax +\let\observation\relax \let\endobservation\relax +\let\open\relax \let\endopen\relax +\let\openquestion\relax \let\endopenquestion\relax +\let\problem\relax \let\endproblem\relax +\let\proposition\relax \let\endproposition\relax +\let\question\relax \let\endquestion\relax +\let\remark\relax \let\endremark\relax +\let\result\relax \let\endresult\relax +\let\theorem\relax \let\endtheorem\relax +\let\thesis\relax \let\endthesis\relax +\let\warning\relax \let\endwarning\relax +\let\example\relax \let\endexample\relax +%%% \makeatletter +%%% \def\gund@f#1{% +%%% \expandafter\global\expandafter\let\csname #1\endcsname\@undefined +%%% \expandafter\global\expandafter\let\csname end#1\endcsname\@undefined +%%% } +%%% \makeatother +%%% \gund@f{claim} +%%% \gund@f{conjecture} +%%% \gund@f{corollary} +%%% \gund@f{definition} +%%% \gund@f{example} +%%% \gund@f{exercise} +%%% \gund@f{fact} +%%% \gund@f{lemma} +%%% \gund@f{note} +%%% \gund@f{problem} +%%% \gund@f{proposition} +%%% \gund@f{question} +%%% \gund@f{remark} +%%% \gund@f{theorem} +\@longarticletrue +\RequirePackage{ccthm} +\babel\def\ccacknowledgementsname{Acknowledgements}[% + german=Danksagung,french=Remerciements] +\newenvironment{acknowledge}{\section*{\ccacknowledgementsname}}{} +\RequirePackage{relabel} +\RequirePackage{cc2cite} +\RequirePackage{ccqed} +\RequirePackage{amsmath} +\RequirePackage{amsfonts} +\RequirePackage{amssymb} +\RequirePackage{url} +\providecommand{\homepage}{\begingroup\scriptsize\urlstyle{tt}\Url} +\AtBeginDocument{\@adjustnumbering} +%</cc4svjour> +% \end{macrocode} +% % \def\filename{cc4llncs.sty} % \CodelinePrefix{} % diff --git a/Master/texmf-dist/source/latex/computational-complexity/cc.ins b/Master/texmf-dist/source/latex/computational-complexity/cc.ins index 50dbda67990..659b6f05efa 100644 --- a/Master/texmf-dist/source/latex/computational-complexity/cc.ins +++ b/Master/texmf-dist/source/latex/computational-complexity/cc.ins @@ -81,6 +81,7 @@ See cc.dtx for license information. \generate{% Style files for adopting cc to other classes \file{cc4apjrnl.sty}{\from{cc.dtx}{cc4apjrnl,chartab}} \file{cc4amsart.sty}{\from{cc.dtx}{cc4amsart,chartab}} + \file{cc4svjour.sty}{\from{cc.dtx}{cc4svjour,chartab}} \file{cc4llncs.sty}{\from{cc.dtx}{cc4llncs,chartab}} \file{cc4siamltex.sty}{\from{cc.dtx}{cc4siamltex,chartab}} \file{cc4jT.sty}{\from{cc.dtx}{cc4jT,chartab}} |