Debian Codegraph @

texmf-dist/tex/latex/base/ltnews.cls

raw
1 % \iffalse meta-comment
2 %
3 % Copyright (C) 1993-2025
4 % The LaTeX Project and any individual authors listed elsewhere
5 % in this file.
6 %
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
9 %
10 % It may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3c
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 % https://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX
16 % version 2008 or later.
17 %
18 % This file has the LPPL maintenance status "maintained".
19 %
20 % The list of all files belonging to the LaTeX base distribution is
21 % given in the file `manifest.txt'. See also `legal.txt' for additional
22 % information.
23 %
24 % The list of derived (unpacked) files belonging to the distribution
25 % and covered by LPPL is defined by the unpacking scripts (with
26 % extension .ins) which are part of the distribution.
27 %
28 % \fi
29 % Filename: ltnews.cls
30 % Author: Alan Jeffrey et al
31
32 % This is the LaTeX2e document class for the `LaTeX News' information
33 % sheet which comes with every LaTeX release. It may be useful for
34 % newsletters, or as an example of how simple newsletters can be set
35 % with LaTeX. The changes log is at the end of the file.
36
37 % Copyright 1994-2004
38 % Alan Jeffrey and the LaTeX Project.
39
40 % This is a LaTeX2e document class.
41
42 \NeedsTeXFormat{LaTeX2e}
43
44 \ProvidesClass{ltnews}[2025/05/29 v1.09 Standard LaTeX class]
45
46 % The configuration file, used for passing options.
47
48 \InputIfFileExists{ltnews.cfg}{%
49 \ClassInfo{ltnews}{Using local configuration file}%
50 }{%
51 \ClassInfo{ltnews}{No local configuration file}%
52 }
53
54 % The lw35fonts option uses the fonts:
55 %
56 % Adobe Palatino (main text)
57 % Adobe Helvetica Bold (headings)
58 % Courier (program listings)
59 % Mathptm math italic (2e logo)
60 % Mathptm symbol font (AMS logo)
61 %
62 % The type1fonts option uses the fonts:
63 %
64 % Adobe Utopia (main text)
65 % URW Grotesk-T Bold (headings)
66 % Lucida Sans typewriter (program listings)
67 % Mathptm math italic (2e logo)
68 % Mathptm symbol font (AMS logo)
69
70 % The Adobe Palatino fonts:
71
72 \DeclareFontFamily{OT1}{ppl}{}
73 \DeclareFontShape{OT1}{ppl}{m}{n}{<-> pplr7t}{}
74 \DeclareFontShape{OT1}{ppl}{bx}{n}{<-> pplb7t}{}
75 \DeclareFontShape{OT1}{ppl}{m}{sc}{<-> pplrc7t}{}
76 \DeclareFontShape{OT1}{ppl}{m}{it}{<-> pplri7t}{}
77 \DeclareFontShape{OT1}{ppl}{m}{sl}{<-> pplro7t}{}
78
79 \DeclareFontFamily{T1}{ppl}{}
80 \DeclareFontShape{T1}{ppl}{m}{n}{<-> pplr8t}{}
81 \DeclareFontShape{T1}{ppl}{bx}{n}{<-> pplb8t}{}
82 \DeclareFontShape{T1}{ppl}{m}{sc}{<-> pplrc8t}{}
83 \DeclareFontShape{T1}{ppl}{m}{it}{<-> pplri8t}{}
84 \DeclareFontShape{T1}{ppl}{m}{sl}{<-> pplro8t}{}
85
86 % The Adobe Helvetica fonts:
87
88 \DeclareFontFamily{OT1}{phv}{}
89 \DeclareFontShape{OT1}{phv}{m}{n}{<-> s*[0.86] phvr7t}{}
90 \DeclareFontShape{OT1}{phv}{b}{n}{<-> phvb7t}{}
91
92 \DeclareFontFamily{T1}{phv}{}
93 \DeclareFontShape{T1}{phv}{m}{n}{<-> s*[0.86] phvr8t}{}
94 \DeclareFontShape{T1}{phv}{b}{n}{<-> phvb8t}{}
95
96 % The Adobe Courier fonts:
97
98 \DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1}
99 \DeclareFontShape{OT1}{pcr}{m}{n}{<-> s*[0.89] pcrr7t}{}
100
101 \DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1}
102 \DeclareFontShape{T1}{pcr}{m}{n}{<-> s*[0.89] pcrr8t}{}
103
104 % The Utopia fonts:
105
106 \DeclareFontFamily{OT1}{put}{}
107 \DeclareFontShape{OT1}{put}{m}{n}{<-> putr7t}{}
108 \DeclareFontShape{OT1}{put}{m}{sc}{<-> putrc7t}{}
109 \DeclareFontShape{OT1}{put}{m}{it}{<-> putri7t}{}
110
111 % The URW Grotesk fonts:
112
113 \DeclareFontFamily{OT1}{ugq}{}
114 \DeclareFontShape{OT1}{ugq}{b}{n}{<-> ugqb7t}{}
115
116 % The Lucida Sans Typewriter fonts:
117
118 \DeclareFontFamily{OT1}{hlct}{\hyphenchar\font=-1}
119 \DeclareFontShape{OT1}{hlct}{m}{n}{<-> hlct7t}{}
120
121 % The mathptm math italic:
122
123 \DeclareFontFamily{OML}{ptmcm}{\skewchar\font=127}
124 \DeclareFontShape{OML}{ptmcm}{m}{it}{<-> zptmcmrm}{}
125
126 % The mathptm symbol font:
127
128 \DeclareFontFamily{OMS}{pzccm}{}
129 \DeclareFontShape{OMS}{pzccm}{m}{n}{<-> zpzccmry}{}
130
131 % The TeX logo for use with Palatino.
132
133 \def\pplTeX{T\kern-.15em\lower.4ex\hbox{E}\kern-.1emX\@}
134
135 % The LaTeX logo for use with Palatino.
136
137 \DeclareRobustCommand{\pplLaTeX}{L\kern-.3em
138 {\setbox0\hbox{T}%
139 \vbox to\ht0{\hbox{%
140 \csname S@\f@size\endcsname
141 \fontsize\sf@size\z@
142 \math@fontsfalse\selectfont
143 A}%
144 \vss}%
145 }%
146 \kern-.07em
147 \TeX}
148
149 % The TeX logo for use with Utopia.
150
151 \def\putTeX{T\kern-.1667em\lower.4ex\hbox{E}\kern-.075emX\@}
152
153 % The LaTeX logo for use with Utopia.
154
155 \DeclareRobustCommand{\putLaTeX}{L\kern-.2em
156 {\setbox0\hbox{T}%
157 \vbox to\ht0{\hbox{%
158 \csname S@\f@size\endcsname
159 \fontsize\sf@size\z@
160 \math@fontsfalse\selectfont
161 A}%
162 \vss}%
163 }%
164 \kern-.05em
165 \TeX}
166
167 % The TeX logo for use with Helvetica.
168
169 \def\phvTeX{T\kern-.1em\lower.4ex\hbox{E}\kern-.05emX\@}
170
171 % The LaTeX logo for use with Helvetica.
172
173 \DeclareRobustCommand{\phvLaTeX}{L\kern-.3em
174 {\calculate@math@sizes
175 \setbox0\hbox{T}%
176 \vbox to\ht0{\hbox{%
177 \csname S@\f@size\endcsname
178 \fontsize\sf@size\z@
179 \math@fontsfalse\selectfont
180 A}%
181 \vss}%
182 }%
183 \kern-.05em
184 \TeX}
185
186 % The TeX logo for use with Grotesk.
187
188 \def\ugqTeX{T\kern-.1em\lower.4ex\hbox{E}\kern-.05emX\@}
189
190 % The LaTeX logo for use with Grotesk.
191
192 \DeclareRobustCommand{\ugqLaTeX}{L\kern-.15em
193 {\calculate@math@sizes
194 \setbox0\hbox{T}%
195 \vbox to\ht0{\hbox{%
196 \csname S@\f@size\endcsname
197 \fontsize\sf@size\z@
198 \math@fontsfalse\selectfont
199 A}%
200 \vss}%
201 }%
202 \kern-.01em
203 \TeX}
204
205 % The TeX logo for use with CMSS.
206
207 \def\cmssTeX{T\kern-.2em\lower.4ex\hbox{E}\kern-.05emX\@}
208
209 % The LaTeX logo for use with CMSS.
210
211 \DeclareRobustCommand{\cmssLaTeX}{L\kern-.22em
212 {\setbox0\hbox{T}%
213 \vbox to\ht0{\hbox{%
214 \csname S@\f@size\endcsname
215 \fontsize\sf@size\z@
216 \math@fontsfalse\selectfont
217 A}%
218 \vss}%
219 }%
220 \kern-.17em
221 \TeX}
222
223 % The eTeX logo.
224
225 \DeclareRobustCommand\eTeX{\ensuremath{\varepsilon}-\kern-.125em\TeX}
226
227 % Switch off some of the article options.
228
229 \DeclareOption{a4paper}{\OptionNotUsed}
230 \DeclareOption{a5paper}{\OptionNotUsed}
231 \DeclareOption{b5paper}{\OptionNotUsed}
232 \DeclareOption{letterpaper}{\OptionNotUsed}
233 \DeclareOption{legalpaper}{\OptionNotUsed}
234 \DeclareOption{executivepaper}{\OptionNotUsed}
235 \DeclareOption{landscape}{\OptionNotUsed}
236 \DeclareOption{twoside}{\OptionNotUsed}
237 \DeclareOption{titlepage}{\OptionNotUsed}
238 \DeclareOption{onecolumn}{\OptionNotUsed}
239
240 % The CM fonts
241
242 \newcommand{\@titlefont}{\normalfont\Huge}
243 \newcommand{\@indiciafont}{\normalfont\footnotesize}
244 \newcommand{\@headingfont}{%
245 \large\sffamily\slshape
246 \let\LaTeX\cmssLaTeX\let\TeX\cmssTeX
247 }
248 \newcommand{\@subheadingfont}{%
249 \normalsize\sffamily\slshape
250 \let\LaTeX\cmssLaTeX\let\TeX\cmssTeX
251 }
252
253 % The LW 35 fonts option
254
255 %% The size of the haeding font was reduced (from 14pt) here to
256 %% try and ensure that the pagination does not change whilst the
257 %% line count remains the same.
258 \DeclareOption{lw35fonts}{%
259 \renewcommand{\rmdefault}{ppl}%
260 \renewcommand{\ttdefault}{pcr}%
261 \renewcommand{\sfdefault}{phv}%
262 \renewcommand{\@titlefont}{%
263 \fontsize{50}{60}\fontfamily{phv}\fontseries{b}\selectfont
264 \let\LaTeX\phvLaTeX\let\TeX\phvTeX
265 }%
266 \renewcommand{\@indiciafont}{%
267 \fontsize{8}{10}\fontfamily{ppl}\fontshape{it}\selectfont
268 }%
269 \renewcommand{\@headingfont}{%
270 \fontsize{12}{13.5}\fontfamily{phv}\fontseries{b}\selectfont
271 \let\LaTeX\phvLaTeX\let\TeX\phvTeX
272 }%
273 \renewcommand{\@subheadingfont}{%
274 \fontsize{10}{12}\fontfamily{phv}\fontseries{b}\selectfont
275 \let\LaTeX\phvLaTeX\let\TeX\phvTeX
276 }%
277 \DeclareSymbolFont{letters}{OML}{ptmcm}{m}{it}%
278 \DeclareSymbolFont{symbols}{OMS}{pzccm}{m}{n}%
279 \let\LaTeX\pplLaTeX
280 \let\TeX\pplTeX
281 \AtEndOfClass{\addtolength\textheight\baselineskip}%
282 }
283
284 % The type 1 fonts option
285
286 \DeclareOption{type1fonts}{%
287 \renewcommand{\rmdefault}{put}%
288 \renewcommand{\ttdefault}{hlct}%
289 \renewcommand{\sfdefault}{ugq}%
290 \renewcommand{\@titlefont}{%
291 \fontsize{50}{60}\fontfamily{ugq}\fontseries{b}\selectfont
292 \let\LaTeX\ugqLaTeX\let\TeX\ugqTeX
293 }%
294 \renewcommand{\@indiciafont}{%
295 \fontsize{8}{10}\fontfamily{put}\fontshape{it}\selectfont
296 }%
297 \renewcommand{\@headingfont}{%
298 \fontsize{12}{14}\fontfamily{ugq}\fontseries{b}\selectfont
299 \let\LaTeX\ugqLaTeX\let\TeX\ugqTeX
300 }%
301 \renewcommand{\@subheadingfont}{%
302 \fontsize{10}{12}\fontfamily{ugq}\fontseries{b}\selectfont
303 \let\LaTeX\ugqLaTeX\let\TeX\ugqTeX
304 }%
305 \renewcommand{\verbatim@font}{%
306 \fontsize{9}{12}\fontfamily{hlct}\selectfont
307 }%
308 \DeclareSymbolFont{letters}{OML}{ptmcm}{m}{it}%
309 \DeclareSymbolFont{symbols}{OMS}{pzccm}{m}{n}%
310 \let\LaTeX\putLaTeX
311 \let\TeX\putTeX
312 }
313
314 % The default action for any option is to pass it to the article
315 % class.
316
317 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
318
319 % Execute the options.
320
321 \ProcessOptions
322
323 % Load the article class.
324
325 \LoadClass[twocolumn,oneside]{article}
326
327 %
328 % The package url.sty takes care of breaking url's that are too long
329 % to fit in a two-column design
330 % but it might not be available on all installations.
331 % Therefore we need to check if the file url.sty can be found.
332 %
333 % Also, it uses a verbatim input mode so Chris does not use it for
334 % urls as he wants to control layout and use macros within it. Also
335 % he usuually wants to hand-craft the line-breaks in such text.
336 %
337 \IfFileExists{url.sty}{%
338 \RequirePackage{url}
339 \newcommand\email{\begingroup \Url}}{%
340 \newcommand*{\url}[1]{\texttt{##1}}
341 \newcommand*{\email}[1]{\texttt{##1}}
342 }
343 %
344 % The package html.sty defines a number of things needed for the LaTeX
345 % to HTML conversion; noticeable the latexonly and htmlonly
346 % environments.
347 % Again, let's check if it exists and if not provide necessary stubs
348 %
349 \IfFileExists{html.sty}{%
350 \RequirePackage{html}}{%
351 % When it couldn't be found, provide some necessary stuff...
352 \newenvironment{latexonly}{}{}
353 \newcommand{\latex}[1]{##1}
354 %
355 % Code for excludecomment from html.sty
356 % by Robin Fairbairns, 22 September 1997
357 %
358 \newcommand\@gobbleenv{\let\reserved@a\@currenvir\@gobble@nv}
359 \long\def\@gobble@nv##1\end##2{%
360 \def\reserved@b{##2}%
361 \ifx\reserved@a\reserved@b
362 \edef\reserved@a{\noexpand\end{\reserved@a}}%
363 \expandafter\reserved@a
364 \else
365 \expandafter\@gobble@nv
366 \fi
367 }
368 \newcommand{\excludecomment}[1]{%
369 \csname newenvironment\endcsname{##1}{\@gobbleenv}{}}
370 \excludecomment{htmlonly}
371 }
372
373 %
374 % If pdf is being produced add some info to the pdf file and use hyperref.
375 % But move this after other packages are, possibly, loaded.
376 % LuaTeX support.
377 \ifx\pdfoutput\@undefined
378 \let\pdfoutput\outputmode
379 \protected\def\pdfinfo{\pdfextension info }
380 \fi
381 \ifx\pdfoutput\@undefined\else
382 \ifx\pdfoutput\relax\else
383 \ifcase\pdfoutput\else
384 \pdfinfo{%
385 /Title (LaTeX News)
386 /Author (The LaTeX Project)
387 }
388 \IfFileExists{hyperref.sty}{%
389 \RequirePackage[hidelinks]{hyperref}}{}
390 \fi
391 \fi
392 \fi
393 % This should be further enhanced so that links other than those
394 % naively generated by \url can be produced in the pdf file.
395
396 %% Please DO NOT load any packages after this point.
397 %%
398
399
400 % The page style.
401
402 \pagestyle{empty}
403 \renewcommand{\@oddfoot}{\@indiciafont\mbox{}\hfill --\thepage}%
404 \renewcommand{\@evenfoot}{\@indiciafont\mbox{}\hfill --\thepage}%
405
406 \setlength{\parindent}{1em}
407 % Why \textwidth?
408 \setlength{\rightskip}{0pt plus \textwidth}
409 \setlength{\@rightskip}{\rightskip}
410 \setlength{\parfillskip}{0pt plus 2\textwidth}
411 \setlength{\columnsep}{2em}
412
413 % The text size, which tries to work with both A4 and letter paper
414 % sizes.
415
416 \setlength{\textheight}{230mm}
417 \setlength{\topmargin}{-10mm}
418
419 \setlength{\textwidth}{180mm}
420 \setlength{\oddsidemargin}{-10mm}
421
422 % \maketitle parameters.
423
424 \newcommand{\publicationmonth}{\renewcommand{\@month}}
425 \newcommand{\@month}{\ClassError{ltnews}
426 {No \protect\publicationmonth~given}\@eha}
427
428 \newcommand{\publicationyear}{\renewcommand{\@year}}
429 \newcommand{\@year}{\ClassError{ltnews}
430 {No \protect\publicationyear~given}\@eha}
431
432 \newcommand{\publicationday}{\renewcommand{\@day}}
433 \newcommand{\@day}{01} % most releases happen on 1st of a month
434
435 \newcommand{\publicationdate}{%
436 % support draft ltnews, \publicationyear{2023 --- DRAFT ...}
437 \expandafter\@gobblenonyear\@year\@nil
438 -\@julianmonthtonum\@month-\two@digits\@day}
439
440 \newcommand{\@julianmonthtonum}[1]{\@nameuse{@juliantonum#1}}
441 \def\@juliantonumJanuary {01}
442 \def\@juliantonumFebruary {02}
443 \def\@juliantonumMarch {03}
444 \def\@juliantonumApril {04}
445 \def\@juliantonumMay {05}
446 \def\@juliantonumJune {06}
447 \def\@juliantonumJuly {07}
448 \def\@juliantonumAugust {08}
449 \def\@juliantonumSeptember{09}
450 \def\@juliantonumOctober {10}
451 \def\@juliantonumNovember {11}
452 \def\@juliantonumDecember {12}
453
454 \long\def\@gobblenonyear#1#2#3#4#5\@nil{#1#2#3#4}
455
456 \newcommand{\publicationissue}{\renewcommand{\@issue}}
457 \newcommand{\@issue}{\ClassError{ltnews}
458 {No \protect\publicationissue~given}\@eha}
459 \newcommand{\issuename}{Issue}
460
461 \newcommand{\indicia}{\renewcommand{\@indicia}}
462 \newcommand{\@indicia}{%
463 \LaTeXNews, and the \LaTeX{} software,
464 are brought to you by the \LaTeX\ Project Team;
465 Copyright \@year, license LPPL.
466 }
467
468 \title{\LaTeXNews}
469
470 % The \maketitle for the LaTeX News.
471
472 \renewcommand{\maketitle}{%
473 \twocolumn[{%
474 \parbox[t][7\baselineskip]{\textwidth}{%
475 \@titlefont\@title\\[\medskipamount]
476 \normalfont\normalsize\issuename~\@issue,
477 \@month~\@year~(\LaTeX\ release \publicationdate)%
478 }%
479 }]%
480 \thispagestyle{titlepage}
481 }
482
483 \newcommand{\ps@titlepage}{%
484 \renewcommand{\@oddhead}{\hfill}%
485 \renewcommand{\@evenhead}{\hfill}%
486 \renewcommand{\@oddfoot}{\@indiciafont\@indicia\hfill}%
487 \renewcommand{\@evenfoot}{\@indiciafont\@indicia\hfill}%
488 }
489 %
490 % When PostScript fonts are use we want the first section heading
491 % to come out a little bit higher on the page.
492
493 \newcommand{\raisefirstsection}{%
494 \ifx\TeX\pplTeX
495 \vspace*{-30pt} % typesetting with lw35fonts
496 \setlength{\topskip}{18pt}
497 \else
498 \vspace*{-36pt}
499 \fi
500 }
501 % Sectioning commands.
502
503 \renewcommand{\section}{%
504 \@startsection
505 {section}{1}{\z@}{-1.5ex \@plus -1ex \@minus -.2ex}%
506 {1ex \@plus.2ex}{\@headingfont}%
507 }
508
509 \renewcommand{\subsection}{%
510 \@startsection
511 {subsection}{1}{\z@}{-1.5ex \@plus -1ex \@minus -.2ex}%
512 {1sp}{\@subheadingfont}%
513 }
514
515 % maybe not the greatest design but normally we wouldn't have subsubsections
516 \renewcommand{\subsubsection}{%
517 \@startsection
518 {subsubsection}{2}{\leftmargini}{-1.5ex \@plus -1ex \@minus -.2ex}%
519 {1sp}{\@subheadingfont}%
520 }
521
522
523 % suggestion by Karl Berry (not integrated (yet))
524
525 \newcommand{\ltnewssectformat}{%
526 \@headingfont
527 \frenchspacing
528 \raggedright
529 \hyphenpenalty=10000
530 \exhyphenpenalty=10000
531 }
532
533 % No section numbers.
534
535 \setcounter{secnumdepth}{0}
536
537 % Set lists tighter, but brought in by 1em (otherwise the first line
538 % always looks very wide). Should this be done with \rightskip?
539 % It actually does nothing since after this \rightskip is set to
540 % \@rightskip: I think \rightmargin was intended but should we change
541 % it now?
542 % FMi 1999/12/11: in fact it needs to go as it would affect the
543 % paragraph before the list making it flush right and indented while
544 % the rest of the document is set ragged.
545
546 \renewcommand{\@listI}{%
547 \setlength{\leftmargin}{\leftmargini}%
548 \setlength{\topsep}{\medskipamount}%
549 \setlength{\itemsep}{0pt}%
550 \setlength{\listparindent}{1em}%
551 % \setlength{\rightskip}{1em}%
552 }
553 \let \@listi \@listI
554
555 % set defaults so that trivlist eg verbatim use tighter spacing
556 \@listi
557 \setlength\topsep{4pt plus 1pt minus 2pt}
558
559 % But have a list type with no indentation on either side:
560 %
561 \renewenvironment{description}
562 {\list{}{\labelwidth\z@
563 \leftmargin \z@
564 \rightmargin \z@
565 \itemindent-\leftmargin
566 \let\makelabel\descriptionlabel}}
567 {\endlist}
568
569 \newenvironment{citations}{%
570 \list{}{%
571 \renewcommand{\makelabel}[1]{\itshape{##1},}%
572 }%
573 }{%
574 \endlist
575 }
576
577 % Some logos:
578
579 \newcommand{\NFSS}{NFSS}
580 \newcommand{\LaTeXNews}{\LaTeX~News}
581 \newcommand{\AW}{Addison Wesley}
582 \newcommand{\SLiTeX}{\textsc{Sli}\TeX}
583 \newcommand{\AmS}{$${\protect\the\textfont2 A}\kern-.1667em\lower
584 .5ex\hbox{\protect\the\textfont2 M}\kern
585 -.125em{\protect\the\textfont2 S}}
586 \newcommand{\AmSLaTeX}{\mbox{\AmS-\LaTeX}}
587 \newcommand{\ctan}{\textsc{CTAN}}
588 \newcommand{\PSNFSS}{\textsc{PSNFSS}}
589 \newcommand{\babel}{\textsf{babel}}
590
591 % Abbreviations:
592
593 \newcommand{\ctanhttp}{http://mirror.ctan.org/}
594
595 % Needed for 09:
596
597 \newcommand\cs[1]{\texttt{\textbackslash#1}}
598
599 % Some logical markup:
600
601 \newcommand*\class[1]{\texttt{#1}}
602 \newcommand*\package[1]{\textsf{#1}}
603 \let \pkg \package % backward compatibility
604 \newcommand*\file[1]{\texttt{#1}}
605
606
607 % Hacking to make <...> produce italics in verbatim. NB: this can be
608 % done more cleanly using the verbatim package. But the ltnews class
609 % has to run on any LaTeX installation, even those without the
610 % verbatim package.
611
612 % Here we extend the font-setting command to include making <> active
613 % (ie adjusting the input encoding).
614 \renewcommand \verbatim@font {%
615 \normalfont \ttfamily
616 \catcode`\<=\active
617 \catcode`\>=\active
618 }
619
620 % Make active <...> produce italics surrounded by angle brackets
621 % (used in verbatim and \verb);
622 % << produces a less-than, and >> produces a greater-than.
623
624 \begingroup
625 \catcode`\<=\active
626 \catcode`\>=\active
627 \gdef<{\@ifnextchar<\@lt\@meta}
628 \gdef>{\@ifnextchar>\@gt\@gtr@err}
629 \gdef\@meta#1>{{\reset@font\normalsize\itshape#1\/}}
630 \gdef\@lt<{\char`\<}
631 \gdef\@gt>{\char`\>}
632 \endgroup
633 \def\@gtr@err{%
634 \ClassError{ltxguide}{%
635 Isolated \protect>%
636 }{%
637 In this document class, \protect<...\protect>
638 is used to indicate a parameter.\MessageBreak
639 I've just found a \protect> on its own.
640 Perhaps you meant to type \protect>\protect>?
641 }%
642 }
643 \def\verbatim@nolig@list{\do\`\do\,\do\'\do\-}
644
645 % That's it!
646
647 %FMi temp addition until etoolbox is updated
648 %\RequirePackage{etoolbox-ltx}
649 %\AddToHook{env/document/begin}{\RemoveFromHook{env/document/begin}[*]} % done in \document
650
651 \endinput
652
653 % CHANGELOG
654 %
655 % 20 May 1994, v0.01: Created file.
656 %
657 % 21 May 1994, v0.02: Made <...> produce italics inside verbatim.
658 % Added the indicia, \publicationyear, \publicationmonth and
659 % \publicationissue. Added the citations environment. Switched off
660 % some of the article class options.
661 %
662 % 21 May 1994, v0.03: Fixed a bug with ragged right. Fixed a bug
663 % which was causing underfull hbox messages.
664 %
665 % 27 May 1994, v0.04: Added SliTeX logo, and proper AMS LaTeX logo.
666 % Added angle brackets to <...>.
667 %
668 % 31 May 1994, v0.05: Added downloaded PS fonts options. Removed
669 % angle brackets from <...> since these were the last remaining
670 % bitmaps! Added variants of the LaTeX logo. Added the ltnews.cfg
671 % file. Added the lw35fonts option.
672 %
673 % 27 Jul 1994, v0.06: Corrected a typo `\PassOptionToClass' should
674 % have been `\PassOptionsToClass'. Manas Mandal pointed that one
675 % out.
676 %
677 % 29 Nov 1994, v0.07: Made <...> only active in verbatim.
678 %
679 % 09 Dec 1995, v0.08: Upper case for Project Team.
680 %
681 % 20 Dec 1995, v0.09: Tidied up the list stuff.
682 %
683 % 03 Jun 1996, v0.10: Changed fonts for lw35 option, for logical and
684 % aesthetic reasons.
685 %
686 % 06 Jun 1996, v0.11: Corrected grammar in footer.
687 %
688 % 10 June 1996 v0.12: Add extra line in lw35fonts option,
689 % so 04 and 05 do not run over the page.
690 % Make font scaling messages go to log only.
691 %
692 % 22 Nov 1997, v0.13: Added new form of description.
693 % Found all sorts of strange things involving \rightskip
694 %
695 % 23 Feb 1999, v0.14: Added some logos etc.
696 %
697 % 02 Jul 1999, v0.15: Added some logical markup
698 %
699 % 03 Jul 1999, v0.16: Amended \pkg and added \email
700 %
701 % 21 Dec 1999, v0.17: Added PDF info, load package url.sty
702 %
703 % 23 Dec 1999, v0.18: Don't depend on url.sty being present
704 %
705 % 21 Jul 2000, v0.19: Extra short-cuts, added to doc re v0.17;
706 % and more fonts
707 %
708 % 31 Aug 2000, v0.20: Fixed typo in URL (JLB)
709 %
710 % 06 Jun 2001, v0.21: Corrected undocumented stubs for html.sty
711 %
712 % 12 Jul 2001, v0.22: Added eTeX logo (from ltugboat.cls)
713 %
714 % 26 Feb 2004, v1.00: If pdf is being produced, use hyperref.
715 % But move this after other packages are, possibly, loaded.
716 %
717 % 28 Feb 2004 v1.01 Heading font in lw35, size change.
718 %
719 % 21 Oct 2004 v1.02 Improve check for PDF generation (taken from ifpdf.sty)
720 %
721 % 01 May 2014 v1.03 hidelinks option for hyperref
722 %
723 % BUGS
724 %
725 % Switching between logos like this is a mess.
726 %
727 % The last column should be set flush bottom.