diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-28 22:27:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-28 22:27:50 +0000 |
commit | 65711d244a945c9cedc95c63a1e7097daf60bc20 (patch) | |
tree | aaef1c1d8c3d55e5d14f2be4b6d26b231762d46d /Master/texmf-dist/tex | |
parent | 097e14d036c498af65a65ad9501810a71477215f (diff) |
msu-thesis (29may12)
git-svn-id: svn://tug.org/texlive/trunk@26701 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls | 28 |
1 files changed, 12 insertions, 16 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 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 <amunn@msu.edu> % \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} |