summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty156
1 files changed, 130 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty b/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty
index 3f9bdc47bf2..a3b82056f30 100644
--- a/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty
+++ b/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty
@@ -6,21 +6,56 @@
%%
%% tugboat.dtx (with options: `common,latex,latex2e,ltugcomn')
%%
-%% 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".
%%
-%% 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 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.
+%%
+%% 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]
\ProvidesPackage{ltugcomn}
- [2004/07/06 v1.6
+ [2006/05/05 v2.0
TUGboat `common macros' package%
]
\IfFileExists{mflogo.sty}%
@@ -92,21 +127,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
@@ -124,8 +170,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}}
@@ -140,23 +186,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}
@@ -180,6 +230,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
@@ -299,9 +367,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
@@ -319,7 +387,7 @@
\or rd% 3rd
\else th% nth
\fi}%
- }
+}
\def\Review{\@ifnextchar:{\@Review}{\@Review:}}
\def\@Review:{\@ifnextchar[%]
{\@Rev}%
@@ -330,11 +398,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}}
@@ -387,6 +455,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
@@ -413,23 +489,51 @@
\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
}
+\DeclareRobustCommand\SMC{%
+ \ifx\@currsize\normalsize\small\else
+ \ifx\@currsize\small\footnotesize\else
+ \ifx\@currsize\footnotesize\scriptsize\else
+ \ifx\@currsize\large\normalsize\else
+ \ifx\@currsize\Large\large\else
+ \ifx\@currsize\LARGE\Large\else
+ \ifx\@currsize\scriptsize\tiny\else
+ \ifx\@currsize\tiny\tiny\else
+ \ifx\@currsize\huge\LARGE\else
+ \ifx\@currsize\Huge\huge\else
+ \small\SMC@unknown@warning
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+}
+\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}\@}
\endinput
%%
%% End of file `ltugcomn.sty'.