summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/tugboat/ltugboat.sty
blob: 9f86d324bd467470a05df1f8663096c0def9568e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
%% @latexfile{
%%     filename="ltugboat.sty",
%%     version="1.19",
%%     date="16-Nov-1993",
%%     filetype="LaTeX macros for TUGboat",
%%     copyright="Copyright (C) TeX Users Group.
%%            Copying of this file is authorized only if either:
%%            (1) you make absolutely no changes to your copy, OR
%%            (2) if you do make changes, you first rename it to some
%%                other name.",
%%     author="TeX Users Group",
%%     address="TeX Users Group,
%%            P. O. Box 869,
%%            Santa Barbara, CA 93102,
%%            USA",
%%     telephone="805-963-1338",
%%     email="Internet: TUGboat@Math.AMS.org",
%%     codetable="ISO/ASCII",
%%     checksumtype="line count",
%%     checksum="718",
%%     keywords="tex users group, tugboat, latex",
%%     abstract="This file contains the LaTeX-based macros
%%            for preparation of TUGboat, the Communications
%%            of the TeX Users Group."
%%     }
%% *********************************************************
%%
%%  Use of this file also requires the following files:
%%      ARTICLE.STY
%%      ART10.STY
%%      TUGBOAT.CMN (version 1.08+)
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\thistubstyle{latex}
\def\fileversion{v1.19}
\def\filedate{16 November 93}

% Change history at bottom of file
%               *****   LTUGBOAT.STY    *****
%
%
%       Incorporates ideas and elements from these TUGboat authors:
%               Adrian Clark
%               Frank Mittelbach
%               Rainer Sch\"opf

%  Stop here if this file has been read already

\ifx\tugstyloaded@\thistubstyle \tugstyinit
 \endinput\else\let\tugstyloaded@\thistubstyle\fi

\typeout{Document Style `ltugboat' \fileversion \space\space <\filedate>}

% **********************************************************************
%
%  Load macros required by this style, but only if it wasn't done already

\ifx\c@section\undefined \input article.sty \fi

%  Macros common to ltugboat.sty and tugboat.sty

\input tugboat.cmn


% ***********************************************************************
%
%  Fonts


% install additional fonts as appropriate for plain/old LaTeX or NFSS:
%  provide definition of \tensl if NFSS is loaded

\ifx\selectfont\undefined                       % old LaTeX
  \font\sevbf=cmbx7
  \font \svtnsfb=cmssbx10 scaled \magstep3      % for section titles;
%
  \font \twlsfb=cmssbx10 scaled \magstep1       % definition of \LaTeX
  \newfam\sectitlefam                           % requires a family
  \textfont\sectitlefam=\svtnsfb
  \scriptfont\sectitlefam=\twlsfb
  \def\sectitlefont{\fam\sectitlefam\svtnsfb\baselineskip\stbaselineskip}
%
  \font\egtsl=cmsl8
  \font\tenuit=cmu10                            % for Editor's Note
%
%  redo definition of 10pt from latex (lfonts), to install \sevbf as
%    \*scriptfont of \bffam and \egtsl in \slfam
%    \*scriptfont of \bffam for 9pt
  \toks0=\expandafter{\xpt\scriptfont\bffam\sevbf \scriptscriptfont\bffam\sevbf
          \scriptfont\slfam\egtsl \scriptscriptfont\slfam\egtsl}
  \xdef\xpt{\the\toks0}
  \toks0=\expandafter{\ixpt\scriptfont\bffam\sevbf
          \scriptscriptfont\bffam\sevbf}
  \xdef\ixpt{\the\toks0}
\else                                          % NFSS in effect
%    for section titles; include explicit definition of \La (for \LaTeX)
  \def\sectitlefont{\def\La{\leavevmode L\raise.42ex
                    \hbox{\fontsize{12}{12pt}\selectfont\kern-.4em A}}%
          \fontfamily{cmss}\fontseries{bx}\fontshape{n}%
          \fontsize{17}{\stbaselineskip}\selectfont}
  \def\tensl{\fontfamily{cmr}\fontseries{m}\fontshape{sl}\fontsize{10}{12pt}%
          \selectfont}
  \def\tubfont{\shape{sl}\selectfont}
  \def\tenuit{\fontfamily{cmr}\fontseries{m}\fontshape{u}\fontsize{10}{12pt}%
          \selectfont}
\fi

% ***********************************************************************
%
%  normal TUGboat dimensions, glue values, penalties

\@twosidetrue           % for odd/even asymmetry in running heads
\twocolumn              % two columns
\sloppy                 % make those columns justify
%\flushbottom           % but ensure they line up
\columnsep 1.5pc        % space between columns
\columnwidth 18.75pc    % width of each column
\parindent \normalparindent     % paragraph indent
\parskip 0pt            % no inter-paragraph space
\leftmargini 2em        % unchanged
\leftmarginv .5em       % unchanged
\leftmarginvi .5em      % unchanged
\oddsidemargin 0pt      % was 42pt
\evensidemargin 0pt     % was 84pt
\topmargin -2.5pc       % was 0pt
\headheight 12pt        % height of running head, unchanged
\headsep 20pt           % distance between header and text
\marginparwidth 48pt    % don't use marginal notes
\marginparsep 10pt      %  in TUGboat
\textheight 54pc        % height of text on page
\textwidth 39pc         % total width of a page


\partopsep=\z@
\topsep=3pt plus1pt minus1pt
\parsep=3pt plus 1pt minus 1pt
\itemsep=\parsep


\def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt
\abovedisplayskip=3pt plus 3pt minus 1pt \belowdisplayskip=\abovedisplayskip
\abovedisplayshortskip=\z@ plus3pt \belowdisplayshortskip=1pt plus3pt minus1pt}

\def\small{\@setsize\small{11pt}\ixpt\@ixpt
\abovedisplayskip=2.5pt plus2.5pt minus1pt\belowdisplayskip=\abovedisplayskip
\abovedisplayshortskip=\z@ plus2pt \belowdisplayshortskip=1pt plus2pt minus1pt}

\def\SMC{\small}

\def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
\abovedisplayskip=3pt plus 3pt minus 1pt \belowdisplayskip=\abovedisplayskip
\abovedisplayshortskip=\z@ plus3pt \belowdisplayshortskip=1pt plus3pt minus1pt}


% ***********************************************************************
%
%  Lists

\def\@listi{\leftmargin\leftmargini\parsep=1pt plus 1pt minus 1pt
  \itemsep=\parsep
  \listparindent=1em
  }

\def\@listii{\leftmargin\leftmarginii
  \labelwidth=\leftmarginii \advance\labelwidth-\labelsep
  \topsep=2pt plus 1pt minus 1pt
  \parsep=1pt plus 1pt minus 1pt
  \itemsep=\parsep
  \listparindent=1em
  }

\def\@listiii{\leftmargin=\leftmarginiii
  \labelwidth=\leftmarginiii \advance\labelwidth-\labelsep
  \topsep=1pt plus 1pt minus 1pt
  \parsep=\z@
  \itemsep=\topsep
  \listparindent=1em
  }


% ***********************************************************************
%
%  Titles, authors, addresses, signatures

\setbox\T@stBox=\hbox{\sectitlefont O}
\newdimen\stfontheight          \stfontheight=\ht\T@stBox
\def \sectitle#1{\SecTitletrue \def\s@ctitle{#1}}

\newcount\authornumber
\authornumber=0

\def\author#1{%
  \global\advance\authornumber\@ne
  \expandafter\def\csname theauthor\number\authornumber\endcsname
      {\ignorespaces#1\unskip}%
  \expandafter\let\csname theaddress\number\authornumber\endcsname\relax
  \expandafter\let\csname thenetaddress\number\authornumber\endcsname\relax
  }

\def\address#1{%
  \expandafter\def\csname theaddress\number\authornumber\endcsname
      {\ignorespaces#1\unskip}}

\def\network#1{\def\@network{#1: }}
\def\netaddress{%
  \begingroup
  \let\@network\relax
  \@ifnextchar[{\@netaddress}{\@netaddress[]}%
  }

{\makeactive\@
 \gdef\netaddrat{\makeactive\@\def@{\char"40\discretionary{}{}{}}}
 \makeactive\%
 \gdef\netaddrpercent{\makeactive\%\def%{\char"25\discretionary{}{}{}}}
}

\def\@netaddress[#1]{#1\@sanitize\makespace\ \makeactive\@\makeactive\%%
  \@@netaddress}

\def\@@netaddress#1{%
  \toks@{#1}%
  \ifx\@network\relax \def\@@network{}%
  \else \def\@@network{\@network}\fi
  \expandafter\xdef\csname thenetaddress\number\authornumber\endcsname
    {{\noexpand\rm\@@network}%
     {\noexpand\netaddrat\noexpand\netaddrpercent\noexpand\net
      \ignorespaces\the\toks@\unskip}}%
  \endgroup
  }

\def\net{\tt}

%  Overrides to default author and signature formats

\def\authorlist#1{\def\@author{#1}}
\def\@author{\@defaultauthorlist}


\def\maketitle{\par
 \ifdim\PreTitleDrop > 0pt
   \loop
   \ifdim \PreTitleDrop > \textheight
     \vbox{}\vfil\eject
     \advance\PreTitleDrop by -\textheight
   \repeat
   \vbox to \PreTitleDrop{}
   \global\PreTitleDrop=0pt
 \fi
 \begingroup
 \setcounter{footnote}{0}
 \def\thefootnote{\fnsymbol{footnote}}
% \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
 \@maketitle
 \@thanks
 \endgroup
 \setcounter{footnote}{0}
% \let\maketitle\relax
% \let\@maketitle\relax
 \gdef\@thanks{}%\gdef\@author{}\gdef\@title{}%
%\let\thanks\relax
 }

\newif\ifWideSecTitle
\def\@maketitle{\ifSecTitle \global\SecTitlefalse
		\T@stDimen=\hsize
		\ifWideSecTitle \hsize=\textwidth \global\WideSecTitlefalse \fi
                \@sectitle{\s@ctitle}%
		\hsize=\T@stDimen
        \else \vskip\AboveTitleSkip
                \kern\topskip
                \hrule height\z@ depth\z@ width 10pt
                \kern-\topskip
                \kern-\strulethickness
                \hrule height\strulethickness depth\z@
                \kern\medskipamount
                \nobreak
        \fi
        {\nohyphens \interlinepenalty\@M
        \setbox0=
          \hbox{\let\thanks\@gobble
                \let\\=\quad
                \let\and=\quad
                \ignorespaces\@author}%
        {\noindent\bf\raggedright\ignorespaces\@title\endgraf}%
        \ifdim \wd0 < 5pt               % omit if author is null
        \else \nobreak \vskip 4pt       % 4pt + \BelowTitleSkip = \baselineskip
                {\leftskip=\normalparindent
                 \raggedright
                 \def\and{\unskip\\}%
                 \noindent\@author\endgraf}%
        \fi \nobreak \vskip\BelowTitleSkip }}

\def\dedication{\bgroup\raggedright\let\MF=\slMF\noindent\it\ignorespaces}
\def\enddedication{\endgraf\egroup\medskip}

\def\abstract{
\section*{Abstract}
}
\def\endabstract{}

\def\longabstract{
  \section*{Abstract}
  \bgroup\small}
\def\endlongabstract{\endgraf\egroup
  \vspace{.25\baselineskip}
  \begin{center}
    {$--*--$}
  \end{center}
  \vspace{.5\baselineskip}}

%  Redefine style of section headings to look more like TUGboat.
%  Start with definitions from art10.sty .  (Only \section correct so far.)
%
%  \vskip 8pt \vskip\parskip before; \vskip 4pt after
%  Negative beforeskip suppresses following parindent.

\def\section{\@startsection {section}{1}{\z@}{-8pt}{4pt}%
        {\normalsize\bf\raggedright\hyphenpenalty=\@M}}

\def\subsection{\@startsection{subsection}{2}{\z@}{-8pt}{4pt}%
        {\normalsize\bf\raggedright\hyphenpenalty=\@M}}

\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-8pt}{4pt}%
        {\normalsize\bf\raggedright\hyphenpenalty=\@M}}

\def\paragraph{\@startsection
% {paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
 {paragraph}{4}{\z@}{2.5ex plus 1ex}{-1em}{\normalsize\bf}}

\def\subparagraph{\@startsection
 {subparagraph}{4}{\parindent}{2.5ex plus 1ex}{-1em}{\normalsize\bf}}

%       Modify \appendix from art10.sty, to add ``Appendix''
%       1 May 89 Mittelach comments that we need to put ``Appendix''
%         somewhere other than \thesection if \tableofcontents is used.
%\def\appendix{\par
% \setcounter{section}{0}
% \setcounter{subsection}{0}
% \def\thesection{Appendix \Alph{section}}}


\def \EdNote{{\tenuit Editor's note:\enspace }}


% ***********************************************************************
%
%  Tables of contents

%  The original versions of the table of contents entries justify long
%  headings, which gives spaced out text which looks awful.  We change
%  this to typeset headings \raggedright instead.  We also use lightface
%  rather than bold, and decrease the skip between entries, since
%  TUGboat contents lists usually don't go to levels below \section.
%
%  Modifications mainly by Nelson Beebe, with indentation to make macros
%  more readable.

%  \l@section{TOC-ENTRY}{PAGE-NUMBER}

\def\l@section#1#2{%
    \addpenalty{\@secpenalty}%
    \addvspace{.1em plus 1pt}%
    \@tempdima 1.5em
    \begingroup
        \parindent \z@
        \rightskip \z@  % article style makes \rightskip > 0
        \parfillskip \z@
        \advance\leftskip\@tempdima% indent text by width of \numberline
        \hskip -\leftskip       % move left for section number on first line
        \raggedright            % NEW: no flushright text in tocs
        #1% toc-entry text
        \unskip                 % NEW: discard intervening space
        \nobreak
        \hfill                  % was \hfil, but need stronger version
        \nobreak
        \hbox to \@pnumwidth {\hss #2}% page number
        \par
    \endgroup
}

%% OLD: \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\def\l@figure{\@dottedtocline{1}{0em}{1.5em}}
\let\l@table=\l@figure
%
%% Increase \@pnumwidth by 0.45em (4.5pt) to avoid overfull box
%% from bad default setting.
%% OLD: \def\@pnumwidth{1.55em}
\def\@pnumwidth{2em}
%
%% Modification of \@dottedtocline from latex.tex to produce ragged right
%% entries instead of   very   spaced    out     entries.
\def\@dottedtocline#1#2#3#4#5{%
 \ifnum #1>\c@tocdepth
 \else
    \vskip \z@ plus .2pt
    {%
      \leftskip #2\relax
      \rightskip \@tocrmarg
      \parfillskip -\rightskip
      \parindent #2\relax
      \@afterindenttrue
      \interlinepenalty\@M
      \leavevmode
      \@tempdima #3\relax       % tempdima := NUMWIDTH
      \advance\leftskip \@tempdima % leftskip := INDENT + NUMWIDTH
      \hbox{}%
      \hskip -\leftskip
      {%
          \raggedright
          #4
          \unskip
          \nobreak
          \hfill
          \nobreak
          \hbox to\@pnumwidth{\hfil\rm #5}%
          \par
      }%
      \par
    }%
  \fi
}


% ***********************************************************************
%
%  Footnotes

\long\def\@makefntext#1{\parindent 1em\noindent\hbox to 2em{}%
  \llap{\@makefnmark}\null$\mskip5mu$#1}
%  \llap{$^{\@thefnmark}\,$}#1}


% ***********************************************************************
%
%  Figures

\def\fnum@figure{{\bf Figure \thefigure}}


% ***********************************************************************
%
%  Quotes

\def\quote{\list{}{\rightmargin.5\leftmargin}\item[]}

%       From Dominik Wujastyk's font article.  First paragraph of a quotation
%       will not be indented, and right margin is decreased for narrow columns.
\renewcommand{\quotation}{\list{}{\listparindent 1.5em
        \rightmargin.5\leftmargin\parsep 0pt plus 1pt}\item[]}


% ***********************************************************************
%
%  Bibliography

% Changes made only to accomodate local file naming conventions

\def\bibliography#1{%
  \if@filesw\immediate\write\@auxout{\string\bibdata{\@tubfilename{#1}}}\fi
  \@input{\jobname.bbl}}

\def\bibliographystyle#1{\if@filesw\immediate\write\@auxout
    {\string\bibstyle{\@tubfilename{#1}}}\fi}

% Replace \sloppy by something not quite as sloppy

\def\thebibliography#1{\section*{References\@mkboth
  {REFERENCES}{REFERENCES}}\list
  {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
    \advance\leftmargin\labelsep
    \usecounter{enumi}}
    \def\newblock{\hskip .11em plus .33em minus .07em}
%    \sloppy
    \tolerance 8000 \hfuzz .5\p@ \vfuzz .5\p@
    \clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax}

%\def\sloppy{\tolerance 10000 \hfuzz .5\p@ \vfuzz .5\p@}


% ***********************************************************************
%
%  Signature

%  Moved to TUGboat.com


% ***********************************************************************
%
%  \document, \enddocument

% changed \input to \@@input; either use the new functionality or be real
\def\enddocument{\@checkend{document}\clearpage\begingroup  
\if@filesw \immediate\closeout\@mainaux 
\def\global\@namedef##1##2{}\def\newlabel{\@testdef r}%
\def\bibcite{\@testdef b}\@tempswafalse \makeatletter\@@input \jobname.aux
\if@tempswa \@warning{Label(s) may have changed.  Rerun to get
cross-references right}\fi\fi\endgroup\deadcycles\z@\@@end}


% ***********************************************************************
%
%  Running heads, output routine

\def \rtitlex{\def\tubfont{\normalsize\rm}\TUB, \volx }

\def\PrelimDraftfooter{%
  \dlap{\kern\textheight\kern3pc
        \rlap{\hbox to \pagewd{\midrtitle\hfil\midrtitle}}
  }}

% registration marks; these are temporarily inserted in the running head
\def\MakeRegistrationMarks{}
\def\UseTrimMarks{%
  \def\MakeRegistrationMarks{%
    \ulap{\rlap{%
       \vbox{\dlap{\vbox to\trimlgt{\vfil\botregister}}%
             \topregister\vskip \headmargin \vskip 10pt}}}}%
  }

\def\@oddhead{\MakeRegistrationMarks\PrelimDraftfooter
  \normalsize\csname normalshape\endcsname\rm
  \rtitlex\qquad\midrtitle \hfil \thepage}
\def\@evenhead{\MakeRegistrationMarks\PrelimDraftfooter
  \normalsize\csname normalshape\endcsname\rm
  \thepage\hfil\midrtitle\qquad\rtitlex}
\def\@oddfoot{}
\def\@evenfoot{}

\def\ps@headings{}
\pagestyle{headings}

% Modified to alter \brokenpenalty across columns
\def\@outputdblcol{\if@firstcolumn \global\@firstcolumnfalse
    \global\setbox\@leftcolumn\box\@outputbox
    \global\brokenpenalty10000
  \else \global\@firstcolumntrue
    \global\brokenpenalty100
    \setbox\@outputbox\vbox{\hbox to\textwidth{\hbox to\columnwidth
      {\box\@leftcolumn \hss}\hfil \vrule width\columnseprule\hfil
       \hbox to\columnwidth{\box\@outputbox \hss}}}\@combinedblfloats
       \@outputpage \begingroup \@dblfloatplacement \@startdblcolumn
       \@whilesw\if@fcolmade \fi{\@outputpage\@startdblcolumn}\endgroup
    \fi}


% ***********************************************************************
%
%  Macros for Mittelbach's self-documenting style

\def\SelfDocumenting{%
  \setlength\textwidth{31pc}
  \onecolumn
  \parindent 0pt
  \parskip 2pt plus 1pt minus 1pt
  \oddsidemargin 8pc
  \evensidemargin 8pc
  \marginparwidth 8pc
  \toks@\expandafter{\@oddhead}%
  \xdef\@oddhead{\hss\hbox to \pagewd{\the\toks@}}%
  \toks@\expandafter{\@evenhead}%
  \xdef\@evenhead{\hss\hbox to \pagewd{\the\toks@}}%
  \def\ps@titlepage{}%
}

\def\ps@titlepage{}


% ***********************************************************************
%
%  MISCELLANEOUS defs for compatibility with tugboat.sty

\newif\ifFirstPar       \FirstParfalse

\newdimen\pagewd        \pagewd=39pc
\newdimen\trimwd        \trimwd=\pagewd
\newdimen\trimlgt       \trimlgt=11in
\newdimen\headmargin    \headmargin=3.5pc
\def\smc{\sc}
\def\ninepoint{\small}


%*************************************************************************
%
%       Start-up

\setcounter{page}{1001}
\PrelimDrafttrue

\def\tugstyinit{%
  \everypar{\@nodocument}%
  \authornumber\z@
  \let\@signature\@defaultsignature
  }

\endinput



% **********************************************************************
%
%   Change history
%

Version   Date        Changes
-------   ---------   ---------------------------------------------------
1.19      16 Nov 93   added new t-of-c definitions, based on modifications by
                        Nelson Beebe; make text ragged right, lightface, and
                        entries closer together than latex.tex default

1.18b      8 Nov 93   removed extraneous " from header

1.18a     29 May 93   changed \family to \fontfamily in defs of \tensl, \tenuit
                      within \sectitlefont, define \La to get proper "A"

1.18      22 Mar 93   added \hyphenpenalty=10000 to (sub*)section headings
                      added missing brace at end of \def\tensl for nfss
                      added new environments \dedication and \longabstract

1.17      19 Feb 93   incorporated some font definitions by Rainer Schoepf
                        to add flexibility when used under NFSS
                      installed new TUG address and phone number in header
                      reformatted change history, similar to tugboat.sty

1.16e     24 Dec 92   decreased skip above \paragraph, \subparagraph;
                        removed shrink
                      defined \ps@titlepage to get running heads on first page
                        of docstyle articles

1.16d     19 Oct 92   added \SMC parallel to plain-based style

1.16c     10 Sep 92   added \raggedright in \subsubsection

1.16b     19 Jul 92   test for previous input of article.sty, and omit if
                        done already, to permit use as style option

1.16a     29 Jun 92   embedded redefinitions of \xpt, \ixpt within code to
                         distinguish between plain/old LaTeX and nfss

1.16      6 Jun 92   incorporated test for nfss, and if loaded, define \tensl

1.15     16 Mar 92   incorporated \sevbf into \*scriptfont of \bffam for \ixpt
                       to improve appearance of LaTeX and other logos

1.14      8 Mar 92   added \input article.sty to make this an independent style
                     added standard headers, prepared for archive installation

1.13     20 Nov 91   modified \@outputdblcol to reset \brokenpenalty to
                       different values in first and second column
                     added initialization macro (\tugstyinit) for multiple
                       articles

1.12      7 Aug 91   modified \thebibliography to make it not quite so sloppy
                       and avoid cases where all stretch is put into one line

1.11     10 Jun 91   added \ifWideSecTitle and modified \@maketitle to
                       (partially) support it

1.10     13 Feb 91   added \egtsl and incorporated it into \*scriptfont of
                       \slfam for \xpt to improve appearance of LaTeX and
                       other logos

1.09     12 Dec 90   modified \@oddhead and \@evenhead to reset `shape' for
                       new font selection scheme

1.08     25 Oct 90   modified \enddocument to use \@@input instead of \input;
                       allows other uses of \input

1.07     18 Oct 90   set authors \raggedright
                     set \marginparwidth in \SelfDocumenting
                     removed stretch in space between footnotemark and
                       footnotetext
                     commented out definition of \@makefnmark in \maketitle
                     changed \bibliography and \bibstyle to accomodate local
                       file names (see also tugboat.sty for definition of
                       \@tubfilename)

1.06     13 Oct 90   added \listparindent=1em to definitions of \@list...
                       in order to distinguish paragraphs

1.05      1 Sep 90   made space a <space> in definition of \@netaddress;
                       this obviates error messages concerning \begin{document}

1.04      2 Mar 90   added \nobreak to \@maketitle to prevent pagebreaks
                       after leading rule

1.03     25 Feb 90   added definition of \thistubstyle

1.02     12 Feb 90   modified definition of \@makefntext; now uses
                       \@makefnmark (as one might expect)

1.01      6 Feb 90   removed "\font\manual=manfnt"; tugboat.com already sets
                       \font\manual=logo10
                     adjusted definition of \netaddress to remove mis-timed
                       \@sanitize-ation

1.00     29 Nov 89   changed \titlefont to \sectitlefont
                     added setting of \baselineskip to definition of
                       \sectitlefont
                     changed \TUBparindent to \normalparindent (already in
                       tugboat.com)
                     removed additions of amcsc* fonts
                     new definitions of \ragged... in tugboat.com include
                       \nohyphens
                     moved most of section title material to tugboat.com
                     moved writing mechanism and multiple document handling
                       to local .drv file
                     redefined \author to be consistent with tugboat.sty
                     added \address, \netaddress
                     moved \signature stuff to tugboat.com
                     made titles raggedright

0.53     20 Oct 89   Zeroed \@signature for multiple documents

0.52     19 Oct 89   Moved \rtitlex to tugboat.com

0.51     18 Oct 89   Disallowed hyphenations in \section and \subsection