diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/tugboat')
-rw-r--r-- | Master/texmf-dist/source/latex/tugboat/tugboat.dtx | 60 |
1 files changed, 37 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx index ef847134e70..75d987cccfc 100644 --- a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx +++ b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx @@ -1,8 +1,8 @@ % \iffalse (this is a meta-comment (so they say)) -% $Id: tugboat.dtx 172 2016-11-07 19:29:41Z karl $ +% $Id: tugboat.dtx 187 2017-11-06 20:29:32Z karl $ % tugboat.dtx - main source for LaTeX TUGboat classes. % -% Copyright 1994-2016 TeX Users Group. +% Copyright 1994-2017 TeX Users Group. % % This file is part of the tugboat package. % @@ -28,7 +28,7 @@ %<ltugboatsty>\ProvidesPackage{ltugboat} %<ltugprocsty>\ProvidesPackage{ltugproc} %<ltugcomn> \ProvidesPackage{ltugcomn} - [2016/11/07 v2.18 + [2017/11/06 v2.19 %<ltugboatcls> TUGboat journal class% %<ltugproccls> TUG conference proceedings class% %<ltugboatsty|ltugprocsty> TUG compatibility package% @@ -101,8 +101,7 @@ \title{The \textsf{tugboat} package\thanks{This file has version number \fileversion, last revised \filedate}} - \author{The \TUB{} team\\ - \small(Distributed by Robin Fairbairns)} + \author{The \TUB{} team} \date{\filedate} \maketitle \tableofcontents @@ -256,7 +255,7 @@ % |\careof|& c/o\\ % |\sfrac|& slashed fraction (arguments optionally\\ % & separated by a slash)\\ -% |\cs|& control seqence name\\ +% |\cs|& control sequence name\\ % & |\cs{name}|$\rightarrow$\cs{name}\\ % |\env|& environment name \\ % & |\env{name}|$\rightarrow$\env{name}\\ @@ -662,9 +661,10 @@ \ifdim \fontdimen1\font>0pt B{\SMC\SMC IB}% \else - \textsc{Bib}% + B\textsc{ib}% \fi } +\def\BibLaTeX{\Bib\kern.02em \LaTeX} \def\BibTeX{\Bib\kern-.08em \TeX} % \def\BSD{\acro{BSD}} @@ -678,9 +678,9 @@ \def\Cplusplus{C\plusplus} \def\plusplus{\raisebox{.7ex}{$_{++}$}} \def\CPU{\acro{CPU}} -\def\CSabbr{\ensuremath{\cal C}\kern-.1667em\lower.5ex\hbox{$\cal S$}} +\def\CSczabbr{\ensuremath{\cal C}\kern-.1667em\lower.5ex\hbox{$\cal S$}} \def\CSS{\acro{CSS}} -\def\CSTUG{\CSabbr\acro{TUG}} +\def\CSTUG{\CSczabbr\acro{TUG}} \def\CSV{\acro{CSV}} \def\CTAN{\acro{CTAN}} \def\DTD{\acro{DTD}} @@ -710,6 +710,8 @@ \def\JPEG{\acro{JPEG}} \def\JTeX{\leavevmode\hbox{\lower.5ex\hbox{J}\kern-.18em\TeX}} \def\JoT{\textsl{The Joy of \TeX}} +\DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em% + M\kern.05em A\kern.1em-\kern.1em Script}} \def\LAMSTeX{L\raise.42ex\hbox{\kern-.3em $\m@th$\fontsize\sf@size\z@\selectfont $\m@th\mathcal{A}$}% @@ -1121,9 +1123,8 @@ % don't stay bold in description items, bold italic is too weird. \DeclareRobustCommand\meta[1]{% \ensuremath{\langle}% - \ifmmode \mbox\bgroup \fi % if in math + \ifmmode \expandafter\mbox \fi % if in math {\it #1\/}% no typewriter italics, please - \ifmmode \egroup \fi \ensuremath{\rangle}% } % @@ -2231,7 +2232,7 @@ \let\and=\quad \ignorespaces\@author}% {% - \noindent\bf\raggedright\ignorespaces\@title\endgraf + \noindent\bf\raggedright\ignorespaces\frenchspacing\@title\endgraf }% \ifdim \wd0 < 5\p@ % omit if author is null \else @@ -2808,8 +2809,24 @@ \def\ruled{\let\if@ruled\iftrue}% % \end{macrocode} % -% Then we just execute the ones we've got, and relay to a (hacked) -% copy of the built-in environment. +% The command \cs{makevmeta} says to make !<...> do \meta{...}. +% +% \begin{macrocode} + \def\makevmeta{\makeescape\! \let\<\tubverb@meta \tubverb@clearliglist} + \def\tubverb@meta##1>{\meta{##1}} +% \end{macrocode} +% +% The default verbatim defines `'<>,- as active characters to do +% stop ligatures; remove <> from the list so we get normal characters. +% Just hope that the CM <> ligatures aren't used. +% \begin{macrocode} + \def\tubverb@clearliglist{% + \def\verbatim@nolig@list{\do\`\do\,\do\'\do\-}% + } +% \end{macrocode} +% +% Then we execute the arguments we've got, and relay to a (hacked) +% copy of the \LaTeX\ verbatim environment. % % \begin{macrocode} #1\@TBverbatim} @@ -2847,7 +2864,7 @@ \obeylines \verbatim@font \@noligs \let\do\@makeother \dospecials \everypar \expandafter{\the\everypar \unpenalty}% -}% +}% end |\@sqbverbatim| % \end{macrocode} % % To end the environment, we do everything in reverse order: relay via @@ -3164,22 +3181,19 @@ % can be used to reset the font, e.g., tb98kuester. \def\tubheadhook{} +% in case the official \author is too verbose for the footline. +\def\tubrunningauthor{\@author} + % put title and author in footer. \def\@tubrunningfull{% \def\@oddfoot{% make line break commands produce a normal space \def\\{\unskip\ \ignorespaces}% \let\newline=\\% + \frenchspacing \hfil\rhTitle} - \def\@evenfoot{\@author\hfil} + \def\@evenfoot{\tubrunningauthor\hfil} } -\def\@tubrunninggetauthor#1{#1% - \begingroup - \let\thanks\@gobble - \protected@xdef\rhAuthor{\the\toks@##1}% - \endgroup -}% - % empty footer. \def\@tubrunningminimal{% \def\@oddfoot{\hfil}% |