Debian Codegraph @

texmf-dist/tex/latex/extsizes/extreport.cls

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