616 lines
19 KiB
TeX
616 lines
19 KiB
TeX
%
|
|
% This is the 2007 TU thesis/dissertation style page.
|
|
%
|
|
% Written by
|
|
%
|
|
% Richard A. Redner
|
|
% Associate Dean of Research
|
|
% and Graduate Studies
|
|
%
|
|
% The University of Tulsa
|
|
%
|
|
% July 2004
|
|
%
|
|
% The style page was created mostly from scratch, but its
|
|
% construction would not have been possible without extensive
|
|
% use of the Stanford Ph.D./Thesis style document.
|
|
%
|
|
% Modified August 31, 2004 to change chapters numbers to arabic.
|
|
%
|
|
% Modified November 2004
|
|
%
|
|
% Summary of changes
|
|
% 1. section, subsection and subsubsection replaced with
|
|
% TUsection, TUsubsection and TUsubsubsection to correct
|
|
% the Table of Contents. This will add bold face and
|
|
% italics to the appropriate places in the Table of Contents.
|
|
% 2. Spacing added between first few items in Table of Contents.
|
|
%
|
|
% Modified October 2006 by Jesus Gonzalez and implemented in June 2007
|
|
% 1. Long titles, which occupy two lines in the table of content,
|
|
% are now flush to the same vertical point.
|
|
%
|
|
% 2. The table of content (toc) now shows the correct page number
|
|
% for the toc, list of figures and list of tables.
|
|
%
|
|
|
|
% Richard D. Redner modified TUthesis.tex and the chapter samples
|
|
% on August 18, 2013 to add Lorem Ipsum text, add a setting to change
|
|
% the title of the last chapter, and add the argument [htp] to the tables
|
|
% and figures to keep them from floating under the footnotes.
|
|
% All changes he made to TUthesis.sty are individually marked are
|
|
% intended to meet the 2013 Thesis and Dissertation Guidelines.
|
|
% On October 10, 2017, he modified the definition of \appedndix to allow
|
|
% for multiline appendix titles.
|
|
%
|
|
% Richard D. Redner modified TUthesis.sty to remove the colon after subsubheadings
|
|
% in the TOC, but not in the text of the document. He also removed an incorrect
|
|
% line break after a subsubheading in Appendicies.sample.tex.
|
|
|
|
% Turn on doublespace and set the paragraph indentation
|
|
%
|
|
\doublespace
|
|
\parindent=.5truein
|
|
|
|
%
|
|
% Margin dimensions. They may look wrong, but there are
|
|
% other parameters that affect the margins. These values
|
|
% should be correct. If not, these may be adjusted.
|
|
%
|
|
% We need to use one value for the margins if we are using PDFTeX
|
|
% and a different set of values if we want to generate a dvi file
|
|
% and then convert it to PDF. Use
|
|
|
|
\ifpdf
|
|
\def\amhere{The template is currently set to generate PDF directly.}
|
|
\oddsidemargin 0.0truein \evensidemargin 0.0truein
|
|
% begin change by RDR 2013-08-14
|
|
% \textheight 9.94truein \textwidth 6.5truein
|
|
\textheight 9.25truein \textwidth 6.5truein
|
|
% end change
|
|
\topmargin -0.425truein \headsep .04truein
|
|
\else
|
|
\def\amhere{The template is currently set for you to generate PDF from Postscript.}
|
|
% \oddsidemargin 0.4truein \evensidemargin -0.225truein
|
|
\oddsidemargin 0.0truein \evensidemargin 0.0truein
|
|
\textheight 9.00truein \textwidth 6.5truein
|
|
% \topmargin 0.10truein \headsep .0truein
|
|
\topmargin -0.3truein \headsep 0.0truein
|
|
\fi
|
|
|
|
\def\contentsadj{\hspace{-\parindent}} %table of contents adjustment
|
|
|
|
|
|
%
|
|
% Definitions for the title page, the signature page
|
|
% and the abstract
|
|
%
|
|
\def\dept#1{\gdef\@dept{#1}}
|
|
\def\submityear#1{\gdef\@submityear{#1}}
|
|
\def\titleoneline#1{\gdef\@titleoneline{#1}}
|
|
\def\advisor#1{\gdef\@advisor{#1}}
|
|
\def\degreename#1{\gdef\@degreename{#1}}
|
|
\def\secondmember#1{\gdef\@secondmember{#1}}
|
|
\def\thirdmember#1{\gdef\@thirdmember{#1}}
|
|
\def\fourthmember#1{\gdef\@fourthmember{#1}}
|
|
\def\fifthmember#1{\gdef\@fifthmember{#1}}
|
|
\def\sixthmember#1{\gdef\@sixthmember{#1}}
|
|
\def\numofpages#1{\gdef\@numofpages{#1}}
|
|
\def\numofabstractwords#1{\gdef\@numofabstractwords{#1}}
|
|
\newcount\numofchapters
|
|
% begin change RDR 2013-08-18
|
|
\def\lastchapter#1{\gdef\@lastchapter{#1}}
|
|
% end change
|
|
\def\thesisordiss#1{\gdef\@thesisordiss{#1}}
|
|
\newif\ifthesis
|
|
\def\thds{
|
|
\ifthesis thesis
|
|
\else dissertation
|
|
\fi
|
|
}
|
|
\def\ThDs{
|
|
\ifthesis Thesis
|
|
\else Dissertation
|
|
\fi
|
|
}
|
|
|
|
%
|
|
% Note that the use of renewcommand implies that the command
|
|
% was originally defined elsewhere. In this document, most if not
|
|
% all of these were defined in the report.cls document.
|
|
%
|
|
\renewcommand\contentsname{\centerline{\rm TABLE OF CONTENTS}}
|
|
\renewcommand\listfigurename{\centerline{\rm LIST OF FIGURES}}
|
|
\renewcommand\listtablename{\centerline{\rm LIST OF TABLES}}
|
|
\renewcommand\bibname{\centerline{BIBLIOGRAPHY}}
|
|
\renewcommand \thechapter {\@arabic\c@chapter}
|
|
\renewcommand\chaptername{CHAPTER}
|
|
\renewcommand\appendixname{\rm APPENDIX}
|
|
\renewcommand \thepart {\@arabic\c@part}
|
|
|
|
|
|
|
|
%
|
|
% Define new "if" constructs for the copyright, table and figures pages.
|
|
%
|
|
\newif\ifcopyright \newif\iftablespage \newif\iffigurespage
|
|
|
|
%
|
|
% These counters can be changed to adjust the depth of reporting on the contents page.
|
|
% For example if you change tocdepth to 4 and change the secnumdepth to 1 you will get
|
|
% chapters, sections, subsections and subsub sections, but only the chapters and sections
|
|
% will be numbered.
|
|
%
|
|
\setcounter{tocdepth}{4}
|
|
\setcounter{secnumdepth}{4}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%
|
|
% Test box for margins
|
|
%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\def\testboxex{
|
|
\noindent\begin{boxedminipage}[t]{3.7truecm}
|
|
Upper Left Corner
|
|
\end{boxedminipage}
|
|
\hfill
|
|
\begin{boxedminipage}[t]{3.8truecm}
|
|
Upper Right Corner
|
|
\end{boxedminipage}
|
|
\vfill
|
|
\amhere
|
|
\vfill
|
|
\noindent\begin{boxedminipage}[t]{3.7truecm}
|
|
Lower Left Corner
|
|
\end{boxedminipage}
|
|
\hfill
|
|
\begin{boxedminipage}[t]{3.8truecm}
|
|
Lower Right Corner
|
|
\end{boxedminipage}
|
|
\newpage
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%
|
|
% Title page def
|
|
%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
|
|
\def\titlep{%
|
|
\thispagestyle{empty}%
|
|
\null\vspace{.5truein}%
|
|
\begin{center}
|
|
T H E\ \ \ U N I V E R S I T Y\ \ \ O F\ \ \ T U L S A\\
|
|
THE GRADUATE SCHOOL
|
|
\end{center}
|
|
\vfill
|
|
\begin{center}
|
|
\uppercase\expandafter{\@title}
|
|
\end{center}
|
|
\vfill
|
|
\singlespace
|
|
\centerline{by}
|
|
\centerline{\expandafter{\@author}}
|
|
\doublespace
|
|
\vspace{.2truein}
|
|
\vfill
|
|
\begin{center}
|
|
A\thds submitted in partial fulfillment of\\
|
|
the requirements for the degree of \@degreename\\
|
|
in the Discipline of \expandafter{\@dept}\\
|
|
\vspace{.5truein}
|
|
The Graduate School\\
|
|
The University of Tulsa\\
|
|
\end{center}
|
|
\vspace{.1truein}
|
|
\begin{center}
|
|
\@submityear\\
|
|
\end{center}\vskip1in
|
|
\newpage}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%
|
|
% Signature page def
|
|
%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\pagenumbering{roman}
|
|
|
|
%
|
|
% Initial definitions for the sagnature page
|
|
%
|
|
\newcount\committeesize
|
|
\newif\ifcoadvisor
|
|
|
|
% The construction uses the logical variable \ifcoadvisor
|
|
% and the counter \committeesize to set up the page.
|
|
%
|
|
\def\signaturep{%
|
|
\doublespace
|
|
\null\vspace{.5truein}%
|
|
\begin{center}
|
|
T H E\ \ \ U N I V E R S I T Y\ \ \ O F\ \ \ T U L S A\\
|
|
THE GRADUATE SCHOOL
|
|
\end{center}
|
|
\vfill
|
|
\begin{center}
|
|
\uppercase\expandafter{\@title}
|
|
\end{center}
|
|
\singlespace
|
|
\centerline{by}
|
|
\centerline{\expandafter{\@author}}
|
|
\doublespace
|
|
\begin{center}
|
|
A\uppercase\expandafter{\thds}\\
|
|
APPROVED FOR THE DISCIPLINE OF\\
|
|
\uppercase\expandafter{\@dept}
|
|
\end{center}
|
|
\vfill
|
|
\begin{center}
|
|
By\ThDs Committee\\
|
|
\end{center}
|
|
\begin{singlespace}
|
|
\ifcoadvisor
|
|
\null\hspace{1.5truein}\expandafter{\@advisor}, Co-chair\\
|
|
\else
|
|
\null\hspace{1.5truein}\expandafter{\@advisor}, Chair\\
|
|
\fi
|
|
\ifcoadvisor
|
|
\null\hspace{1.5truein}\expandafter{\@secondmember}, Co-chair\\
|
|
\else
|
|
\null\hspace{1.5truein}\expandafter{\@secondmember}\\
|
|
\fi
|
|
% The additional members...
|
|
\ifnum\committeesize>2 % changed from 3 to 2 2014-04-29 by RDR
|
|
\null\hspace{1.5truein}\expandafter{\@thirdmember}\\
|
|
\fi
|
|
\ifnum\committeesize>3 % changed from 4 to 3 2014-04-29 by RDR
|
|
\null\hspace{1.5truein}\expandafter{\@fourthmember}\\
|
|
\fi
|
|
\ifnum\committeesize>4 % changed from 5 to 4 2014-04-29 by RDR
|
|
\null\hspace{1.5truein}\expandafter{\@fifthmember}\\
|
|
\fi
|
|
\ifnum\committeesize>5 % added this case on 2014-04-29 by RDR
|
|
\null\hspace{1.5truein}\expandafter{\@sixthmember}\\
|
|
\fi
|
|
\end{singlespace}
|
|
\vfill
|
|
\newpage}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%
|
|
% Copyright page def
|
|
%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\def\copyrightp{%
|
|
\addcontentsline{toc}{section}{\contentsadj COPYRIGHT}
|
|
\addtocontents{toc}{\protect{\hfill \ }}
|
|
% begin change by RDR 2013-08-31
|
|
% \doublespace
|
|
\null\vspace{.5truein}%
|
|
\begin{center}
|
|
{COPYRIGHT STATEMENT}\\
|
|
% \end{center}
|
|
\vspace{\baselineskip}
|
|
% \begin{center}
|
|
\noindent Copyright \copyright\ \@submityear \ by \@author
|
|
% \end{center} \par\par
|
|
\end{center}
|
|
\vspace{12pt}
|
|
\doublespace
|
|
% end change
|
|
% added a blank line to cause paragraph indention RDR 2014-04-28
|
|
|
|
All rights reserved. No part of this publication may
|
|
be reproduced, stored in a retrieval system, or transmitted, in
|
|
any form or by any means, electronic, mechanical, photocopying,
|
|
recording, or otherwise, without the prior written permission of
|
|
the author.
|
|
\vfill
|
|
\newpage
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%
|
|
% Abstract page def
|
|
%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\def\abstractp{%
|
|
\addcontentsline{toc}{section}{\contentsadj ABSTRACT}
|
|
\addtocontents{toc}{\protect{\hfill \ }}
|
|
\null\vspace{.5truein}%
|
|
\begin{center}
|
|
ABSTRACT
|
|
\end{center}
|
|
% begin change by RDR 2013-08-19
|
|
\vspace{12pt}
|
|
% end change
|
|
\expandafter{\@author}\ \ (\expandafter{\@degreename} in \expandafter{\@dept})\\
|
|
\expandafter{\@titleoneline}\\
|
|
Directed by \ifcoadvisor \expandafter{\@advisor} and \expandafter{\@secondmember}
|
|
\else
|
|
\expandafter{\@advisor}
|
|
\fi
|
|
\\
|
|
% begin change by RDR 2013-08-18
|
|
% \@numofpages\ pp., Chapter \uppercase\expandafter{\@arabic\numofchapters}: Conclusions\\
|
|
\@numofpages\ pp., Chapter \uppercase\expandafter{\@arabic\numofchapters}: \expandafter{\@lastchapter}\\
|
|
% end change
|
|
\vspace{-.4truein}
|
|
\begin{center}
|
|
(\@numofabstractwords\ words)
|
|
\end{center}
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% Acknowledgements page def
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\def\acknowledgementsp{%
|
|
\clearpage
|
|
\addcontentsline{toc}{section}{\contentsadj ACKNOWLEDGEMENTS}
|
|
\addtocontents{toc}{\protect{\hfill \ }}
|
|
\null\vspace{.5truein}%
|
|
\begin{center}
|
|
ACKNOWLEDGEMENTS
|
|
% begin change by RDR 2013-08-19
|
|
% \end{center} \par\par
|
|
\end{center}
|
|
\vspace{12pt}
|
|
% added a blank line to cause paragraph indention RDR 2014-04-28
|
|
|
|
% end change
|
|
}
|
|
|
|
%
|
|
% This is the end of the description of the various
|
|
% pages at the front end of the thesis or dissertation
|
|
% Now we collect those page that come before the abstract
|
|
% and collect those pages that come after the acknowledgements.
|
|
%
|
|
\def\beforeabstract{
|
|
\titlep
|
|
\signaturep
|
|
% begin change by RDR 2013-08-17
|
|
% \addtocontents{toc}{\protect{\vspace{10pt}}}
|
|
% \addtocontents{toc}{\protect{\hfill Page}}
|
|
% \addtocontents{toc}{\protect{\vspace{10pt}}}
|
|
\addtocontents{toc}{\protect{\vspace{3\baselineskip}}}
|
|
% end change
|
|
\ifcopyright\copyrightp\fi
|
|
\cleardoublepage
|
|
}
|
|
|
|
\def\afteracknowledgementsp{
|
|
\singlespace
|
|
\tableofcontents
|
|
\doublespace
|
|
\addcontentsline{toc}{section}{\contentsadj TABLE OF CONTENTS}
|
|
\iftablespage
|
|
\listoftables
|
|
|
|
\addtocontents{toc}{\protect{\hfill \ }}
|
|
%\addtocontents{toc}{\protect{\vspace{10pt}}}
|
|
% begin change by RDR 2013-08-17
|
|
%\addtocontents{lot}{\protect{\hfill Page}}
|
|
\addtocontents{lot}{\protect{\vspace{\baselineskip}}}
|
|
% end change
|
|
\addcontentsline{toc}{section}{\contentsadj LIST OF TABLES}
|
|
\fi
|
|
\iffigurespage
|
|
\listoffigures
|
|
\addtocontents{toc}{\protect{\hfill \ }}
|
|
%\addtocontents{toc}{\protect{\vspace{10pt}}}
|
|
% begin change by RDR 2013-08-17
|
|
%\addtocontents{lof}{\protect{\hfill Page}}
|
|
\addtocontents{lof}{\protect{\vspace{\baselineskip}}}
|
|
% end change
|
|
\addcontentsline{toc}{section}{\contentsadj LIST OF FIGURES}
|
|
\fi
|
|
\clearpage
|
|
\pagenumbering{arabic}
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% Bibliography page def
|
|
%
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
\def\bibliographyp{
|
|
\newpage
|
|
\addtocontents{toc}{\protect\addvspace{10pt}}
|
|
\addcontentsline{toc}{section}{\contentsadj BIBLIOGRAPHY}
|
|
\addtocontents{toc}{\protect{\hfill \ }} %This will generate a blank line after BIBLIOGRAPHY
|
|
%in the TABLE OF CONTENTS. It should be removed if there
|
|
%are no APPENDICES and the blank line is on a new page.
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%
|
|
% Appendices
|
|
%%%%%%%%%%%%%%%%%%%%%%
|
|
%
|
|
% Define and initialize an appendix counter
|
|
% and convert that counter to Alpha
|
|
% Latex will think that each Appendix is a chapter
|
|
% so redefine \thechapter number to be \theappendix
|
|
% number.
|
|
%
|
|
\def\appendixpages{
|
|
\newcounter{appendixno}
|
|
\renewcommand\theappendixno{\Alph{appendixno}}
|
|
\renewcommand\thechapter{\theappendixno}
|
|
}
|
|
|
|
%
|
|
% Make the heading for the Appendix and
|
|
% add the Appendix to the table of contents
|
|
%
|
|
\renewcommand\appendix[1]{\par
|
|
\setcounter{section}{0}
|
|
\setcounter{figure}{0}
|
|
\setcounter{table}{0}
|
|
\newpage
|
|
\null\vspace{.7truein}
|
|
\refstepcounter{appendixno}
|
|
\centerline{APPENDIX \theappendixno}
|
|
% begin changes by RDR on 2017-10-10
|
|
\begin{center}
|
|
\bf{\uppercase{\expandafter{#1}}}
|
|
\end{center}
|
|
% \centerline{\bf \uppercase\expandafter{#1}}
|
|
% end changes
|
|
\vspace{\baselineskip}
|
|
\addcontentsline{toc}{section}{\contentsadj APPENDIX \theappendixno:\ \
|
|
{\bf \uppercase\expandafter{#1}}
|
|
}
|
|
}
|
|
|
|
\def\TUchapter#1{\chapter{{\bf \uppercase\expandafter{#1}}}}
|
|
\def\TUsection#1{\section{\bf #1}}
|
|
\def\TUsubsection#1{\subsection{\it #1}}
|
|
\def\TUsubsubsection#1{\subsubsection{#1}\colonspace}
|
|
\def\TUappendix#1{\appendix{#1}}
|
|
|
|
%\par
|
|
% \setcounter{chapter}{0}%
|
|
% \setcounter{section}{0}%
|
|
% \gdef\@chapapp{\appendixname}%
|
|
% \gdef\thechapter{\@Alph\c@chapter}
|
|
|
|
%
|
|
% OK, now it starts to get a little bit strange.
|
|
% Each of these expressions come from the report.cls
|
|
% document and have been modified for the TU thesis/
|
|
% dissertation template
|
|
%
|
|
% As the names suggest, this code is used to make headings
|
|
% for the chapters, sections etc. and list of figures and tables, etc.
|
|
%
|
|
\def\@makechapterhead#1{%
|
|
\vspace*{50\p@}%
|
|
{\parindent \z@ \center \normalfont
|
|
\ifnum \c@secnumdepth >\m@ne
|
|
\@chapapp\space \thechapter
|
|
\par\nobreak
|
|
\vskip .20\p@
|
|
\fi
|
|
\interlinepenalty\@M
|
|
\uppercase{#1}\par\nobreak
|
|
\vskip 10\p@
|
|
}}
|
|
|
|
\def\@makeschapterhead#1{%
|
|
\vspace*{50\p@}%
|
|
{\parindent \z@ \raggedright
|
|
\normalfont
|
|
\interlinepenalty\@M
|
|
\rm #1\par\nobreak
|
|
\vskip 10\p@
|
|
}}
|
|
|
|
%\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
|
|
% \refstepcounter{chapter}
|
|
% \typeout{\@chapapp\space\arabic{chapter}.}
|
|
% \addcontentsline{toc}{chapter}{CHAPTER \protect
|
|
% \numberline{\arabic{chapter}:}#1}\else
|
|
% \addcontentsline{toc}{chapter}{#1}\fi
|
|
% \chaptermark{#1}
|
|
%%\addtocontents{lof}{\protect\addvspace{.10pt}}
|
|
%%\addtocontents{lot}{\protect\addvspace{.10pt}}
|
|
%\if@twocolumn
|
|
%\@topnewpage[\@makechapterhead{#2}]
|
|
% \else \@makechapterhead{#2}
|
|
% \@afterheading \fi}
|
|
%\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]
|
|
% \else \@makeschapterhead{#1}
|
|
% \@afterheading\fi}
|
|
|
|
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
|
|
\refstepcounter{chapter}
|
|
\typeout{\@chapapp\space\arabic{chapter}.}
|
|
%\addcontentsline{toc}{chapter}{CHAPTER \protect
|
|
%\numberline{\arabic{chapter}:}#1}\else
|
|
\addcontentsline{toc}{chapter}{\protect
|
|
\numberline{CHAPTER \arabic{chapter}: }#1}\else%%%%%%%%%%%%%%%%%
|
|
\addcontentsline{toc}{chapter}{#1}\fi
|
|
\chaptermark{#1}
|
|
%\addtocontents{lof}{\protect\addvspace{.10pt}}
|
|
%\addtocontents{lot}{\protect\addvspace{.10pt}}
|
|
\if@twocolumn
|
|
\@topnewpage[\@makechapterhead{#2}]
|
|
\else \@makechapterhead{#2}
|
|
\@afterheading \fi}
|
|
\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]
|
|
\else \@makeschapterhead{#1}
|
|
\@afterheading\fi}
|
|
%\renewcommand*\l@chapter[2]{%
|
|
% \ifnum \c@tocdepth >\m@ne
|
|
% \addpenalty{-\@highpenalty}%
|
|
% \vskip 1.0em \@plus\p@
|
|
% \setlength\@tempdima{1.5em}%
|
|
% \begingroup
|
|
% \parindent \z@ \rightskip \@pnumwidth
|
|
% \parfillskip -\@pnumwidth
|
|
% \leavevmode %\bfseries
|
|
% \advance\leftskip\@tempdima
|
|
% \hskip -\leftskip
|
|
% #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
|
|
% \penalty\@highpenalty
|
|
% \endgroup
|
|
% \fi}
|
|
|
|
\renewcommand*\l@chapter[2]{%
|
|
\ifnum \c@tocdepth >\m@ne
|
|
\addpenalty{-\@highpenalty}%
|
|
\vskip 1.0em \@plus\p@ %\vskip 1.0em \@plus\p@
|
|
\setlength\@tempdima{7.0em}%1.5
|
|
% \addtolength\@numwidth{1.5em}
|
|
\begingroup
|
|
%\parindent \z@ \rightskip \@pnumwidth{1}
|
|
%\parfillskip -\@pnumwidth
|
|
\parindent \z@
|
|
\rightskip \if@compatibility\@pnumwidth\else\@tocrmarg\fi
|
|
\parfillskip -\rightskip%%%%%%%%%%%
|
|
\leavevmode %\bfseries
|
|
\advance\leftskip\@tempdima
|
|
\hskip -\leftskip
|
|
#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
|
|
\penalty\@highpenalty
|
|
\endgroup
|
|
\fi
|
|
}
|
|
%
|
|
% These commands control the spacing around
|
|
% the different types of headings
|
|
%
|
|
\newcommand\colonspace{:\ \ }
|
|
\def\chapterlike{\@startsection {chapterlike}{1}{\z@}{-3.5ex plus -1ex minus
|
|
-.2ex}{2.3ex plus .2ex}{\normalsize\center}}
|
|
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus
|
|
-.2ex}{0.1ex plus .2ex}{\normalsize\center\bf}}
|
|
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus
|
|
-.2ex}{0.1ex plus .2ex}{\normalsize\it}}
|
|
\def\subsubsection{\@startsection{subsubsection}{3}{\parindent}{-3.25ex plus -1ex minus
|
|
-.2ex}{-0.1ex plus .2ex}{\normalsize\rm}}
|
|
%\def\subsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus -1ex minus
|
|
% -.2ex}{0.1ex plus .2ex}{\normalsize\it}}
|
|
\def\paragraph{\@startsection{paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
|
|
\def\subparagraph{\@startsection
|
|
{subparagraph}{4}{\parindent}{3.25ex plus 1ex minus
|
|
.2ex}{-1em}{\normalsize\bf}}
|
|
|
|
%
|
|
% The \@afterheading definition has been changed
|
|
% from the normal latex version so that the first
|
|
% paragraph after each section will be indented.
|
|
%
|
|
\def\@afterheading{%
|
|
\@nobreakfalse
|
|
\everypar{%
|
|
\if@nobreak
|
|
\@nobreakfalse
|
|
\clubpenalty \@M
|
|
\if@afterindent \else
|
|
{\setbox\z@\lastbox}%
|
|
\fi
|
|
\else
|
|
\clubpenalty \@clubpenalty
|
|
\everypar{}%
|
|
\fi}}
|
|
|
|
% Testing code
|