texlive[44676] Master/texmf-dist: msu-thesis (23jun17)

commits+karl at tug.org commits+karl at tug.org
Fri Jun 23 23:37:50 CEST 2017


Revision: 44676
          http://tug.org/svn/texlive?view=revision&revision=44676
Author:   karl
Date:     2017-06-23 23:37:50 +0200 (Fri, 23 Jun 2017)
Log Message:
-----------
msu-thesis (23jun17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/msu-thesis/README
    trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
    trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex
    trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.pdf
    trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex
    trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib
    trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.pdf
    trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex
    trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol

Removed Paths:
-------------
    trunk/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/README	2017-06-23 14:55:46 UTC (rev 44675)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/README	2017-06-23 21:37:50 UTC (rev 44676)
@@ -1,10 +1,10 @@
-MSU Thesis Class Version 2.6b 2016/06/08
+MSU Thesis Class Version 2.7 2017/06/22
 
-Copyright 2011,2012,2013,2014,2015,2016 by Alan Munn <amunn at msu.edu>
+Copyright 2011,2012,2013,2014,2015,2016, 2017 by Alan Munn <amunn at msu.edu>
 
 This is a class file for producing dissertations and theses according to
 the Michigan State University Graduate School Guidelines for Electronic
-Submission of Master's Theses and Dissertations (2015).
+Submission of Master's Theses and Dissertations (2016).
 
 The class is based on the memoir document class, and thefore inherits
 all of the functionality of that class.
@@ -34,13 +34,12 @@
 
 The Current Maintainer of this package is Alan Munn.
 
-This package consists of the following source files:
+This package consists of the following source file:
 msu-thesis.cls,
-gb4e-compat.tex; 
 Documentation files:
 msu-thesis.tex and msu-thesis.pdf;
 A template file: MSU-thesis-template.tex;
-A test file, test bibliography, and the Unified Linguistics Stylesheet bst file: MSU-thesis-testfile.tex, testfile.bib, unified.bst
+A test file, test bibliography, and the Unified Linguistics Stylesheet bst file: MSU-thesis-testfile.tex, MSU-theis-testfile.bib, unified.bst
 
 
 Use at your own risk! Report bugs/problems/questions to <amunn at msu.edu>

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex	2017-06-23 14:55:46 UTC (rev 44675)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex	2017-06-23 21:37:50 UTC (rev 44676)
@@ -2,13 +2,13 @@
 
 \documentclass[11pt]{article}
 
-\def\msuversion{2.6b}
-\def\msudate{2016/06/08}
+\def\msuversion{2.7}
+\def\msudate{2017/06/22}
 \title{\textbf{Using the MSU Thesis Class}}
 \author{\textbf{Alan Munn}\\Department of Linguistics and Languages\\\texttt{\href{mailto:amunn at msu.edu}{amunn at msu.edu}}}
 \date{Version \msuversion\\\msudate}
 \usepackage[T1]{fontenc}
-\usepackage[lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in]{geometry}
+\usepackage[lmargin=.75in,rmargin=.75in,tmargin=1in,bmargin=1in]{geometry}
 \usepackage{titling}
 \usepackage[utf8]{inputenc}
 \usepackage{array, booktabs, multicol, fancyhdr, xspace,tabularx}
@@ -69,7 +69,7 @@
 \thispagestyle{empty}
 \renewcommand{\abstractname}{\sffamily Abstract}
 
-\abstract{\noindent\begin{quote} This is a class file for MSU theses and dissertations.  It is based on the \pkg{memoir} class, and therefore supports all of the functionality of that class.  It should generate a document which meets all the basic formatting requirements laid out by the \emph{Formatting Guide For Submission of Master’s Theses and Doctoral Dissertations} (October 2015) produced by the Graduate School, including requirements for margins, titlepage, page numbering, section titles, sub- and superscript sizes etc.\end{quote}}
+\abstract{\noindent\begin{quote} This is a class file for MSU theses and dissertations.  It is based on the \pkg{memoir} class, and therefore supports all of the functionality of that class.  It should generate a document which meets all the basic formatting requirements laid out by the \href{https://grad.msu.edu/etd/formatting-guide}{Formatting Guide For Submission of Master’s Theses and Doctoral Dissertations} (February 2016) produced by the Graduate School, including requirements for margins, titlepage, page numbering, section titles, sub- and superscript sizes etc.\end{quote}}
 \section{Introduction}
 Formatting a dissertation according to a University's thesis requirements is not always a simple task in \LaTeX, especially since the requirements are generally aimed at MSWord users.  Furthermore, most of the work of formatting a document is supposed to be done by the document class itself, and not by the individual user.  Fortunately, Michigan State University's thesis requirements are actually sane, and fairly straightforward.  The present class file is designed to further make the process easier for \LaTeX\ users, by doing all the heavy lifting for you, so that you can focus on the content and not the formatting.
 \section{Background}
@@ -82,10 +82,12 @@
 \toprule
 \multicolumn{1}{c}{Option name} & \multicolumn{1}{l}{Description}\\
 \midrule
-{[PhD]} &  Doctoral dissertation (default)\\
+{[PhD]} &  Doctor of Philosophy (default)\\
+{[DEd]} & Doctor of Education\\
+{[DMA]} & Doctor of Musical Arts\\
 {[MA]} & Master of Arts\\
 {[MS]} & Master of Science\\
-%{[MAT]} & Master of Arts for Teachers 	 \\
+{[MAT]} & Master of Arts for Teachers 	 \\
 {[MBA]} & Master of Business Administration 	 \\
 {[MFA]} & Master of Fine Arts 	 \\
 {[MIPS]} & Master of International Planning Studies 	 \\
@@ -92,6 +94,7 @@
 {[MHRL]} & Master of Human Resources and Labor Relations  \\
 {[MMus]} & Master of Music 	 \\
 %{[MSN]} & Master of Science in Nursing 	 \\
+{[MPH]} & Master of Public Health\\
 {[MPP]} & Master of Public Policy 	 \\
 {[MSW]} & Master of Social Work 	 \\
 {[MURP]} & Master in Urban and Regional Planning 	 \\
@@ -102,7 +105,7 @@
 \subsection{The \pkg{[lscape]} option}
 The Formatting Guide requires that any lansdscape pages be numbered in landscape mode (i.e. along the long edge of the page) rather than in portrait mode, and rotated in the final PDF. The |[lscape]| option enables this. The option loads both the \pkg{pdflscape} package and \pkg{tikz}, and is implemented as a class option so that you are not required to load those packages if they are not needed.
 \subsection{The contents options}
-In 2013 I received reports that the thesis office now requires all elements in the Table of Contents to have the same formatting as they are in the main document, which means that all section, subsection, and subsubsection headings need to be bold.  Since this looks very ugly, I have created two options to turn it off, the |[plaintoc]| option (which makes all TOC entries plain) and |[mixedtoc]| option (which makes Chapters bold and other elements plain). I suspect that the thesis office checkers don't notice this all the time so if you want to have a prettier table of contents and are willing to have that format be corrected, you can use these options to turn off the MSWord inspired ugliness of an entirely bold Table of Contents. I've made |[plaintoc]| the default.  If you are forced by the thesis office to have an entirely bold TOC, use the |[boldtoc]| option.
+In 2013 I received reports that the thesis office now requires all elements in the Table of Contents to have the same formatting as they are in the main document, which means that all section, subsection, and subsubsection headings need to be bold.  Since this looks very ugly, I have created two options to turn it off, the |[plaintoc]| option (which makes all ToC entries plain) and |[mixedtoc]| option (which makes Chapters bold and other elements plain). I suspect that the thesis office checkers don't notice this all the time so if you want to have a prettier table of contents and are willing to have that format be corrected, you can use these options to turn off the MSWord inspired ugliness of an entirely bold Table of Contents. I've made |[plaintoc]| the default.  If you are forced by the thesis office to have an entirely bold ToC, use the |[boldtoc]| option.
 
 \section{User commands}
 In addition to all the user functionality defined by \pkg{memoir}, the \pkg{msu-thesis} class defines five new titling commands. 
@@ -156,11 +159,10 @@
 \subsection{What does the class file do?}
 The class itself sets up the margins, page numbering, and formatting of all of the required pieces.  It doesn't put everything in the right order, so you are responsible for that.  The best way to do this is to use the included sample \LaTeX\ file as a basic template for your thesis.
 \subsection{Line Spacing}
-The \pkg{memoir} class provides commands for single and double spacing (|\SingleSpacing| and |\DoubleSpacing|) most of your thesis will be double spaced, but certain parts (such as the table of contents, lists of figures/tales, bibliography) may be single spaced. This duplicates the functionality of the \pkg{setspace} package, which therefore should not be used.
+The \pkg{memoir} class provides commands for single and double spacing (|\SingleSpacing| and |\DoubleSpacing|) most of your thesis will be double spaced, but certain parts (such as the table of contents, lists of figures/tales, bibliography) may be single spaced. This duplicates the functionality of the \pkg{setspace} package, which therefore should not be used.  For bibliography spacing issues, see also Section \ref{bibspacing}.
 
-Please note that although bibliography entries must be single spaced, there must be a space between each entry. This parameter is set by your bibliography package. If you are using |natbib| it is |\bibsep| and if you are using |biblatex| it is |\bibitemsep|.
 \subsection{Font changing commands}\label{sec:fonts}
-\sloppy The \pkg{memoir} class enforces the so-called ``new'' font changing commands (although they have now been in use for many years.) This means that it does not allow you to use the commands |\bf|, |\it|, |\rm|, etc.  Unfortunately there are some old packages that still use these commands, and there is also some outdated information on the web that might have examples using these commands. You should generally not use these commands (see \href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=2letterfontcmd}{Two Letter Font Commands}); if you do encounter problems, you can pass the option |oldfontcommands| to the class.
+\sloppy The \pkg{memoir} class enforces the so-called ``new'' font changing commands (although they have now been in use for many years.) This means that it does not allow you to use the commands |\bf|, |\it|, |\rm|, etc.  Unfortunately there are some old packages that still use these commands, and there is also some outdated information on the web that might have examples using these commands. You should generally not use these commands (see \href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=2letterfontcmd}{Two Letter Font Commands}); if you do encounter problems, you can pass the option |[oldfontcommands]| to the class.
 \subsection{Extra Packages}
 The \pkg{memoir} class replicates the functionality of many independent packages, so if you are transferring \LaTeX\ source from other documents using the \pkg{article} class, you may encounter some warnings or errors.  The \pkg{memoir} documentation has substantial information about the packages it emulates, and the packages for which it provides equivalent functionality.  See Chap. 18 Sec. 24 of the \pkg{memoir} manual for details.  Quoting from the manual:
 \begin{quote} \pkg{memoir} emulates the following packages: {\sffamily abstract, appendix, array, booktabs, ccaption, chngcntr, crop, dcolumn, delarray, enumerate, epigraph, ifmtarg, ifpdf, index, makeidx, moreverb, needspace, newfile, nextpage, pagenote, patchcmd, parskip, setspace, shortvrb, showidx, tabularx, titleref, tocbibind, tocloft, verbatim}, and {\sffamily verse}. It also provides functions equivalent to those in the following packages, although the class does not prevent you from using them: {\sffamily fancyhdr, framed, geometry, sidecap, subfigure}, and \sffamily{titlesec}.\\\hfill{\normalfont\emph{The Memoir Class} 8th Ed. 2010, p.339}
@@ -190,12 +192,13 @@
 \end{lstlisting}
 \end{quote}
 
-Another common kind of List is a List of Abbreviations. The thesis office seems to want to call this "Key to Abbreviations".  To add such a list, you need to do the following:
+Another common kind of list is a List of Abbreviations. The thesis office seems to want to call this “Key to Abbreviations”.  To add such a list, you need to do the following:
 
 \begin{quote}
 \begin{lstlisting}
 \clearpage
 \chapter*{Key to Abbreviations}
+\vspace{\cftparskip}
 \addcontentsline{toc}{chapter}{Key to Abbreviations}
 Your list of abbreviations here.
 \end{lstlisting}
@@ -256,8 +259,9 @@
 \end{subappendices}
 \end{lstlisting}
 \end{quote}
+\subsection{Bibliography spacing}\label{bibspacing}
+Please note that although bibliography entries must be single spaced, there must be a space between each entry. This parameter is set by your bibliography package and not by the class itself. If you are using |natbib| it is |\bibsep| and if you are using |biblatex| it is |\bibitemsep|. These are lengths and may be set by using |\setlength|. Depending on your bibliography style, you may need to set these to be |\baselineskip|, e.g. |\setlength{\bibitemsep}{\baselineskip}|.
 
-
 \subsection{Customizing the look of things}
 I have created a basic looking style for Chapter headings based on the |thatcher| style in |memoir|.  If you want to change these things, you may, using the appropriate |\renewcommand| commands.  More information can be found in the |memoir| documentation. The Thesis Office seems to require dotted leaders for the List of Figures/Tables in the Table of Contents, (despite the guide saying they are optional) even though they get typeset as Chapters.  If you wish your Chapter headings to have no leaders, add the following command just after the |\mainmatter| command.  To put the dots back for the Bibliography, repeat the same command right after the |\backmatter| command, but replace |\cftnodots| with |\cftdotsep|.  The default template leaves dots everywhere, which should appease the thesis office. 
 \begin{quote}
@@ -280,13 +284,13 @@
 
 \section{Bugs and redistribution}
 \subsection{Current version}
-The latest copy of \pkg{msu-thesis} will always be available on  \href{http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=msu-thesis}{CTAN}. If you use TeX Live or MiKTeX then their respective package managers will update or install the latest version. If you are using a Linux-based distribution, you may need to install the latest copy in your local |texmf| directory. If you want others to use the class, \textsc{please} point them to CTAN, so that they can get an up-to-date version with all accompanying documentation and examples rather than passing along your copy. Please report \textsc{any} problems you have with the class to me \href{mailto:amunn at msu.edu}{amunn at msu.edu}, as this will aid in making things easier for those who follow you. The Graduate School rarely announces changes it makes to the formatting requirements, so your problem reports are extremely helpful for keeping the class in compliance with the latest standards.
+The latest copy of \pkg{msu-thesis} will always be available on  \href{http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=msu-thesis}{CTAN}. If you use MiKTeX, or a current year TeX Live then their respective package managers will update or install the latest version. If you are using a Linux-based distribution, or your TeXLive distribution is not the most recent year, you may need to install the latest copy in your local |texmf| directory. If you want others to use the class, \textsc{please} point them to CTAN, so that they can get an up-to-date version with all accompanying documentation and examples rather than passing along your copy. Please report \textsc{any} problems you have with the class to me \href{mailto:amunn at msu.edu}{amunn at msu.edu}, as this will aid in making things easier for those who follow you. The Graduate School rarely announces changes it makes to the formatting requirements, so your problem reports are extremely helpful for keeping the class in compliance with the latest standards.
 \subsection{Archiving your thesis for the future}
 Since the current version of the \pkg{msu-thesis} class satisfies the Graduate School requirements at any one time, as these requirements change, you may find that if you need to recompile your thesis after you have graduated that the formatting changes. To avoid this, I would recommend saving an archived version of the \pkg{msu-thesis.cls} file in the same folder as your thesis file.  You only need to do this once you have completely finished your thesis however; there's no need to do it during the writing process. 
 \subsection{Version history}
-Previous versions of \pkg{msu-thesis} (versions 1.0--1.4b) were created for non-electronic submission and should not be used. Versions 1.5--1.6 (the first electronic submission versions) contained a |\makeabstract| command and a separate |msuabstract| environment. These have been removed as of version 1.7.  Users who are upgrading from earlier versions to version 1.7 do not need to change these commands however but their use will trigger a warning.) Version 2.0 implemented landscape pages; version 2.1 added support for \pkg{hyperref}. Versions 2.2--2.5 mainly accommodated to the ever changing whims of the MSU Graduate School. Version 2.6 fixed some appendix bugs introduced by the previous whim accommodation.
+Previous versions of \pkg{msu-thesis} (versions 1.0--1.4b) were created for non-electronic submission and should not be used. Versions 1.5--1.6 (the first electronic submission versions) contained a |\makeabstract| command and a separate |msuabstract| environment. These have been removed as of version 1.7.  Users who are upgrading from earlier versions to version 1.7 do not need to change these commands however but their use will trigger a warning.) Version 2.0 implemented landscape pages; version 2.1 added support for \pkg{hyperref}. Versions 2.2--2.5 mainly accommodated to the ever changing whims of the MSU Graduate School. Version 2.6 fixed some appendix bugs introduced by the previous whim accommodation. Version 2.7 fixed various small spacing issues, fixed a bug which prevented a new chapter page to be a landscape page, added support for the \pkg{apacite} package, and updated degree options.
 \section{Acknowledgements}
-Thanks to Lars Madsen, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0-1.4 (now eliminated due to changed requirements). Thanks to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, Leo Liu for the landscape page numbering code, which greatly simplified my original version, and Florent Chervet for the hyperref code. Thanks also to the following students who have reported problems over the years: Matt Husband, Irina Agafonova, Dmitriy Bryndin, Greg Christian, Changkuk Jung, Yisu Zhou, Neil ver Planck, Michael Wojcik, Kyle Crayne, Adam Soliman, Adam Liter and Ali Al-jiboory.
+Thanks to Lars Madsen, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0--1.4 (now eliminated due to changed requirements). Thanks to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, Leo Liu for the landscape page numbering code, which greatly simplified my original version, and Florent Chervet for the hyperref code. Thanks also to the following students who have reported problems over the years: Irina Agafonova, Ali Al-jiboory, Dmitriy Bryndin, Greg Christian, Kyle Crayne, Matt Husband, Changkuk Jung, Adam Liter, William Muir, Adam Soliman, Alicia Parrish, Neil ver Planck, Michael Wojcik and Yisu Zhou. A special thank you to Non Thongprong who graciously provided a copy of his entire thesis which allowed me to debug some especially subtle spacing inconsistencies.
 
 \appendix
 \renewcommand{\thesection}{Appendix \Alph{section}}
@@ -338,7 +342,7 @@
 \appendix
 \chapter{Your first appendix}
 \backmatter
-\makebibliographycover
+\makebibliographypage
 \SingleSpacing
 \bibliography{your-bib-file}
 \end{document}

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex	2017-06-23 14:55:46 UTC (rev 44675)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex	2017-06-23 21:37:50 UTC (rev 44676)
@@ -1,20 +1,9 @@
 % This is a template for use with the MSU Thesis class
+% Vesion 2.7 2017/06/22
 %
 % Class options: 
-% PhD for dissertations;
-% MA for Master of Arts 
-% MS for Master of Science
-% MAT for Master of Arts for Teachers  
-% MBA for Master of Business Administration  
-% MFA for Master of Fine Arts  
-% MIPS for Master of International Planning Studies  
-% MHRL for Master of Human Resources and Labor Relations  
-% MMus for Master of Music  
-% MSN for Master of Science in Nursing  
-% MPP for Master of Public Policy  
-% MSW for Master of Social Work  
-% MURP for Master in Urban and Regional Planning  
-%
+%[PhD]	Doctor of Philosophy (default) %[DEd]	Doctor of Education%[DMA]	Doctor of Musical Arts%[MA]	Master of Arts%[MS]	Master of Science%[MAT]	Master of Arts for Teachers%[MBA]	Master of Business Administration%[MFA]	Master of Fine Arts%[MIPS]	Master of International Planning Studies%[MHRL]	Master of Human Resources and Labor Relations %[MMus]	Master of Music%[MPH]	Master of Public Health%[MPP]	Master of Public Policy%[MSW]	Master of Social Work%[MURP]	Master in Urban and Regional Planning 
+%%
 % Default is PhD
 %
 %
@@ -37,7 +26,7 @@
 % If the thesis office requires Times, we'll give them Times
 % You can experiment with other font packages here if you like.
 % If you are using XeLaTeX or LuaLaTeX load the Times or Times New Roman font with \setmainfont
-\usepackage{mathptmx} 
+\usepackage{newtxtext,newtxmath} 
 %
 % Load any extra packages here
 %
@@ -100,7 +89,7 @@
 
 \chapter{Your first chapter}
 %
-% If you have pages that must appear in landscape mode, use the [lscape] option
+% If you have pages that must appear in landscape mode, use the [lscape] documentclass option
 % and enclose the pages in a {landscape} environment.
 %\clearpage\pagestyle{lscape} % first clear the page and change the pagestyle
 %\begin{landscape}

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib	2017-06-23 14:55:46 UTC (rev 44675)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib	2017-06-23 21:37:50 UTC (rev 44676)
@@ -1,5 +1,17 @@
- at article{munn1999,
+%% This BibTeX bibliography file was created using BibDesk.
+%% http://bibdesk.sourceforge.net/
+
+
+%% Created for Alan Munn at 2017-06-23 13:07:54 -0400 
+
+
+%% Saved with string encoding Unicode (UTF-8) 
+
+
+
+ at article{Munn1999,
 	Author = {Alan Munn},
+	Date-Modified = {2017-06-22 21:40:46 +0000},
 	Journal = {Linguistic Inquiry},
 	Pages = {643-668},
 	Title = {First Conjunct Agreement: Against a Clausal Analysis},

Added: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol	2017-06-23 21:37:50 UTC (rev 44676)
@@ -0,0 +1,2 @@
+\contentsline {listing}{\numberline {2.1}{\ignorespaces A listing caption}}{11}{listing.2.1}
+\contentsline {listing}{\numberline {2.2}{\ignorespaces Another listing caption}}{11}{listing.2.2}

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex	2017-06-23 14:55:46 UTC (rev 44675)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex	2017-06-23 21:37:50 UTC (rev 44676)
@@ -1,5 +1,5 @@
 % !TEX TS-program = pdflatexmk
-% !BIB TS-program = bibtex
+% v2.7 Testfile
 \listfiles
 
 \documentclass[lscape]{msu-thesis}
@@ -7,23 +7,28 @@
 % of page numbers on landscape pages. If you don't have any landscape pages
 % in your document, you don't need to load this option.
 \usepackage[T1]{fontenc}
-\usepackage{mathptmx}
+\usepackage{newtxtext,newtxmath} % If they want Times we’ll give them Times
 \usepackage{amsmath}
+%
+\usepackage[]{natbib}
+\bibliographystyle{unified}
+
+
 % If you need newlines in your title, you must use \protect\\
 \title{Topics in the Syntax and Semantics of Phonology}
 \author{Joe Linguist}
 \fieldofstudy{Linguistics}
 \dedication{This thesis is dedicated to someone.}
-\date{2016}
+\date{2017}
 \usepackage{listings}
+\lstset{language=TeX,basicstyle={\ttfamily}}
 \usepackage{lipsum}
 \usepackage{xcolor}
 \usepackage{gb4e}
-\usepackage{natbib}
+
 \usepackage[bookmarksopenlevel=2,bookmarks=true]{hyperref} % not needed but here for testing
 
 \counterwithin{exx}{chapter}
-\bibliographystyle{unified}
 \singlegloss
 
 % Uncomment the next line for single spaced examples with gb4e
@@ -35,9 +40,7 @@
 \newlistentry{listing}{lol}{0}
 \renewcommand*{\cftlistingname}{Listing\space}
 \renewcommand*{\cftlistingaftersnum}{\msucaptiondelim}
-%\captiondelim{:\space}
 
-
 \begin{document}
 \frontmatter
 \maketitlepage
@@ -61,8 +64,8 @@
 \clearpage
 \listoflistings
 \clearpage
-\chapter*{Key to Abbreviations}
-\addcontentsline{toc}{chapter}{Key to Abbreviations}
+\chapter{Key to Abbreviations}
+\vspace{\cftparskip} % This is needed to make the list look like the other LoF/LoT/LoL etc.
 \begin{description}
 \item[foo]  This is a foo
 \item[bar] This is a bar
@@ -71,6 +74,7 @@
 % The next command changes chapters in the TOC to have no dotted leader
 %\addtocontents{toc}{\protect\renewcommand{\protect\cftchapterdotsep}{\cftnodots}}
 \chapter{Introduction}
+This is some text that precedes a section.
 \section{Some section}
 \lipsum[2]
 
@@ -91,7 +95,7 @@
 \end{exe}
 
 \lipsum[1]
-\lipsum[2]\cite{munn1999} says the following.\footnote{A footnote. This is a footnote with a subscript$_{\text{i}_{\text{j}}}$.  \lipsum[9]} \lipsum[2]
+\lipsum[2]\cite{Munn1999} says the following.\footnote{A footnote. This is a footnote with a subscript$_{\text{i}_{\text{j}}}$.  \lipsum[9]} \lipsum[2]
 \begin{table}
 \centering
 \begin{tabular}{ccc}
@@ -106,7 +110,7 @@
 
 \lipsum[3]
 \section{More stuff}
-\lipsum[4]\cite{munn2005}
+\lipsum[4]\cite{Munn2005}
 \begin{figure}
 \centering
 {\color{gray!40}\rule{2in}{3in}}
@@ -154,7 +158,7 @@
 \SingleSpacing
 This is a sample long quotation. \lipsum[2]
 
-\hfill{\citep{munn1999}}
+\hfill{\citep{Munn1999}}
 \end{quote}
 \begin{table}
 \centering
@@ -169,13 +173,17 @@
 \end{table}
 \begin{listing}
 \begin{lstlisting}
+\begin{listing}
 This is a listing
+\end{listing}
 \end{lstlisting}
 \caption{A listing caption}
 \end{listing}
 \begin{listing}
 \begin{lstlisting}
+\begin{listing}
 This is another listing
+\end{listing}
 \end{lstlisting}
 \caption{Another listing caption}
 \end{listing}
@@ -216,6 +224,37 @@
 
 \caption{Some random data that takes up too much room.}
 \end{table}
+
+\chapter{A chapter in landscape}
+
+\begin{table}[htbp]
+\centering
+\begin{tabular}{lllllll}
+
+\toprule
+A & B & C & D & E & F & G \\
+\midrule
+821.3827119 & 661.0913922 & 106.3008156 & 474.009513 & 190.8146776 & 788.4459729 & 784.7964852 \\
+863.5891052 & 308.5023091 & 15.97055732 & 319.4531424 & 932.4330525 & 313.8826277 & 574.5100815 \\
+867.7203343 & 343.6538027 & 34.35605188 & 680.5890553 & 538.4341728 & 510.3271094 & 987.7874714 \\
+144.6465988 & 86.30176472 & 145.0166526 & 26.00087715 & 694.0117063 & 556.0943379 & 650.0605751 \\
+269.5656447 & 979.9087235 & 150.7698724 & 715.0255442 & 312.5203237 & 608.58149 & 737.0459961 \\
+361.7660545 & 38.81968682 & 7.788463243 & 789.031736 & 599.306695 & 407.9588464 & 420.3577306 \\
+22.45176377 & 631.7249181 & 266.0566897 & 81.77581697 & 399.0120086 & 460.8922885 & 341.5815705 \\
+486.3650486 & 398.9817682 & 601.8745699 & 912.7856216 & 102.7510937 & 83.25854643 & 655.1995291 \\
+306.8558515 & 672.2668801 & 582.1884719 & 607.9748493 & 126.3316726 & 672.490033 & 754.4823663 \\
+745.6384032 & 369.5763752 & 170.8671329 & 248.2581139 & 994.2369771 & 28.13615151 & 230.6094341 \\
+270.3421307 & 193.6617479 & 374.94621 & 769.6975098 & 342.6845841 & 917.8180557 & 827.1024885 \\
+360.3810025 & 780.7139757 & 415.9038887 & 846.3157501 & 96.64026956 & 954.7160727 & 21.71722262 \\
+487.6847246 & 200.8682708 & 739.9673152 & 395.1695216 & 524.7826343 & 228.4705562 & 39.95541901 \\
+207.8091332 & 300.6871609 & 627.8808013 & 740.4949976 & 128.9558068 & 176.2158891 & 296.1642661 \\
+336.7537922 & 859.907318 & 704.2503641 & 426.845866 & 773.8926695 & 883.1773631 & 64.85043069 \\
+
+\bottomrule
+\end{tabular}
+
+\caption{Some random data that takes up too much room.}
+\end{table}
 \end{landscape}
 %% at the end of the {landscape} environment, make the page style {plain}
 \pagestyle{plain}
@@ -225,24 +264,19 @@
 %\begin{appendices} ... \end{appendices}
 % use this if you have more than one appendix
 \clearpage
-\appendix   % use this if you have only one appendix
-%\begin{appendices}
+%\appendix   % use this if you have only one appendix
+\begin{appendices} % use this if you have more than one appendix
 \chapter{An appendix}
 \section{An appendix section}
 \lipsum[9-15]
-%\chapter{An second appendix}
-%\section{An appendix section}
-%\lipsum[16-17]
-%\end{appendices}
+\chapter{A second appendix}
+\section{An appendix section}
+\lipsum[16-17]
+\end{appendices}
 \backmatter
-% The next command forces the Bibliography to have a dotted leader
-% (May not be required)
-\addtocontents{toc}{%
-   \protect\renewcommand{\protect\cftchapterdotsep}{\cftdotsep}}
 \SingleSpacing
 % This command creates the cover page for the bibliography
 \makebibliographypage
-
 \bibliography{MSU-thesis-testfile}
 \end{document}
 

Deleted: trunk/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex	2017-06-23 14:55:46 UTC (rev 44675)
+++ trunk/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex	2017-06-23 21:37:50 UTC (rev 44676)
@@ -1,45 +0,0 @@
-% Compatibility code for footnote text when using gb4e
-% This is fixed in the latest version of gb4e but since
-% it is not in wide distribution this is included for wider
-% compatibility.  It will be removed at some point.
-%
-
-\def\exe{\SingleSpacing\@ifnextchar [{\@exe}{\@exe[\@exwidth]}}%
-% This code repeats the memoir code because gb4e 
-% redefines footnote text badly. The newest version of gb4e
-% fixes this.
-
-\renewcommand{\@footnotetext}[1]{\insert\footins{%
-  \def\baselinestretch{\m at m@singlespace}%  <- v1.61803 addition
-  \reset at font%            <- v1.6180 addition
-  \foottextfont
-  \@preamfntext
-  \hsize\columnwidth
-  \protected at edef\@currentlabel{%
-    \csname p at footnote\endcsname\@thefnmark}%
-  \color at begingroup
-    \@makefntext{%
-      \rule\z@\footnotesep\ignorespaces{\foottextfont #1}%
-      \@finalstrut\strutbox}%
-  \color at endgroup}\m at mmf@prepare}
-\let\m at mold@footnotetext\@footnotetext
-\renewcommand*{\@footnotemark}{%
-  \leavevmode
-  \ifhmode
-    \edef\@x at sf{\the\spacefactor}%
-    \m at mmf@check
-    \nobreak
-  \fi
-  \@makefnmark
-  \m at mmf@prepare
-  \ifhmode\spacefactor\@x at sf\fi
-  \relax}
-
-% This is the new gb4e footnote text code
-
-\let\@gbsaved at footnotetext=\@footnotetext
-\long\def\@footnotetext#1{%
-    \@noftnotefalse\setcounter{fnx}{0}%
-    \@gbsaved at footnotetext{#1}%
-    \@noftnotetrue}
-\endinput

Modified: trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls	2017-06-23 14:55:46 UTC (rev 44675)
+++ trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls	2017-06-23 21:37:50 UTC (rev 44676)
@@ -1,6 +1,6 @@
 % MSU Thesis Class
 %
-% Copyright 2009,2010,2011,2012,2013, 2014, 2015, 2016 by Alan Munn <amunn at msu.edu>
+% Copyright 2009,2010,2011,2012,2013, 2014, 2015, 2016, 2017 by Alan Munn <amunn at msu.edu>
 %
 % This is a class file for producing dissertations and theses according to the 
 % Michigan State University Graduate School Guidelines
@@ -18,8 +18,8 @@
 % 
 % The Current Maintainer of this package is Alan Munn.
 %
-% This package consists of the following source files:  
-% 	msu-thesis.cls, gb4e-compat.tex;  
+% This package consists of the following source file:  
+% 	msu-thesis.cls 
 % Documentation files:
 %   msu-thesis.tex and msu-thesis.pdf; 
 % A template file:
@@ -112,7 +112,8 @@
 %						  the Grad School who measure to the tops of letters instead of to baselines.
 % Version 2.5c 2015/07/11 Made loading etex conditional due to changes in LaTeX kernel for 2015.
 %                         Removed gb4e compatibility code (code remains in the distributed files)
-% Version 2.6 2016/05/09  Completely revised the stupid appendix/appendices and bibliography cover page %                         code using memoir internals instead of hacks.
+% Version 2.6 2016/05/09  Completely revised the stupid appendix/appendices and bibliography cover page 
+%                         code using memoir internals instead of hacks.
 %                         This should fix numbering issues in the TOC w.r.t the cover pages and
 %                         also fix bookmarks in the PDF when hyperref is loaded.
 %						  Made default caption delimiter a space so that captions in LOT/LOF look better
@@ -120,14 +121,24 @@
 % 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                  
+%                         Also updated documentation to show how to add list of abbreviations  
+% Version 2.7 2017/06/22  Updated list of degree options; renamed msu at diss to \msu at thesistype  and made 
+%                         definition a conditional via \ifmsu at dissertation. Fixed problem with placement
+%						  of 'to' on title page.  Adjusted landscape page number position and added internal
+%                         \msu at lsyshift for possible adjustment of landscape page numbering.  Added boolean
+%						  to change pagestyle for \chapter within a landscape environment.   
+%						  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.        
 % Use at your own risk! 
 % Report bugs/problems/questions to <amunn at msu.edu>
 %
-\def\msu at version{2.6b}
-\def\msu at date{2016/06/08}
+\def\msu at version{2.7}
+\def\msu at date{2017/06/22}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{msu-thesis}[\msu at date\space  Michigan State University Thesis Class version \msu at version]
+\newif\ifmsu at dissertation\msu at dissertationtrue % added v2.7 boolean for \msu at thesistype
 \newif\ifmsu at lscape\msu at lscapefalse
 \newif\ifmsu at stupidtoc\msu at stupidtocfalse
 \newif\ifmsu at mixedtoc\msu at mixedtocfalse
@@ -134,18 +145,23 @@
 \newif\ifmsu at plaintoc\msu at plaintoctrue % make this the default to see what the reaction is
 \newif\ifmsu at colonintoc\msu at colonintocfalse
 \newif\ifmsu at hyperloaded\msu at hyperloadedfalse
-\DeclareOption{PhD}{\gdef\msu at degree{Doctor of Philosophy}\gdef\msu at diss{DISSERTATION}}
-\DeclareOption{MA}{\gdef\msu at degree{Master of Arts}\gdef\msu at diss{THESIS}}
-\DeclareOption{MS}{\gdef\msu at degree{Master of Science}\gdef\msu at diss{THESIS}}
-%\DeclareOption{MAT}{\gdef\msu at degree{Master of Arts for Teachers}\gdef\msu at diss{THESIS}}
-\DeclareOption{MBA}{\gdef\msu at degree{Master of Business Administration}\gdef\msu at diss{THESIS}}
-\DeclareOption{MFA}{\gdef\msu at degree{Master of Fine Arts}\gdef\msu at diss{THESIS}}
-\DeclareOption{MIPS}{\gdef\msu at degree{Master of International Planning Studies}\gdef\msu at diss{THESIS}}
-\DeclareOption{MHRL}{\gdef\msu at degree{Master of Human Resources and Labor Relations}\gdef\msu at diss{THESIS}}\DeclareOption{MMus}{\gdef\msu at degree{Master of Music}\gdef\msu at diss{THESIS}}
-%\DeclareOption{MSN}{\gdef\msu at degree{Master of Science in Nursing}\gdef\msu at diss{THESIS}}
-\DeclareOption{MPP}{\gdef\msu at degree{Master of Public Policy}\gdef\msu at diss{THESIS}}
-\DeclareOption{MSW}{\gdef\msu at degree{Master of Social Work}\gdef\msu at diss{THESIS}}
-\DeclareOption{MURP}{\gdef\msu at degree{Master in Urban and Regional Planning}\gdef\msu at diss{THESIS}}
+\DeclareOption{PhD}{\gdef\msu at degree{Doctor of Philosophy}}
+\DeclareOption{DEd}{\gdef\msu at degree{Doctor of Education}}
+\DeclareOption{DMA}{\gdef\msu at degree{Doctor of Musical Arts}}
+\DeclareOption{DNP}{\gdef\msu at degree{Doctor of Nursing Practice}}
+\DeclareOption{MA}{\gdef\msu at degree{Master of Arts}\global\msu at dissertationfalse}
+\DeclareOption{MS}{\gdef\msu at degree{Master of Science}\global\msu at dissertationfalse}
+\DeclareOption{MAT}{\gdef\msu at degree{Master of Arts for Teachers}\global\msu at dissertationfalse}
+\DeclareOption{MBA}{\gdef\msu at degree{Master of Business Administration}\global\msu at dissertationfalse}
+\DeclareOption{MFA}{\gdef\msu at degree{Master of Fine Arts}\global\msu at dissertationfalse}
+\DeclareOption{MIPS}{\gdef\msu at degree{Master of International Planning Studies}\global\msu at dissertationfalse}
+\DeclareOption{MHRL}{\gdef\msu at degree{Master of Human Resources and Labor Relations}\global\msu at dissertationfalse}
+\DeclareOption{MMus}{\gdef\msu at degree{Master of Music}\global\msu at dissertationfalse}
+%\DeclareOption{MSN}{\gdef\msu at degree{Master of Science in Nursing}\global\msu at dissertationfalse}
+\DeclareOption{MPH}{\gdef\msu at degree{Master of Public Health}\global\msu at dissertationfalse}
+\DeclareOption{MPP}{\gdef\msu at degree{Master of Public Policy}\global\msu at dissertationfalse}
+\DeclareOption{MSW}{\gdef\msu at degree{Master of Social Work}\global\msu at dissertationfalse}
+\DeclareOption{MURP}{\gdef\msu at degree{Master in Urban and Regional Planning}\global\msu at dissertationfalse}
 \DeclareOption{lscape}{%
 \msu at 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}}}
@@ -156,7 +172,7 @@
 \DeclareOption*{ 
 \PassOptionsToClass{\CurrentOption}{memoir} 
 }
-\ProcessOptions
+\ProcessOptions\relax
 \LoadClass[12pt,oneside,letterpaper]{memoir}[2008/05/27]
 % Check for older versions of the latex kernel
 \ifx\e at alloc\@undefined
@@ -163,18 +179,24 @@
    \RequirePackage{etex}
 \fi
 % set up landscape page numbering
+% make a boolean for selecting pagestyle properly if \chapter appears in a landscape environment
+\newif\ifmsu at lscapemode\msu at lscapemodefalse
 \ifmsu at lscape
   \RequirePackage{pdflscape} % this will cause physical pages to be rotated in the PDF
+  \RequirePackage{etoolbox}
+  \AtBeginEnvironment{landscape}{\msu at lscapemodetrue} % to get chapter pagestyle correct
   \RequirePackage{tikz}
-% adjust yshift (in both commands) to meet the thesis office requirements
+% adjust \msu at landscapeyshift to meet the thesis office requirements
 % positive values will move the number closer to the bottom of the table
-% 0 seems to satisfy them, though.
+% 0 satisfied them for a few years and then they complained.
+  \newcommand*{\msu at landscapesyshift}{3.25} % changed 5/3/2017
+  \tikzset{msu landscape pagenum/.style={outer sep=1cm,above,rotate=90,yshift=\msu at landscapesyshift}}
   \makepagestyle{lscape}
   \makeevenfoot{lscape}{}{\tikz[remember picture,overlay]
-      \node[outer sep=1cm,above,rotate=90,yshift=0] at (current page.east)
+      \node[msu landscape pagenum] at (current page.east)
       {\thepage};}{}
   \makeoddfoot{lscape}{}{\tikz[remember picture,overlay]
-      \node[outer sep=1cm,above,rotate=90,yshift=0] at (current page.east)
+      \node[msu landscape pagenum] at (current page.east)
       {\thepage};}{}
 \fi     
 
@@ -182,13 +204,13 @@
 \settypeblocksize{9in}{6.5in}{*}
 \setlrmargins{1in}{*}{*}
 \setulmargins{1in}{*}{*}
-\setheadfoot{\baselineskip}{.5in}
+\setheadfoot{.5in}{.5in} % changed 5/3/2017
 
 % set up contents title
 % 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 at contentsname{TABLE OF CONTENTS} 
+\newcommand*{\msu at contentsname}{TABLE OF CONTENTS} 
 \newcommand*{\fieldofstudy}[1]{\gdef\msu at fieldofstudy{#1}} % removed \MakeUppercase 6/5/12
 \newcommand{\dedication}[1]{\gdef\msu at dedication{#1}}
 \newcommand*{\msu at titleintro}{A~} % this is the beginning to the title page phrase
@@ -201,20 +223,21 @@
 % set up the title page
 % Because the title is set to \MakeUppercase we need to \protect line
 % breaks within the title.  This has now been documented in the user docs.
+\newcommand*\msu at thesistype{\ifmsu at dissertation{DISSERTATION}\else{THESIS}\fi}
 \pretitle{\begin{center}\MakeUppercase}
 \posttitle{\\[\baselineskip]\end{center}}
 \preauthor{\begin{center}By\\[\baselineskip]}
 \postauthor{\end{center}}
-\predate{\vfill\begin{center}\msu at titleintro\msu at diss\\[\baselineskip]Submitted\\to Michigan State University\\in partial fulfillment of the requirements\\for the degree of\\[\baselineskip]\msu at fieldofstudy~\msu at fieldseparator~\msu at degree\\[\baselineskip]}
+\predate{\vfill\begin{center}\msu at titleintro\msu at thesistype\\[\baselineskip]Submitted to\\Michigan State University\\in partial fulfillment of the requirements\\for the degree of\\[\baselineskip]\msu at fieldofstudy~\msu at fieldseparator~\msu at degree\\[\baselineskip]}
 
 % set up the chapter titles
 \chapterstyle{thatcher}
 \setlength{\beforechapskip}{0pt}
-\setlength{\afterchapskip}{18pt} % 2016/06/08 because of thesis office complaints
+\setlength{\afterchapskip}{2\baselineskip} % changed 2017/05/03 because of thesis office complaints
 \renewcommand*{\chapnamefont}{\centering\bfseries}
 \renewcommand*{\chapnumfont}{\bfseries}
 \renewcommand*{\chaptitlefont}{\SingleSpacing\bfseries}
-\renewcommand*{\printchapternonum}{}
+\renewcommand*{\printchapternonum}{} % modified 3/5/2017
 \renewcommand*{\afterchapternum}{}
 \renewcommand*{\printchaptername}{%
     \centerline{\chapnumfont{\MakeUppercase\@chapapp\ \thechapter}}}
@@ -226,6 +249,7 @@
 
 
 % set up the section styles
+\setbeforesecskip{0pt}
 \setsecheadstyle{\normalfont\SingleSpacing\large\bfseries}
 \setsubsecheadstyle{\normalfont\SingleSpacing\bfseries}
 \setsubsubsecheadstyle{\normalfont\SingleSpacing\bfseries}
@@ -242,7 +266,13 @@
 \renewcommand*{\cfttableaftersnum}{\@contdelim}  % per thesis office punctuation idiocy
 \renewcommand*{\cftfigurename}{Figure\space}
 \renewcommand*{\cfttablename}{Table\space}
+%\setlength{\cftbeforetableskip}{0pt}
+%\setlength{\cftbeforefigureskip}{0pt}
+\renewcommand{\insertchapterspace}{}
+\setrmarg{3.55em plus1fil} % ragged right titles added 6/15/17
 
+
+
 % Stupid option to make the TOC all bold
 \ifmsu at stupidtoc
 	\def\msu at tocfont{\bfseries}
@@ -290,6 +320,7 @@
 \renewcommand*{\cftsubsectionpagefont}{\msu at tocfont}
 \renewcommand*{\cftsubsubsectionpagefont}{\msu at tocfont}
 
+
 \renewcommand*{\l at chapter}[2]{%
   \renewcommand{\cftchapterpagefont}{\msu at chapfont}
   \l at chapapp{\MakeUppercase{#1}}{#2}{\cftchaptername}} % Format chapter names
@@ -300,6 +331,20 @@
 \setlength{\cftchapternumwidth}{3em}
 \setrmarg{3.5em} % better wrapping of long titles
 
+% Added to make sure that chapters within landscape mode have correct pagestyle
+\renewcommand\chapter{%
+  \ifartopt\par\@nameuse{chapterblock}\else
+	\clearforchapter
+     \ifmsu at lscapemode
+     	\thispagestyle{lscape}
+     \else
+		\thispagestyle{chapter}
+	 \fi
+    \global\@topnum\z@
+  \fi
+  \m at mindentafterchapter
+  \@ifstar{\@m at mschapter}{\@m at mchapter}}
+
 % MSU requires double spacing between entries in the list of tables, figures etc.
 % so we add the commands  to change the 'list of'
 % spacing after the ToC is formatted. 
@@ -308,8 +353,7 @@
 \renewcommand\mem at tableofcontents[1]{%
    \oldmem at tableofcontents{#1}%
    \setlength{\cftbeforechapterskip}{0.0em \@plus\p@}
-	\setlength{\cftparskip}{1em}
-	\renewcommand*{\insertchapterspace}{}
+	\setlength{\cftparskip}{\baselineskip}
 	\pagestyle{plain}
 }
 
@@ -337,7 +381,7 @@
 \captionstyle[\centering]{\raggedright}
 % Make the caption delimiter a space instead of colon space so that the 
 % contents lists don't look so stupid.  Can be changed if necessary.
-\captiondelim{\space}
+%\captiondelim{\space}
 
 \pagestyle{plain}
 
@@ -356,18 +400,21 @@
 	\clearpage
 	\thispagestyle{empty}
 	\vspace*{7in}
-	{\raggedleft Copyright by\\\MakeUppercase{\theauthor}\\\thedate\\} % Author now uppercase 6/5/12
+	{\raggedleft Copyright by\\\MakeUppercase{\theauthor}\\\thedate\\}% Author now uppercase 6/5/12
 	\clearpage}
 
 % make the dedication page
 % changed 2016/06/08 for vertical centering
+% reverted back 2016/06/17
 \newcommand*{\makededicationpage}{%
 	\clearpage
 	\pagestyle{plain}
+	\@setuppart
 	{\centering
-	\null\vfill
-	\msu at dedication\par
-	\vfill}}
+	\normalfont
+	\interlinepenalty \@M
+	\par\msu at dedication\par
+	}\@endpart}
 
 \renewcommand{\mainmatter}{%
   \DoubleSpacing\pagestyle{plain}\@ifstar{\@smemmain}{\@memmain}}
@@ -374,8 +421,12 @@
 
 % This should probably be changed to {\null\vfill} + \afterpartskip
 % But we'll worry about this later.
-\renewcommand{\beforepartskip}{\vspace*{.35\textheight}}
+%\renewcommand{\beforepartskip}{\vspace*{.35\textheight}}
+%\renewcommand{\beforepartskip}{\vspace*{\fill}}
+\renewcommand{\beforepartskip}{\null\vfill}
+\renewcommand{\afterpartskip}{\null\vfill\newpage}
 
+
 % This code patches the memoir appendix code to automatically add
 % appendix cover pages with the correct label, and getting the stupid
 % TOC format that the Grad School requires correct.
@@ -383,7 +434,7 @@
 % 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 at apppage{%
+\newcommand{\msu at apppage}{%
   \@setuppart
   \mempreaddapppagetotochook
   \addappheadtotoc
@@ -393,8 +444,7 @@
   {\centering
    \interlinepenalty \@M
    \normalfont
-   \vfil
-   \printparttitle{\appendixpagename}\par\vfil}%
+   \printparttitle{\appendixpagename}\par}%
   \@endpart}
 
 \let\orig at appendix\appendix
@@ -414,10 +464,13 @@
 	\orig at appendices}
 
 % make the bibliography page
-% new version modeled after memoir code for appendix page
-\def\msu at bibpage{%
+% new version modelled after memoir code for appendix page
+% removed extraneous \vfils
+\newcommand\msu at bibpage{%
+  \let\bibtocname\bibname % moved inside this page to beat apacite
+  \let\bibpagename\bibname
   \cftinserthook{toc}{BIB}
-  \settocdepth{chapter}
+  \settocdepth{subsubsection} % changed v2.7 to allow for chapter bibs
   \@setuppart
   \msu at preaddbibpagetotochook
   \msu at addbibheadtotoc
@@ -427,14 +480,14 @@
   {\centering
    \interlinepenalty \@M
    \normalfont
-   \vfil
-   \printparttitle{\bibpagename}\par\vfil}%
+   \printparttitle{\bibpagename}\par}%
   \@endpart}
 \newcommand\msu at preaddbibpagetotochook{}
 \newcommand\msu at postaddbibpagetotochook{}
 \newcommand{\msu at bibpageinfo}[1]{}
+\renewcommand{\prebibhook}{\vspace{\cftparskip}} % add extra space before entries to match ToC etc. 6/15/17
 
-\def\msu at addbibheadtotoc{%
+\newcommand\msu at addbibheadtotoc{%
   \phantomsection\addcontentsline{toc}{chapter}{\bibtocname}}
 % Since the bibliography page is the TOC entry we remove the bib in the TOC
 % when it's introduced
@@ -441,16 +494,15 @@
 \nobibintoc
 % Modified 8/7/14 to add the bibliography cover page to the TOC and not the actual bibliography page
 % This should also work for biblatex even though memoir doesn't check for it
-% but we'll worry about that when someone asks...
-\let\bibtocname\bibname
-\let\bibpagename\bibname
+
 \newcommand*{\makebibliographypage}{\msu at bibpage}
 \let\makebibliographycover\makebibliographypage
-
 % Do some stuff at begin document: 
 \AtBeginDocument{%
 \let\msucaptiondelim\@contdelim
-\topskip=0pt % setting this because the Grad School doesn’t know how to measure
+% Moved to AtBeginDocument to override apacite
+\@ifpackageloaded{apacite}{\@tocbibfalse}{} % added 6/22/17
+%\topskip=0pt % setting this because the Grad School doesn’t know how to measure -changed back 6/15/17
 \checkandfixthelayout
 %
 % set up subscript sizes so that 10 pt is the smallest



More information about the tex-live-commits mailing list