summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-20 23:16:34 +0000
committerKarl Berry <karl@freefriends.org>2017-12-20 23:16:34 +0000
commitae958dc3e079c58c21183c625f1da27d158c0207 (patch)
tree4eeb21c57d1227cdc1b5287ce0db0a1e395937a4 /Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
parent447dc264ab527086b26ff833b290df29969288de (diff)
msu-thesis (20dec17)
git-svn-id: svn://tug.org/texlive/trunk@46106 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls99
1 files changed, 63 insertions, 36 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 30e2c0ef2d1..d49a2ced1e8 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,2013, 2014, 2015, 2016, 2017 by Alan Munn <amunn@msu.edu>
+% Copyright 2009,2010,2011,2012,2013,2014,2015,2016,2017 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
@@ -32,43 +32,43 @@
% Version 1.0 2010/04/17 Initial release
% Version 1.1 2010/04/20 Require etex package (fix problem with qtree)
% Version 1.2 2010/07/01 Changed TOC depth to include subsubsections
-% Changed footmarkstyle to make footnote marker correct size
-% Changed section definitions to correct double spacing
-% problem
-% Version 1.3 2010/07/02 Fixed subscript size problem within footnotes
-% Changed TOC to have dotted leaders everywhere
+% Changed footmarkstyle to make footnote marker correct size
+% Changed section definitions to correct double spacing
+% problem
+% Version 1.3 2010/07/02 Fixed subscript size problem within footnotes
+% Changed TOC to have dotted leaders everywhere
% Version 1.3b 2010/07/02 Now requires at least Memoir v1.618033 [2008/05/27]
% Version 1.4 2010/08/23 Added options for all Masters degrees
-% Added option [final] to generate additional titlepage
-% and abstract
-% Added new command \advisor for advisor name used in
-% [final] mode
-% Added new environment {msuabstract} for the abstract text
-% Added new titling command \makeabstract which produces
-% the abstracts
-% Fixed first and additional abstract formatting problem
-% Added warning about final mode for paper submission only
-% in anticipation of electronic submission
+% Added option [final] to generate additional titlepage
+% and abstract
+% Added new command \advisor for advisor name used in
+% [final] mode
+% Added new environment {msuabstract} for the abstract text
+% Added new titling command \makeabstract which produces
+% the abstracts
+% Fixed first and additional abstract formatting problem
+% Added warning about final mode for paper submission only
+% in anticipation of electronic submission
% Version 1.4b 2010/12/11 Fixed problems with Appendix formatting in the TOC
-% Version 1.5 2010/12/12 Removed code to format the second abstract since this
-% is no longer part of the document with electronic
-% submission. Removed \advisor command and [final] option.
+% Version 1.5 2010/12/12 Removed code to format the second abstract since this
+% is no longer part of the document with electronic
+% submission. Removed \advisor command and [final] option.
% Version 1.5b 2010/12/13 Fixed margins to new specifications; fixed page numbering
% issue when dedication was missing.
% Version 1.6 2010/12/16 Bug fixes that introduced another bug. Never released.
% Version 1.7 2010/12/16 Fixed page numbering problems with TOC; Fixed abstract
-% spacing problem; fixed LOF, LOT etc. spacing problem;
-% by adding command \maketableofcontents; removed
-% environment msuabstract and \makeabstract (no longer
-% needed) (still available for backwards compatibility).
-% Moved samples folder to the doc folder.
+% spacing problem; fixed LOF, LOT etc. spacing problem;
+% by adding command \maketableofcontents; removed
+% 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.
+% \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.
% Version 1.9b 2011/07/22 Made footnotes \normalsize (new requirement)
% Version 2.0 2011/08/24 Added lscape pagestyle for placement of page numbers
% on landscape pages. Implemented as a package option
@@ -130,12 +130,18 @@
% Fixed spacing issue after contents lists and bibliography and unnumbered chapters
% Any list of abbreviations \chapter* will need an extra \vspace in the source.
% Added support for apacite package which messes with bibname and TOC.
-% Removed gb4e compatability code from distribution.
+% Removed gb4e compatibility code from distribution.
+% Version 2.8 2017/12/13 Added {publicabstract} environment and \publicabstractname for the public abstract.
+% This is an unnumbered and uncounted abstract. It’s not clear whether the title
+% should be the same as \abstractname. For the moment it is. Updated documentation to
+% include section about microtype and contents lists.
+% Changed \droptitle (again)
+% Fixed capitalization problem with Appendices
% Use at your own risk!
% Report bugs/problems/questions to <amunn@msu.edu>
%
-\def\msu@version{2.7}
-\def\msu@date{2017/06/22}
+\def\msu@version{2.8}
+\def\msu@date{2017/12/13}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{msu-thesis}[\msu@date\space Michigan State University Thesis Class version \msu@version]
\newif\ifmsu@dissertation\msu@dissertationtrue % added v2.7 boolean for \msu@thesistype
@@ -218,7 +224,7 @@
% make title 2in from top of page
% This value is crazy because the grad school doesn’t know how to measure
-\setlength{\droptitle}{.425in}
+\setlength{\droptitle}{.25in} % changed again due to topskip removal 12/13/17
% set up the title page
% Because the title is set to \MakeUppercase we need to \protect line
@@ -297,7 +303,7 @@
\cftinsertcode{APP}{
\setlength\cftchapterindent{\cftsectionindent}
\setlength\cftbeforechapterskip{0pt}
- \renewcommand\cftchapterfont{\msu@tocfont}
+ \renewcommand\cftsectionfont{\msu@tocfont} % fixed 12/13/17
\renewcommand\cftchapterpagefont{\msu@tocfont}
\renewcommand*{\cftappendixname}{APPENDIX\space}
}
@@ -365,6 +371,7 @@
\renewcommand{\foottextfont}{\normalsize} % footnotes will be 12pt
\feetbelowfloat % footnotes will appear below bottom floats
+% set up abstract and public abstract
\renewenvironment{abstract}{%
\chapter*{\abstractname}
\thispagestyle{empty}
@@ -375,6 +382,26 @@
\plainbreak{-.5} % changed 2016/06/08 after complaints
\DoubleSpacing
}{\par}
+%
+% Public abstract is both unnumbered and uncounted (weird)
+% Added 6/24/2017 Nobody has asked yet for this yet, but
+% we’ll add this to the next release.
+%
+% this just stores the current page number and replaces it at the end
+
+\newcounter{msu@pubabspages}
+\newcommand{\publicabstractname}{\abstractname}
+\newenvironment{publicabstract}{%
+ \setcounter{msu@pubabspages}{\value{page}}
+ \chapter*{\publicabstractname}
+ \thispagestyle{empty}
+ \plainbreak{-.5} % changed 2016/06/08 after complaints
+ \begin{center}
+ \MakeUppercase{\thetitle}\plainbreak{1}By\plainbreak{1}\theauthor
+ \end{center}
+ \plainbreak{-.5} % changed 2016/06/08 after complaints
+ \DoubleSpacing
+ }{\clearpage\setcounter{page}{\value{msu@pubabspages}}}
% set up captions
@@ -524,7 +551,7 @@
\renewcommand*{\l@chapter}[2]{%
\l@chapapp{\MakeLinkUppercase #1}{#2}{\cftchaptername}} % Format chapter names
\renewcommand*{\l@appendix}[2]{%
- \l@chapapp{\msu@tocfont#1}{#2}{\cftappendixname}}} % Format appendix names (changed 8/7/14)
+ \l@chapapp{\MakeLinkUppercase #1}{#2}{\cftappendixname}}} % Format appendix names (changed 13/12/17)
% if no hyperref
{\relax}
}