summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain/tugboat-plain/tugboat.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/plain/tugboat-plain/tugboat.sty')
-rw-r--r--Master/texmf-dist/tex/plain/tugboat-plain/tugboat.sty52
1 files changed, 38 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/plain/tugboat-plain/tugboat.sty b/Master/texmf-dist/tex/plain/tugboat-plain/tugboat.sty
index 6df1624419a..84dae0b1f8c 100644
--- a/Master/texmf-dist/tex/plain/tugboat-plain/tugboat.sty
+++ b/Master/texmf-dist/tex/plain/tugboat-plain/tugboat.sty
@@ -1,9 +1,9 @@
%% @texfile{
%% filename = "tugboat.sty",
-%% version = "1.19",
-%% date = "2011/03/11",
+%% version = "see below \fileversion"
+%% date = "see below \filedate",
%% filetype = "Plain TeX macros for TUGboat",
-%% copyright = "Copyright 1993, 1999, 2003, 2006, 2011 TeX Users Group.
+%% copyright = "Copyright 1993,1999,2003,2006,2011,2012 TeX Users Group.
%% Unlimited copying and redistribution of this file
%% are permitted as long as this file is not
%% modified. Modifications (and redistribution of
@@ -17,6 +17,8 @@
%% for preparation of items in TUGboat, the
%% Communications of the TeX Users Group.",
%% }
+%% $Id: tugboat.sty 100 2012-05-22 18:09:46Z bnb $
+%%
%% *********************************************************
%%
%% TeXing with this file also requires the following files:
@@ -27,8 +29,8 @@
% TUGBOAT.STY
\def\thistubstyle{plain}
-\def\fileversion{v1.19}
-\def\filedate{2011/03/04}
+\def\fileversion{v1.20}
+\def\filedate{2012/05/22}
% general items
@@ -137,6 +139,14 @@
\font\ninett=cmtt9
\font\eighttt=cmtt8
+\ifx\tubhyphenatett\@thisisundefined
+ % do not hyphenate typewriter unless explicitly requested (as
+ % tb0hyf.tex does).
+ \hyphenchar\tentt=-1
+ \hyphenchar\ninett=-1
+ \hyphenchar\eighttt=-1
+\fi
+
\font\tensl=cmsl10
\font\ninesl=cmsl9
\font\eightsl=cmsl8
@@ -592,12 +602,15 @@
\splitmaxdepth\dp\strutbox \floatingpenalty\@MM
\leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip
\rm \parindent=\normalparindent % always indent footnotes; added for TUGboat
+ \TUBstartfootnotehook
\textindent{#1}\makestrut[10pt;\z@]\futurelet\next\fo@t}
-\def\@foot{\strut\egroup
+\def\@foot{\strut\egroup\TUBendfootnotehook
\ifDelayFirstPar \SetupFirstPar \global\DelayFirstParfalse \fi }
\newif\ifFirstPar \FirstParfalse
\def\SetupFirstPar{\global\parindent=\z@ \global\FirstPartrue }
+\def\TUBstartfootnotehook{}
+\def\TUBendfootnotehook{}
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1644,12 +1657,12 @@
\def\CurrentTag{verbatim}%
\@defaultoptions
\def\inline{\let\@verbstyle\@inlinestyle}%
- \def\display{\let\@verbstyle\@displaystyle}%
+ \def\display{\par\smallverbdisplay\let\@verbstyle\@displaystyle}%
\def\displaystyle##1{\def\@altdisplaystyle{##1}}%
\def\inlinestyle##1{\def\@altinlinestyle{##1}}%
\def\numbered{\@numberedtrue}%
\def\ruled{\@ruledtrue}%
- \def\smallcode{\ninepoint\tt\baselineskip=10pt}%
+ \def\smallcode{\ninepoint\tt\baselineskip=10pt }%
\let\@verbinputvar\relax
\let\@verbinputfile\relax
\@SpecialsGetOther
@@ -1660,6 +1673,9 @@
\the\everyverbatim
}
+% By default, switch to 9pt tt for verbatim displays.
+\def\smallverbdisplay{\smallcode}
+
\def\@SpecialsGetOther{%
\catcode`\\=\other
\catcode`\{=\other \catcode`\}=\other \catcode`\$=\other
@@ -1848,8 +1864,8 @@
% Options and variants.
-\def\verbinline{\verbatim[\inline]}
-\def\verbdisplay{\verbatim[\display]}
+\def\verbinline{\@verbatim[\inline]} % \@verbatim to avoid \display
+\def\verbdisplay{\verbatim[\display]} % already the default, but what the heck
\def\verbfile#1{\verbatim[\inputfromfile{#1}]}
@@ -1885,7 +1901,7 @@
\expandafter\@checknexttoken\expandafter{\the\@verbchar}%
{\expandafter\@ignoreone\expandafter{\the\@verbchar}%
{\endgroup\verbatim[\longform\maketwoendverb]}}%
- {\endgroup\verbatim[\inline\longform\makeoneendverb]}%
+ {\endgroup\@verbatim[\inline\longform\makeoneendverb]}%
}
\def\setupverbchar{%
@@ -2165,9 +2181,11 @@
\initializearticle
\pageno=1001 % number of title page
-\StretchyTenPointSpacing
-\StretchyNinePointSpacing
-\StretchyEightPointSpacing
+% Stretchy spacing was the default for many years, but in summer 2011 it
+% looked too stretchy. Comment out.
+%\StretchyTenPointSpacing
+%\StretchyNinePointSpacing
+%\StretchyEightPointSpacing
\makevertverbchar
@@ -2179,6 +2197,12 @@
Version Date Changes
------- --------- ---------------------------------------------------
+1.20 22 May 12 Do not hyphenate in typewriter.
+ Add footnote hooks.
+ No \Stretchy*Spacing by default.
+ \smallcode for verbatim displays (not inline)
+ via \smallverbdisplay.
+
1.19 4 Mar 11 added \r
1.18 4 Feb 11 changed \rfoot to give same results as LaTeX class