diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugboat.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tugboat/ltugboat.cls | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls index a1ef7d5d591..c0fcbc23707 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls +++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls @@ -33,7 +33,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesClass {ltugboat} - [2017/11/06 v2.19 + [2018-09-06 v2.20 TUGboat journal class% ] \csname tugstyloaded@\endcsname @@ -718,11 +718,12 @@ \ifnum\count@>1 \count@\authornumber \advance\count@ by \m@ne - #1{\ignorespaces\theauthor{\number\count@}\unskip\ and }% + #1{\ignorespaces\theauthor{\number\count@}\unskip\@tubauthorlastsep}% \fi #1{\ignorespaces\theauthor{\number\authornumber}\unskip} \fi } +\def\@tubauthorlastsep{, }% until 2018, was: "\ and " \def\signature#1{\def\@signature{#1}} \def\@signature{\@defaultsignature} \def\@defaultsignature{{% @@ -768,16 +769,19 @@ \vspace{#1}% \rightline{% \vbox{\hsize\signaturewidth \ninepoint \raggedright - \parindent \z@ \everypar={\hangindent 1pc } + \parindent \z@ \everypar={\hangindent 1pc }% \parskip \z@skip \def\|{\unskip\hfil\break}% \def\\{\endgraf}% - \def\phone{\rm Phone: } + \def\phone{\rm Phone: }% + \def\tubmultipleaffilauthor{\\\hspace*{1em}}% \rm\@signature}% }% \ifnum\authornumber<0 \endgroup\fi } \def\signaturemark{\leavevmode\llap{$\diamond$\enspace}} +\def\tubmultipleaffilauthor{\unskip, \ignorespaces}% +\def\tubmultipleaffilnet{\textrm{\unskip~,\ \ignorespaces}} \newcount\authornumber \authornumber=0 \def\author{% @@ -814,7 +818,8 @@ \newcommand{\netaddress}[1][\relax]{% \begingroup \def\@network{}% - #1\@sanitize\makespace\ \makeactive\@ + #1\@sanitize\makespace\ \makeactive\@% + \makeescape! \makebgroup[ \makeegroup]% seems more useful than literals \makeactive\.\makeactive\%\@relay@netaddress}% \def\@relay@netaddress#1{% \ProtectNetChars @@ -913,9 +918,9 @@ \newdimen\stbaselineskip \stbaselineskip=18\p@ \newdimen\stfontheight \settoheight{\stfontheight}{\sectitlefont O} -\newif\ifSecTitle -\SecTitlefalse \newif\ifWideSecTitle +\newif\iftubtitlerulefullwidth +\newif\ifSecTitle \SecTitlefalse \newcommand{\sectitle}{% \SecTitletrue \@ifstar @@ -967,7 +972,11 @@ \hrule \@height\z@ \@depth\z@ \@width 10\p@ \kern-\topskip \kern-\strulethickness - \hrule \@height\strulethickness \@depth\z@ + \iftubtitlerulefullwidth + \hrule \@height\strulethickness \@depth\z@ width\textwidth + \else + \hrule \@height\strulethickness \@depth\z@ + \fi \kern\medskipamount \nobreak \fi @@ -1166,7 +1175,7 @@ \def\tubcaptionfonts{\small}% \long\def\@makecaption#1#2{% \vskip\abovecaptionskip - \sbox\@tempboxa{\tubcaptionfonts \tubmakecaptionbox{#1}{#2}}% try in an hbox + \sbox\@tempboxa{\tubcaptionfonts \frenchspacing \tubmakecaptionbox{#1}{#2}}% try in an hbox \ifdim \wd\@tempboxa > \hsize {% caption doesn't fit on one line; set as a paragraph. \tubcaptionfonts \raggedright \hyphenpenalty=\@M \parindent=1em @@ -1182,7 +1191,7 @@ \hb@xt@\hsize{\tubcaptionleftglue\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip} -\def\tubmakecaptionbox#1#2{#1: #2}% allow overriding for a paper +\def\tubmakecaptionbox#1#2{#1:\ #2}% allow overriding for a paper \def\fnum@figure{{\tubcaptionfonts \bf \figurename\nobreakspace\thefigure}} \def\fnum@table{{\tubcaptionfonts \bf \tablename\nobreakspace\thetable}} \setlength\abovecaptionskip{6pt plus1pt minus1pt} |