summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/msu-thesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-10 21:46:36 +0000
committerKarl Berry <karl@freefriends.org>2016-06-10 21:46:36 +0000
commit79920ff1cab0432bde8e67f9b0b5b832113dd2e2 (patch)
tree92395c317260fd36d4622f26d92d17d881d2b2ef /Master/texmf-dist/tex/latex/msu-thesis
parent50d3fc85c067051d264254c386dc041438745daf (diff)
msu-thesis (10jun16)
git-svn-id: svn://tug.org/texlive/trunk@41345 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.cls49
1 files changed, 36 insertions, 13 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 08c43df2019..ca5259cccf8 100644
--- a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
+++ b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
@@ -117,12 +117,15 @@
% also fix bookmarks in the PDF when hyperref is loaded.
% Made default caption delimiter a space so that captions in LOT/LOF look better
% Removed old commented out code and older backwards compatibility code.
-%
+% Version 2.6b 2016/06/08 Reworked some vertical spacing after complaints from the thesis office
+% despite the fact that people successfully submitted theses in May with
+% the previous spacing. This is getting ridiculous.
+% Also updated documentation to show how to add list of abbreviations
% Use at your own risk!
% Report bugs/problems/questions to <amunn@msu.edu>
%
-\def\msu@version{2.6}
-\def\msu@date{2016/05/09}
+\def\msu@version{2.6b}
+\def\msu@date{2016/06/08}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{msu-thesis}[\msu@date\space Michigan State University Thesis Class version \msu@version]
\newif\ifmsu@lscape\msu@lscapefalse
@@ -207,7 +210,7 @@
% set up the chapter titles
\chapterstyle{thatcher}
\setlength{\beforechapskip}{0pt}
-%\setlength{\afterchapskip}{28pt} % Thesis office didn't like this
+\setlength{\afterchapskip}{18pt} % 2016/06/08 because of thesis office complaints
\renewcommand*{\chapnamefont}{\centering\bfseries}
\renewcommand*{\chapnumfont}{\bfseries}
\renewcommand*{\chaptitlefont}{\SingleSpacing\bfseries}
@@ -321,11 +324,12 @@
\renewenvironment{abstract}{%
\chapter*{\abstractname}
\thispagestyle{empty}
- \plainbreak{-1.5}
+ \plainbreak{-.5} % changed 2016/06/08 after complaints
\begin{center}
\MakeUppercase{\thetitle}\plainbreak{1}By\plainbreak{1}\theauthor
\end{center}
- \DoubleSpacing
+ \plainbreak{-.5} % changed 2016/06/08 after complaints
+ \DoubleSpacing
}{\par}
@@ -356,17 +360,20 @@
\clearpage}
% make the dedication page
+% changed 2016/06/08 for vertical centering
\newcommand*{\makededicationpage}{%
\clearpage
\pagestyle{plain}
- \chapter*{\ }
- \vspace{.35\textheight}\begin{center}
- \msu@dedication
- \end{center}}
+ {\centering
+ \null\vfill
+ \msu@dedication\par
+ \vfill}}
\renewcommand{\mainmatter}{%
\DoubleSpacing\pagestyle{plain}\@ifstar{\@smemmain}{\@memmain}}
+% This should probably be changed to {\null\vfill} + \afterpartskip
+% But we'll worry about this later.
\renewcommand{\beforepartskip}{\vspace*{.35\textheight}}
% This code patches the memoir appendix code to automatically add
@@ -374,19 +381,34 @@
% TOC format that the Grad School requires correct.
% Also, since the Grad School doesn't allow a single appendix to have a letter name
% we remove it for the title, but not for the section headings.
+% Redefining \@apppage as well to get the spacing right 2016/06/08
%
+\def\msu@apppage{%
+ \@setuppart
+ \mempreaddapppagetotochook
+ \addappheadtotoc
+ \mempostaddapppagetotochook
+ \partmark{\appendixpagename}%
+ \memapppageinfo{\appendixpagename}%
+ {\centering
+ \interlinepenalty \@M
+ \normalfont
+ \vfil
+ \printparttitle{\appendixpagename}\par\vfil}%
+ \@endpart}
+
\let\orig@appendix\appendix
\let\orig@appendices\appendices
\renewcommand*{\appendix}{
\renewcommand\appendixpagename{Appendix}
\renewcommand\appendixtocname{Appendix}
- \appendixpage
+ \msu@apppage
\settocdepth{part}
\orig@appendix
\renewcommand\thechapter{}
\renewcommand\thesection{A.\arabic{section}}}
\renewcommand*{\appendices}{
- \appendixpage
+ \msu@apppage
\cftinserthook{toc}{APP}
\settocdepth{chapter}
\orig@appendices}
@@ -405,7 +427,8 @@
{\centering
\interlinepenalty \@M
\normalfont
- \printparttitle{\bibpagename}\par}%
+ \vfil
+ \printparttitle{\bibpagename}\par\vfil}%
\@endpart}
\newcommand\msu@preaddbibpagetotochook{}
\newcommand\msu@postaddbibpagetotochook{}