summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex209/contrib/tamueethesis/app.sty
blob: f27aff09c8c6ac9e60fcbdfc071d455fe054aa79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\def\appendix#1{
 \refstepcounter{appendix}
 \newpage
\def\theequation{\Alph{appendix}.\arabic{equation}}
 \vskip .2truein
 \addcontentsline{toc}{chapter}{\null\hspace{-2em} 
 APPENDIX \theappendix
  \hspace{1.0em}#1}
 \centerline {APPENDIX \theappendix}
 \bigskip
 \begin{center} {\uppercase{#1}}
 \end{center}
 \nobreak\bigskip}
\tocnumflushright
\def\fignumbox{9em}

\def\l@chapter#1#2{\pagebreak[3]
   \vskip 1.0em plus 1pt  % space above chapter line
%   \@tempdima 1.55em       % width of box holding chapter number
% thesis mod
%	this section is adapted from def of \@dottedtocline
% change hangindent in next line to 
%  leftskip 6-20-89 to work with later latex changes
    {\leftskip 2em\relax \rightskip \@tocrmarg \parfillskip -\rightskip
     \parindent 2em\relax\@afterindenttrue
    \interlinepenalty\@M
    \leavevmode
    \@tempdima 4em\relax       % width of box holding chapter number
% change 6-20-89
    \advance\leftskip \@tempdima \hbox{}\hskip -\leftskip
% end 6-20-89
     \uppercase{#1}\nobreak\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern 
       \@dotsep mu$}\hfill \nobreak \hbox to\@pnumwidth{\hfil\rm #2}\par}
    \vskip 1.0em plus 1pt}  % space below chapter line
%
%   \begingroup
%     \parindent \z@ \rightskip \@pnumwidth
%     \parfillskip -\@pnumwidth
%     \bf                  % Boldface.
%     \leavevmode          % TeX command to enter horizontal mode.
%     #1\hfil \hbox to\@pnumwidth{\hss #2}\par
%
%
%   \endgroup}
\def\l@section{\@dottedtocline{1}{7em}{1.5em}}
\def\l@subsection{\@dottedtocline{2}{9em}{1.5em}}
\def\l@subsubsection{\@dottedtocline{3}{11em}{1.5em}}
\def\l@paragraph{\@dottedtocline{4}{13em}{1.5em}}
\def\l@subparagraph{\@dottedtocline{5}{14em}{1.5em}}