diff options
author | Karl Berry <karl@freefriends.org> | 2007-08-24 18:35:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-08-24 18:35:25 +0000 |
commit | addded1ab23789fbb7f5868ed6b8881f933d44d5 (patch) | |
tree | 51db69d56c51f2588b69552242d4a1aaa7ff42c6 /Master/texmf-dist/source/latex/tugboat | |
parent | 5b3b0129bbe562139349fc1a231988ccccac589d (diff) |
tugboat update (21aug07)
git-svn-id: svn://tug.org/texlive/trunk@4797 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/tugboat')
-rw-r--r-- | Master/texmf-dist/source/latex/tugboat/tugboat.dtx | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx index 9eac928b928..d70a48be5e9 100644 --- a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx +++ b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx @@ -41,7 +41,7 @@ %<ltugboatsty>\ProvidesPackage{ltugboat} %<ltugprocsty>\ProvidesPackage{ltugproc} %<ltugcomn> \ProvidesPackage{ltugcomn} - [2007/03/19 v2.1 + [2007/08/11 v2.2 %<ltugboatcls> TUGboat journal class% %<ltugproccls> TUG conference proceedings class% %<ltugboatsty|ltugprocsty> TUG compatibility package% @@ -63,7 +63,7 @@ % % RCS identification of this file (lest I fail to update the above ;-) % -% $Id: tugboat.dtx,v 1.3 2007/03/30 13:55:31 rf10 Exp rf10 $ +% $Id: tugboat.dtx,v 1.5 2007/08/21 12:46:27 rf10 Exp $ % % Note that the RCS version relates to the number of times the file % has been checked-in, which relates to a development process taking @@ -129,7 +129,7 @@ % \end{macrocode} % % \fi -% \CheckSum{4455} +% \CheckSum{4462} % % \section{Introduction} % @@ -1576,6 +1576,7 @@ % if \cs{authornumber}$<0$, we are in a contributor's section % \begin{macrocode} \medskip + \frenchspacing \signaturemark \theauthor{\number\authornumber}\\ \theaddress{\number\authornumber}\\ @@ -2271,6 +2272,17 @@ % \end{macrocode} % % \cs{l@<sectioning-name>} is for table of contents (of an article). +% +% We define new macros to allow easily changing the font used for toc +% entries (for \TUB, we usually want roman, not bold), and the space +% between entries. Nelson Beebe's articles are almost the only ones +% that ever have toc's. +% +% \begin{macrocode} +\def\TBtocsectionfont{\normalfont} +\newskip\TBtocsectionspace \TBtocsectionspace=1.0em\@plus\p@ +% \end{macrocode} +% % Don't ask me (RF) why \cs{l@part} is there; I commented it out % because I couldn't understand why it had been left there for me. To % be finally deleted in a future release of these macros\dots @@ -2282,13 +2294,15 @@ % {\large \bf \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}}\par % \nobreak % \endgroup} +% \def\l@section#1#2{\addpenalty{\@secpenalty}% - \addvspace{1.0em\@plus\p@}% + \addvspace{\TBtocsectionspace}% \@tempdima 1.5em \begingroup \parindent\z@ \rightskip\z@ % article style makes \rightskip > 0 \parfillskip\z@ - \bf\leavevmode\advance\leftskip\@tempdima\hskip-\leftskip#1\nobreak\hfil + \TBtocsectionfont + \leavevmode\advance\leftskip\@tempdima\hskip-\leftskip#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par \endgroup} % \end{macrocode} @@ -2553,12 +2567,17 @@ % \end{macrocode} % % Impose an optional argument on the environment. +% +% We start the macro with \cs{par} to avoid a common error: if the +% optional argument is \cs{small}, and the document has no blank line +% before the verbatim block, we don't want that preceding paragraph to +% be set with \cs{small}'s line spacing. % % (\cs{obeylines} added to prevent the \cs{futurelet} from propagating % into the body of the verbatim, thus causing lines that start with % odd characters (like |#| or even |\|) to behave peculiarly.) % \begin{macrocode} -\def\verbatim{\obeylines +\def\verbatim{\par\obeylines \futurelet\reserved@a\@switch@sqbverbatim} \def\@switch@sqbverbatim{\ifx\reserved@a[%] \expandafter\@sqbverbatim\else @@ -3391,6 +3410,7 @@ % \begin{macrocode} \def\@maketitle{% {\parskip\z@ + \frenchspacing \TITLEfont\raggedright\noindent\@title\par \count@=0 \loop @@ -3402,7 +3422,6 @@ {% \allowhyphens \hangindent1.5pc - \frenchspacing \netaddrfont\thenetaddress{\number\count@}\endgraf \hangindent1.5pc \thePersonalURL{\number\count@}\endgraf |