summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/msu-thesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-06 22:50:47 +0000
committerKarl Berry <karl@freefriends.org>2014-08-06 22:50:47 +0000
commitb1069a82a60691cfdcf9ec06a5cbfb352fc74cc4 (patch)
tree3484ec6912ba7ad905ea2200d8a72ccf7165963c /Master/texmf-dist/tex/latex/msu-thesis
parenta6e66f64c0294a969fc47bfa9c784cad40d0555c (diff)
msu-thesis (5aug14)
git-svn-id: svn://tug.org/texlive/trunk@34858 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/msu-thesis')
-rw-r--r--Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls59
1 files changed, 39 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
index acc2665867a..41ef4488da9 100644
--- a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
+++ b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
@@ -1,6 +1,6 @@
% MSU Thesis Class
%
-% Copyright 2009,2010,2011,2012 by Alan Munn <amunn@msu.edu>
+% Copyright 2009,2010,2011,2012,2013 by Alan Munn <amunn@msu.edu>
%
% This is a class file for producing dissertations and theses according to the
% Michigan State University Graduate School Guidelines (2012)
@@ -94,28 +94,38 @@
% office demands that the physical pages be rotated.
% Version 2.3 2012/12/01 Added "Figure" and "Table" to the LOF and LOT entries per new Grad School
% requirements.
+% Version 2.4 2014/08/04 Changed format of Title Page as per new Grad School requirements.
+% Field of study and Degree are now sentence case and on the same line
+% Added \msu@fieldseparator in case they object to an en-dash. Don't they
+% have better things to do with their time?
+% To comply with the new MSWord mimicry, all section elements in the TOC
+% are bold; this can be turned off with the [noboldtoc] option for a
+% prettier, but possibly non-compliant TOC.
+% Changed capitalization of 'by' to 'By' which makes things so much better...
+%
% Use at your own risk!
% Report bugs/problems/questions to <amunn@msu.edu>
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{msu-thesis}[2012/06/07 Michigan State University Thesis Class version 2.2]
+\ProvidesClass{msu-thesis}[2014/08/04 Michigan State University Thesis Class version 2.4]
\newif\ifmsu@lscape\msu@lscapefalse
-\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}}
-%\DeclareOption{MAT}{\gdef\@degree{MASTER OF ARTS FOR TEACHERS}\gdef\@diss{THESIS}}
-\DeclareOption{MBA}{\gdef\@degree{MASTER OF BUSINESS ADMINISTRATION}\gdef\@diss{THESIS}}
-\DeclareOption{MFA}{\gdef\@degree{MASTER OF FINE ARTS}\gdef\@diss{THESIS}}
-\DeclareOption{MIPS}{\gdef\@degree{MASTER OF INTERNATIONAL PLANNING STUDIES}\gdef\@diss{THESIS}}
-\DeclareOption{MHRL}{\gdef\@degree{MASTER OF HUMAN RESOURCES AND LABOR RELATIONS}\gdef\@diss{THESIS}}\DeclareOption{MMus}{\gdef\@degree{MASTER OF MUSIC}\gdef\@diss{THESIS}}
-%\DeclareOption{MSN}{\gdef\@degree{MASTER OF SCIENCE IN NURSING}\gdef\@diss{THESIS}}
-\DeclareOption{MPP}{\gdef\@degree{MASTER OF PUBLIC POLICY}\gdef\@diss{THESIS}}
-\DeclareOption{MSW}{\gdef\@degree{MASTER OF SOCIAL WORK}\gdef\@diss{THESIS}}
-\DeclareOption{MURP}{\gdef\@degree{MASTER IN URBAN AND REGIONAL PLANNING}\gdef\@diss{THESIS}}
+\newif\ifmsu@stupid\msu@stupidtrue
+\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}}
+%\DeclareOption{MAT}{\gdef\@degree{Master of Arts for Teachers}\gdef\@diss{THESIS}}
+\DeclareOption{MBA}{\gdef\@degree{Master of Business Administration}\gdef\@diss{THESIS}}
+\DeclareOption{MFA}{\gdef\@degree{Master of Fine Arts}\gdef\@diss{THESIS}}
+\DeclareOption{MIPS}{\gdef\@degree{Master of International Planning Studies}\gdef\@diss{THESIS}}
+\DeclareOption{MHRL}{\gdef\@degree{Master of Human Resources and Labor Relations}\gdef\@diss{THESIS}}\DeclareOption{MMus}{\gdef\@degree{Master of Music}\gdef\@diss{THESIS}}
+%\DeclareOption{MSN}{\gdef\@degree{Master of Science in Nursing}\gdef\@diss{THESIS}}
+\DeclareOption{MPP}{\gdef\@degree{Master of Public Policy}\gdef\@diss{THESIS}}
+\DeclareOption{MSW}{\gdef\@degree{Master of Social Work}\gdef\@diss{THESIS}}
+\DeclareOption{MURP}{\gdef\@degree{Master in Urban and Regional Planning}\gdef\@diss{THESIS}}
\DeclareOption{lscape}{%
\msu@lscapetrue
\AtEndDocument{\ClassWarningNoLine{msu-thesis}{You have chosen the [lscape] option. You may need to run latex twice to get landscape page numbering to display correctly}}}
-
+\DeclareOption{noboldtoc}{\msu@stupidfalse}
\ExecuteOptions{PhD}
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{memoir}%
@@ -161,7 +171,7 @@
% we use a private macro here to avoid problems with babel and
% polyglossia if they are loaded since they redefine the contents title
%
-\newcommand*\MSU@contentsname{TABLE OF CONTENTS}
+\newcommand*\msu@contentsname{TABLE OF CONTENTS}
\newif\ifappendices\appendicesfalse
\newcommand*{\@appendixcover}{\ifappendices{APPENDICES}\else{APPENDIX}\fi}
@@ -176,6 +186,7 @@
\newenvironment{msuabstract}{\ClassWarning{msu-thesis}{MSU Thesis: The msuabstract environment is deprecated. Please use the abstract environment}\begin{abstract}}{\end{abstract}}
\newcommand*{\@titleintro}{A~} % this is the beginning to the title page phrase
+\newcommand*{\msu@fieldseparator}{\textendash} % this is between the degree name and field of study
@@ -187,9 +198,9 @@
% breaks within the title. This has now been documented in the user docs.
\pretitle{\begin{center}\MakeUppercase}
\posttitle{\\[\baselineskip]\end{center}}
-\preauthor{\begin{center}by\\[\baselineskip]}
+\preauthor{\begin{center}By\\[\baselineskip]}
\postauthor{\end{center}}
-\predate{\vfill\begin{center}\@titleintro\@diss\\[\baselineskip]Submitted\\to Michigan State University\\in partial fulfillment of the requirements\\for the degree of\\[\baselineskip]\@degree\\[\baselineskip]\@fieldofstudy\\[\baselineskip]}
+\predate{\vfill\begin{center}\@titleintro\@diss\\[\baselineskip]Submitted\\to Michigan State University\\in partial fulfillment of the requirements\\for the degree of\\[\baselineskip]\@fieldofstudy~\msu@fieldseparator~\@degree\\[\baselineskip]}
% set up the chapter titles
\chapterstyle{thatcher}
@@ -200,6 +211,8 @@
\renewcommand*{\chaptitlefont}{\SingleSpacing\bfseries}
\renewcommand*{\printchapternonum}{}
\renewcommand*{\afterchapternum}{}
+\renewcommand*{\printchaptername}{%
+ \centerline{\chapnumfont{\MakeUppercase\@chapapp\ \thechapter}}}
% set up the section styles
\setsecheadstyle{\normalfont\SingleSpacing\large\bfseries}
@@ -209,13 +222,19 @@
% set up TOC
\maxtocdepth{subsubsection}
\setsecnumdepth{subsubsection}
-\renewcommand*{\printtoctitle}[1]{\centering\bfseries\MSU@contentsname}
+\renewcommand*{\printtoctitle}[1]{\centering\bfseries\msu@contentsname}
\renewcommand*{\cftchaptername}{Chapter\space}
\renewcommand*{\cftappendixname}{Appendix\space}
\renewcommand*{\cftchapterdotsep}{\cftdotsep}
\renewcommand*{\cftfigurename}{Figure\space}
\renewcommand*{\cfttablename}{Table\space}
+% Stupid option to make the TOC all bold
+\ifmsu@stupid
+\renewcommand*{\cftsectionfont}{\bfseries}
+\renewcommand*{\cftsubsectionfont}{\bfseries}
+\renewcommand*{\cftsubsubsectionfont}{\bfseries}\fi
+
\renewcommand*{\l@chapter}[2]{%
\l@chapapp{\MakeUppercase{#1}}{#2}{\cftchaptername}} % Format chapter names
\renewcommand*{\l@appendix}[2]{%
@@ -255,7 +274,7 @@
\thispagestyle{empty}
\plainbreak{-1.5}
\begin{center}
- \MakeUppercase{\thetitle}\plainbreak{1}by\plainbreak{1}\theauthor
+ \MakeUppercase{\thetitle}\plainbreak{1}By\plainbreak{1}\theauthor
\end{center}
\DoubleSpacing
}{\par}