diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugboat.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tugboat/ltugboat.cls | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls index c0fcbc23707..03087d4e2f3 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls +++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls @@ -8,8 +8,7 @@ %% %% This is a generated file. %% -%% Copyright 1994,1995,1996,2001,2005,2006,2009,2011,2013,2014,2015 -%% TeX Users Group. +%% Copyright 1994-2018 TeX Users Group. %% %% It may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -33,7 +32,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesClass {ltugboat} - [2018-09-06 v2.20 + [2018-12-14 v2.21 TUGboat journal class% ] \csname tugstyloaded@\endcsname @@ -70,7 +69,12 @@ \AtEndOfClass{% \let\thepage=\tuborigthepage \NoBlackBoxes - \PrelimDraftfalse + % Insert draft date into the header even with [final], if we are not + % doing a production run. (tugboat.dates sets up page numbers + % above 900 in such pseudo-draft mode.) We use [final] in the first + % place for this case because draft can change page layout, wrt + % registration marks, etc. + \ifnum\value{page}>900 \PrelimDrafttrue \else \PrelimDraftfalse \fi \@tubrunningfull }% } @@ -306,7 +310,7 @@ \expandafter\ifx\csname XeTeXrevision\endcsname\relax \def\Thanh{H\`an~Th\^e\llap{\raise 0.5ex\hbox{\'{}}}~Th\`anh}% non-XeTeX \else -\def\Thanh{H\`an~Th\textcircumacute{e}~Th\`anh}% xunicode drops the acute else +\def\Thanh{H\`an~Th\textcircumacute{e}~Th\`anh}% else xunicode drops the acute \fi \def\TikZ{Ti{\em k}Z} \def\ttn{\textsl{TTN}\@} @@ -404,7 +408,8 @@ \def\now{\number\hours:\ifnum\minutes<10 0\fi\number\minutes} \def\Now{\today\ \now} \newif\ifPrelimDraft -\def\midrtitle{\ifPrelimDraft {\textsl{preliminary draft, \Now}}\fi} +\def\midrtitle{} % center of running heads +\def\rtitlenexttopage{\ifPrelimDraft \textsl{\small draft: \Now}\fi} \newdimen\raggedskip \raggedskip=\z@ \newdimen\raggedstretch \raggedstretch=5em % ems of font set now (10pt) \newskip\raggedparfill \raggedparfill=\z@\@plus 1fil @@ -426,8 +431,8 @@ \parindent=\z@ \parfillskip=\z@skip } \def\normalspaces{\spaceskip\z@skip \xspaceskip\z@skip} -\DeclareRobustCommand{\nobreakspace}{% - \unskip\nobreak\ \ignorespaces} +\let\latexnobreakspace=\nobreakspace +\DeclareRobustCommand{\nobreakspace}{\unskip\nobreak\ \ignorespaces} \def\boxcs#1{\box\csname#1\endcsname} \def\setboxcs#1{\setbox\csname#1\endcsname} \def\newboxcs#1{\expandafter\newbox\csname#1\endcsname} @@ -699,6 +704,7 @@ \def\theaddress#1{\csname theaddress#1\endcsname} \def\thenetaddress#1{\csname thenetaddress#1\endcsname} \def\thePersonalURL#1{\csname thePersonalURL#1\endcsname} +\def\theORCID#1{\csname theORCID#1\endcsname} \def\@defaultauthorlist{% \@getauthorlist\@firstofone } @@ -738,6 +744,7 @@ \allowhyphens \thenetaddress{\number\authornumber}\\ \thePersonalURL{\number\authornumber}\\ + \theORCID{\number\authornumber}\\ \else \count@=0 \loop @@ -751,6 +758,7 @@ \allowhyphens \thenetaddress{\number\count@}\\ \thePersonalURL{\number\count@}\\ + \theORCID{\number\count@}\\ }% \repeat \fi @@ -781,7 +789,7 @@ } \def\signaturemark{\leavevmode\llap{$\diamond$\enspace}} \def\tubmultipleaffilauthor{\unskip, \ignorespaces}% -\def\tubmultipleaffilnet{\textrm{\unskip~,\ \ignorespaces}} +\def\tubmultipleaffilnet{\unskip\textrm{\,,\ \ignorespaces}} \newcount\authornumber \authornumber=0 \def\author{% @@ -802,6 +810,8 @@ {\TBWarningNL{Net address for #1\space missing}\@gobble}% \expandafter\let\csname thePersonalURL\number\authornumber\endcsname \@gobble + \expandafter\let\csname theORCID\number\authornumber\endcsname + \@gobble } \def\EDITORnoaddress{% \expandafter\let\csname theaddress\number\authornumber\endcsname @@ -876,6 +886,9 @@ \fi \def\authorlist#1{\def\@author{#1}} \def\@author{\@defaultauthorlist} +\def\ORCID#1{% + \expandafter\def\csname theORCID\number\authornumber\endcsname + {\leavevmode \ignorespaces {\SMC ORCID} #1\unskip}} \def\mspmetavar#1#2{} \newif\if@articletitle \def\maketitle{\@ifstar @@ -1436,11 +1449,7 @@ \HorzR@gisterRule \hfil \HorzR@gisterRule}}} \def\topregister{\ttopregister} \def\botregister{\tbotregister} -\def \rtitlex{\def\texttub##1{{\normalsize\textrm{##1}}}\TUB, \volx } -\def\PrelimDraftfooter{% - \dlap{\kern\textheight\kern3pc - \rlap{\hb@xt@\pagewd{\midrtitle\hfil\midrtitle}} - }} +\def\rtitlex{\def\texttub##1{{\normalsize\textrm{##1}}}\TUB, \volx} \def\MakeRegistrationMarks{} \def\UseTrimMarks{% \def\MakeRegistrationMarks{% @@ -1448,12 +1457,12 @@ \vbox{\dlap{\vbox to\trimlgt{\vfil\botregister}}% \topregister\vskip \headmargin \vskip 10\p@}}}}% } -\def\@oddhead{\MakeRegistrationMarks\PrelimDraftfooter +\def\@oddhead{\MakeRegistrationMarks \normalsize\csname normalshape\endcsname\rm \tubheadhook - \rtitlex\qquad\midrtitle \hfil \thepage} -\def\@evenhead{\MakeRegistrationMarks\PrelimDraftfooter + \rtitlex\qquad \midrtitle\hfil \rtitlenexttopage\quad \thepage} +\def\@evenhead{\MakeRegistrationMarks \normalsize\csname normalshape\endcsname\rm \tubheadhook - \thepage\hfil\midrtitle\qquad\rtitlex} + \thepage \quad\rtitlenexttopage \hfil\midrtitle \qquad\rtitlex} \def\tubheadhook{} @@ -1515,7 +1524,7 @@ \newcommand{\textSMC}[1]{{\SMC #1}} \newcommand{\acro}[1]{\textSMC{#1}\@} \def\xEdNote{{\EdNoteFont Editor's note:\enspace }} -\def \EdNote{\@ifnextchar[%] +\def\EdNote{\@ifnextchar[%] {% \ifvmode \smallskip\noindent\let\@EdNote@\@EdNote@v |