diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/elsevier/elsart.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/elsevier/elsart.cls | 89 |
1 files changed, 58 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/latex/elsevier/elsart.cls b/Master/texmf-dist/tex/latex/elsevier/elsart.cls index 75d9af443ed..180bd02d38c 100644 --- a/Master/texmf-dist/tex/latex/elsevier/elsart.cls +++ b/Master/texmf-dist/tex/latex/elsevier/elsart.cls @@ -6,7 +6,7 @@ %% %% esl.dtx (with options: `package,elsart,ONECOL,DEEPLIST') %% -%% elsart.cls Copyright (C) 1994-2001 Elsevier Science +%% elsart.cls Copyright (C) 1994-2006 Elsevier Science %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.2 @@ -21,14 +21,12 @@ \def\RCSversion{#3}% \def\RCSdate{#4}% } -\readRCS -$Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1.6 2000/10/09 10:45:59 dabeyko Exp $ \def\@shortjnl{\relax} - \def\esp@fileversion{2.18} - \def\esp@filedate{2001/01/05} - \def\@journal{Elsevier Science} \def\@company{Elsevier Science} - \def\@issn{000-0000} - \def\@shortjid{elsart} + \def\esp@fileversion{2.19} + \def\esp@filedate{2006/05/01} + \def\@journal{Elsevier} \def\@company{Elsevier} + \def\@issn{000-0000} + \def\@shortjid{elsart} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{\@shortjid}[\esp@filedate, \esp@fileversion: \@journal] @@ -46,6 +44,18 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \@twocolumnfalse \DeclareOption{onecolumn}{\@twocolumnfalse\@TwoColumnfalse} \DeclareOption{twocolumn}{\@twocolumntrue\@TwoColumntrue} +\newif\if@narrowdisplay +\@narrowdisplayfalse +\DeclareOption{narrowdisplay}{\@narrowdisplaytrue} +\newif\if@draft\@draftfalse +\DeclareOption{draft}{% + \@drafttrue + \overfullrule 5\p@ % to indicate overfull boxes +} +\DeclareOption{final}{% + \@draftfalse + \overfullrule \z@ +} \let\snm\relax \let\cty\relax \let\cny\relax\let\jr\relax \newif\if@ussrhead \@ussrheadfalse \DeclareOption{ussrhead}{\@ussrheadtrue} @@ -65,6 +75,8 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \ExecuteOptions{oneside} \ExecuteOptions{onecolumn,final} \ProcessOptions +\if@TwoColumn\@narrowdisplayfalse\fi +\if@draft\else\@narrowdisplayfalse\fi \def\@pagenumprefix{} \def\author@font{} \def\partname{Part} @@ -101,6 +113,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \def\@keywordsize{\small} \def\@overaddressskip{2pt} \def\@titlesize{\Large\bfseries} +\def\@bibitemsep{0.3\@bls \@plus 0.1\@bls \@minus 0.1\@bls} \def\@authorsize{\large} \def\@keywordheading{{\it Key words: \ }} \def\@addressstyle{\small\itshape} @@ -114,6 +127,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \def\@secnumfont#1{\upshape} \def\@catchlinesize{\footnotesize} \def\@runheadsize{\normalsize} +\def\@narrowdisplaywidth{259pt} \def\etal{et al.} \def\AND{\&} \def\@Colofonheight{1cm} @@ -171,7 +185,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \advance\textheight\topskip \textwidth 33pc % \@Width of text line. % For two-column mode: -\columnsep 2pc % Space between columns + \columnsep 2pc % Space between columns \columnseprule \z@ % \@Width of rule between columns. \footnotesep 8.4\p@ \skip\footins 12\p@ \@plus 8\p@ % Space between last line of text and @@ -367,10 +381,18 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \else \mathindent 2em \fi +\if@narrowdisplay + \def\calcmathindent{% + \mathindent\linewidth\relax + \advance\mathindent-\@narrowdisplaywidth} +\else + \let\calcmathindent\relax +\fi \def\[{\relax\ifmmode\@badmath \else%\bgroup removed on request from BW (1993-05-17) \@beginparpenalty\predisplaypenalty \@endparpenalty\postdisplaypenalty +\calcmathindent \begin{trivlist}\@topsep \eqntopsep % used by first \item \@topsepadd \eqntopsep % used by \@endparenv \item[]\leavevmode @@ -384,6 +406,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \refstepcounter{equation}\trivlist \@topsep \eqntopsep % used by first \item \@topsepadd \eqntopsep % used by \@endparenv +\calcmathindent \item[]\leavevmode \hbox to\linewidth\bgroup $ \displaystyle \hskip\mathindent\bgroup} \def\endequation{\egroup$\hfil \displaywidth\linewidth @@ -393,6 +416,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \noindent %BW \baselineskip\eqnbaselineskip\lineskip\eqnlineskip %BW \lineskiplimit\eqnlineskip %BW +\calcmathindent \stepcounter{equation}% \let\@currentlabel=\theequation \global\@eqnswtrue @@ -453,6 +477,8 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} \RequirePackage{latexsym} \def\qed{\relax\ifmmode\hskip2em \Box\else\unskip\nobreak\hskip1em $\Box$\fi} \def\proof@headerfont{\upshape\bfseries} @@ -566,7 +592,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \labelsep 3\p@ \itemindent\z@ \leftmargin\labelwidth \advance\leftmargin\labelsep \fi - \itemsep 0.3\@bls \@plus 0.1\@bls \@minus 0.1\@bls +\itemsep\@bibitemsep \usecounter{enumiv}\let\p@enumiv\@empty \def\theenumiv{\arabic{enumiv}}}% \tolerance\@M @@ -636,7 +662,8 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \newcount\@tempcntc \def\collapse@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do - {\@ifundefined + {\edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% + \@ifundefined {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}% @@ -894,7 +921,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \let\@ead@au\@empty\fi} \let\ead@endau\ead@newau \def\ead@addau#1{ (#1)} -\def\ead@au#1{\edef\@ead@au{#1}} +\def\ead@au#1{\def\@ead@au{#1}} \def\email@name{Email address} \def\emails@name{Email addresses} \chardef\has@ead@email=0 @@ -1088,7 +1115,7 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \def\collab{\@ifstar{\collab@arg}{\collab@arg}} \let\collaboration=\collab \def\collab@arg#1{\stepcounter{collab}% - \if@firstauthor \first@collab \global\@firstauthorfalse \fi + \if@firstauthor \first@author \global\@firstauthorfalse \fi \gdef\@runningauthor{#1}% \beg@elem \proc@elem{collab}{#1}% @@ -1098,11 +1125,9 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \ifnum\prev@elem=\e@collab \global\@newelemfalse \fi \if@newelem \collab@fmt@init \fi \par % Start new paragraph - {\large #3\,$^{\mathrm{#2}}$}} -\def\first@collab{ - \collab@note@fmt % re-define \thefootnote as - \add@tok\t@glob@notes % appropriate for collab/address - {\collab@note@fmt}}% + \edef\@tempb{#2}\ifx\@tempb\@empty + {\@authorsize #3}\else + {\@authorsize #3\,$^{\mathrm{#2}}$}} \def\collab@fmt@init{\vskip 1em} % Vertical space above list \def\author@note@fmt{\setcounter{footnote}{0}% \def\thefootnote{\xarabic{footnote}}} @@ -1292,19 +1317,21 @@ $Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1. \vskip 4\p@ \@plus 3\p@ \normalsize\it\centering \@dedicated \fi} -\def\@alph#1{\ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or -k\or \ell\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or -y\or z\or aa\or ab\or ac\or ad\or ae\or af\or ag\or ah\or ai\or aj\or -ak\or a\ell\or am\or an\or ao\or ap\or aq\or ar\or as\or at\or au\or av\or -aw\or ay\or az\or ba\or bb\or bc\or bd\or be\or bf\or bg\or bh\or bi\or -bj\or bk\or b\ell\or bm\or bn\or bo\or bp\or bq\or br\or bs\or bt\or -bu\or bw\or bx\or by\or bz\or ca\or cb\or cc\or cd\or ce\or cf\or cg\or -ch\or ci\or cj\or ck\or c\ell\or cm\or cn\or co\or cp\or cq\or cr\or -cs\or ct\or cu\or cw\or cx\or cy\or cz\or da\or db\or dc\or dd\or de\or df\or dg\or dh\or di\or dj\or dk\or -d\ell\or dm\or dn\or do\or dp\or dq\or dr\or ds\or dt\or du\or dw\or -dx\or dy\or dz\or ea\or eb\or ec\or ed\or ee\or ef\or eg\or eh\or -ei\or ej\or ek\or e\ell\or em\or en\or eo\or ep\or eq\or er\or es\or -et\or eu\or ew\or ex\or ey\or ez\else\@ctrerr\fi} +\def\@alph#1{\ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or +j\or k\or \ensuremath{\ell}\or m\or n\or o\or p\or q\or r\or s\or t\or +u\or v\or w\or x\or y\or z\or aa\or ab\or ac\or ad\or ae\or af\or ag\or +ah\or ai\or aj\or ak\or a\ensuremath{\ell}\or am\or an\or ao\or ap\or +aq\or ar\or as\or at\or au\or av\or aw\or ay\or az\or ba\or bb\or bc\or +bd\or be\or bf\or bg\or bh\or bi\or bj\or bk\or b\ensuremath{\ell}\or +bm\or bn\or bo\or bp\or bq\or br\or bs\or bt\or bu\or bw\or bx\or by\or +bz\or ca\or cb\or cc\or cd\or ce\or cf\or cg\or ch\or ci\or cj\or ck\or +c\ensuremath{\ell}\or cm\or cn\or co\or cp\or cq\or cr\or cs\or ct\or +cu\or cw\or cx\or cy\or cz\or da\or db\or dc\or dd\or de\or df\or dg\or +dh\or di\or dj\or dk\or d\ensuremath{\ell}\or dm\or dn\or do\or dp\or +dq\or dr\or ds\or dt\or du\or dw\or dx\or dy\or dz\or ea\or eb\or ec\or +ed\or ee\or ef\or eg\or eh\or ei\or ej\or ek\or e\ensuremath{\ell}\or +em\or en\or eo\or ep\or eq\or er\or es\or et\or eu\or ew\or ex\or ey\or +ez\else\@ctrerr\fi} \def\fnstar#1{\@fnstar{\@nameuse{c@#1}}} \def\@fnstar#1{\ifcase#1\or \hbox{$\star$}\or |