diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/msuthesis/msu-thesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/msuthesis/msu-thesis.cls | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/msuthesis/msu-thesis.cls b/Master/texmf-dist/tex/latex/msuthesis/msu-thesis.cls index 88fa7a04b04..7b6d8a045a3 100644 --- a/Master/texmf-dist/tex/latex/msuthesis/msu-thesis.cls +++ b/Master/texmf-dist/tex/latex/msuthesis/msu-thesis.cls @@ -62,12 +62,19 @@ % environment msuabstract and \makeabstract (no longer % needed) (still available for backwards compatibility). % Moved samples folder to the doc folder. +% Version 1.8 2010/12/17 Added spacing code for LOF, LOT etc to the +% \mem@tableofcontents code. Removed \maketableofcontents +% command from documentation as it is no longer needed. +% Removed rule between Chapter and Title after irrational +% complaints from MSU's Thesis Office. Fixed page numbering +% problem when Copyright page was missing. Removed varioref +% and afterpage as required packages. % % Use at your own risk! % Report bugs/problems/questions to <amunn@msu.edu> % \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{msu-thesis}[2010/12/16 Michigan State University Thesis Class version 1.7] +\ProvidesClass{msu-thesis}[2010/12/16 Michigan State University Thesis Class version 1.8] \DeclareOption{PhD}{\gdef\@degree{DOCTOR OF PHILOSOPHY}\gdef\@diss{DISSERTATION}} \DeclareOption{MA}{\gdef\@degree{MASTER OF ARTS}\gdef\@diss{THESIS}} \DeclareOption{MS}{\gdef\@degree{MASTER OF SCIENCE}\gdef\@diss{THESIS}} @@ -87,11 +94,7 @@ } \ProcessOptions \LoadClass[12pt,oneside,letterpaper]{memoir}[2008/05/27] -\RequirePackage{afterpage}[1995/10/27] -\RequirePackage{varioref}[2006/05/13] \RequirePackage{etex} -\RequirePackage{etoolbox} -\tracingpatches % set up page for MSU Thesis guidelines \settypeblocksize{9in}{6.5in}{*} \setlrmargins{1in}{*}{*} @@ -158,6 +161,8 @@ \renewcommand*{\chapnumfont}{\bfseries} \renewcommand*{\chaptitlefont}{\bfseries} \renewcommand*{\printchapternonum}{} +\renewcommand*{\afterchapternum}{} + % set up the section styles \setsecheadstyle{\SingleSpacing\large\bfseries} \setsubsecheadstyle{\SingleSpacing\bfseries} @@ -178,14 +183,20 @@ %\setlength{\cftbeforechapterskip}{1.0em \@plus\p@} % MSU requires double spacing between entries in the list of tables, figures etc. -% this command defines an \maketableofcontents command to change the list of -% spacing after the ToC is formatted. Also ensures \tableofcontents* which -% may save user errors -\newcommand{\maketableofcontents}% -{\tableofcontents* -\setlength{\cftbeforechapterskip}{0.0em \@plus\p@} -\setlength{\cftparskip}{1em} -\renewcommand*{\insertchapterspace}{}} +% so we add the commands to change the 'list of' +% spacing after the ToC is formatted. + +\let\oldmem@tableofcontents\mem@tableofcontents +\renewcommand\mem@tableofcontents[1]{% + \oldmem@tableofcontents{#1}% + \setlength{\cftbeforechapterskip}{0.0em \@plus\p@} + \setlength{\cftparskip}{1em} + \renewcommand*{\insertchapterspace}{} + \pagestyle{plain} +} +% The following left in for backwards compatibility with v. 1.7 +% but not mentioned in the documentation +\newcommand{\maketableofcontents}{\tableofcontents*} % set up footnotes \footmarkstyle{\normalsize\textsuperscript{#1}} % reset size so that mark is right size @@ -216,7 +227,7 @@ % make the titlepage \newcommand{\maketitlepage}{% -\pagestyle{empty} +\pagestyle{empty}\thispagestyle{empty} \begin{titlingpage} \maketitle \end{titlingpage} |