From 65711d244a945c9cedc95c63a1e7097daf60bc20 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 28 May 2012 22:27:50 +0000 Subject: msu-thesis (29may12) git-svn-id: svn://tug.org/texlive/trunk@26701 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/msu-thesis/msu-thesis.cls | 28 ++++++++++------------ 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'Master/texmf-dist/tex/latex/msu-thesis') 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 3ad6599cd72..6814ebb638d 100644 --- a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls +++ b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls @@ -81,21 +81,24 @@ % Version 2.1b 2012/05/18 Fixed bug with redefinition of \contentsname % when babel is loaded. % Version 2.1c 2012/05/18 Generalized babel bugfix to work with polyglossia +% Version 2.1d 2012/05/27 Removed superfluous title redefinition; +% Made title in abstract upper case (bug); +% Updated documentation; updated degree list % Use at your own risk! % Report bugs/problems/questions to % \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{msu-thesis}[2012/05/18 Michigan State University Thesis Class version 2.1b] +\ProvidesClass{msu-thesis}[2012/05/18 Michigan State University Thesis Class version 2.1c] \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{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{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}} @@ -133,7 +136,6 @@ \setheadfoot{\baselineskip}{.5in} \AtBeginDocument{% \checkandfixthelayout - % set up subscript sizes so that 10 pt is the smallest % (MSU Requirement) \DeclareMathSizes{12}{12}{10}{10} @@ -150,16 +152,7 @@ % polyglossia if they are loaded since they redefine the contents title % \newcommand*\MSU@contentsname{TABLE OF CONTENTS} - -%\renewcommand{\title}[1]{\gdef\@title{\MakeUppercase{#1}}} -\addtoiargdef{\title}{% - \begingroup\let\footnote\@gobble}{% - \begingroup - \renewcommand{\thanks}[1]{} - \renewcommand{\thanksmark}[1]{} - \renewcommand{\thanksgap}[1]{} - \protected@xdef\thetitle{\MakeUppercase{#1}} - \endgroup\endgroup} + \newif\ifappendices\appendicesfalse \newcommand*{\@appendixcover}{\ifappendices{APPENDICES}\else{APPENDIX}\fi} \newcommand*{\fieldofstudy}[1]{\gdef\@fieldofstudy{\MakeUppercase{#1}}} @@ -180,6 +173,8 @@ \setlength{\droptitle}{.25in} % set up the title page +% Because the title is sent to \MakeUppercase we need to \protect line +% 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]} @@ -189,7 +184,7 @@ % set up the chapter titles \chapterstyle{thatcher} \setlength{\beforechapskip}{0pt} -%\setlength{\afterchapskip}{28pt} +%\setlength{\afterchapskip}{28pt} % Thesis office didn't like this \renewcommand*{\chapnamefont}{\centering\bfseries} \renewcommand*{\chapnumfont}{\bfseries} \renewcommand*{\chaptitlefont}{\bfseries} @@ -208,6 +203,7 @@ \renewcommand*{\cftchaptername}{Chapter\space} \renewcommand*{\cftappendixname}{Appendix\space} \renewcommand*{\cftchapterdotsep}{\cftdotsep} + \renewcommand*{\l@chapter}[2]{% \l@chapapp{\MakeUppercase{#1}}{#2}{\cftchaptername}} % Format chapter names \renewcommand*{\l@appendix}[2]{% @@ -247,7 +243,7 @@ \thispagestyle{empty} \plainbreak{-1.5} \begin{center} - \thetitle\plainbreak{1}by\plainbreak{1}\theauthor + \MakeUppercase{\thetitle}\plainbreak{1}by\plainbreak{1}\theauthor \end{center} \DoubleSpacing }{\par} -- cgit v1.2.3