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.cls60
1 files changed, 40 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
index cc5248c88cc..cab16ced271 100644
--- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
+++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
@@ -30,7 +30,8 @@
%% 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.
+%% Copyright 1994,1995,1996,1997,1998,2000,2001,2004,2005,2006,2007
+%% TeX Users Group.
%%
%% This file is part of the tugboat package.
%%
@@ -55,7 +56,7 @@
%% extension .ins) which are part of the distribution.
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass {ltugboat}
- [2006/05/05 v2.0
+ [2007/03/19 v2.1
TUGboat journal class%
]
\csname tugstyloaded@\endcsname
@@ -186,7 +187,13 @@
\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\BibTeX{%
+ \ifdim \fontdimen1\font>0pt
+ B{\SMC\SMC IB}%
+ \else
+ \textsc{Bib}\kern-.08em
+ \fi
+ \TeX}
\def\CandT{\textsl{Computers \& Typesetting}}
\newcommand\ConTeXt{C\kern-.0333emon\-\kern-.0667em\TeX\kern-.0333emt}
\newcommand\Cplusplus{C\raisebox{.7ex}{$_{++}$}}
@@ -194,6 +201,7 @@
\def\CTAN{\acro{CTAN}}
\def\DTD{\acro{DTD}}
\def\DVD{\acro{DVD}}
+\def\DVI{\acro{DVI}}
\def\DVIPDFMx{\acro{DVIPDFM}$x$}
\def\DVItoVDU{DVIto\kern-.12em VDU}
\DeclareRobustCommand\eTeX{\ensuremath{\varepsilon}-\kern-.125em\TeX}
@@ -206,6 +214,7 @@
\def\HTML{\acro{HTML}}
\def\HTTP{\acro{HTTP}}
\def\ISBN{\acro{ISBN}}
+\def\ISO{\acro{ISO}}
\def\ISSN{\acro{ISSN}}
\def\JPEG{\acro{JPEG}}
\def\JTeX{\leavevmode\hbox{\lower.5ex\hbox{J}\kern-.18em\TeX}}
@@ -259,6 +268,7 @@
\kern-.06em\TeX}}
\def\slMF{\textsl{\MF}} % should never be used
\def\stTeX{\textsc{st}\kern-0.13em\TeX}
+\def\SVG{\acro{SVG}}
\def\TANGLE{\texttt{TANGLE}\@}
\def\TB{\textsl{The \TeX book}}
\def\TIFF{\acro{TIFF}}
@@ -270,6 +280,7 @@
\def\TeXtures{\textit{Textures}}
\let\Textures=\TeXtures
\def\TeXXeT{\TeX-{}-\XeT}
+\def\TFM{\acro{TFM}}
\def\Thanh{H\`an~Th\^e\llap{\raise 0.5ex\hbox{\'{}}}~Th\`anh}
\def\ttn{\textsl{TTN}\@}
\def\TTN{\textsl{\TeX{} and TUG News}}
@@ -279,6 +290,7 @@
\def\tug{\acro{TUG}}
\def\UG{Users Group}
\def\UNIX{\acro{UNIX}}
+\def\UTF{\acro{UTF}}
\def\VAX{V\kern-.12em A\kern-.1em X\@}
\def\VorTeX{V\kern-2.7\p@\lower.5ex\hbox{O\kern-1.4\p@ R}\kern-2.6\p@\TeX}
\def\XeT{X\kern-.125em\lower.424ex\hbox{E}\kern-.1667emT\@}
@@ -936,20 +948,20 @@
\def\section{\TB@startsection{{section}%
1%
\z@
- {-8\p@\@plus-2\p@\@minus-2\p@}%
- {4\p@\@plus.5\p@}%
+ {-8\p@}%
+ {4\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsection{\TB@startsection{{subsection}%
2%
\z@
- {-8\p@\@plus-2\p@\@minus-2\p@}%
- {4\p@\@plus.5\p@}%
+ {-8\p@}%
+ {4\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsubsection{\TB@startsection{{subsubsection}%
3%
\z@
- {-8\p@\@plus-2\p@\@minus-2\p@}%
- {4\p@\@plus.5\p@}%
+ {-8\p@}%
+ {4\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\paragraph{\TB@startsection{{paragraph}%
4%
@@ -963,21 +975,21 @@
\TB@startsection{{section}%
1%
\z@
- {-8\p@\@plus-2\p@\@minus-2\p@}%
- {4\p@\@plus.5\p@}%
+ {-8\p@}%
+ {4\p@}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsection{\TB@nolimelabel
\TB@startsection{{subsection}%
2%
\z@
- {-8\p@\@plus-2\p@\@minus-2\p@}%
+ {-8\p@}%
{-0.5em\@plus-\fontdimen3\font}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\def\subsubsection{\TB@nolimelabel
\TB@startsection{{subsubsection}%
3%
\parindent
- {-8\p@\@plus-2\p@\@minus-2\p@}%
+ {-8\p@}%
{-0.5em\@plus-\fontdimen3\font}%
{\normalsize\bf\raggedright\hyphenpenalty=\@M}}}
\fi
@@ -1079,18 +1091,19 @@
\long\def\@firstofthree#1#2#3{#1}
\long\def\@secondofthree#1#2#3{#2}
\long\def\@thirdofthree#1#2#3{#3}
-\def\@makecaption#1#2{%
+\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
- \def\@makecaptiontext{\small \parindent=1em\noindent #1: #2}%
- \setbox\@tempboxa=\vbox{\@makecaptiontext\par}%
+ \sbox\@tempboxa{#1: #2}%
\ifdim \wd\@tempboxa >\hsize
- \raggedright\hyphenpenalty=\@M
- \@makecaptiontext
+ \raggedright\hyphenpenalty=\@M \parindent=1em
+ \small \noindent #1: #2%
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
+\def\fnum@figure{{\small \bf \figurename\nobreakspace\thefigure}}
+\def\fnum@table{{\small \bf \tablename\nobreakspace\thetable}}
\renewcommand\normalsize{%
\@setfontsize\normalsize\@xpt\@xiipt
\abovedisplayskip=3\p@\@plus 3\p@\@minus\p@
@@ -1405,8 +1418,15 @@
%% \hskip0.27778\fontdimen6\textfont\z@\relax
%% #1%
%% }
-
-\def\fnum@figure{{\small\bf Figure \thefigure}}
+\def\creditfootnote{\nomarkfootnote\xEdNote}
+\def\supportfootnote{\nomarkfootnote\relax}
+\gdef\nomarkfootnote#1#2{\begingroup
+ \def\thefootnote{}%
+ % no period, please, also no fnmark.
+ \def\@makefntext##1{##1}%
+ \footnotetext{\noindent #1#2}%
+ \endgroup
+}
\if@Harvardcite
\AtBeginDocument{%
\bibliographystyle{ltugbib}%