Debian Codegraph @

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

raw
1 %%
2 %% This is file `report.cls',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% classes.dtx (with options: `report')
8 %%
9 %% This is a generated file.
10 %%
11 %% The source is maintained by the LaTeX Project team and bug
12 %% reports for it can be opened at https://latex-project.org/bugs.html
13 %% (but please observe conditions on bug reports sent to that address!)
14 %%
15 %%
16 %% Copyright (C) 1993-2025
17 %% The LaTeX Project and any individual authors listed elsewhere
18 %% in this file.
19 %%
20 %% This file was generated from file(s) of the LaTeX base system.
21 %% --------------------------------------------------------------
22 %%
23 %% It may be distributed and/or modified under the
24 %% conditions of the LaTeX Project Public License, either version 1.3c
25 %% of this license or (at your option) any later version.
26 %% The latest version of this license is in
27 %% https://www.latex-project.org/lppl.txt
28 %% and version 1.3c or later is part of all distributions of LaTeX
29 %% version 2008 or later.
30 %%
31 %% This file has the LPPL maintenance status "maintained".
32 %%
33 %% This file may only be distributed together with a copy of the LaTeX
34 %% base system. You may however distribute the LaTeX base system without
35 %% such generated files.
36 %%
37 %% The list of all files belonging to the LaTeX base distribution is
38 %% given in the file `manifest.txt'. See also `legal.txt' for additional
39 %% information.
40 %%
41 %% The list of derived (unpacked) files belonging to the distribution
42 %% and covered by LPPL is defined by the unpacking scripts (with
43 %% extension .ins) which are part of the distribution.
44 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
45 \ProvidesClass{report}
46 [2025/01/22 v1.4n
47 Standard LaTeX document class]
48 \newcommand\@ptsize{}
49 \newif\if@restonecol
50 \newif\if@titlepage
51 \@titlepagetrue
52 \newif\if@openright
53 \if@compatibility\else
54 \DeclareOption{a4paper}
55 {\setlength\paperheight {297mm}%
56 \setlength\paperwidth {210mm}}
57 \DeclareOption{a5paper}
58 {\setlength\paperheight {210mm}%
59 \setlength\paperwidth {148mm}}
60 \DeclareOption{b5paper}
61 {\setlength\paperheight {250mm}%
62 \setlength\paperwidth {176mm}}
63 \DeclareOption{letterpaper}
64 {\setlength\paperheight {11in}%
65 \setlength\paperwidth {8.5in}}
66 \DeclareOption{legalpaper}
67 {\setlength\paperheight {14in}%
68 \setlength\paperwidth {8.5in}}
69 \DeclareOption{executivepaper}
70 {\setlength\paperheight {10.5in}%
71 \setlength\paperwidth {7.25in}}
72 \DeclareOption{landscape}
73 {\setlength\@tempdima {\paperheight}%
74 \setlength\paperheight {\paperwidth}%
75 \setlength\paperwidth {\@tempdima}}
76 \fi
77 \if@compatibility
78 \renewcommand\@ptsize{0}
79 \else
80 \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
81 \fi
82 \DeclareOption{11pt}{\renewcommand\@ptsize{1}}
83 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
84 \if@compatibility\else
85 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
86 \fi
87 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
88 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
89 \if@compatibility\else
90 \DeclareOption{final}{\setlength\overfullrule{0pt}}
91 \fi
92 \DeclareOption{titlepage}{\@titlepagetrue}
93 \if@compatibility\else
94 \DeclareOption{notitlepage}{\@titlepagefalse}
95 \fi
96 \if@compatibility
97 \else
98 \DeclareOption{openright}{\@openrighttrue}
99 \DeclareOption{openany}{\@openrightfalse}
100 \fi
101 \if@compatibility\else
102 \DeclareOption{onecolumn}{\@twocolumnfalse}
103 \fi
104 \DeclareOption{twocolumn}{\@twocolumntrue}
105 \DeclareOption{leqno}{\input{leqno.clo}}
106 \DeclareOption{fleqn}{\input{fleqn.clo}}
107 \DeclareOption{openbib}{%
108 \AtEndOfPackage{%
109 \renewcommand\@openbib@code{%
110 \advance\leftmargin\bibindent
111 \itemindent -\bibindent
112 \listparindent \itemindent
113 \parsep \z@
114 }%
115 \renewcommand\newblock{\par}}%
116 }
117 \ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final,openany}
118 \ProcessOptions
119 \input{size1\@ptsize.clo}
120 \setlength\lineskip{1\p@}
121 \setlength\normallineskip{1\p@}
122 \renewcommand\baselinestretch{}
123 \setlength\parskip{0\p@ \@plus \p@}
124 \@lowpenalty 51
125 \@medpenalty 151
126 \@highpenalty 301
127 \setcounter{topnumber}{2}
128 \renewcommand\topfraction{.7}
129 \setcounter{bottomnumber}{1}
130 \renewcommand\bottomfraction{.3}
131 \setcounter{totalnumber}{3}
132 \renewcommand\textfraction{.2}
133 \renewcommand\floatpagefraction{.5}
134 \setcounter{dbltopnumber}{2}
135 \renewcommand\dbltopfraction{.7}
136 \renewcommand\dblfloatpagefraction{.5}
137 \if@twoside
138 \def\ps@headings{%
139 \let\@oddfoot\@empty\let\@evenfoot\@empty
140 \def\@evenhead{\thepage\hfil\slshape\leftmark}%
141 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
142 \let\@mkboth\markboth
143 \def\chaptermark##1{%
144 \markboth {\MakeUppercase{%
145 \ifnum \c@secnumdepth >\m@ne
146 \@chapapp\ \thechapter. \ %
147 \fi
148 ##1}}{}}%
149 \def\sectionmark##1{%
150 \markright {\MakeUppercase{%
151 \ifnum \c@secnumdepth >\z@
152 \thesection. \ %
153 \fi
154 ##1}}}}
155 \else
156 \def\ps@headings{%
157 \let\@oddfoot\@empty
158 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
159 \let\@mkboth\markboth
160 \def\chaptermark##1{%
161 \markright {\MakeUppercase{%
162 \ifnum \c@secnumdepth >\m@ne
163 \@chapapp\ \thechapter. \ %
164 \fi
165 ##1}}}}
166 \fi
167 \def\ps@myheadings{%
168 \let\@oddfoot\@empty\let\@evenfoot\@empty
169 \def\@evenhead{\thepage\hfil\slshape\leftmark}%
170 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
171 \let\@mkboth\@gobbletwo
172 \let\chaptermark\@gobble
173 \let\sectionmark\@gobble
174 }
175 \if@titlepage
176 \newcommand\maketitle{\begin{titlepage}%
177 \let\footnotesize\small
178 \let\footnoterule\relax
179 \let \footnote \thanks
180 \null\vfil
181 \vskip 60\p@
182 \begin{center}%
183 {\LARGE \@title \par}%
184 \vskip 3em%
185 {\large
186 \lineskip .75em%
187 \begin{tabular}[t]{c}%
188 \@author
189 \end{tabular}\par}%
190 \vskip 1.5em%
191 {\large \@date \par}% % Set date in \large size.
192 \end{center}\par
193 \@thanks
194 \vfil\null
195 \end{titlepage}%
196 \setcounter{footnote}{0}%
197 \global\let\thanks\relax
198 \global\let\maketitle\relax
199 \global\let\@thanks\@empty
200 \global\let\@author\@empty
201 \global\let\@date\@empty
202 \global\let\@title\@empty
203 \global\let\title\relax
204 \global\let\author\relax
205 \global\let\date\relax
206 \global\let\and\relax
207 }
208 \else
209 \newcommand\maketitle{\par
210 \begingroup
211 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
212 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
213 \long\def\@makefntext##1{\parindent 1em\noindent
214 \hb@[email protected]{%
215 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
216 \if@twocolumn
217 \ifnum \col@number=\@ne
218 \@maketitle
219 \else
220 \twocolumn[\@maketitle]%
221 \fi
222 \else
223 \newpage
224 \global\@topnum\z@ % Prevents figures from going at top of page.
225 \@maketitle
226 \fi
227 \thispagestyle{plain}\@thanks
228 \endgroup
229 \setcounter{footnote}{0}%
230 \global\let\thanks\relax
231 \global\let\maketitle\relax
232 \global\let\@maketitle\relax
233 \global\let\@thanks\@empty
234 \global\let\@author\@empty
235 \global\let\@date\@empty
236 \global\let\@title\@empty
237 \global\let\title\relax
238 \global\let\author\relax
239 \global\let\date\relax
240 \global\let\and\relax
241 }
242 \def\@maketitle{%
243 \newpage
244 \null
245 \vskip 2em%
246 \begin{center}%
247 \let \footnote \thanks
248 {\LARGE \@title \par}%
249 \vskip 1.5em%
250 {\large
251 \lineskip .5em%
252 \begin{tabular}[t]{c}%
253 \@author
254 \end{tabular}\par}%
255 \vskip 1em%
256 {\large \@date}%
257 \end{center}%
258 \par
259 \vskip 1.5em}
260 \fi
261 \newcommand*\chaptermark[1]{}
262 \setcounter{secnumdepth}{2}
263 \newcounter {part}
264 \newcounter {chapter}
265 \newcounter {section}[chapter]
266 \newcounter {subsection}[section]
267 \newcounter {subsubsection}[subsection]
268 \newcounter {paragraph}[subsubsection]
269 \newcounter {subparagraph}[paragraph]
270 \renewcommand \thepart {\@Roman\c@part}
271 \renewcommand \thechapter {\@arabic\c@chapter}
272 \renewcommand \thesection {\thechapter.\@arabic\c@section}
273 \renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
274 \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
275 \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
276 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
277 \newcommand\@chapapp{\chaptername}
278 \newcommand\part{%
279 \if@openright
280 \cleardoublepage
281 \else
282 \clearpage
283 \fi
284 \thispagestyle{plain}%
285 \if@twocolumn
286 \onecolumn
287 \@tempswatrue
288 \else
289 \@tempswafalse
290 \fi
291 \null\vfil
292 \secdef\@part\@spart}
293
294 \def\@part[#1]#2{%
295 \ifnum \c@secnumdepth >-2\relax
296 \refstepcounter{part}%
297 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
298 \else
299 \addcontentsline{toc}{part}{#1}%
300 \fi
301 \markboth{}{}%
302 {\centering
303 \interlinepenalty \@M
304 \normalfont
305 \ifnum \c@secnumdepth >-2\relax
306 \huge\bfseries \partname\nobreakspace\thepart
307 \par
308 \vskip 20\p@
309 \fi
310 \Huge \bfseries #2\par}%
311 \@endpart}
312 \def\@spart#1{%
313 {\centering
314 \interlinepenalty \@M
315 \normalfont
316 \Huge \bfseries #1\par}%
317 \@endpart}
318 \def\@endpart{\vfil\newpage
319 \if@twoside
320 \if@openright
321 \null
322 \thispagestyle{empty}%
323 \newpage
324 \fi
325 \fi
326 \if@tempswa
327 \twocolumn
328 \fi}
329 \newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
330 \thispagestyle{plain}%
331 \global\@topnum\z@
332 \@afterindentfalse
333 \secdef\@chapter\@schapter}
334 \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
335 \refstepcounter{chapter}%
336 \typeout{\@chapapp\space\thechapter.}%
337 \addcontentsline{toc}{chapter}%
338 {\protect\numberline{\thechapter}#1}%
339 \else
340 \addcontentsline{toc}{chapter}{#1}%
341 \fi
342 \chaptermark{#1}%
343 \addtocontents{lof}{\protect\addvspace{10\p@}}%
344 \addtocontents{lot}{\protect\addvspace{10\p@}}%
345 \if@twocolumn
346 \@topnewpage[\@makechapterhead{#2}]%
347 \else
348 \@makechapterhead{#2}%
349 \@afterheading
350 \fi}
351 \def\@makechapterhead#1{%
352 \vspace*{50\p@}%
353 {\parindent \z@ \raggedright \normalfont
354 \ifnum \c@secnumdepth >\m@ne
355 \huge\bfseries \@chapapp\space \thechapter
356 \par\nobreak
357 \vskip 20\p@
358 \fi
359 \interlinepenalty\@M
360 \Huge \bfseries #1\par\nobreak
361 \vskip 40\p@
362 }}
363 \def\@schapter#1{\if@twocolumn
364 \@topnewpage[\@makeschapterhead{#1}]%
365 \else
366 \@makeschapterhead{#1}%
367 \@afterheading
368 \fi}
369 \def\@makeschapterhead#1{%
370 \vspace*{50\p@}%
371 {\parindent \z@ \raggedright
372 \normalfont
373 \interlinepenalty\@M
374 \Huge \bfseries #1\par\nobreak
375 \vskip 40\p@
376 }}
377 \newcommand\section{\@startsection {section}{1}{\z@}%
378 {-3.5ex \@plus -1ex \@minus -.2ex}%
379 {2.3ex \@plus.2ex}%
380 {\normalfont\Large\bfseries}}
381 \newcommand\subsection{\@startsection{subsection}{2}{\z@}%
382 {-3.25ex\@plus -1ex \@minus -.2ex}%
383 {1.5ex \@plus .2ex}%
384 {\normalfont\large\bfseries}}
385 \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
386 {-3.25ex\@plus -1ex \@minus -.2ex}%
387 {1.5ex \@plus .2ex}%
388 {\normalfont\normalsize\bfseries}}
389 \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
390 {3.25ex \@plus1ex \@minus.2ex}%
391 {-1em}%
392 {\normalfont\normalsize\bfseries}}
393 \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
394 {3.25ex \@plus1ex \@minus .2ex}%
395 {-1em}%
396 {\normalfont\normalsize\bfseries}}
397 \if@twocolumn
398 \setlength\leftmargini {2em}
399 \else
400 \setlength\leftmargini {2.5em}
401 \fi
402 \leftmargin \leftmargini
403 \setlength\leftmarginii {2.2em}
404 \setlength\leftmarginiii {1.87em}
405 \setlength\leftmarginiv {1.7em}
406 \if@twocolumn
407 \setlength\leftmarginv {.5em}
408 \setlength\leftmarginvi {.5em}
409 \else
410 \setlength\leftmarginv {1em}
411 \setlength\leftmarginvi {1em}
412 \fi
413 \setlength \labelsep {.5em}
414 \setlength \labelwidth{\leftmargini}
415 \addtolength\labelwidth{-\labelsep}
416 \@beginparpenalty -\@lowpenalty
417 \@endparpenalty -\@lowpenalty
418 \@itempenalty -\@lowpenalty
419 \renewcommand\theenumi{\@arabic\c@enumi}
420 \renewcommand\theenumii{\@alph\c@enumii}
421 \renewcommand\theenumiii{\@roman\c@enumiii}
422 \renewcommand\theenumiv{\@Alph\c@enumiv}
423 \newcommand\labelenumi{\theenumi.}
424 \newcommand\labelenumii{(\theenumii)}
425 \newcommand\labelenumiii{\theenumiii.}
426 \newcommand\labelenumiv{\theenumiv.}
427 \renewcommand\p@enumii{\theenumi}
428 \renewcommand\p@enumiii{\theenumi(\theenumii)}
429 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
430 \newcommand\labelitemi {\labelitemfont \textbullet}
431 \newcommand\labelitemii {\labelitemfont \bfseries \textendash}
432 \newcommand\labelitemiii{\labelitemfont \textasteriskcentered}
433 \newcommand\labelitemiv {\labelitemfont \textperiodcentered}
434 \newcommand\labelitemfont{\normalfont}
435 \newenvironment{description}
436 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
437 \let\makelabel\descriptionlabel}}
438 {\endlist}
439 \newcommand*\descriptionlabel[1]{\hspace\labelsep
440 \normalfont\bfseries #1}
441 \if@titlepage
442 \newenvironment{abstract}{%
443 \titlepage
444 \null\vfil
445 \@beginparpenalty\@lowpenalty
446 \begin{center}%
447 \bfseries \abstractname
448 \@endparpenalty\@M
449 \end{center}}%
450 {\par\vfil\null\endtitlepage}
451 \else
452 \newenvironment{abstract}{%
453 \if@twocolumn
454 \section*{\abstractname}%
455 \else
456 \small
457 \begin{center}%
458 {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
459 \end{center}%
460 \quotation
461 \fi}
462 {\if@twocolumn\else\endquotation\fi}
463 \fi
464 \newenvironment{verse}
465 {\let\\\@centercr
466 \list{}{\itemsep \z@
467 \itemindent -1.5em%
468 \listparindent\itemindent
469 \rightmargin \leftmargin
470 \advance\leftmargin 1.5em}%
471 \item\relax}
472 {\endlist}
473 \newenvironment{quotation}
474 {\list{}{\listparindent 1.5em%
475 \itemindent \listparindent
476 \rightmargin \leftmargin
477 \parsep \z@ \@plus\p@}%
478 \item\relax}
479 {\endlist}
480 \newenvironment{quote}
481 {\list{}{\rightmargin\leftmargin}%
482 \item\relax}
483 {\endlist}
484 \if@compatibility
485 \newenvironment{titlepage}
486 {%
487 \if@twocolumn
488 \@restonecoltrue\onecolumn
489 \else
490 \@restonecolfalse\newpage
491 \fi
492 \thispagestyle{empty}%
493 \setcounter{page}\z@
494 }%
495 {\if@restonecol\twocolumn \else \newpage \fi
496 }
497 \else
498 \newenvironment{titlepage}
499 {%
500 \if@twocolumn
501 \@restonecoltrue\onecolumn
502 \else
503 \@restonecolfalse\newpage
504 \fi
505 \thispagestyle{empty}%
506 \setcounter{page}\@ne
507 }%
508 {\if@restonecol\twocolumn \else \newpage \fi
509 \if@twoside\else
510 \setcounter{page}\@ne
511 \fi
512 }
513 \fi
514 \newcommand\appendix{\par
515 \setcounter{chapter}{0}%
516 \setcounter{section}{0}%
517 \gdef\@chapapp{\appendixname}%
518 \gdef\thechapter{\@Alph\c@chapter}}
519 \setlength\arraycolsep{5\p@}
520 \setlength\tabcolsep{6\p@}
521 \setlength\arrayrulewidth{.4\p@}
522 \setlength\doublerulesep{2\p@}
523 \setlength\tabbingsep{\labelsep}
524 \skip\@mpfootins = \skip\footins
525 \setlength\fboxsep{3\p@}
526 \setlength\fboxrule{.4\p@}
527 \@addtoreset {equation}{chapter}
528 \renewcommand\theequation
529 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
530 \newcounter{figure}[chapter]
531 \renewcommand \thefigure
532 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
533 \def\fps@figure{tbp}
534 \def\ftype@figure{1}
535 \def\ext@figure{lof}
536 \def\fnum@figure{\figurename\nobreakspace\thefigure}
537 \newenvironment{figure}
538 {\@float{figure}}
539 {\end@float}
540 \newenvironment{figure*}
541 {\@dblfloat{figure}}
542 {\end@dblfloat}
543 \newcounter{table}[chapter]
544 \renewcommand \thetable
545 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
546 \def\fps@table{tbp}
547 \def\ftype@table{2}
548 \def\ext@table{lot}
549 \def\fnum@table{\tablename\nobreakspace\thetable}
550 \newenvironment{table}
551 {\@float{table}}
552 {\end@float}
553 \newenvironment{table*}
554 {\@dblfloat{table}}
555 {\end@dblfloat}
556 \newlength\abovecaptionskip
557 \newlength\belowcaptionskip
558 \setlength\abovecaptionskip{10\p@}
559 \setlength\belowcaptionskip{0\p@}
560 \long\def\@makecaption#1#2{%
561 \vskip\abovecaptionskip
562 \sbox\@tempboxa{#1: #2}%
563 \ifdim \wd\@tempboxa >\hsize
564 #1: #2\par
565 \else
566 \global \@minipagefalse
567 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
568 \fi
569 \vskip\belowcaptionskip}
570 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
571 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
572 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
573 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
574 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
575 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
576 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
577 \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
578 \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
579 \newcommand\@pnumwidth{1.55em}
580 \newcommand\@tocrmarg{2.55em}
581 \newcommand\@dotsep{4.5}
582 \setcounter{tocdepth}{2}
583 \newcommand\tableofcontents{%
584 \if@twocolumn
585 \@restonecoltrue\onecolumn
586 \else
587 \@restonecolfalse
588 \fi
589 \chapter*{\contentsname
590 \@mkboth{%
591 \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
592 \@starttoc{toc}%
593 \if@restonecol\twocolumn\fi
594 }
595 \newcommand*\l@part[2]{%
596 \ifnum \c@tocdepth >-2\relax
597 \addpenalty{-\@highpenalty}%
598 \addvspace{2.25em \@plus\p@}%
599 \setlength\@tempdima{3em}%
600 \begingroup
601 \parindent \z@ \rightskip \@pnumwidth
602 \parfillskip -\@pnumwidth
603 {\leavevmode
604 \large \bfseries #1\hfil
605 \hb@xt@\@pnumwidth{\hss #2%
606 \kern-\p@\kern\p@}}\par
607 \nobreak
608 \global\@nobreaktrue
609 \everypar{\global\@nobreakfalse\everypar{}}%
610 \endgroup
611 \fi}
612 \newcommand*\l@chapter[2]{%
613 \ifnum \c@tocdepth >\m@ne
614 \addpenalty{-\@highpenalty}%
615 \vskip 1.0em \@plus\p@
616 \setlength\@tempdima{1.5em}%
617 \begingroup
618 \parindent \z@ \rightskip \@pnumwidth
619 \parfillskip -\@pnumwidth
620 \leavevmode \bfseries
621 \advance\leftskip\@tempdima
622 \hskip -\leftskip
623 #1\nobreak\hfil
624 \nobreak\hb@xt@\@pnumwidth{\hss #2%
625 \kern-\p@\kern\p@}\par
626 \penalty\@highpenalty
627 \endgroup
628 \fi}
629 \newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
630 \newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
631 \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
632 \newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
633 \newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
634 \newcommand\listoffigures{%
635 \if@twocolumn
636 \@restonecoltrue\onecolumn
637 \else
638 \@restonecolfalse
639 \fi
640 \chapter*{\listfigurename}%
641 \@mkboth{\MakeUppercase\listfigurename}%
642 {\MakeUppercase\listfigurename}%
643 \@starttoc{lof}%
644 \if@restonecol\twocolumn\fi
645 }
646 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
647 \newcommand\listoftables{%
648 \if@twocolumn
649 \@restonecoltrue\onecolumn
650 \else
651 \@restonecolfalse
652 \fi
653 \chapter*{\listtablename}%
654 \@mkboth{%
655 \MakeUppercase\listtablename}%
656 {\MakeUppercase\listtablename}%
657 \@starttoc{lot}%
658 \if@restonecol\twocolumn\fi
659 }
660 \let\l@table\l@figure
661 \newdimen\bibindent
662 \setlength\bibindent{1.5em}
663 \newenvironment{thebibliography}[1]
664 {\chapter*{\bibname}%
665 \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
666 \list{\@biblabel{\@arabic\c@enumiv}}%
667 {\settowidth\labelwidth{\@biblabel{#1}}%
668 \leftmargin\labelwidth
669 \advance\leftmargin\labelsep
670 \@openbib@code
671 \usecounter{enumiv}%
672 \let\p@enumiv\@empty
673 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
674 \sloppy
675 \clubpenalty4000
676 \@clubpenalty \clubpenalty
677 \widowpenalty4000%
678 \sfcode`\.\@m}
679 {\def\@noitemerr
680 {\@latex@warning{Empty `thebibliography' environment}}%
681 \endlist}
682 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
683 \let\@openbib@code\@empty
684 \newenvironment{theindex}
685 {\if@twocolumn
686 \@restonecolfalse
687 \else
688 \@restonecoltrue
689 \fi
690 \twocolumn[\@makeschapterhead{\indexname}]%
691 \@mkboth{\MakeUppercase\indexname}%
692 {\MakeUppercase\indexname}%
693 \thispagestyle{plain}\parindent\z@
694 \parskip\z@ \@plus .3\p@\relax
695 \columnseprule \z@
696 \columnsep 35\p@
697 \let\item\@idxitem}
698 {\if@restonecol\onecolumn\else\clearpage\fi}
699 \newcommand\@idxitem{\par\hangindent 40\p@}
700 \newcommand\subitem{\@idxitem \hspace*{20\p@}}
701 \newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
702 \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
703 \renewcommand\footnoterule{%
704 \kern-3\p@
705 \hrule\@width.4\columnwidth
706 \kern2.6\p@}
707 \@addtoreset{footnote}{chapter}
708 \newcommand\@makefntext[1]{%
709 \parindent 1em%
710 \noindent
711 \hb@[email protected]{\hss\@makefnmark}#1}
712 \newcommand\contentsname{Contents}
713 \newcommand\listfigurename{List of Figures}
714 \newcommand\listtablename{List of Tables}
715 \newcommand\bibname{Bibliography}
716 \newcommand\indexname{Index}
717 \newcommand\figurename{Figure}
718 \newcommand\tablename{Table}
719 \newcommand\partname{Part}
720 \newcommand\chaptername{Chapter}
721 \newcommand\appendixname{Appendix}
722 \newcommand\abstractname{Abstract}
723 \def\today{\ifcase\month\or
724 January\or February\or March\or April\or May\or June\or
725 July\or August\or September\or October\or November\or December\fi
726 \space\number\day, \number\year}
727 \setlength\columnsep{10\p@}
728 \setlength\columnseprule{0\p@}
729 \pagestyle{plain}
730 \pagenumbering{arabic}
731 \if@twoside
732 \else
733 \raggedbottom
734 \fi
735 \if@twocolumn
736 \twocolumn
737 \sloppy
738 \flushbottom
739 \else
740 \onecolumn
741 \fi
742 \endinput
743 %%
744 %% End of file `report.cls'.