Debian Codegraph @

texmf-dist/tex/latex/base/latex209.def

raw
1 %%
2 %% This is file `latex209.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% latex209.dtx (with options: `head')
8 %% oldlfont.dtx (with options: `latex209')
9 %% latex209.dtx (with options: `tail')
10 %%
11 %% This is a generated file.
12 %%
13 %% The source is maintained by the LaTeX Project team and bug
14 %% reports for it can be opened at https://latex-project.org/bugs.html
15 %% (but please observe conditions on bug reports sent to that address!)
16 %%
17 %%
18 %% Copyright (C) 1993-2025
19 %% The LaTeX Project and any individual authors listed elsewhere
20 %% in this file.
21 %%
22 %% This file was generated from file(s) of the LaTeX base system.
23 %% --------------------------------------------------------------
24 %%
25 %% It may be distributed and/or modified under the
26 %% conditions of the LaTeX Project Public License, either version 1.3c
27 %% of this license or (at your option) any later version.
28 %% The latest version of this license is in
29 %% https://www.latex-project.org/lppl.txt
30 %% and version 1.3c or later is part of all distributions of LaTeX
31 %% version 2008 or later.
32 %%
33 %% This file has the LPPL maintenance status "maintained".
34 %%
35 %% This file may only be distributed together with a copy of the LaTeX
36 %% base system. You may however distribute the LaTeX base system without
37 %% such generated files.
38 %%
39 %% The list of all files belonging to the LaTeX base distribution is
40 %% given in the file `manifest.txt'. See also `legal.txt' for additional
41 %% information.
42 %%
43 %% The list of derived (unpacked) files belonging to the distribution
44 %% and covered by LPPL is defined by the unpacking scripts (with
45 %% extension .ins) which are part of the distribution.
46 \NeedsTeXFormat{LaTeX2e}
47 \ProvidesFile{latex209.def}[2020/11/26 v0.55 Standard LaTeX file]
48 \if@compatibility
49 \expandafter\endinput
50 \else
51 \typeout{^^J\space
52 \@spaces\@spaces\space Entering LaTeX 2.09 COMPATIBILITY MODE^^J\space
53 *************************************************************^^J\space
54 \space\space\space!!WARNING!!\space
55 \space\space\space!!WARNING!!\space
56 \space\space\space!!WARNING!!\space
57 \space\space\space!!WARNING!!\space\space\space ^^J\space
58 ^^J\space
59 This mode attempts to provide an emulation of the LaTeX 2.09^^J\space
60 author environment so that OLD documents can be successfully^^J\space
61 processed. It should NOT be used for NEW documents!^^J\space
62 ^^J\space
63 New documents should use Standard LaTeX conventions and start^^J\space
64 with the \string\documentclass\space command.^^J\space
65 ^^J\space
66 Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style^^J\space
67 files that change any internal macros, especially not with^^J\space
68 those that change the FONT SELECTION or OUTPUT ROUTINES.^^J\space
69 ^^J\space
70 Therefore such style files MUST BE UPDATED to use^^J\space
71 \@spaces\@spaces\space Current Standard LaTeX: LaTeX2e.^^J\space
72 If you suspect that you may be using such a style file, which^^J\space
73 is probably very, very old by now, then you should attempt to^^J\space
74 get it updated by sending a copy of this error message to the^^J\space
75 author of that file.^^J\space
76 *************************************************************^^J}
77 \fi
78 \@compatibilitytrue
79 \def\@tempa#1#2{%
80 \expandafter\let\csname @@\string#1\endcsname#1%
81 \edef#1{%
82 \noexpand\@latex@e@error{\noexpand#2}%
83 \expandafter\noexpand\csname @@\string#1\endcsname
84 }%
85 }
86 \@tempa\usepackage\usepackage
87 \@tempa\listfiles\listfiles
88 \@tempa\ensuremath\ensuremath
89 \@tempa\lrbox{\begin{lrbox}}%
90 \@tempa\@xargdef{\newcommand{cmd}[args][def]}%
91 \let\@latex@e@error\@gobble
92 \def\@latex@e@error@#1{%
93 \@latexerr{%
94 LaTeX2e command \string#1\space in LaTeX 2.09 document%
95 }{%
96 This is a LaTeX 2.09 document, but it contains
97 \string#1.^^J%
98 If you want to use the new features of LaTeX2e,
99 your document^^J%
100 should begin with \string\documentclass\space
101 rather than \string\documentstyle
102 }%
103 }
104 \let\@old@ifdefinable\@ifdefinable
105 \long\def\@ifdefinable#1{%
106 \def\@tempa##1#1##2#1##3#1##4\@tempa{%
107 \def\@latex@e@commands{##1##2}%
108 ##3% ##3 will either be \iftrue or \iffalse
109 \expandafter\@firstofone
110 \else
111 \expandafter\@old@ifdefinable\expandafter#1%
112 \fi
113 }%
114 \expandafter\@tempa\@latex@e@commands#1\iftrue#1\iffalse#1\@tempa%
115 }
116 \let\@@ifdefinable\@ifdefinable
117 \def\@latex@e@commands{%
118 \usepackage\listfiles\ensuremath\LaTeXe\lrbox
119 \th\dh\ng\dj\TH\DH\NG\DJ\k\r\SS
120 \guillemetleft\guillemetright
121 \guillemotleft\guillemotright\guilsinglleft
122 \guilsinglright\quotedblbase\quotesinglbase
123 }
124 \def\@documentclasshook{%
125 \RequirePackage\@unusedoptionlist
126 \let\@unusedoptionlist\@empty
127 \def\@tempa{\@normalsize}%
128 \ifx\normalsize\@tempa
129 \let\normalsize\@normalsize
130 \fi
131 \ifx\@normalsize\@undefined
132 \let\@normalsize\normalsize
133 \fi
134 \ifx\normalsize\@undefined
135 \let\normalsize\original@normalsize
136 \fi
137 \let\@latex@e@error\@latex@e@error@}
138 \let\original@normalsize\normalsize
139 \def\normalsize{\@normalsize}
140 \@ifundefined{saved@missingfileerror}{
141 \let\saved@missingfileerror=\@missingfileerror
142 }{}
143 \def\@missingfileerror#1#2{%
144 \ifx#2\@clsextension
145 \InputIfFileExists{#1.\@pkgextension}{%
146 \wlog{Compatibility mode: loading #1.\@pkgextension
147 \space rather than #1.#2.}%
148 }{%
149 \saved@missingfileerror{#1}{#2}%
150 }%
151 \else
152 \saved@missingfileerror{#1}{#2}%
153 \fi
154 }
155 \@ifundefined{@missing@onefilewithoptions}{}{%
156 \def\@missing@onefilewithoptions#1{%
157 \@pass@ptions\@currext{#1}{\@currname}%
158 \@missingfileerror\@currname\@currext
159 \let\@currname\@empty}%
160 }
161 \def\@obsoletefile#1#2{%
162 \expandafter\let\csname opt@#1\expandafter\endcsname
163 \csname opt@\@currname.\@currext\endcsname
164 \wlog{Compatibility mode: inputting `#1'
165 instead of obsolete `#2'.}}
166 \newdimen\footheight
167 \newdimen\@maxsep
168 \newdimen\@dblmaxsep
169 \mark{{}{}}
170 \ExplSyntaxOn
171 \marks1{\__mark_value:nn {2.09-compat}{}}
172 \marks2{\__mark_value:nn {2.09-compat}{}}
173 \marks3{\__mark_value:nn {2.09-compat}{}}
174 \ExplSyntaxOff
175 \def\sloppy{\tolerance \@M \hfuzz .5\p@ \vfuzz .5\p@}
176 \def\@finalstrut#1{\unskip\strut}
177 \let \@marginparreset \@empty
178 \let \@floatboxreset \@empty
179 \outer\def\proclaim #1. #2\par{%
180 \medbreak
181 \noindent{\bfseries#1.\enspace}{\slshape#2\par}%
182 \ifdim\lastskip<\medskipamount
183 \removelastskip\penalty55\medskip
184 \fi}
185 \def\hang{\hangindent\parindent}
186 \def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}
187 \def\ttraggedright{\reset@font\ttfamily\rightskip\z@ plus2em\relax}
188 \def\@footnotemark{%
189 \leavevmode
190 \ifhmode\edef\@x@sf{\the\spacefactor}\fi
191 \@makefnmark
192 \ifhmode\spacefactor\@x@sf\fi
193 \relax}
194 \def\@textsuperscript#1{$\m@th^{\@gobble#1}$}
195 \def\@makefnmark{\hbox{$^{\@thefnmark}\m@th$}}
196 \def\thempfootnote{\@alph\c@mpfootnote}
197 \def\@fnsymbol#1{\ifcase#1\or *\or \dagger\or \ddagger\or
198 \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
199 \or \ddagger\ddagger \else\@ctrerr\fi}
200 \let\@inmathwarn\@gobble
201 \def\verb{%
202 \relax\ifmmode\hbox\fi\bgroup
203 \@noligs
204 \verbatim@font
205 \let\do\@makeother \dospecials
206 \@ifstar{\@sverb}{\@verb}%
207 }
208 \def\@sverb#1{%
209 \def\@tempa ##1#1{\leavevmode\null##1\egroup}%
210 \@tempa
211 }
212 \def\verbatim@nolig@list{\do\`}
213 \def\@lquote{\leavevmode{\kern\z@}`}
214 \catcode0=9
215 \@tempcnta=1
216 \loop\ifnum\@tempcnta<32
217 \catcode\@tempcnta=12
218 \advance\@tempcnta by 1
219 \repeat%
220 \catcode`\^^I=10\relax%
221 \catcode`\^^L=13\relax%
222 \catcode`\^^M=5\relax%
223 \catcode127=15
224 \@tempcnta=128
225 \loop\ifnum\@tempcnta<256
226 \catcode\@tempcnta=12
227 \advance\@tempcnta by 1
228 \repeat
229 \DeclareRobustCommand{\SLiTeX}{{%
230 \normalfont S\kern -.06em
231 {\scshape l\kern -.035emi}\kern -.06em
232 \TeX}}
233 \let\+\@empty
234 \newcount\@cla
235 \newcount\@clb
236 \newcount\mscount
237 \long\def\@imakepicbox(#1,#2)[#3]#4{%
238 \vbox to#2\unitlength
239 {\let\mb@b\vss \let\mb@l\hss\let\mb@r\hss
240 \let\mb@t\vss
241 \@tfor\reserved@a :=#3\do{%
242 \if s\reserved@a
243 \let\mb@l\relax\let\mb@r\relax
244 \else
245 \expandafter\let\csname mb@\reserved@a\endcsname\relax
246 \fi}%
247 \mb@t
248 \hb@xt@ #1\unitlength{\mb@l #4\mb@r}%
249 \mb@b
250 }}
251 \def\supereject{\par\penalty-\@MM}
252 \def\nofiles{%
253 \@fileswfalse
254 \typeout{No auxiliary output files.^^J}%
255 \long\def\protected@write##1##2##3{}%
256 \let\makeindex\relax
257 \let\makeglossary\relax}
258 \def\ProvidesPackage#1{%
259 \xdef\@gtempa{#1}%
260 \ifx\@gtempa\@currname\else
261 \wlog{Compatibility mode: \@cls@pkg\space`\@currname' requested,
262 but `#1' provided.}%
263 \fi
264 \@ifnextchar[\@pr@videpackage{\@pr@videpackage[]}}%]
265 \let\ProvidesClass=\ProvidesPackage
266 %% File `oldlfont.dtx'.
267 %% Copyright (C) 1989-1995 Frank Mittelbach and Rainer Sch\"opf,
268 %% all rights reserved.
269 \let\math@bgroup\@empty
270 \let\math@egroup\@empty
271 \let \@@math@bgroup \math@bgroup
272 \let \@@math@egroup \math@egroup
273 \RequirePackage[errorshow]{tracefnt}
274 \DeclareSymbolFont{bold}{OT1}{cmr}{bx}{n}
275 \DeclareSymbolFont{sans}{OT1}{cmss}{m}{n}
276 \DeclareSymbolFont{typewriter}{OT1}{cmtt}{m}{n}
277 \DeclareSymbolFont{italic}{OT1}{cmr}{m}{it}
278 \DeclareSymbolFont{smallcaps}{OT1}{cmr}{m}{sc}
279 \DeclareSymbolFont{slanted}{OT1}{cmr}{m}{sl}
280 \DeclareSymbolFontAlphabet\mathbf{bold}
281 \DeclareSymbolFontAlphabet\mathsf{sans}
282 \DeclareSymbolFontAlphabet\mathtt{typewriter}
283 \DeclareSymbolFontAlphabet\mathsc{smallcaps}
284 \DeclareSymbolFontAlphabet\mathsl{slanted}
285 \let\mit\undefined
286 \let\cal\undefined
287 \let\mathit\undefined
288 \DeclareSymbolFontAlphabet\mathit{italic}
289 \DeclareSymbolFontAlphabet{\mit}{letters}
290 \DeclareSymbolFontAlphabet{\cal}{symbols}
291 \DeclareRobustCommand\rm{\normalfont\rmfamily\mathgroup\symoperators}
292 \DeclareRobustCommand\sf{\normalfont\sffamily\mathgroup\symsans}
293 \DeclareRobustCommand\sl{\normalfont\slshape\mathgroup\symslanted}
294 \DeclareRobustCommand\bf{\normalfont\bfseries\mathgroup\symbold}
295 \DeclareRobustCommand\sc{\normalfont\scshape\mathgroup\symsmallcaps}
296 \DeclareRobustCommand\it{\normalfont\itshape\mathgroup\symitalic}
297 \DeclareRobustCommand\tt{\normalfont\ttfamily\mathgroup\symtypewriter}
298 \DeclareRobustCommand\em{%
299 \@nomath\em
300 \ifdim \fontdimen\@ne\font>\z@\rm\else\it\fi}
301 \def\@setfontsize#1#2#3{\@nomath#1%
302 \ifx\protect\@typeset@protect
303 \let\@currsize#1%
304 \fi
305 \fontsize{#2}{#3}\normalfont}
306 \let\not@math@alphabet\@gobbletwo
307 \RequirePackage{latexsym}
308 \def\ds@oldlfont{%
309 \let\math@bgroup\@empty
310 \let\math@egroup\@empty
311 \let\@@math@bgroup\math@bgroup
312 \let\@@math@egroup\math@egroup
313 }
314 \def\ds@newlfont{%
315 \OptionNotUsed
316 }
317 \def\ds@margid{%
318 \let\math@bgroup\bgroup
319 \def\math@egroup##1{##1\egroup}%
320 \let \@@math@bgroup \math@bgroup
321 \let \@@math@egroup \math@egroup
322 }
323 \let\ds@nomargid\ds@oldlfont
324 \@onlypreamble\ds@oldfont
325 \@onlypreamble\ds@newfont
326 \@onlypreamble\ds@margid
327 \@onlypreamble\ds@nomargid
328 \renewcommand{\encodingdefault}{OT1}
329 \expandafter\font\csname cmex/m/n/10\endcsname=cmex10
330 \def\normalshape{\fontshape\shapedefault\selectfont}
331 \def\mediumseries{\fontseries\seriesdefault\selectfont}
332 \def \DeclareOldFontCommand #1#2#3{%
333 \wlog{Compatibility mode: definition
334 of \string#1\space ignored.}%
335 }
336 \def\@halfmag{ scaled \magstephalf}
337 \def\@magscale#1{ scaled \magstep#1 }
338 \def\@ptscale#1{ scaled #100 }
339 \fontencoding{OT1} \fontfamily{cmr}
340 \fontsize{10}{12} \fontseries{m} \fontshape{n}
341 \selectfont
342 \let\load\@gobbletwo
343 \DeclareMathDelimiter{\lgroup} % extensible ( with sharper tips
344 {\mathopen}{bold}{"28}{largesymbols}{"3A}
345 \DeclareMathDelimiter{\rgroup} % extensible ) with sharper tips
346 {\mathclose}{bold}{"29}{largesymbols}{"3B}
347 \DeclareMathDelimiter{\bracevert} % the vertical bar that extends braces
348 {\mathord}{typewriter}{"7C}{largesymbols}{"3E}
349 \let\bffam\symbold
350 \let\sffam\symsans
351 \let\itfam\symitalic
352 \let\ttfam\symtypewriter
353 \let\scfam\symsmallcaps
354 \let\slfam\symslanted
355 \let\rmfam\symoperators
356 \newcommand\vpt {\edef\f@size{\@vpt}\rm}
357 \newcommand\vipt {\edef\f@size{\@vipt}\rm}
358 \newcommand\viipt {\edef\f@size{\@viipt}\rm}
359 \newcommand\viiipt{\edef\f@size{\@viiipt}\rm}
360 \newcommand\ixpt {\edef\f@size{\@ixpt}\rm}
361 \newcommand\xpt {\edef\f@size{\@xpt}\rm}
362 \newcommand\xipt {\edef\f@size{\@xipt}\rm}
363 \newcommand\xiipt {\edef\f@size{\@xiipt}\rm}
364 \newcommand\xivpt {\edef\f@size{\@xivpt}\rm}
365 \newcommand\xviipt{\edef\f@size{\@xviipt}\rm}
366 \newcommand\xxpt {\edef\f@size{\@xxpt}\rm}
367 \newcommand\xxvpt {\edef\f@size{\@xxvpt}\rm}
368 \InputIfFileExists{latex209.cfg}{}{}
369 \endinput
370 %%
371 %% End of file `latex209.def'.