| 1 |
%% @texfile{ |
| 2 |
%% filename = "tugboat.cmn", |
| 3 |
%% copyright = "Copyright 1993-1996,2006,2008,2011-2024 TeX Users Group. |
| 4 |
%% Unlimited copying and redistribution of this file |
| 5 |
%% are permitted as long as this file is not |
| 6 |
%% modified. Modifications (and redistribution of |
| 7 |
%% modified versions) are also permitted, but only if |
| 8 |
%% the resulting file is renamed." |
| 9 |
%% version = "see below \fileversion" |
| 10 |
%% date = "see below \filedate", |
| 11 |
%% filetype = "common (plain) macros for TUGboat", |
| 12 |
%% supported = "yes", |
| 13 |
%% email = "[email protected]", |
| 14 |
%% codetable = "ISO/ASCII", |
| 15 |
%% keywords = "tex users group, tugboat, common macros, plain tex", |
| 16 |
%% abstract = "This file contains macros potentially common to |
| 17 |
%% the various style files for TUGboat, |
| 18 |
%% Among other things, it contains supplementary |
| 19 |
%% definitions for abbreviations and logos that |
| 20 |
%% appear in TUGboat." |
| 21 |
%% } |
| 22 |
%% $Id: tugboat.cmn 648 2025-06-16 17:12:34Z karl $ |
| 23 |
|
| 24 |
% do nothing when reading this file a second time. |
| 25 |
\ifx\tugboatcmn\undefined |
| 26 |
\let\next\relax |
| 27 |
\else |
| 28 |
\expandafter\let\expandafter\next\csname endinput\endcsname |
| 29 |
\fi |
| 30 |
\next |
| 31 |
|
| 32 |
\def\fileversion{v1.32} |
| 33 |
\def\filedate{2025-06-16} |
| 34 |
|
| 35 |
\message{File `TUGBOAT.CMN' \fileversion \space\space <\filedate>} |
| 36 |
|
| 37 |
% ***** TUGBOAT.CMN ***** |
| 38 |
% See the bottom of the file (after \endinput) for a list of |
| 39 |
% items defined. |
| 40 |
|
| 41 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 42 |
% |
| 43 |
% ***** helpful shorthand ***** |
| 44 |
% |
| 45 |
|
| 46 |
% The following allow for easier changes of category. These require that |
| 47 |
% the character be addressed as a control-sequence: e.g. \makeescape\/ will |
| 48 |
% make the / an escape character. |
| 49 |
|
| 50 |
\def\makeescape#1{\catcode`#1=0 } |
| 51 |
\def\makebgroup#1{\catcode`#1=1 } |
| 52 |
\def\makeegroup#1{\catcode`#1=2 } |
| 53 |
\def\makemath#1{\catcode`#1=3 } |
| 54 |
\def\makealign#1{\catcode`#1=4 } |
| 55 |
\def\makeeol#1{\catcode`#1=5 } |
| 56 |
\def\makeparm#1{\catcode`#1=6 } |
| 57 |
\def\makesup#1{\catcode`#1=7 } |
| 58 |
\def\makesub#1{\catcode`#1=8 } |
| 59 |
\def\makeignore#1{\catcode`#1=9 } |
| 60 |
\def\makespace#1{\catcode`#1=10 } |
| 61 |
\def\makeletter#1{\catcode`#1=11 } |
| 62 |
\def\makeother#1{\catcode`#1=12 } |
| 63 |
\def\makeactive#1{\catcode`#1=13 } |
| 64 |
\def\makecomment#1{\catcode`#1=14 } |
| 65 |
|
| 66 |
\def\makeatletter{\catcode`\@=11 } % included for historical reasons |
| 67 |
\chardef\other=12 |
| 68 |
\def\makeatother{\catcode`\@=\other} |
| 69 |
|
| 70 |
% alternative to localization |
| 71 |
\def\savecat#1{% |
| 72 |
\expandafter\xdef\csname\string#1savedcat\endcsname{\the\catcode`#1}} |
| 73 |
\def\restorecat#1{\catcode`#1=\csname\string#1savedcat\endcsname} |
| 74 |
|
| 75 |
|
| 76 |
\savecat\@ |
| 77 |
\makeletter\@ % used, as in PLAIN, in protected control sequences |
| 78 |
|
| 79 |
% for restoring meanings of global control sequences |
| 80 |
\def\SaveCS#1{% |
| 81 |
\def\scratch{\expandafter\let\csname saved@@#1\endcsname}% |
| 82 |
\expandafter\scratch\csname#1\endcsname} |
| 83 |
\def\RestoreCS#1{% |
| 84 |
\def\scratch{\expandafter\let\csname#1\endcsname}% |
| 85 |
\expandafter\scratch\csname saved@@#1\endcsname} |
| 86 |
|
| 87 |
|
| 88 |
% To distinguish between macro files loaded |
| 89 |
|
| 90 |
\def\plaintubstyle{plain} |
| 91 |
\def\latextubstyle{latex} |
| 92 |
\ifx\tugstyloaded@\undefined\let\tugstyloaded@\plaintubstyle\fi |
| 93 |
|
| 94 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 95 |
% emacs-page |
| 96 |
% ***** abbreviations and logos ***** |
| 97 |
% |
| 98 |
|
| 99 |
\def\acro#1{{\SMC #1}\spacefactor1000 } |
| 100 |
|
| 101 |
\def\AllTeX{(\La\kern-.075em)\kern-.05em\TeX} |
| 102 |
\def\AMS{American Mathematical Society} |
| 103 |
\def\AmS{{\the\textfont2 A}\kern-.1667em\lower.5ex\hbox |
| 104 |
{\the\textfont2 M}\kern-.125em{\the\textfont2 S}} |
| 105 |
\def\AmSLaTeX{\AmS-\LaTeX} |
| 106 |
\def\AmSTeX{\AmS-\TeX} |
| 107 |
\def\ANSI{\acro{ANSI}} |
| 108 |
\def\API{\acro{API}} |
| 109 |
\def\ASCII{\acro{ASCII}} |
| 110 |
\def\aw{\acro{A\kern.04em\raise.115ex\hbox{-}W}} |
| 111 |
\def\AW{Addison\kern.1em-\penalty\z@\hskip\z@skip Wesley} |
| 112 |
\def\BibTeX{{\rm B\kern-.05em{\smc i\kern-.025emb}\kern-.08em\TeX}} |
| 113 |
\def\CandT{{\sl Computers \& Typesetting}} |
| 114 |
\def\ConTeXt{C\kern-.0333emon\-\kern-.0667em\TeX\kern-.0333emt} |
| 115 |
\def\Cplusplus{C\plusplus} |
| 116 |
\def\plusplus{\raise.7ex\hbox{$_{++}$}} |
| 117 |
\def\CSS{\acro{CSS}} |
| 118 |
\def\CSabbr{$\cal C$\kern-.1667em\lower.5ex\hbox{$\cal S$}} % from opmac.tex |
| 119 |
\def\CSTUG{\CSabbr\acro{TUG}} |
| 120 |
\def\CTAN{\acro{CTAN}} |
| 121 |
\def\DTD{\acro{DTD}} |
| 122 |
\def\DVD{\acro{DVD}} |
| 123 |
\def\DVI{\acro{DVI}} |
| 124 |
\def\DVIPDFMx{\acro{DVIPDFM}$x$} |
| 125 |
\def\DVItoVDU{DVIto\kern-.12em VDU} |
| 126 |
\def\eTeX{$\varepsilon$-\kern-.125em\TeX} |
| 127 |
\def\FAQ{\acro{FAQ}} |
| 128 |
\def\FTP{\acro{FTP}} |
| 129 |
\def\GNU{\acro{GNU}} |
| 130 |
\def\GUI{\acro{GUI}} |
| 131 |
\def\Hawaii{Hawai`i} |
| 132 |
\def\HTML{\acro{HTML}} |
| 133 |
\def\HTTP{\acro{HTTP}} |
| 134 |
\def\IDE{\acro{IDE}} |
| 135 |
\def\ISBN{\acro{ISBN}} |
| 136 |
\def\ISO{\acro{ISO}} |
| 137 |
\def\ISSN{\acro{ISSN}} |
| 138 |
\def\JPEG{\acro{JPEG}} |
| 139 |
% Japanese TeX |
| 140 |
\def\JTeX{\leavevmode\hbox{\lower.5ex\hbox{J}\kern-.18em\TeX}} |
| 141 |
\def\JoT{{\sl The Joy of \TeX\/}} |
| 142 |
\def\LAMSTeX{L\raise.42ex\hbox{\kern-.3em\the\scriptfont2 A}% |
| 143 |
\kern-.2em\lower.376ex\hbox{\the\textfont2 M}\kern-.125em |
| 144 |
{\the\textfont2 S}-\TeX} |
| 145 |
% note -- \LaTeX definition is from LATEX.TEX 2.09 of 7 Jan 86, |
| 146 |
% adapted for additional flexibility in TUGboat |
| 147 |
%\def\LaTeX{\TestCount=\the\fam \leavevmode L\raise.42ex |
| 148 |
% \hbox{$\fam\TestCount\scriptstyle\kern-.3em A$}\kern-.15em\TeX} |
| 149 |
% note -- broken in two parts, to permit separate use of La, |
| 150 |
% as in (La)TeX |
| 151 |
\def\La{\TestCount=\the\fam \leavevmode L% |
| 152 |
\setbox\TestBox=\hbox{$\fam\TestCount\scriptstyle A$}% |
| 153 |
\kern-.5\wd\TestBox\raise.42ex\box\TestBox} |
| 154 |
\def\LaTeX{\La\kern-.15em\TeX} |
| 155 |
\def\LaTeXe{\LaTeX{}\kern.05em2$_{\textstyle\varepsilon}$} |
| 156 |
\def\LMTX{\acro{LMTX}} |
| 157 |
\def\LyX{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX} |
| 158 |
\def\macOS{mac\acro{OS}} |
| 159 |
\def\MacOSX{Mac\,\acro{OS\,X}} |
| 160 |
\def\MathML{Math\acro{ML}} |
| 161 |
% for Robert McGaffey |
| 162 |
\def\Mc{\setbox\TestBox=\hbox{M}M\vbox to\ht\TestBox{\hbox{c}\vfil}} |
| 163 |
\def\MF{{\manual META}\-{\manual FONT}\spacefactor1000 } |
| 164 |
\def\MP{{\manual META}\-{\manual POST}\spacefactor1000 } |
| 165 |
\def\mf{{\smc Metafont}} |
| 166 |
\def\MFB{{\sl The \slMF\kern1pt book}} |
| 167 |
% multilingual (INRS) TeX |
| 168 |
\def\mtex{T\kern-.1667em\lower.5ex\hbox{\^E}\kern-.125emX\spacefactor1000 } |
| 169 |
\def\NTStext{N\mkern-4mu \lower.5ex\hbox{$\cal T$}\mkern-2mu S} |
| 170 |
\def\NTS{{\ifmmode \cal\NTStext \else $\cal\NTStext $\fi}} |
| 171 |
\def\OMEGA{$\Omega$} |
| 172 |
\def\OCP{\OMEGA\acro{CP}} |
| 173 |
\def\OTP{\OMEGA\acro{TP}} |
| 174 |
\def\OpTeX{Op\kern-.05em\TeX} |
| 175 |
\def\Pas{Pascal} |
| 176 |
\def\pcMF{\leavevmode\raise.5ex\hbox{p\kern-.3ptc}MF\spacefactor1000 } |
| 177 |
\def\PCTeX{PC\thinspace\TeX} |
| 178 |
\def\pcTeX{\leavevmode\raise.5ex\hbox{p\kern-.3ptc}\TeX} |
| 179 |
\def\PDF{\acro{PDF}} |
| 180 |
\def\pdfLaTeX{pdf\/\-\LaTeX} |
| 181 |
\def\pdfTeX{pdf\/\-\TeX} |
| 182 |
\def\PGF{\acro{PGF}} |
| 183 |
\def\PiC{P\kern-.12em\lower.5ex\hbox{I}\kern-.075emC\spacefactor1000 } |
| 184 |
\def\PiCTeX{\PiC\kern-.11em\TeX} |
| 185 |
\def\plain{{\tt plain}} |
| 186 |
\def\PNG{\acro{PNG}} |
| 187 |
\def\POBox{P.\thinspace O.~Box } |
| 188 |
%\def\POBoxTUG{\POBox\unskip~9506, Providence, RI~02940} |
| 189 |
\def\PS{{Post\-Script}} |
| 190 |
\def\PSTricks{\acro{PST}ricks} |
| 191 |
\def\RGB{\acro{RGB}} |
| 192 |
\def\RTF{\acro{RTF}} |
| 193 |
\def\SC{Steering Committee} |
| 194 |
\def\SGML{\acro{SGML}} |
| 195 |
\def\SliTeX{{\rm S\kern-.06em{\smc l\kern-.035emi}\kern-.06em\TeX}} |
| 196 |
\def\slMF{{\manualsl META}\-{\manualsl FONT}\spacefactor1000 } |
| 197 |
% Atari ST (Klaus Guntermann) |
| 198 |
\def\SQL{\acro{SQL}} |
| 199 |
\def\stTeX{{\smc st\rm\kern-0.13em\TeX}} |
| 200 |
\def\SVG{\acro{SVG}} |
| 201 |
\def\TANGLE{{\tt TANGLE}\spacefactor1000 } |
| 202 |
\def\TB{{\sl The \TeX\-book\/}} |
| 203 |
\def\TP{{\sl \TeX:\ The Program\/}} |
| 204 |
\def\TeX{T\kern-.1667em\lower.424ex\hbox{E}\kern-.125emX\spacefactor1000 } |
| 205 |
\def\TeXhax{\TeX hax} |
| 206 |
% Don Hosek |
| 207 |
\def\TeXMaG{\TeX M\kern-.1667em\lower.5ex\hbox{A}\kern-.2267emG% |
| 208 |
\spacefactor1000 } |
| 209 |
%\def\TeXtures{\TestCount=\the\fam |
| 210 |
% \TeX\-\hbox{$\fam\TestCount\scriptstyle TURES$}} |
| 211 |
\def\TeXtures{{\it Textures}} |
| 212 |
\let\Textures=\TeXtures |
| 213 |
\def\TeXworks{\TeX\kern-.07em works} |
| 214 |
\def\TeXXeT{\TeX-{}-\XeT} |
| 215 |
\def\TFM{\acro{TFM}} |
| 216 |
\def\Thanh{H\`an~Th\^e\llap{\raise.5ex\hbox{\'{}}}~Th\`anh} |
| 217 |
\def\TIFF{\acro{TIFF}} |
| 218 |
\def\TikZ{Ti{\it k}Z} |
| 219 |
\def\ttn{{\sl TTN}\spacefactor1000 } |
| 220 |
\def\TTN{{\sl \TeX{} and TUG NEWS}\spacefactor1000 } |
| 221 |
\def\tubfont{\sl} % redefined in other situations |
| 222 |
\def\TUB{{\tubfont TUGboat\/}} |
| 223 |
\def\TUG{\TeX\ \UG} |
| 224 |
\def\tug{\acro{TUG}} |
| 225 |
\def\UG{Users Group} |
| 226 |
\def\UNIX{\acro{UNIX}} |
| 227 |
\def\UTF{\acro{UTF}} |
| 228 |
\def\VAX{V\kern-.12em A\kern-.1em X\spacefactor1000 } |
| 229 |
\def\VorTeX{V\kern-2.7pt\lower.5ex\hbox{O\kern-1.4pt R}\kern-2.6pt\TeX} |
| 230 |
\def\XeT{X\kern-.125em\lower.424ex\hbox{E}\kern-.1667emT\spacefactor1000 } |
| 231 |
\def\XML{\acro{XML}} |
| 232 |
\def\WEB{{\tt WEB}\spacefactor1000 } |
| 233 |
\def\WEAVE{{\tt WEAVE}\spacefactor1000 } |
| 234 |
% the Xe\TeX logo requires Eplain, which is not assumed here, so |
| 235 |
% the definition is omitted. |
| 236 |
\def\XHTML{\acro{XHTML}} |
| 237 |
\def\XSLT{\acro{XSLT}} |
| 238 |
|
| 239 |
%******************************************************************** |
| 240 |
|
| 241 |
\newlinechar=`\^^J |
| 242 |
\normallineskiplimit=1pt |
| 243 |
|
| 244 |
\clubpenalty=10000 |
| 245 |
\widowpenalty=10000 |
| 246 |
|
| 247 |
\def\NoParIndent{\parindent=\z@} |
| 248 |
\newdimen\normalparindent \normalparindent=20pt % plain = 20pt |
| 249 |
\def\NormalParIndent{\global\parindent=\normalparindent} |
| 250 |
\NormalParIndent |
| 251 |
|
| 252 |
\def\BlackBoxes{\overfullrule=5pt } |
| 253 |
\def\NoBlackBoxes{\overfullrule=\z@ } |
| 254 |
\def\newline{\hskip\z@ plus \pagewd \break} |
| 255 |
\def\nohyphens{\hyphenpenalty\@M\exhyphenpenalty\@M} |
| 256 |
|
| 257 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 258 |
% emacs-page |
| 259 |
% ***** utility registers and definitions ***** |
| 260 |
% |
| 261 |
|
| 262 |
% test registers for transient use; paired - internal/external |
| 263 |
\newbox\T@stBox \newbox\TestBox |
| 264 |
\newcount\T@stCount \newcount\TestCount |
| 265 |
\newdimen\T@stDimen \newdimen\TestDimen |
| 266 |
\newif\ifT@stIf \newif\ifTestIf |
| 267 |
|
| 268 |
|
| 269 |
% \cs existence test, stolen from TeXbook exercise 7.7 |
| 270 |
\def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax } |
| 271 |
|
| 272 |
% LaTeX conventions which are also useful here. |
| 273 |
\ifx\tugstyloaded@\plaintubstyle |
| 274 |
\let\@@input\input |
| 275 |
\def\iinput#1{\@@input#1 } |
| 276 |
\def\tub@inputcheck{\if\@nextchar\bgroup |
| 277 |
\expandafter\iinput\else\expandafter\@@input\fi} |
| 278 |
\def\input{\futurelet\@nextchar\tub@inputcheck} |
| 279 |
\def\@{\spacefactor=1000 } |
| 280 |
\fi |
| 281 |
|
| 282 |
% Smashes repeated from AMS-TeX; PLAIN implements only full \smash . |
| 283 |
\newif\iftop@ \newif\ifbot@ |
| 284 |
\def\topsmash{\top@true\bot@false\smash@} |
| 285 |
\def\botsmash{\top@false\bot@true\smash@} |
| 286 |
\def\smash{\top@true\bot@true\smash@} |
| 287 |
\def\smash@{\relax\ifmmode\def\next{\mathpalette\mathsm@sh}% |
| 288 |
\else\let\next\makesm@sh\fi \next } |
| 289 |
\def\finsm@sh{\iftop@\ht\z@\z@\fi\ifbot@\dp\z@\z@\fi\box\z@} |
| 290 |
|
| 291 |
|
| 292 |
% Vertical `laps'; cf. \llap and \rlap |
| 293 |
\long\def\ulap#1{\vbox to \z@{\vss#1}} |
| 294 |
\long\def\dlap#1{\vbox to \z@{#1\vss}} |
| 295 |
|
| 296 |
% And centered horizontal and vertical `laps' |
| 297 |
\def\xlap#1{\hbox to \z@{\hss#1\hss}} |
| 298 |
\long\def\ylap#1{\vbox to \z@{\vss#1\vss}} |
| 299 |
\long\def\zlap#1{\ylap{\xlap{#1}}} |
| 300 |
|
| 301 |
|
| 302 |
% Avoid unwanted vertical glue when making up pages. |
| 303 |
\def\basezero{\baselineskip\z@skip \lineskip\z@skip} |
| 304 |
|
| 305 |
|
| 306 |
% Empty rules for special occasions |
| 307 |
\def\nullhrule{\hrule height\z@ depth\z@ width\z@ } |
| 308 |
\def\nullvrule{\vrule height\z@ depth\z@ width\z@ } |
| 309 |
|
| 310 |
% Support ad-hoc strut construction. |
| 311 |
\def\makestrut[#1;#2]{\vrule height#1 depth#2 width\z@ } |
| 312 |
|
| 313 |
% Construct box for figure pasteup, etc. |
| 314 |
% height = #1, width = #2, rule thickness = #3 |
| 315 |
\def\drawoutlinebox[#1;#2;#3]{\T@stDimen=#3 |
| 316 |
\vbox to#1{\hrule height\T@stDimen depth\z@ |
| 317 |
\vss\hbox to#2{\vrule width\T@stDimen |
| 318 |
\hfil\makestrut[#1;\z@]% |
| 319 |
\vrule width\T@stDimen}\vss |
| 320 |
\hrule height\T@stDimen depth\z@}} |
| 321 |
|
| 322 |
|
| 323 |
% Today's date, to be printed on drafts. Based on TeXbook, p.406. |
| 324 |
|
| 325 |
\def\today{\number\day\space \ifcase\month\or |
| 326 |
Jan \or Feb \or Mar \or Apr \or May \or Jun \or |
| 327 |
Jul \or Aug \or Sep \or Oct \or Nov \or Dec \fi |
| 328 |
\number\year} |
| 329 |
|
| 330 |
% Current time; this may be system dependent! |
| 331 |
\newcount\hours |
| 332 |
\newcount\minutes |
| 333 |
\def\SetTime{\hours=\time |
| 334 |
\global\divide\hours by 60 |
| 335 |
\minutes=\hours |
| 336 |
\multiply\minutes by 60 |
| 337 |
\advance\minutes by-\time |
| 338 |
\global\multiply\minutes by-1 } |
| 339 |
\SetTime |
| 340 |
\def\now{\number\hours:\ifnum\minutes<10 0\fi\number\minutes} |
| 341 |
|
| 342 |
\def\Now{\today\ \now} |
| 343 |
|
| 344 |
\newif\ifPrelimDraft \PrelimDraftfalse |
| 345 |
|
| 346 |
\def\midrtitle{\ifPrelimDraft {{\tensl preliminary draft, \Now}}\fi} |
| 347 |
|
| 348 |
% Section heads. The following set of macros is used to set the large |
| 349 |
% TUGboat section heads (e.g. "General Delivery", "Fonts", etc.) |
| 350 |
|
| 351 |
\newdimen\PreTitleDrop \PreTitleDrop=\z@ |
| 352 |
|
| 353 |
\newskip\AboveTitleSkip \AboveTitleSkip=12pt |
| 354 |
\newskip\BelowTitleSkip \BelowTitleSkip=8pt |
| 355 |
|
| 356 |
\newdimen\strulethickness \strulethickness=.6pt |
| 357 |
\def\sthrule{\hrule height\strulethickness depth \z@ } |
| 358 |
\def\stvrule{\vrule width\strulethickness } |
| 359 |
|
| 360 |
\newdimen\stbaselineskip \stbaselineskip=18pt |
| 361 |
|
| 362 |
\def\@sectitle #1{% |
| 363 |
\par \SecTitletrue |
| 364 |
\penalty-1000 |
| 365 |
\secsep |
| 366 |
\vbox{ |
| 367 |
\sthrule |
| 368 |
\hbox{% |
| 369 |
\stvrule |
| 370 |
\vbox{ |
| 371 |
\advance\hsize by -2\strulethickness |
| 372 |
\raggedcenter |
| 373 |
\def\\{\unskip\break}% |
| 374 |
\sectitlefont |
| 375 |
\makestrut[2\stfontheight;\z@] |
| 376 |
#1\unskip |
| 377 |
\makestrut[\z@;\stfontheight]\endgraf |
| 378 |
}% |
| 379 |
\stvrule } |
| 380 |
\sthrule } |
| 381 |
\nobreak |
| 382 |
\vskip\baselineskip } |
| 383 |
|
| 384 |
% distance between articles which are run together |
| 385 |
\def\secsep{\vskip 5\baselineskip} |
| 386 |
|
| 387 |
\newif\ifSecTitle |
| 388 |
\SecTitlefalse |
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
% Registration marks; permit them to be invisible |
| 393 |
|
| 394 |
\newdimen\RegRuleThickness \RegRuleThickness=0.2pt |
| 395 |
|
| 396 |
\def\HorzR@gisterRule{\vrule height\RegRuleThickness depth \z@ width 0.5in } |
| 397 |
\def\DownShortR@gisterRule{% |
| 398 |
\vrule height 0.2pt depth 1pc width\RegRuleThickness } |
| 399 |
\def\UpShortR@gisterRule{\vrule height 1pc depth \z@ width\RegRuleThickness } |
| 400 |
|
| 401 |
|
| 402 |
% ``T'' marks centered on top and bottom edges of paper |
| 403 |
|
| 404 |
\def\ttopregister{\dlap{% |
| 405 |
\hbox to \trimwd{\HorzR@gisterRule \hfil \HorzR@gisterRule |
| 406 |
\HorzR@gisterRule \hfil \HorzR@gisterRule}% |
| 407 |
\hbox to \trimwd{\hfil \DownShortR@gisterRule \hfil}}} |
| 408 |
\def\tbotregister{\ulap{% |
| 409 |
\hbox to \trimwd{\hfil \UpShortR@gisterRule \hfil}% |
| 410 |
\hbox to \trimwd{\HorzR@gisterRule \hfil \HorzR@gisterRule |
| 411 |
\HorzR@gisterRule \hfil \HorzR@gisterRule}}} |
| 412 |
|
| 413 |
\def\topregister{\ttopregister} |
| 414 |
\def\botregister{\tbotregister} |
| 415 |
|
| 416 |
|
| 417 |
|
| 418 |
% PLAIN's definition of \raggedright doesn't permit any stretch, and |
| 419 |
% results in too many overfull boxes. We also turn off hyphenation. |
| 420 |
\newdimen\raggedskip \raggedskip=\z@ |
| 421 |
\newdimen\raggedstretch \raggedstretch=5em % ems of font set now (10pt) |
| 422 |
\newskip\raggedparfill \raggedparfill=\z@ plus 1fil |
| 423 |
|
| 424 |
\def\raggedspaces{\spaceskip=.3333em \relax \xspaceskip=.5em \relax } |
| 425 |
% Some applications may have to add stretch, in order to avoid |
| 426 |
% all overfull boxes. |
| 427 |
|
| 428 |
\def\raggedright{% |
| 429 |
\nohyphens |
| 430 |
\rightskip=\raggedskip plus\raggedstretch \raggedspaces |
| 431 |
\parfillskip=\raggedparfill } |
| 432 |
\def\raggedleft{% |
| 433 |
\nohyphens |
| 434 |
\leftskip=\raggedskip plus\raggedstretch \raggedspaces |
| 435 |
\parfillskip=\z@skip } |
| 436 |
\def\raggedcenter{% |
| 437 |
\nohyphens |
| 438 |
\leftskip=\raggedskip plus\raggedstretch |
| 439 |
\rightskip=\leftskip \raggedspaces |
| 440 |
\parindent=\z@ \parfillskip=\z@skip } |
| 441 |
|
| 442 |
\def\normalspaces{\spaceskip\z@skip \xspaceskip\z@skip } |
| 443 |
|
| 444 |
|
| 445 |
% Miscellaneous useful stuff |
| 446 |
|
| 447 |
\def\,{\relax\ifmmode\mskip\thinmuskip\else\thinspace\fi} |
| 448 |
|
| 449 |
%\def~{\penalty\@M \ } % tie -- this is PLAIN value; it is reset in AMS-TeX |
| 450 |
\def~{\unskip\nobreak\ \ignorespaces} % AMS-TeX value |
| 451 |
|
| 452 |
\def\newbox{\alloc@4\box\chardef\insc@unt} % remove \outer |
| 453 |
\def\boxcs#1{\box\csname#1\endcsname} |
| 454 |
\def\setboxcs#1{\setbox\csname#1\endcsname} |
| 455 |
\def\newboxcs#1{\expandafter\newbox\csname#1\endcsname} |
| 456 |
|
| 457 |
\long\def\gobble#1{} |
| 458 |
|
| 459 |
\def\vellipsis{% |
| 460 |
\leavevmode\kern0.5em |
| 461 |
\raise1pt\vbox{\baselineskip6pt\vskip7pt\hbox{.}\hbox{.}\hbox{.}} |
| 462 |
} |
| 463 |
|
| 464 |
\def\bull{\vrule height 1ex width .8ex depth -.2ex } % square bullet |
| 465 |
\def\cents{{\rm\raise.2ex\rlap{\kern.05em$\scriptstyle/$}c}} |
| 466 |
\def\cs#1{{\tt \char`\\#1}} |
| 467 |
\def\Dag{\raise .6ex\hbox{$\scriptstyle\dagger$}} |
| 468 |
|
| 469 |
\def\careof{\leavevmode\hbox{\raise.75ex\hbox{c}\kern-.15em |
| 470 |
/\kern-.125em\smash{\lower.3ex\hbox{o}}} \ignorespaces} |
| 471 |
\def\sfrac#1/#2{\leavevmode\kern.1em |
| 472 |
\raise.5ex\hbox{\the\scriptfont\z@ #1}\kern-.1em |
| 473 |
/\kern-.15em\lower.25ex\hbox{\the\scriptfont\z@ #2}} |
| 474 |
\def\meta#1{$\langle${\it #1\/}$\rangle$} |
| 475 |
\def\thinskip{\hskip 0.16667em\relax} |
| 476 |
\def\endash{--} |
| 477 |
\def\emdash{\endash-} |
| 478 |
\def\d@sh#1#2{\unskip#1\thinskip#2\thinskip\ignorespaces} |
| 479 |
\def\dash{\d@sh\nobreak\endash} |
| 480 |
\def\Dash{\d@sh\nobreak\emdash} |
| 481 |
\def\ldash{\d@sh\empty{\hbox{\endash}\nobreak}} |
| 482 |
\def\rdash{\d@sh\nobreak\endash} |
| 483 |
\def\Ldash{\d@sh\empty{\hbox{\emdash}\nobreak}} |
| 484 |
\def\Rdash{\d@sh\nobreak\emdash} |
| 485 |
|
| 486 |
% Hack to permit automatic hyphenation after an actual hyphen. |
| 487 |
|
| 488 |
\def\hyph{-\penalty\z@\hskip\z@skip } |
| 489 |
|
| 490 |
\def\slash{/\penalty\z@\hskip\z@skip } % "breakable" slash |
| 491 |
|
| 492 |
\def\tbcode#1{\hbox{\tt #1}} % literal text |
| 493 |
\def\tbcodebreak{\nolinkurl} % assume url.sty has been loaded |
| 494 |
|
| 495 |
% live urls with pdf. |
| 496 |
\def\tbsurl#1{\tbhref{https://#1}{\tt #1}} |
| 497 |
\def\tbhurl#1{\tbhref{http://#1}{\tt #1}} |
| 498 |
\def\tbmailto#1{\tbhref{mailto:#1}{\tt #1}} |
| 499 |
% |
| 500 |
\ifx\pdfstartlink\undefined |
| 501 |
% \tbhref args: #1=url, #2=link text. |
| 502 |
\def\tbhref#1#2{{#2}}% not pdftex, just print the text (in a group). |
| 503 |
\else % pdftex: |
| 504 |
\def\tbhref#1#2{% |
| 505 |
\leavevmode % since \pdfstartlink cannot be used in vertical mode |
| 506 |
\pdfstartlink |
| 507 |
attr{/Border [0 0 0]}% |
| 508 |
user{/Subtype /Link /A << /S /URI /URI (#1) >>}% |
| 509 |
{#2}\pdfendlink |
| 510 |
} |
| 511 |
\fi % pdftex |
| 512 |
|
| 513 |
% Adapted from c.t.t posting by Donald Arseneau, 26 May 93. |
| 514 |
\def\nth#1{\TestCount=#1\relax |
| 515 |
\ifnum\TestCount <0 \multiply\TestCount by\m@ne \fi % subdue negatives |
| 516 |
\T@stCount=\TestCount |
| 517 |
\divide\T@stCount by 100 \multiply\T@stCount by 100 |
| 518 |
\advance\TestCount by-\T@stCount % n mod 100 |
| 519 |
\ifnum\TestCount >20 \T@stCount=\TestCount |
| 520 |
\divide\T@stCount by 10 \multiply\T@stCount by 10 |
| 521 |
\advance\TestCount by-\T@stCount % n mod 10 |
| 522 |
\fi |
| 523 |
\T@stCount=\the\fam\relax |
| 524 |
$\fam\T@stCount#1^{\fam\T@stCount |
| 525 |
\ifcase\TestCount th% 0th |
| 526 |
\or st% 1st |
| 527 |
\or nd% 2nd |
| 528 |
\or rd% 3rd |
| 529 |
\else th% nth |
| 530 |
\fi |
| 531 |
}$} |
| 532 |
|
| 533 |
|
| 534 |
% Format information on reviewed items for book review articles. |
| 535 |
|
| 536 |
\def\Review:#1{\ifx[#1\@Rev[% |
| 537 |
\else Book review:\enspace\sl #1% |
| 538 |
\fi |
| 539 |
} |
| 540 |
\def\@Rev[#1]{\ignorespaces#1\unskip:\enspace\ignorespaces\sl} |
| 541 |
\def\reviewitem{% |
| 542 |
\def\revauth##1{\def\therevauth{##1, }\ignorespaces}% |
| 543 |
\def\revtitle##1{\def\therevtitle{{\sl##1}. }\ignorespaces}% |
| 544 |
\def\revpubinfo##1{\def\therevpubinfo{##1.}\ignorespaces}% |
| 545 |
} |
| 546 |
\def\endreviewitem{{\noindent\interlinepenalty=10000 |
| 547 |
\therevauth\therevtitle\therevpubinfo\endgraf}% |
| 548 |
\vskip\medskipamount |
| 549 |
\ifx\tugstyloaded@\plaintubstyle |
| 550 |
\DeleteOptionalSpacesandPars{\noindent\ignorespaces}% |
| 551 |
\fi |
| 552 |
} |
| 553 |
|
| 554 |
\def\booktitle#1{{\sl #1\/}} |
| 555 |
|
| 556 |
|
| 557 |
% Dates and other items which identify the volume and issue |
| 558 |
|
| 559 |
% To use: \vol 5, 2. |
| 560 |
% \issdate October 1984. |
| 561 |
% \issueseqno=10 |
| 562 |
% For production, these are set in a separate file, TUGBOT.DATES, |
| 563 |
% which is issue-specific. |
| 564 |
|
| 565 |
\newcount\issueseqno \issueseqno=-1 |
| 566 |
|
| 567 |
\def\v@lx{\gdef\volx{Volume~\volno~(\volyr), No.~\issno}} |
| 568 |
\def\volyr{} |
| 569 |
\def\volno{} |
| 570 |
\def\vol #1, #2.{\gdef\volno{#1\unskip}% |
| 571 |
\gdef\issno{\ignorespaces#2\unskip}% |
| 572 |
% just the numbers: |
| 573 |
\gdef\volnumber{#1}% |
| 574 |
\gdef\issnumber{#2}% |
| 575 |
\gdef\tbissident{\volnumber-\issnumber}% VV-n, for dois and urls |
| 576 |
% |
| 577 |
\setbox\TestBox=\hbox{\volyr}% |
| 578 |
\ifdim \wd\TestBox > .2em \v@lx \fi } |
| 579 |
|
| 580 |
% Original issue date included month and year. |
| 581 |
\def\issdate #1#2 #3.{\gdef\issdt{#1#2 #3}\gdef\volyr{#3}% |
| 582 |
\gdef\bigissdt{#1{\smc\uppercase{#2}} #3}% |
| 583 |
\setbox\TestBox=\hbox{\volno}% |
| 584 |
\ifdim \wd\TestBox > .2em \v@lx \fi } |
| 585 |
% Beginning in 2002, only year |
| 586 |
\def\issyear #1.{\gdef\issdt{#1}\gdef\volyr{#1}% |
| 587 |
\gdef\bigissdt{#1}% |
| 588 |
\setbox\TestBox=\hbox{\volno}% |
| 589 |
\ifdim \wd\TestBox > .2em \v@lx \fi } |
| 590 |
|
| 591 |
\vol 0, 0. % volume, issue. |
| 592 |
\issdate Thermidor, 2001. % month, year of publication |
| 593 |
|
| 594 |
|
| 595 |
\ifx\tugstyloaded@\plaintubstyle |
| 596 |
\def\tubissue#1(#2){\TUB~#1, no.~#2} |
| 597 |
\else |
| 598 |
\def\tubissue#1#2{\TUB~#1, no.~#2} |
| 599 |
\fi |
| 600 |
|
| 601 |
\def\xEdNote{{\tenuit Editor's note:\enspace }} |
| 602 |
|
| 603 |
|
| 604 |
% TUGboat conventions include the issue number in the file name. |
| 605 |
% Permit this to be incorporated into file names automatically. |
| 606 |
% If issue number = 11, \Input filnam will read tb11filnam.tex. |
| 607 |
|
| 608 |
|
| 609 |
\def\infil@{\jobname} |
| 610 |
\def\Input #1 {\ifnum\issueseqno<0 \def\infil@{#1}% |
| 611 |
\else \def\infil@{tb\number\issueseqno#1}\fi |
| 612 |
\edef\jobname{\infil@}\@readFLN |
| 613 |
\@@input \infil@\relax |
| 614 |
\ifRMKopen\immediate\closeout\TBremarkfile\RMKopenfalse\fi} |
| 615 |
|
| 616 |
\newif\ifRMKopen \RMKopenfalse |
| 617 |
\newwrite\TBremarkfile |
| 618 |
\def\TBremarkON#1{% |
| 619 |
\ifRMKopen\else\RMKopentrue\immediate\openout\TBremarkfile=\[email protected] \fi |
| 620 |
\toks@={#1}% |
| 621 |
\immediate\write\TBremarkfile{^^J\the\toks@}% |
| 622 |
\immediate\write16{^^JTBremark:: \the\toks@^^J}} |
| 623 |
\def\TBremarkOFF#1{} |
| 624 |
\let\TBremark=\TBremarkOFF |
| 625 |
|
| 626 |
% for marking locations in articles that pertain to remarks |
| 627 |
% in another file of editorial comments |
| 628 |
\def\TUBedit#1{} |
| 629 |
|
| 630 |
% for using different filenames in Providence than those supplied |
| 631 |
% by authors |
| 632 |
|
| 633 |
\def\TUBfilename#1#2{\expandafter\def\csname file@@#1\endcsname{#2}} |
| 634 |
\newread\@altfilenames |
| 635 |
\def\@readFLN{\openin\@altfilenames=\jobname.fln |
| 636 |
\ifeof\@altfilenames\let\@result\relax\else |
| 637 |
\def\@result{\@@input\jobname.fln }\fi |
| 638 |
\closein\@altfilenames |
| 639 |
\@result} |
| 640 |
\@readFLN |
| 641 |
\everyjob=\expandafter{\the\everyjob\@readFLN} |
| 642 |
|
| 643 |
% Following needs to work entirely in TeX's mouth |
| 644 |
\def\@tubfilename#1{\expandafter\ifx\csname file@@#1\endcsname\relax |
| 645 |
#1\else\csname file@@#1\endcsname\fi} |
| 646 |
|
| 647 |
\def\fileinput#1{\@@input\@tubfilename{#1} } |
| 648 |
|
| 649 |
% Write out (both to a file and to the log) the starting page number |
| 650 |
% of an article, to be used for cross references and in contents. |
| 651 |
% \pagexref is used for articles fully processed in the TUGboat run. |
| 652 |
% \PageXref is used for "extra" pages, where an item is submitted |
| 653 |
% as camera copy, and only running heads (at most) are run. |
| 654 |
|
| 655 |
\ifx\tugstyloaded@\plaintubstyle |
| 656 |
\def\pagexrefON#1{% |
| 657 |
\write-1{\def\expandafter\noexpand\csname#1\endcsname{\number\pageno}}% |
| 658 |
\write\ppoutfile{% |
| 659 |
\def\expandafter\noexpand\csname#1\endcsname{\number\pageno}}% |
| 660 |
} |
| 661 |
\def\PageXrefON#1{% |
| 662 |
\immediate\write-1{\def\expandafter |
| 663 |
\noexpand\csname#1\endcsname{\number\pageno}}% |
| 664 |
\immediate\write\ppoutfile{\def\expandafter |
| 665 |
\noexpand\csname#1\endcsname{\number\pageno}}} |
| 666 |
\else |
| 667 |
\def\pagexrefON#1{% |
| 668 |
\write-1{\def\expandafter\noexpand\csname#1\endcsname{\number\c@page}}% |
| 669 |
\write\ppoutfile{% |
| 670 |
\def\expandafter\noexpand\csname#1\endcsname{\number\c@page}}% |
| 671 |
} |
| 672 |
\def\PageXrefON#1{% |
| 673 |
\immediate\write-1{\def\expandafter |
| 674 |
\noexpand\csname#1\endcsname{\number\c@page}}% |
| 675 |
\immediate\write\ppoutfile{\def\expandafter |
| 676 |
\noexpand\csname#1\endcsname{\number\c@page}}} |
| 677 |
\fi |
| 678 |
|
| 679 |
\def\pagexrefOFF#1{} |
| 680 |
\let\pagexref=\pagexrefOFF |
| 681 |
\def\PageXrefOFF#1{} |
| 682 |
\let\PageXref=\PageXrefOFF |
| 683 |
|
| 684 |
\def\xreftoON#1{% |
| 685 |
\ifundefined{#1}% |
| 686 |
???\TBremark{Need cross reference for #1.}% |
| 687 |
\else\csname#1\endcsname\fi} |
| 688 |
\def\xreftoOFF#1{???} |
| 689 |
\let\xrefto=\xreftoOFF |
| 690 |
|
| 691 |
\def\TBdriver#1{} |
| 692 |
|
| 693 |
|
| 694 |
% Authors, addresses, signatures |
| 695 |
|
| 696 |
\def\theauthor#1{\csname theauthor#1\endcsname} |
| 697 |
\def\theaddress#1{\csname theaddress#1\endcsname} |
| 698 |
\def\thenetaddress#1{\csname thenetaddress#1\endcsname} |
| 699 |
|
| 700 |
\newcount\count@@ |
| 701 |
\def\@defaultauthorlist{% % standard way of listing authors |
| 702 |
\count@=\authornumber |
| 703 |
\advance\count@ by -2 |
| 704 |
\count@@=0 |
| 705 |
\loop |
| 706 |
\ifnum\count@>0 |
| 707 |
\advance\count@@ by 1 |
| 708 |
\ignorespaces\csname theauthor\number\count@@\endcsname\unskip, |
| 709 |
\advance\count@ by -1 |
| 710 |
\repeat |
| 711 |
\count@=\authornumber |
| 712 |
\advance\count@ by -\count@@ |
| 713 |
\ifnum\authornumber>0 |
| 714 |
\ifnum\count@>1 |
| 715 |
\count@=\authornumber |
| 716 |
\advance\count@ by -1 |
| 717 |
\ignorespaces\csname theauthor\number\count@\endcsname\unskip\ and |
| 718 |
\fi |
| 719 |
\ignorespaces\csname theauthor\number\authornumber\endcsname\unskip |
| 720 |
\fi |
| 721 |
} |
| 722 |
|
| 723 |
\def\signature#1{\def\@signature{#1}} |
| 724 |
\def\@signature{\@defaultsignature} |
| 725 |
|
| 726 |
\def\@defaultsignature{% |
| 727 |
\count@=0 |
| 728 |
\loop |
| 729 |
\ifnum\count@<\authornumber |
| 730 |
\medskip |
| 731 |
\advance\count@ by \@ne |
| 732 |
\signaturemark |
| 733 |
\theauthor{\number\count@}\\ |
| 734 |
\leavevmode\theaddress{\number\count@}\\ |
| 735 |
\leavevmode\thenetaddress{\number\count@}\\ |
| 736 |
\repeat |
| 737 |
} |
| 738 |
|
| 739 |
\newdimen\signaturewidth \signaturewidth=12pc |
| 740 |
\def\makesignature{% |
| 741 |
\par |
| 742 |
\penalty9000 |
| 743 |
\vskip\medskipamount |
| 744 |
\rightline{% |
| 745 |
\vbox{\hsize\signaturewidth \ninepoint \raggedright |
| 746 |
\parindent \z@ \everypar={\hangindent 1pc } |
| 747 |
\parskip \z@skip |
| 748 |
\netaddrat |
| 749 |
\netaddrpercent |
| 750 |
\def\|{\unskip\hfil\break}% |
| 751 |
\def\\{\endgraf}% |
| 752 |
\def\net{\tt}% |
| 753 |
\def\phone{\rm Phone: } \rm |
| 754 |
\@signature}} |
| 755 |
} |
| 756 |
|
| 757 |
{\makeactive\@ |
| 758 |
\gdef\signatureat{\makeactive\@\def@{\char"40\discretionary{}{}{}}} |
| 759 |
\makeactive\% |
| 760 |
\gdef\signaturepercent{\makeactive\%\def%{\char"25\discretionary{}{}{}}} |
| 761 |
} |
| 762 |
|
| 763 |
\def\signaturemark{\leavevmode\llap{$\diamond$\enspace}} |
| 764 |
|
| 765 |
% emacs-page |
| 766 |
% Some hyphenation exceptions, plus read our entire |
| 767 |
% ushyphex.tex file if present -- unless \tubomithyphenations |
| 768 |
% is defined, in which case do nothing (needed for tb*hyf.tex). |
| 769 |
\ifx\tubomithyphenations\@thisisundefined |
| 770 |
\openin\@altfilenames=ushyphex.tex |
| 771 |
\ifeof\@altfilenames\else\input ushyphex.tex \fi |
| 772 |
% now a selected list, historically used before we input ushyphex. |
| 773 |
\hyphenation{Del-a-ware Dijk-stra Duane Eijk-hout |
| 774 |
Flor-i-da Free-BSD Ghost-script |
| 775 |
Hara-lam-bous Jac-kow-ski Ja-pa-nese Karls-ruhe Lua-Meta |
| 776 |
Mac-OS Math-Sci-Net |
| 777 |
Net-BSD Open-BSD Open-Office |
| 778 |
Post-Script Rich-ard Skoup South-all |
| 779 |
Vieth VM-ware Win-Edt |
| 780 |
acro-nym acro-nyms analy-sis ap-pen-di-ces ap-pen-dix asyn-chro-nous |
| 781 |
bib-lio-graph-i-cal bit-map bit-mapped bit-maps buf-fer buf-fers bool-ean |
| 782 |
col-umns com-put-able com-put-abil-ity |
| 783 |
data-base data-bases |
| 784 |
de-allo-cate de-allo-cates de-allo-cated de-allo-ca-tion |
| 785 |
de-riv-a-tive de-riv-a-tives de-riv-a-ble der-i-va-tion dis-trib-ut-able |
| 786 |
es-sence |
| 787 |
fall-ing |
| 788 |
half-way |
| 789 |
in-fra-struc-ture |
| 790 |
key-note |
| 791 |
long-est |
| 792 |
ma-gyar man-u-script man-u-scripts meta-table meta-tables |
| 793 |
mne-mon-ic mne-mon-ics mono-space mono-spaced |
| 794 |
name-space name-spaces |
| 795 |
off-line over-view |
| 796 |
pal-ettes par-a-digm par-a-dig-matic par-a-digms |
| 797 |
pipe-line pipe-lines |
| 798 |
plug-in plug-ins pres-ent-ly pro-gram-mable |
| 799 |
re-allo-cate re-allo-cates re-allo-cated re-printed |
| 800 |
set-ups se-vere-ly spell-ing spell-ings stand-alone strong-est |
| 801 |
sub-ex-pres-sion sub-tables sur-gery syn-chro-ni-city syn-chro-nous |
| 802 |
text-height text-length text-width |
| 803 |
time-stamp time-stamped time-stamps |
| 804 |
vis-ual vis-ual-ly |
| 805 |
which-ever white-space white-spaces wide-spread wrap-around |
| 806 |
} |
| 807 |
\fi |
| 808 |
|
| 809 |
\restorecat\@ |
| 810 |
|
| 811 |
\let\tugboatcmn = t % so we can avoid being read twice. |
| 812 |
|
| 813 |
\endinput |
| 814 |
|
| 815 |
|
| 816 |
% ************************************************************************* |
| 817 |
|
| 818 |
Contents and Notes |
| 819 |
------------------ |
| 820 |
|
| 821 |
\makeescape, ..., \makecomment allow users to change category |
| 822 |
codes a little more easily. |
| 823 |
|
| 824 |
\savecat#1 and \restorecat#1 will save and restore the category |
| 825 |
of a given character. These are useful in cases where one doesn't |
| 826 |
wish to localize the settings and therefore be required to globally |
| 827 |
define or set things. |
| 828 |
|
| 829 |
\SaveCS#1 and \RestoreCS#1 save and restore `meanings' of control |
| 830 |
sequences. Again this is useful in cases where one doesn't want to |
| 831 |
localize or where global definitions clobber a control sequence which |
| 832 |
is needed later with its `old' definition. |
| 833 |
|
| 834 |
Abbreviations. Just a listing with indications of expansion where |
| 835 |
that may not be obvious. For full definitions, see real code above. |
| 836 |
|
| 837 |
\AllTeX (\La)\TeX |
| 838 |
\AMS American Mathematical Society |
| 839 |
\AmSLaTeX |
| 840 |
\AmSTeX |
| 841 |
\ANSI |
| 842 |
\ASCII |
| 843 |
\aw A-W (abbreviation for Addison-Wesley) |
| 844 |
\AW Addison-Wesley |
| 845 |
\BibTeX |
| 846 |
\CandT Computers \& Typesetting |
| 847 |
\ConTeXt |
| 848 |
\Cplusplus C++ |
| 849 |
\CSS |
| 850 |
\CTAN |
| 851 |
\DTD |
| 852 |
\DVD |
| 853 |
\DVI |
| 854 |
\DVIPDFMx |
| 855 |
\DVItoVDU |
| 856 |
\eTeX |
| 857 |
\FAQ |
| 858 |
\FTP |
| 859 |
\GNU |
| 860 |
\GUI |
| 861 |
\Hawaii Hawai`i |
| 862 |
\HTML HTML |
| 863 |
\HTTP |
| 864 |
\ISBN ISBN |
| 865 |
\ISO |
| 866 |
\ISSN |
| 867 |
\JPEG |
| 868 |
\JTeX |
| 869 |
\JoT The Joy of \TeX |
| 870 |
\LAMSTeX |
| 871 |
\LaTeX |
| 872 |
\LaTeXe |
| 873 |
\MacOSX Mac OS X |
| 874 |
\MathML |
| 875 |
\Mc M ``w/ raised c'' |
| 876 |
\MF METAFONT |
| 877 |
\mf Metafont (using small caps) |
| 878 |
\MFB The Metafont book |
| 879 |
\MP METAPOST |
| 880 |
\mtex multilingual TeX |
| 881 |
\NTS |
| 882 |
\OMEGA |
| 883 |
\OCP \Omega CP |
| 884 |
\OTP \Omega TP |
| 885 |
\Pas Pascal |
| 886 |
\pcMF pcMF |
| 887 |
\PCTeX |
| 888 |
\pcTeX |
| 889 |
\PDF PDF |
| 890 |
\PiCTeX |
| 891 |
\plain plain (in typewriter font) |
| 892 |
\PNG |
| 893 |
\POBox P. O. Box |
| 894 |
\POBoxTUG TUG PO Box |
| 895 |
\PS PostScript |
| 896 |
\RTF |
| 897 |
\SC Steering Committee |
| 898 |
\SGML SGML |
| 899 |
\SliTeX |
| 900 |
\slMF Metafont (slanted) |
| 901 |
\stTeX TeX for the Atari ST |
| 902 |
\SVG |
| 903 |
\TANGLE |
| 904 |
\TB The \TeX book |
| 905 |
\TP \TeX the Program |
| 906 |
\TeX |
| 907 |
\TeXhax |
| 908 |
\TeXMaG |
| 909 |
\TeXtures |
| 910 |
\Textures |
| 911 |
\TeXXeT |
| 912 |
\TFM |
| 913 |
\Thanh Han The Thanh |
| 914 |
\TIFF |
| 915 |
\ttn TTN |
| 916 |
\TTN \TeX and TUG News |
| 917 |
\TUB TUGboat |
| 918 |
\TUG TeX Users Group |
| 919 |
\tug |
| 920 |
\UG Users Group |
| 921 |
\UNIX |
| 922 |
\UTF |
| 923 |
\VAX |
| 924 |
\VorTeX |
| 925 |
\XeT |
| 926 |
\XML |
| 927 |
\WEB |
| 928 |
\WEAVE |
| 929 |
\XHTML |
| 930 |
\XSLT |
| 931 |
|
| 932 |
\NoBlackBoxes turns off marginal rules marking overfull boxes |
| 933 |
\BlackBoxes turns them back on |
| 934 |
\newline horizontal glue plus a break |
| 935 |
|
| 936 |
\ifundefined#1 checks argument with \csname against \relax |
| 937 |
|
| 938 |
\topsmash smashes above baseline (from AMSTeX) |
| 939 |
\botsmash smashes below baseline (from AMSTeX) |
| 940 |
\smash smashes both (from plain) |
| 941 |
|
| 942 |
\ulap lap upwards |
| 943 |
\dlap lap downwards |
| 944 |
\xlap reference point at center horizontally; 0 width |
| 945 |
\ylap reference point at center vertically; 0 height, depth |
| 946 |
\zlap combination \xlap and \ylap |
| 947 |
|
| 948 |
\basezero to avoid insertion of baselineskip and lineskip glue |
| 949 |
|
| 950 |
\nullhrule empty \hrule |
| 951 |
\nullvrule empty \vrule |
| 952 |
|
| 953 |
\makestrut[#1;#2] ad hoc struts; #1=height, #2=depth |
| 954 |
|
| 955 |
\today today's date |
| 956 |
\SetTime converts \time to hours, minutes |
| 957 |
\now displays time in hours and minutes |
| 958 |
\Now shows current date and time |
| 959 |
|
| 960 |
\ifPrelimDraft flag to indicate status as preliminary draft |
| 961 |
|
| 962 |
\rtitlex TUGboat volume and number info for running head |
| 963 |
\midrtitle information for center of running head |
| 964 |
|
| 965 |
\HorzR@gisterRule pieces of registration marks ("trimmarks") |
| 966 |
\DownShortR@gisterRule |
| 967 |
\UpShortR@gisterRule |
| 968 |
|
| 969 |
\ttopregister top registration line with `T' in center |
| 970 |
\tbotregister bottom registration line with inverted `T' in center |
| 971 |
\topregister register actually used |
| 972 |
\botregister |
| 973 |
|
| 974 |
|
| 975 |
\raggedskip parameters used for ragged settings |
| 976 |
\raggedstretch |
| 977 |
\raggedparfill |
| 978 |
\raggedspaces |
| 979 |
|
| 980 |
\raggedright |
| 981 |
\raggedleft |
| 982 |
\raggedcenter |
| 983 |
\normalspaces |
| 984 |
\raggedbottom |
| 985 |
|
| 986 |
\bull square bullet |
| 987 |
\cents ``cents'' sign |
| 988 |
\Dag superscripted dagger |
| 989 |
\careof c/o |
| 990 |
\sfrac slashed fraction |
| 991 |
|
| 992 |
\dash en-dash surrounded by thinspaces; only breakable AFTER |
| 993 |
\Dash em-dash, as above |
| 994 |
|
| 995 |
\hyph permit automatic hyphenation after an actual hyphen |
| 996 |
|
| 997 |
\slash "breakable" slash |
| 998 |
\nth for obtaining "1^{st}", "2^{nd}", 3^{rd}, etc. |
| 999 |
|
| 1000 |
\tubissue gets \TUB followed by volume and issue numbers |
| 1001 |
|
| 1002 |
\xEdNote Editor's Note: |
| 1003 |
|
| 1004 |
\Review: Review: (for title of book review article) |
| 1005 |
\reviewitem begin data for item being reviewed |
| 1006 |
\revauth with one argument, author(s) of item being reviewed |
| 1007 |
\revtitle with one argument, title of ... |
| 1008 |
\revpubinfo with one argument, other info pertaining to ... |
| 1009 |
\endreviewitem end data for item being reviewed |
| 1010 |
\booktitle with one argument, format book title in text |
| 1011 |
|
| 1012 |
\Input \input with some other bookkeeping for |
| 1013 |
case where multiple articles are put together |
| 1014 |
|
| 1015 |
\TBremark reminder to TUGboat editorial staff |
| 1016 |
\TBremarkON |
| 1017 |
\TBremarkOFF |
| 1018 |
|
| 1019 |
\pagexref used to write out page numbers to screen and |
| 1020 |
\pagexrefON external files |
| 1021 |
\pagexrefOFF |
| 1022 |
\PageXref |
| 1023 |
\PageXrefON |
| 1024 |
\PageXrefOFF |
| 1025 |
|
| 1026 |
\xrefto used for symbolic cross-reference to other pages |
| 1027 |
\xreftoON in TUGboat |
| 1028 |
\xreftoOFF |
| 1029 |
|
| 1030 |
\TBdriver marks code which only takes effect when articles |
| 1031 |
are run together in a driver file |
| 1032 |
|
| 1033 |
\signatureat items for signatures |
| 1034 |
\signaturepercent |
| 1035 |
\signaturemark |
| 1036 |
\signaturewidth |
| 1037 |
|
| 1038 |
|
| 1039 |
%% |
| 1040 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1041 |
% |
| 1042 |
% History of changes |
| 1043 |
|
| 1044 |
Version Date Changes |
| 1045 |
------- --------- --------------------------------------------------- |
| 1046 |
1.32 16 Jun 25 No real changes, just keeping version number in sync. |
| 1047 |
|
| 1048 |
1.31 26 Oct 24 \tbsurl, \tbhurl, \tbmailto, \tbhref: simple |
| 1049 |
hyperlinks with pdftex. |
| 1050 |
new abbrevs \macOS, \SQL. |
| 1051 |
\volnumber, \issnumber: just the numbers. |
| 1052 |
\tbissident: VV-n to help with urls, etc. |
| 1053 |
|
| 1054 |
1.30 15 Apr 24 remove duplicate \TP definition. |
| 1055 |
|
| 1056 |
1.29 28 Oct 23 in \AllTeX, kern around ). |
| 1057 |
define \pdfTeX and \pdfLaTeX with italic corrections. |
| 1058 |
define \LMTX. |
| 1059 |
define \tbcode and \tbcodebreak. |
| 1060 |
make \gobble \long. |
| 1061 |
\input ushyphex.tex if it exists; correct explicit |
| 1062 |
hyphenation list. |
| 1063 |
|
| 1064 |
1.28 11 Jun 23 (belatedly) add \meta, change \TP to print : in \sl, |
| 1065 |
Lua-Meta hyphenation exception. |
| 1066 |
|
| 1067 |
1.24 5 Sep 18 \tugboatcmn sentinent, \plusplus separated out. |
| 1068 |
|
| 1069 |
1.23 19 Mar 17 move \manual and \manualsl to tugboat.sty. |
| 1070 |
|
| 1071 |
1.22 31 Oct 16 define \CSabbr, \CSTUG; |
| 1072 |
use logosl10 (\manualsl) for \slMF. |
| 1073 |
|
| 1074 |
1.21 2 Aug 13 define \LyX |
| 1075 |
|
| 1076 |
1.20 4 Apr 12 allow omission of hyphenation list |
| 1077 |
|
| 1078 |
1.19 20 May 08 additions to hyphenation list |
| 1079 |
|
| 1080 |
1.18 7 Jun 06 another fix to repair a stupid mistake |
| 1081 |
|
| 1082 |
1.16-1.17 24 May 06 fixes to repair stupid mistakes in 1.15 |
| 1083 |
|
| 1084 |
1.15 30 Apr 06 additions to match ltugboat.cls v2.0, 2006/04/25: |
| 1085 |
name macros and hyphenation exceptions |
| 1086 |
|
| 1087 |
1.14 21 Jun 04 added numerous name macros and hyphenation exceptions |
| 1088 |
|
| 1089 |
1.13l 15 Nov 03 updated header address to Portland, OR |
| 1090 |
|
| 1091 |
1.13k 28 Jun 03 added \RegRuleThickness to allow easy modification |
| 1092 |
|
| 1093 |
1.13j 16 Feb 03 added \issyear to handle removal of month |
| 1094 |
|
| 1095 |
1.13i 14 Oct 96 updated header and installed CRC-16 checksum |
| 1096 |
|
| 1097 |
1.13h 10 Nov 95 added \acro and converted all \SMC entries to use it |
| 1098 |
added acronyms \HTML and \PDF |
| 1099 |
|
| 1100 |
1.13g 4 Nov 95 added \MP for METAPOST |
| 1101 |
|
| 1102 |
1.13f 15 Apr 94 added \@Rev[...] to permit variable text for reviews |
| 1103 |
|
| 1104 |
1.13e 14 Mar 94 revised definition of \La to use actual width of A |
| 1105 |
added \LaTeXe definition |
| 1106 |
|
| 1107 |
1.13d 5 Jan 94 added {} to \TeX-{}-\Xet |
| 1108 |
|
| 1109 |
1.13c 11 Nov 93 removed extraneous " from header |
| 1110 |
added \AmSLaTeX, \CTAN, \ISSN |
| 1111 |
|
| 1112 |
1.13b 4 Nov 93 added \hyphenation{Eijk-hout} |
| 1113 |
|
| 1114 |
1.13a 18 Aug 93 corrected \nth to produce ordinal in current font |
| 1115 |
|
| 1116 |
1.13 27 May 93 upgraded \nth based on algorithm by Donald Arseneau |
| 1117 |
in comp.text.tex, 26 May 93 |
| 1118 |
|
| 1119 |
1.12 19 Feb 93 added \spacefactor1000 to all replacement text that ends |
| 1120 |
with a capital letter, so that if these items end a |
| 1121 |
sentence, there will be a normal end-of-sentence space |
| 1122 |
removed \hbox from definitions of \TeX, etc.; no longer |
| 1123 |
needed |
| 1124 |
changed definition of \TeXXeT to use \XeT rather than |
| 1125 |
unique dimensions |
| 1126 |
installed new TUG address and phone number in header |
| 1127 |
reformatted change history, similar to tugboat.sty |
| 1128 |
|
| 1129 |
1.11c 29 Nov 92 added macros to format book review and related items for |
| 1130 |
review articles |
| 1131 |
added \SGML |
| 1132 |
changed def of \UNIX to use \SMC rather than \smc |
| 1133 |
|
| 1134 |
1.11b 20 Oct 92 added font code for \ISBN font ("big small caps") |
| 1135 |
added \Textures as the current form |
| 1136 |
|
| 1137 |
1.11a 6 Jun 92 added \drawoutlinebox |
| 1138 |
|
| 1139 |
1.11 15 Mar 92 added \ttn and \TTN |
| 1140 |
|
| 1141 |
1.10 8 Mar 92 added \AllTeX |
| 1142 |
changed file name from .COM to .CMN to avoid objection |
| 1143 |
that .COM files have a special significance on DOS |
| 1144 |
and other operating systems |
| 1145 |
added standard headers, prepared for archive installation |
| 1146 |
|
| 1147 |
1.09 5 May 91 inserted large penalty at top of \makesignature to |
| 1148 |
inhibit break between article and signature |
| 1149 |
|
| 1150 |
1.08 24 Oct 90 modified signature slightly (took \medskip out of box) |
| 1151 |
fixed bug in previous rendition of \@readFLN |
| 1152 |
|
| 1153 |
1.07 16 Oct 90 added \TUBedit to facilitate editorial marking |
| 1154 |
added \iinput variant from LaTeX; \input redefined now |
| 1155 |
as with LaTeX |
| 1156 |
added mechanism for local file names in Providence |
| 1157 |
(\TUBfilename, \fileinput, etc.) |
| 1158 |
\tugstyload@ defaults to plain if it's not defined |
| 1159 |
|
| 1160 |
1.06 3 Aug 90 added \leavevmode to \@defaultsignature so that |
| 1161 |
\everypar is not executed inside a group |
| 1162 |
dash routines modified and corrected (to suppress |
| 1163 |
insertion of discretionary node after -- and ---; |
| 1164 |
and to allow hyphenation of ensuing word) |
| 1165 |
changed \lDash to \Ldash and \rDash to \Rdash |
| 1166 |
|
| 1167 |
1.05 29 Mar 90 added \lDash and \rDash for `parenthetical' dashing |
| 1168 |
added \TP for TeX: The Program |
| 1169 |
added \relax after file input of \Input |
| 1170 |
added \relax before \ifmmode of \, |
| 1171 |
|
| 1172 |
1.04 28 Feb 90 modified pagexref macros to work in both plain and |
| 1173 |
latex styles (this should NOT affect authors) |
| 1174 |
|
| 1175 |
1.03 26 Feb 90 removed <tab>s and adjusted definition of \slMF |
| 1176 |
|
| 1177 |
1.02 25 Feb 90 added definitions of \plaintubissue, \latextubissue |
| 1178 |
added definition of \tubissue |
| 1179 |
|
| 1180 |
1.01 19 Feb 90 added \signaturewidth to allow for modification |
| 1181 |
added \nth to obtain 1^{st}, etc. |