diff options
Diffstat (limited to 'info/digests/ttn/ttn1n3.sty')
-rw-r--r-- | info/digests/ttn/ttn1n3.sty | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/info/digests/ttn/ttn1n3.sty b/info/digests/ttn/ttn1n3.sty new file mode 100644 index 0000000000..8971ed0644 --- /dev/null +++ b/info/digests/ttn/ttn1n3.sty @@ -0,0 +1,147 @@ +%% IMPORTANT NOTICE: You *MUST* use this version 1.3 of tugnews.sty +%% dated Oct. 1992 in order to run vol.1, no.3 of +%% _TeX and TUG NEWS_. (Ch. Thiele, Editor, TTN). +%% +%% (JLB) modified for use with NFSS + +\input report.sty %% default report style, 10pt font + +\typeout{Version 1.3 -- Oct. 92} + +\textwidth=29pc +\textheight=43pc +\voffset=-2pc +\overfullrule=0pt \hfuzz=5pt + +%test for nfss as suggested by Johannes Braams (cjc, 1992.10) + \ifx\undefined\selectfont + % If NFSS is not preloaded, define a few fonts. + \font\Sectionfont=cmbxsl10 scaled \magstep2 %% \Large = 14.40pt +%% \Subsectionfont and \bsl aren't used in TTN 1,3: +%% \font\Subsectionfont=cmbxsl10 scaled \magstep1 %% \large = 12pt + \font\subsectionbit=cmbxti10 scaled\magstep1 %% bold italic 12pt +%% \font\bsl=cmbxsl10 %% bold slant 10pt + \font\unsl=cmu10 %% unslant 10pt for + %% upright pound sign + \else + % If NFSS has been preloaded, we need the following: + % \font\tenmi=cmmi10 % or better yet: + \def\tenmi{\fontfamily{cmm}\fontseries{m}\fontshape{it}% + \fontsize{10}{12pt}\selectfont} +%+ +% The bold extended slanted fonts. +% First an internal support macro +%- + \def\@bxsl{\fontfamily{cmr}\fontseries{bx}\fontshape{sl}} +% Then the user macros + \def\Sectionfont{\@bxsl\fontsize{14}{16pt}\selectfont} +% the following for completeness + % \def\Subsectionfont{\@bxsl\fontsize{12}{14pt}\selectfont} + % \def\bsl{\@bxsl\fontsize{10}{12pt}\selectfont} +% And an italic one (use \@bxsl to be brief, the last \fontshape holds) + \def\subsectionbit{\@bxsl\fontshape{it}\fontsize{12}{14pt}\selectfont} + \def\unsl{\fontfamily{cmr}\fontseries{m}\fontshape{u}% + \fontsize{10}{12pt}\selectfont} % if you want a fixed size +% \selectfont} % if you want the size to change with the context + \fi + + + +\newcommand{\Section}[1]{\section*{\centering% + \hrule\hrule \vskip.5pc + {\Sectionfont #1} + \vskip.5pc \hrule\hrule + \vskip1pc + } + } +%% The following macro hasn't been used since the prototype: +%% Reggie's \Subsection (6 MAY 91): %% 15 JAN 92: not used in 1,1 +%% \newcommand{\Subsection}[1]{\subsection*{\centering% +%% \centerline{\vrule width 6cm height .5pt} \vskip 6pt +%% {{\Subsectionfont #1}} +%% \centerline{\vrule width 6cm height .5pt} \vskip 6pt +%% } +%% } + + +%% 11 JAN 92: added \bibentry, a hanging indent biblio style (Ch.) +\newcommand{\bibentry}{\hangindent=\parindent + \hangafter=1 + \noindent \sloppy + \clubpenalty500 \widowpenalty500 + \frenchspacing + } + + +%% 3 FEB 92: Jackie Damrau provided this: +\newenvironment{Address}{\begin{verse}}% + {\end{verse}} + +%% Abbreviations and Logos (some copped from tugboat.cmn): + +%% for the METAFONT logo font: +\font\manual=manfnt %% logo10 +\def\MF{{\manual META}\-{\manual FONT}} + +\def\TUG{\TeX{} Users Group} +\def\tug{{\small TUG}} %% added 30 SEP 92 (Ch.) +\def\TUB{{\sl TUGboat\/}} +\def\TTN{{\sl\TeX{} and TUG NEWS\/}} +\def\ttn{{\small TTN}} %% added 30 SEP 92 (Ch.) +\def\isbn{{\small ISBN}} %% added 30 SEP 92 (Ch.) +\def\issn{{\small ISSN}} %% added 30 SEP 92 (Ch.) +\def\uk{{\small UK}} %% added 15 OCT 92 (Ch.) +\def\fax{{\small FAX}} %% added 15 OCT 92 (Ch.) + +\def\pounds{{\unsl\$}} %% added 15 OCT 92 (Ch.) + + +%% 4 FEB 92: improved versions of LaTeX, and (La)TeX macros: + +\newcount\TestCount +\def\La{\TestCount=\the\fam \leavevmode L\raise.42ex + \hbox{$\fam\TestCount\scriptstyle\kern-.3em A$}} + +\def\LaTeX{\La\kern-.15em\TeX} + +\def\AllTeX{{(\La)\TeX}} + +\def\AmSTeX{{\the\textfont2 A}\kern-.1667em\lower.5ex\hbox + {\the\textfont2 M}\kern-.125em{\the\textfont2 S}-\TeX} + +\def\AmSLaTeX{{\the\textfont2 A}\kern-.1667em\lower.5ex\hbox + {\the\textfont2 M}\kern-.125em{\the\textfont2 S}-\LaTeX} + +\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025emb}\kern-.08em\TeX}} + +\def\careof{\leavevmode\hbox{\raise.75ex\hbox{c}\kern-.15em + /\kern-.125em\smash{\lower.3ex\hbox{o}}} \ignorespaces} + +\def\ILaTeX{I\LaTeX} + +\def\TeCH{{\rm T\kern-.1667em\lower.7ex\hbox{E}\kern-.125em{\sf CH}}} + +\def\TeXline{{\TeX\kern-0.1em line}} + + +%% Miscellaneous: + +\hyphenation{Karls-ruhe} + +\let\ts=\thinspace +\let\nl=\newline + + +%% CHANGES FROM ttn1-1.sty TO ttn1-2.sty: + +%% 25 MAY 92: changed \smc to \sc in \BiBTeX def'n (Ch.) +%% added \AmSLaTeX def'n (Ch.) +%% 14 JUN 92: added \TeXline def (Ch.) + +%% CHANGES from ttn1-2.sty TO ttn1-3.sty: +%% 10 SEP 92: Jackie added {ttnlist} + +%% CHANGES from ttn1-3-old.sty: + +%% 10 NOV 92: Chris Carruthers addes NFSS switch, as suggested by +%% Johannes Braams. |