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