]> AND Private Git Repository - Sensornets15.git/blob - article.cls
Logo AND Algorithmique Numérique Distribuée

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