source: Documentation/FPGA Board User IO Reference Design/tex_src/WARPdoc.cls

Last change on this file was 284, checked in by bratton, 18 years ago

Added Copyright notice to .tex files

File size: 20.9 KB
Line 
1%Copyright (c) 2006 Rice University
2%All Rights Reserved
3%This code is covered by the Rice-WARP license
4%See http://warp.rice.edu/license/ for details
5
6%% WARPdoc Documentation class file
7
8\NeedsTeXFormat{LaTeX2e}[1995/12/01]
9\ProvidesClass{WARPdoc}
10
11% gbmidd adding the following:
12\usepackage{color}
13\usepackage{graphicx}
14\definecolor{WARPBlue}{rgb}{0.004,0.29,0.57}
15
16\usepackage[pdftex,
17                        pdfpagelayout = useoutlines,
18                        bookmarks,
19                        bookmarksopen = true,
20                        bookmarksnumbered = true,
21                        breaklinks = true,
22                        linktocpage,
23                        backref,
24                        colorlinks = true,
25                        linkcolor = blue,
26                        urlcolor = blue,
27                        citecolor = blue,
28                        anchorcolor = green,
29                        hyperindex = true,
30                        hyperfigures]{hyperref}
31
32
33% end gbmidd additions
34
35
36% Define commands relevant to the titling
37\renewcommand{\rmdefault}{phv} % Switch to Helvetica !
38\newcommand\@ptsize{}
39\newcommand{\footruleskip}{\normalbaselineskip}
40
41\newcommand\@version{\relax}
42\newcommand\@tversion{\relax}
43\newcommand\version[1]{\renewcommand\@version{\textnormal{#1}}%
44                       \renewcommand\@tversion{\par\textnormal{#1}}}
45\newcommand\@organization{\relax}
46\newcommand\@torganization{\relax}
47\newcommand\organization[1]{\renewcommand\@organization{\textnormal{#1}}%
48                       \renewcommand\@torganization{\par\textnormal{#1}}}
49\newcommand\@confidential{\relax}
50\newcommand\@tconfidential{\relax}
51\newcommand\confidential[1]{\renewcommand\@confidential{\textnormal{#1}}
52                            \renewcommand\@tconfidential{\par\textbf{#1}}}
53\newcommand\fullcenter[1]{\hbox to\linewidth{\hss\hbox to\fullwidth{\parbox[c]{\fullwidth}{\begin{center}#1\end{center}}}}}
54
55\newif\if@restonecol
56\newif\if@titlepage
57\@titlepagefalse
58
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
84
85\if@compatibility
86  \renewcommand\@ptsize{0}
87\else
88\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
89\fi
90
91\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
92\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
93
94\if@compatibility\else
95\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
96\fi
97
98\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
99\DeclareOption{draft}{\setlength\overfullrule{5pt}}
100
101\if@compatibility\else
102\DeclareOption{final}{\setlength\overfullrule{0pt}}
103\fi
104
105\DeclareOption{titlepage}{\@titlepagetrue}
106
107\if@compatibility\else
108\DeclareOption{notitlepage}{\@titlepagefalse}
109\fi
110
111\if@compatibility\else
112\DeclareOption{onecolumn}{\@twocolumnfalse}
113\fi
114
115\DeclareOption{twocolumn}{\@twocolumntrue}
116\DeclareOption{leqno}{\input{leqno.clo}}
117\DeclareOption{fleqn}{\input{fleqn.clo}}
118\DeclareOption{openbib}{%
119  \AtEndOfPackage{%
120   \renewcommand\@openbib@code{%
121      \advance\leftmargin\bibindent
122      \itemindent -\bibindent
123      \listparindent \itemindent
124      \parsep \z@
125      }%
126   \renewcommand\newblock{\par}}%
127}
128\DeclareOption{twocolumn}{%
129    \ClassError{WARPdoc2a}
130    {There is no twocolumn layout in this class}
131    {Please remove the 'twocolumn' attribute in the document class declaration}
132    \@twocolumnfalse}
133
134\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
135\ProcessOptions
136\input{size1\@ptsize.clo}
137
138\setlength\lineskip{1\p@}
139\setlength\normallineskip{1\p@}
140\setlength\headsep {.5in}  %{\baselineskip}
141\setlength\parskip{0\p@ \@plus \p@}
142\renewcommand\baselinestretch{}
143
144\@lowpenalty   51
145\@medpenalty  151
146\@highpenalty 301
147
148\setlength\oddsidemargin{.75in}
149\setlength\textwidth{6in}
150\setlength\textheight{9in}
151\setlength\headsep{.5in}
152\setlength\topmargin{-.6in}
153
154\newdimen\fullwidth
155\setlength\fullwidth\textwidth
156\addtolength\fullwidth{1in}
157\newdimen\leftmarginwidth
158\setlength\leftmarginwidth\oddsidemargin
159
160\setlength{\pdfpagewidth}{\paperwidth}
161\setlength{\pdfpageheight}{\paperheight}
162
163\renewcommand\topfraction{.7}
164\setcounter{bottomnumber}{1}
165
166\renewcommand\bottomfraction{.3}
167\setcounter{totalnumber}{3}
168
169\renewcommand\textfraction{.2}
170\renewcommand\floatpagefraction{.5}
171
172\setcounter{dbltopnumber}{2}
173\renewcommand\dbltopfraction{.7}
174\renewcommand\dblfloatpagefraction{.5}
175
176
177%\def\ps@headings{%
178%    \let\@oddfoot\@empty
179%    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
180%    \let\@mkboth\markboth
181%    \def\sectionmark##1{%
182%      \markright {\MakeUppercase{%
183%        \ifnum \c@secnumdepth >\m@ne
184%          \thesection\quad
185%        \fi
186%        ##1}}}}
187%
188%
189%
190%\def\ps@myheadings{%
191%    \let\@oddfoot\@empty\let\@evenfoot\@empty
192%    \def\@evenhead{\thepage\hfil\slshape\leftmark}%
193%    \def\@oddhead{\vspace{-1in}{\slshape\rightmark}\hfil\thepage}%
194%    \let\@mkboth\@gobbletwo
195%    \let\sectionmark\@gobble
196%    \let\subsectionmark\@gobble
197%    }
198
199% Make the titlepage if required
200\if@titlepage
201  \renewcommand\maketitle{\begin{titlepage}%
202  \let\footnotesize\small
203  \let\footnoterule\relax
204  \null\vskip 70\p@
205  \begin{centering}
206    \hskip -30\p@
207    \includegraphics[scale=1.5]{warplogo}
208  \end{centering}
209  \vskip 70\p@
210  \longthickrule\vskip1.5em%
211   
212  \fullcenter{\LARGE \textbf \@title}%
213  \vskip1.5em\longthickrule%   
214  \vskip 3em%
215  \fullcenter{\large
216   \lineskip .75em%
217    \begin{tabular}[t]{c}%
218      \@author
219    \end{tabular}%
220    \vskip 1.5em
221    \@torganization\@tconfidential
222    \vskip 1.5em
223    Document Revision \@version
224    \par}%
225    \vskip 1.5em%
226  \fullcenter{\large \@date \par}%       % Set date in \large size.
227  \par
228  \fullcenter{\@thanks}
229  \vfil\null
230  \end{titlepage}%
231  \setcounter{footnote}{0}%
232  \global\let\thanks\relax
233  \global\let\maketitle\relax
234  \global\let\@thanks\@empty
235  \global\let\@date\@empty
236  \global\let\title\relax
237  \global\let\author\relax
238  \global\let\date\relax
239  \global\let\and\relax
240}
241\else
242  \renewcommand\maketitle{\par
243  \begingroup
244    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
245    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
246    \long\def\@makefntext##1{\parindent 1em\noindent
247            \hb@xt@1.8em{%
248                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
249      \newpage
250      \global\@topnum\z@   % Prevents figures from going at top of page.
251      \@maketitle
252   \thispagestyle{empty}\@thanks
253  \endgroup
254
255  \setcounter{footnote}{0}%
256  \global\let\thanks\relax
257  \global\let\maketitle\relax
258  \global\let\@maketitle\relax
259  \global\let\@thanks\@empty
260  \global\let\@date\@empty
261  \global\let\title\relax
262  \global\let\author\relax
263  \global\let\date\relax
264  \global\let\and\relax
265}
266
267
268\def\@maketitle{%
269    \newpage
270    %\null
271    \flushright{\includegraphics[scale=1]{warplogo}}
272    \hbox to\linewidth{\hss\hbox to\fullwidth{\makebox[\fullwidth][c]{\@tconfidential}}}
273    \longthickrule\vskip1.5em%
274    {\secshape \parskip\z@ \parindent\z@
275    \Large\bfseries \@title \par}%
276    \vskip1.5em\longthickrule\vskip1.5em%
277    {\normalsize
278      \lineskip .5em%
279      \begin{flushright}%
280        {\slshape\@author\@torganization\par}
281        \vskip 1em%
282        {\@date}%
283      \end{flushright}\par}%
284    \vskip 1.5em}
285
286\fi
287
288\setcounter{secnumdepth}{3}
289
290\newcounter {part}
291\newcounter {section}
292\newcounter {subsection}[section]
293\newcounter {subsubsection}[subsection]
294\newcounter {paragraph}[subsubsection]
295\newcounter {subparagraph}[paragraph]
296
297\renewcommand \thepart {\@Roman\c@part}
298\renewcommand \thesection {\@arabic\c@section}
299\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
300\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
301\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
302\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
303
304\newcommand\part{%
305   \if@noskipsec \leavevmode \fi
306   \par
307   \addvspace{4ex}%
308   \@afterindentfalse
309   \secdef\@part\@spart}
310
311\def\@part[#1]#2{%
312    \ifnum \c@secnumdepth >\m@ne
313      \refstepcounter{part}%
314      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
315    \else
316      \addcontentsline{toc}{part}{#1}%
317    \fi
318    {\parindent \z@ \raggedright
319     \interlinepenalty \@M
320     \normalfont
321     \ifnum \c@secnumdepth >\m@ne
322       \Large\bfseries \partname~\thepart
323       \par\nobreak
324     \fi
325     \huge \bfseries #2%
326     \markboth{}{}\par}%
327    \nobreak
328    \vskip 3ex
329    \@afterheading}
330
331\def\@spart#1{%
332    {\parindent \z@ \raggedright
333     \interlinepenalty \@M
334     \normalfont
335     \huge \bfseries #1\par}%
336     \nobreak
337     \vskip 3ex
338     \@afterheading}
339
340\newcommand\secshape{\leftskip=-\leftmarginwidth%
341                     \rightskip=\@flushglue%
342                     \hyphenpenalty=2000}
343\newcommand\section{\@startsection {section}{1}{\z@}%
344                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
345                                   {2.3ex \@plus.2ex}%
346                                   {\secshape\normalfont\Large\bfseries}}
347
348\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
349                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
350                                     {1.5ex \@plus .2ex}%
351                                     {\secshape\normalfont\large\bfseries}}
352
353\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
354                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
355                                     {1.5ex \@plus .2ex}%
356                                     {\secshape\normalfont\normalsize\bfseries}}
357
358\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
359                                    {3.25ex \@plus1ex \@minus.2ex}%
360                                    {-1em}%
361                                    {\normalfont\normalsize\bfseries}}
362
363\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
364                                       {3.25ex \@plus1ex \@minus .2ex}%
365                                       {-1em}%
366                                      {\normalfont\normalsize\bfseries}}
367
368\setlength\leftmargini  {2.5em}
369
370\leftmargin  \leftmargini
371\setlength\leftmarginii  {2.2em}
372\setlength\leftmarginiii {1.87em}
373\setlength\leftmarginiv  {1.7em}
374\setlength\leftmarginv  {1em}
375\setlength\leftmarginvi {1em}
376\setlength  \labelsep  {.5em}
377\setlength  \labelwidth{\leftmargini}
378\addtolength\labelwidth{-\labelsep}
379
380\@beginparpenalty -\@lowpenalty
381\@endparpenalty   -\@lowpenalty
382\@itempenalty     -\@lowpenalty
383
384\renewcommand\theenumi{\@arabic\c@enumi}
385\renewcommand\theenumii{\@alph\c@enumii}
386\renewcommand\theenumiii{\@roman\c@enumiii}
387\renewcommand\theenumiv{\@Alph\c@enumiv}
388
389\newcommand\labelenumi{\theenumi.}
390\newcommand\labelenumii{(\theenumii)}
391\newcommand\labelenumiii{\theenumiii.}
392\newcommand\labelenumiv{\theenumiv.}
393
394\renewcommand\p@enumii{\theenumi}
395\renewcommand\p@enumiii{\theenumi(\theenumii)}
396\renewcommand\p@enumiv{\p@enumiii\theenumiii}
397
398\newcommand\labelitemi{\textbullet}
399\newcommand\labelitemii{\normalfont\bfseries \textendash}
400\newcommand\labelitemiii{\textasteriskcentered}
401\newcommand\labelitemiv{\textperiodcentered}
402
403\newenvironment{description}
404               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
405                        \let\makelabel\descriptionlabel}}
406               {\endlist}
407
408\newcommand*\descriptionlabel[1]{\hspace\labelsep
409                                \normalfont\bfseries #1}
410\newenvironment{abstract}{%
411  \small
412    \begin{center}%
413      {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
414    \end{center}%
415    \quotation
416     }
417    \endquotation
418
419\newenvironment{verse}
420               {\let\\\@centercr
421                \list{}{\itemsep      \z@
422                        \itemindent   -1.5em%
423                        \listparindent\itemindent
424                        \rightmargin  \leftmargin
425                        \advance\leftmargin 1.5em}%
426                \item\relax}
427               {\endlist}
428
429\newenvironment{quotation}
430               {\list{}{\listparindent 1.5em%
431                        \itemindent    \listparindent
432                        \rightmargin   \leftmargin
433                        \parsep        \z@ \@plus\p@}%
434                \item\relax}
435               {\endlist}
436
437\newenvironment{quote}
438               {\list{}{\rightmargin\leftmargin}%
439                \item\relax}
440               {\endlist}
441
442
443\if@compatibility
444\newenvironment{titlepage}
445    {%
446      \@restonecolfalse\newpage
447      \thispagestyle{empty}%
448      \setcounter{page}\z@
449    }%
450    {\if@restonecol\twocolumn \else \newpage \fi
451    }
452\else
453\newenvironment{titlepage}
454    {%
455      \@restonecolfalse\newpage
456      \thispagestyle{empty}%
457      \setcounter{page}\@ne
458    }%
459    {\if@restonecol\twocolumn \else \newpage \fi
460     \if@twoside\else
461        \setcounter{page}\@ne
462     \fi
463    }
464\fi
465
466\renewcommand\appendix{\par
467  \setcounter{section}{0}%
468  \setcounter{subsection}{0}%
469  \gdef\thesection{\@Alph\c@section}}
470 
471\setlength\arraycolsep{5\p@}
472\setlength\tabcolsep{6\p@}
473\setlength\arrayrulewidth{.4\p@}
474\setlength\doublerulesep{2\p@}
475\setlength\tabbingsep{\labelsep}
476\skip\@mpfootins = \skip\footins
477\setlength\fboxsep{3\p@}
478\setlength\fboxrule{.4\p@}
479
480\renewcommand \theequation {\@arabic\c@equation}
481
482\newcounter{figure}
483\renewcommand \thefigure {\@arabic\c@figure}
484\def\fps@figure{tbp}
485\def\ftype@figure{1}
486\def\ext@figure{lof}
487\def\fnum@figure{\figurename~\thefigure}
488
489\newenvironment{figure}
490               {\@float{figure}}
491               {\end@float}
492
493\newenvironment{figure*}
494               {\@dblfloat{figure}}
495               {\end@dblfloat}
496\newcounter{table}
497\renewcommand\thetable{\@arabic\c@table}
498
499\def\fps@table{tbp}
500\def\ftype@table{2}
501\def\ext@table{lot}
502\def\fnum@table{\tablename~\thetable}
503
504\newenvironment{table}
505               {\@float{table}}
506               {\end@float}
507
508\newenvironment{table*}
509               {\@dblfloat{table}}
510               {\end@dblfloat}
511
512\newlength\abovecaptionskip
513\newlength\belowcaptionskip
514\setlength\abovecaptionskip{10\p@}
515\setlength\belowcaptionskip{0\p@}
516\long\def\@makecaption#1#2{%
517  \vskip\abovecaptionskip
518  \sbox\@tempboxa{#1: #2}%
519  \ifdim \wd\@tempboxa >\hsize
520    #1: #2\par
521  \else
522    \global \@minipagefalse
523    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
524  \fi
525  \vskip\belowcaptionskip}
526
527\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
528\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
529\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
530\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
531\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
532\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
533\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
534
535\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
536\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
537
538\newcommand\@pnumwidth{1.55em}
539\newcommand\@tocrmarg{2.55em}
540\newcommand\@dotsep{4.5}
541\setcounter{tocdepth}{3}
542\newcommand\tableofcontents{%
543    \section*{\contentsname
544        \@mkboth{%
545           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
546    \@starttoc{toc}%
547    \if@titlepage
548        \pagebreak
549    \fi
550    }
551
552\newcommand*\l@part[2]{%
553  \ifnum \c@tocdepth >-2\relax
554    \addpenalty\@secpenalty
555    \addvspace{2.25em \@plus\p@}%
556    \begingroup
557      \parindent \z@ \rightskip \@pnumwidth
558      \parfillskip -\@pnumwidth
559      {\leavevmode
560       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
561       \nobreak
562       \if@compatibility
563         \global\@nobreaktrue
564         \everypar{\global\@nobreakfalse\everypar{}}%
565      \fi
566    \endgroup
567  \fi}
568\newcommand*\l@section[2]{%
569  \ifnum \c@tocdepth >\z@
570    \addpenalty\@secpenalty
571    \addvspace{1.0em \@plus\p@}%
572    \setlength\@tempdima{1.5em}%
573    \begingroup
574      \parindent \z@ \rightskip \@pnumwidth
575      \parfillskip -\@pnumwidth
576      \leavevmode \bfseries
577      \advance\leftskip\@tempdima
578      \hskip -\leftskip
579      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
580    \endgroup
581  \fi}
582
583\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
584\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
585\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
586\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
587\newcommand\listoffigures{%
588    \section*{\listfigurename
589      \@mkboth{\MakeUppercase\listfigurename}%
590              {\MakeUppercase\listfigurename}}%
591    \@starttoc{lof}%
592    }
593\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
594\newcommand\listoftables{%
595    \section*{\listtablename
596      \@mkboth{%
597          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
598    \@starttoc{lot}%
599    }
600\let\l@table\l@figure
601\newdimen\bibindent
602\setlength\bibindent{1.5em}
603
604\newenvironment{thebibliography}[1]
605     {\section*{\refname
606        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
607      \list{\@biblabel{\@arabic\c@enumiv}}%
608           {\settowidth\labelwidth{\@biblabel{#1}}%
609            \leftmargin\labelwidth
610            \advance\leftmargin\labelsep
611            \@openbib@code
612            \usecounter{enumiv}%
613            \let\p@enumiv\@empty
614            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
615      \sloppy
616      \clubpenalty4000
617      \@clubpenalty \clubpenalty
618      \widowpenalty4000%
619      \sfcode`\.\@m}
620     {\def\@noitemerr
621       {\@latex@warning{Empty `thebibliography' environment}}%
622      \endlist}
623\renewcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
624\let\@openbib@code\@empty
625\newenvironment{theindex}
626               {\if@twocolumn
627                  \@restonecolfalse
628                \else
629                  \@restonecoltrue
630                \fi
631                \columnseprule \z@
632                \columnsep 35\p@
633                \twocolumn[\section*{\indexname}]%
634                \@mkboth{\MakeUppercase\indexname}%
635                        {\MakeUppercase\indexname}%
636                \thispagestyle{plain}\parindent\z@
637                \parskip\z@ \@plus .3\p@\relax
638                \let\item\@idxitem}
639               {\if@restonecol\onecolumn\else\clearpage\fi}
640
641\def\longrule{\color{WARPBlue} \hbox to \linewidth{\hss
642              \vrule width \fullwidth height 1.0\p@ depth \z@} \color{black}}
643\def\longthickrule{\par \color{WARPBlue} \hbox to \linewidth{\hss
644              \vrule width \fullwidth height 3.0\p@ depth \z@}\color{black}\par}
645
646\newcommand\@idxitem{\par\hangindent 40\p@}
647\newcommand\subitem{\@idxitem \hspace*{20\p@}}
648\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
649\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
650\renewcommand\footnoterule{%
651  \kern-3\p@
652  \hrule\@width.4\columnwidth
653  \kern2.6\p@}
654\newcommand\@makefntext[1]{%
655    \parindent 1em%
656    \noindent
657    \hb@xt@1.8em{\hss\@makefnmark}#1}
658\newcommand\contentsname{Contents}
659\newcommand\listfigurename{List of Figures}
660\newcommand\listtablename{List of Tables}
661\newcommand\refname{References}
662\newcommand\indexname{Index}
663\newcommand\figurename{Figure}
664\newcommand\tablename{Table}
665\newcommand\partname{Part}
666\newcommand\appendixname{Appendix}
667\newcommand\abstractname{Abstract}
668
669\def\today{\ifcase\month\or
670  January\or February\or March\or April\or May\or June\or
671  July\or August\or September\or October\or November\or December\fi
672  \space\number\day, \number\year}
673
674\def\shortday{\number\day-\ifcase\month\or Jan\or Feb\or Mar\or Apr\or May\or Jun\or
675  Jul\or Aug\or Sep\or Oct\or Nov\or Dec\fi
676  -\number\year}
677
678\setlength\columnsep{10\p@}
679\setlength\columnseprule{0\p@}
680
681\pagestyle{plain}
682\pagenumbering{arabic}
683
684\def\@oddhead{\vbox{\hbox to\linewidth{\hss\hbox to\fullwidth{
685      {\rlap{\parbox[b]{\textwidth}{\raggedright{\bf{\@title}}}}\hfill%
686      \parbox[b]{\textwidth}{\centering{\@confidential}}\hfill%
687      \llap{\parbox[b]{\textwidth}{\raggedleft{\includegraphics[scale=.5]{warplogo}}}}}}}%
688      \vskip  1.0\p@ \longrule }}
689
690\def\@oddfoot{\vbox{\vskip-\footruleskip%
691      \longrule%\vskip-1in%1.0\p@%
692      \vskip-.25in%
693      \hbox to\linewidth{\hss\hbox to\fullwidth{%
694      {\rlap{\parbox[t]{\textwidth{\raggedright{\footnotesize{ver. \@version : \shortday}}}}}\hfill%
695      \parbox[t]{1\fullwidth}{\centering{\footnotesize{\href{http://warp.rice.edu}{http://warp.rice.edu}}}}\hfill%
696      \llap{\parbox[t]{\textwidth}{\raggedleft{\thepage}}}}}}}}
697
698\def\@evenfoot{\@oddfoot}
699\def\@evenhead{\@oddhead}
700
701
702\raggedbottom
703
704\onecolumn
705\endinput
Note: See TracBrowser for help on using the repository browser.