summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugboat.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tugboat/ltugboat.cls192
1 files changed, 144 insertions, 48 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
index 0ba717a2a60..cc5248c88cc 100644
--- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
+++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
@@ -6,21 +6,56 @@
%%
%% tugboat.dtx (with options: `latex,classtop,common,classtail,latex2e,ltugboatcls')
%%
-%% Copyright (C) 1994,1995,1996,2001 TeX Users Group
-%% All rights reserved.
+%% This is a generated file.
%%
-%% This file is part of the tugboat package.
-%% -----------------------------------------
+%% Copyright 1994,1995,1996,2001,2005,2006 TeX Users Group.
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This file has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is the TeX Users Group
+%% (http://tug.org/TUGboat).
%%
-%% This is a generated file. Permission is granted to customize the
-%% declarations in this file to serve the needs of your installation.
-%% However, no permission is granted to distribute a modified version of
-%% this file under its original name.
+%% The list of all files belonging to the distribution is given in the file
+%% `manifest.txt'.
%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
%%
+%% Copyright 1994,1995,1996,2001,2005,2006 TeX Users Group.
+%%
+%% This file is part of the tugboat package.
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is the TeX Users Group
+%% (http://tug.org/TUGboat).
+%%
+%% The list of all files belonging to the distribution is
+%% given in the file `manifest.txt'.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass {ltugboat}
- [2004/07/06 v1.6
+ [2006/05/05 v2.0
TUGboat journal class%
]
\csname tugstyloaded@\endcsname
@@ -147,21 +182,32 @@
{$\mathcal{M}$}\kern-.125em$\mathcal{S}$}
\def\AmSLaTeX{\AmS-\LaTeX}
\def\AmSTeX{\AmS-\TeX}
+\def\ANSI{\acro{ANSI}}
+\def\ASCII{\acro{ASCII}}
\def\aw{A\kern.1em-W}
\def\AW{Addison\kern.1em-\penalty\z@\hskip\z@skip Wesley}
\def\BibTeX{\textsc{Bib}\kern-.08em\TeX}
\def\CandT{\textsl{Computers \& Typesetting}}
\newcommand\ConTeXt{C\kern-.0333emon\-\kern-.0667em\TeX\kern-.0333emt}
\newcommand\Cplusplus{C\raisebox{.7ex}{$_{++}$}}
+\def\CSS{\acro{CSS}}
\def\CTAN{\acro{CTAN}}
\def\DTD{\acro{DTD}}
+\def\DVD{\acro{DVD}}
+\def\DVIPDFMx{\acro{DVIPDFM}$x$}
\def\DVItoVDU{DVIto\kern-.12em VDU}
\DeclareRobustCommand\eTeX{\ensuremath{\varepsilon}-\kern-.125em\TeX}
+\def\FAQ{\acro{FAQ}}
+\def\FTP{\acro{FTP}}
\def\Ghostscript{Ghost\-script}
+\def\GNU{\acro{GNU}}
+\def\GUI{\acro{GUI}}
\def\Hawaii{Hawai`i}
\def\HTML{\acro{HTML}}
+\def\HTTP{\acro{HTTP}}
\def\ISBN{\acro{ISBN}}
\def\ISSN{\acro{ISSN}}
+\def\JPEG{\acro{JPEG}}
\def\JTeX{\leavevmode\hbox{\lower.5ex\hbox{J}\kern-.18em\TeX}}
\def\JoT{\textsl{The Joy of \TeX}}
\def\LAMSTeX{L\raise.42ex\hbox{\kern-.3em
@@ -179,8 +225,8 @@
A}%
\vss}%
}}
-\def\MathML{Math\acro{ML}}
\def\MacOSX{Mac\,\acro{OS\,X}}
+\def\MathML{Math\acro{ML}}
\def\Mc{\setbox\TestBox=\hbox{M}M\vbox
to\ht\TestBox{\hbox{c}\vfil}} % for Robert McGaffey
\def\mf{\textsc{Metafont}}
@@ -195,23 +241,27 @@
\def\mtex{T\kern-.1667em\lower.424ex\hbox{\^E}\kern-.125emX\@}
\DeclareRobustCommand\NTS{\ensuremath{\mathcal{N}\mkern-4mu
\raisebox{-0.5ex}{$\mathcal{T}$}\mkern-2mu \mathcal{S}}}
+\def\Pas{Pascal}
\def\pcMF{\leavevmode\raise.5ex\hbox{p\kern-.3\p@ c}MF\@}
\def\PCTeX{PC\thinspace\TeX}
\def\pcTeX{\leavevmode\raise.5ex\hbox{p\kern-.3\p@ c}\TeX}
-\def\Pas{Pascal}
+\def\PDF{\acro{PDF}}
\def\PiC{P\kern-.12em\lower.5ex\hbox{I}\kern-.075emC\@}
\def\PiCTeX{\PiC\kern-.11em\TeX}
\def\plain{\texttt{plain}}
+\def\PNG{\acro{PNG}}
\def\POBox{P.\thinspace O.~Box }
\def\PS{{Post\-Script}}
+\def\RTF{\acro{RTF}}
\def\SC{Steering Committee}
\def\SGML{\acro{SGML}}
\def\SliTeX{\textrm{S\kern-.06em\textsc{l\kern-.035emi}%
\kern-.06em\TeX}}
- \def\slMF{\textsl{\MF}} % should never be used
- \def\stTeX{\textsc{st}\kern-0.13em\TeX}
+\def\slMF{\textsl{\MF}} % should never be used
+\def\stTeX{\textsc{st}\kern-0.13em\TeX}
\def\TANGLE{\texttt{TANGLE}\@}
\def\TB{\textsl{The \TeX book}}
+\def\TIFF{\acro{TIFF}}
\def\TP{\textsl{\TeX}: \textsl{The Program}}
\DeclareRobustCommand\TeX{T\kern-.1667em\lower.424ex\hbox{E}\kern-.125emX\@}
\def\TeXhax{\TeX hax}
@@ -235,6 +285,24 @@
\def\XML{\acro{XML}}
\def\WEB{\texttt{WEB}\@}
\def\WEAVE{\texttt{WEAVE}\@}
+\def\tubreflect#1{%
+ \@ifundefined{reflectbox}{%
+ \TBerror{A graphics package must be loaded for \string\XeTeX}%
+ }{%
+ \ifdim \fontdimen1\font>0pt
+ \raise 1.75ex \hbox{\kern.1em\rotatebox{180}{#1}}\kern-.1em
+ \else
+ \reflectbox{#1}%
+ \fi
+ }%
+}
+\def\tubhideheight#1{\setbox0=\hbox{#1}\ht0=0pt \dp0=0pt \box0 }
+\def\XeTeX{\leavevmode
+ \tubhideheight{\hbox{X%
+ \lower.5ex \hbox{\kern-.125em\tubreflect{E}}%
+ \kern-.1667em \TeX}}}
+\def\XHTML{\acro{XHTML}}
+\def\XSLT{\acro{XSLT}}
\newlinechar=`\^^J
\normallineskiplimit=\p@
\clubpenalty=10000
@@ -354,9 +422,9 @@
\def\nth#1{%
\def\reserved@a##1##2\@nil{\ifcat##1n%
0%
- \let\reserved@b\ensuremath
+ \let\reserved@b\ensuremath
\else##1##2%
- \let\reserved@b\relax
+ \let\reserved@b\relax
\fi}%
\TestCount=\reserved@a#1\@nil\relax
\ifnum\TestCount <0 \multiply\TestCount by\m@ne \fi % subdue negatives
@@ -374,7 +442,7 @@
\or rd% 3rd
\else th% nth
\fi}%
- }
+}
\def\Review{\@ifnextchar:{\@Review}{\@Review:}}
\def\@Review:{\@ifnextchar[%]
{\@Rev}%
@@ -385,11 +453,11 @@
\def\revauth##1{\def\therevauth{##1, }\ignorespaces}%
\def\revtitle##1{\def\therevtitle{{\slshape##1}. }\ignorespaces}%
\def\revpubinfo##1{\def\therevpubinfo{##1.}\ignorespaces}%
- }
+}
\def\endreviewitem{{\noindent\interlinepenalty=10000
\therevauth\therevtitle\therevpubinfo\endgraf}%
\vskip\medskipamount
- }
+}
\def\booktitle#1{{\slshape#1\/}}
\newcount\issueseqno \issueseqno=-1
\def\v@lx{\gdef\volx{Volume~\volno~(\volyr), No.~\issno}}
@@ -442,6 +510,14 @@
\def\TBEnableRemarks{\let\TBremark\@TBremark}
\def\TUBedit#1{}
\def\TUBfilename#1#2{\expandafter\def\csname file@@#1\endcsname{#2}}
+\newread\@altfilenames
+\def\@readFLN{\immediate\openin\@altfilenames=\jobname.fln
+ \ifeof\@altfilenames\let\@result\relax\else
+ \def\@result{\@@input\jobname.fln }\fi
+ \immediate\closein\@altfilenames
+ \@result}
+\@readFLN
+\everyjob=\expandafter{\the\everyjob\@readFLN}
\InputIfFileExists{\jobname.fln}%
{\TBInfo{Reading alternative file file \jobname.fln}}{}
\def\@tubfilename#1{\expandafter\ifx\csname file@@#1\endcsname\relax
@@ -468,21 +544,31 @@
\def\xreftoOFF#1{???}
\let\xrefto=\xreftoOFF
\let\TBdriver\gobble
-\hyphenation{Dijk-stra Eijk-hout Hara-lam-bous
- Doc-Book Flor-i-da Ghost-script Ghost-view Open-Type Pfa-Edit
- Post-Script True-Type
- ap-pen-dix
- bit-map bit-mapped bit-maps bool-ean
- col-umns
+\hyphenation{Del-a-ware Dijk-stra Duane Eijk-hout
+ Flor-i-da Free-BSD Ghost-script Ghost-view
+ Hara-lam-bous Jac-kow-ski Karls-ruhe
+ Mac-OS Math-Sci-Net
+ Net-BSD Open-BSD Open-Office
+ Pfa-Edit Post-Script Rich-ard Skoup South-all
+ VM-ware Win-Edt
+ acro-nym ap-pen-dix asyn-chro-nous
+ bit-map bit-mapped bit-maps buf-fer buf-fers bool-ean
+ col-umns cus-tom-iz-able
data-base data-bases
+ de-riv-a-tive de-riv-a-tives de-riv-a-ble der-i-va-tion
fall-ing
half-way
+ key-note
long-est
ma-gyar man-u-script man-u-scripts
- over-view
- par-a-digm par-a-digm-atic par-a-digms
+ off-line over-view
+ pal-ettes par-a-digm par-a-dig-mat-ic par-a-digms
+ pipe-line pipe-lines
+ plug-in plug-ins pro-gram-mable
se-vere-ly spell-ing spell-ings stand-alone strong-est
+ sub-ex-pres-sion syn-chro-ni-city syn-chro-nous
time-stamp time-stamped
+ vis-ual vis-ual-ly
which-ever white-space white-spaces wide-spread wrap-around
}
\PrelimDrafttrue
@@ -517,6 +603,8 @@
\DeclareLaTeXLogo{cmss}{bx}n{.3}{.15}
\DeclareLaTeXLogo{cmr}m{it}{.3}{.27}
\DeclareLaTeXLogo{cmr}{bx}{it}{.3}{.27}
+\DeclareLaTeXLogo{bch}{m}{n}{.2}{.08}
+\DeclareLaTeXLogo{bch}{m}{it}{.2}{.08}
\DeclareRobustCommand\LaTeX{\expandafter\let\expandafter\reserved@a
\csname @LaTeX@\f@family/\f@series/\f@shape\endcsname
\ifx\reserved@a\relax\let\reserved@a\@LaTeX@default\fi
@@ -733,7 +821,7 @@
\def\secsep{\vskip 5\baselineskip}
\newdimen\stbaselineskip \stbaselineskip=18\p@
\newdimen\stfontheight
- \settoheight{\stfontheight}{\sectitlefont O}
+\settoheight{\stfontheight}{\sectitlefont O}
\newif\ifSecTitle
\SecTitlefalse
\newif\ifWideSecTitle
@@ -848,20 +936,20 @@
\def\section{\TB@startsection{{section}%
1%
\z@
- {-8\p@}%
- {4\p@}%
+ {-8\p@\@plus-2\p@\@minus-2\p@}%
+ {4\p@\@plus.5\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsection{\TB@startsection{{subsection}%
2%
\z@
- {-8\p@}%
- {4\p@}%
+ {-8\p@\@plus-2\p@\@minus-2\p@}%
+ {4\p@\@plus.5\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsubsection{\TB@startsection{{subsubsection}%
3%
\z@
- {-8\p@}%
- {4\p@}%
+ {-8\p@\@plus-2\p@\@minus-2\p@}%
+ {4\p@\@plus.5\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\paragraph{\TB@startsection{{paragraph}%
4%
@@ -875,29 +963,37 @@
\TB@startsection{{section}%
1%
\z@
- {-8\p@}%
- {4\p@}%
+ {-8\p@\@plus-2\p@\@minus-2\p@}%
+ {4\p@\@plus.5\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsection{\TB@nolimelabel
\TB@startsection{{subsection}%
2%
\z@
- {-8\p@}%
+ {-8\p@\@plus-2\p@\@minus-2\p@}%
{-0.5em\@plus-\fontdimen3\font}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsubsection{\TB@nolimelabel
\TB@startsection{{subsubsection}%
3%
\parindent
- {-8\p@}%
+ {-8\p@\@plus-2\p@\@minus-2\p@}%
{-0.5em\@plus-\fontdimen3\font}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\fi
-\def\TB@startsection#1{\@ifstar
- {\TBWarning{*-form of \expandafter\string\csname\@firstofsix#1%
- \endcsname\space inappropriate}%
- \@startsection#1}%
- {\@startsection#1}}
+\if@numbersec
+ \def\TB@startsection#1{\@startsection#1}%
+\else
+ \def\TB@startsection#1{%
+ \@ifstar
+ {\TBWarning{*-form of \expandafter\string\csname\@firstofsix#1%
+ \endcsname\space
+ \MessageBreak
+ conflicts with nonumber class option}%
+ \@startsection#1}%
+ {\@startsection#1}%
+ }
+\fi
\def\@firstofsix#1#2#3#4#5#6{#1}
\def\TB@safe@startsection#1{\@startsection#1}
\newenvironment{SafeSection}%
@@ -983,12 +1079,13 @@
\long\def\@firstofthree#1#2#3{#1}
\long\def\@secondofthree#1#2#3{#2}
\long\def\@thirdofthree#1#2#3{#3}
-\long\def\@makecaption#1#2{%
+\def\@makecaption#1#2{%
\vskip\abovecaptionskip
- \sbox\@tempboxa{#1: #2}%
+ \def\@makecaptiontext{\small \parindent=1em\noindent #1: #2}%
+ \setbox\@tempboxa=\vbox{\@makecaptiontext\par}%
\ifdim \wd\@tempboxa >\hsize
\raggedright\hyphenpenalty=\@M
- #1: #2\par
+ \@makecaptiontext
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
@@ -1209,7 +1306,6 @@
\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}}
@@ -1261,7 +1357,7 @@
\small\SMC@unknown@warning
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
}
-\newcommand\SMC@unknown@warning{\TBWarning{\string\SMC: unrecognised
+\newcommand\SMC@unknown@warning{\TBWarning{\string\SMC: nonstandard
text font size command -- using \string\small}}
\newcommand\textSMC[1]{{\SMC #1}}
\newcommand\acro[1]{\textSMC{#1}\@}
@@ -1310,7 +1406,7 @@
%% #1%
%% }
-\def\fnum@figure{{\bf Figure \thefigure}}
+\def\fnum@figure{{\small\bf Figure \thefigure}}
\if@Harvardcite
\AtBeginDocument{%
\bibliographystyle{ltugbib}%