diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-23 21:37:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-23 21:37:50 +0000 |
commit | 2942fe8e7918e7f0038e2dead9a7d17ce4b33a9f (patch) | |
tree | 608023a0a603129ed45336102e9671d435a4eed3 /Master/texmf-dist | |
parent | 38f8f5eed5786ef6d79867ad9c82f224d46c640a (diff) |
msu-thesis (23jun17)
git-svn-id: svn://tug.org/texlive/trunk@44676 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/README | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf | bin | 224700 -> 224413 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.pdf | bin | 28840 -> 28559 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.pdf | bin | 77443 -> 134790 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex | 80 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex | 45 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls | 154 |
11 files changed, 205 insertions, 158 deletions
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/README b/Master/texmf-dist/doc/latex/msu-thesis/README index 6e945274479..fe7b267c065 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/README +++ b/Master/texmf-dist/doc/latex/msu-thesis/README @@ -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@msu.edu> +Copyright 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 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 @@ This package has the LPPL maintenance status `maintained'. 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@msu.edu> diff --git a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf Binary files differindex 57717bb32e5..4559f2bd6ee 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf +++ b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf diff --git a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex index 4e560cadd14..008efa4ac0e 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex +++ b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex @@ -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@msu.edu}{amunn@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,16 +82,19 @@ In addition to any options passed to the \pkg{memoir} class (e.g. |oldfontcomman \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 \\ {[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 @@ In addition to any options passed to the \pkg{memoir} class (e.g. |oldfontcomman \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 @@ The basic outline of a dissertation or thesis document is shown in Table~\ref{st \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 @@ Your listing code here \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,7 +259,8 @@ Appendix text goes here \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. @@ -280,13 +284,13 @@ Despite there being no explicit formatting requirements for Chapter headings (ot \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@msu.edu}{amunn@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@msu.edu}{amunn@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 @@ Your acknowledgements here \appendix \chapter{Your first appendix} \backmatter -\makebibliographycover +\makebibliographypage \SingleSpacing \bibliography{your-bib-file} \end{document} diff --git a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.pdf b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.pdf Binary files differindex bb6aaf594a8..c27e35d1224 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.pdf +++ b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.pdf diff --git a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex index 7f020f9745d..0af8986940c 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex +++ b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex @@ -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 @@ Your acknowledgements here. \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} diff --git a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib index 52361277c3c..3295073e92f 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib +++ b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.bib @@ -1,5 +1,17 @@ -@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) + + + +@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}, diff --git a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol new file mode 100644 index 00000000000..b134d58cc52 --- /dev/null +++ b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.lol @@ -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} diff --git a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.pdf b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.pdf Binary files differindex 21aad0f16ce..a7f1c32a384 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.pdf +++ b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.pdf diff --git a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex index 21de3649c64..50c2a29c274 100644 --- a/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex +++ b/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex @@ -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,8 +40,6 @@ \newlistentry{listing}{lol}{0} \renewcommand*{\cftlistingname}{Listing\space} \renewcommand*{\cftlistingaftersnum}{\msucaptiondelim} -%\captiondelim{:\space} - \begin{document} \frontmatter @@ -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 @@ Men & Women & Monsters\\ \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 @@ Men & Women & Monsters\\ \SingleSpacing This is a sample long quotation. \lipsum[2] -\hfill{\citep{munn1999}} +\hfill{\citep{Munn1999}} \end{quote} \begin{table} \centering @@ -169,13 +173,17 @@ Men & Women & Monsters\\ \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 @@ A & B & C & D & E & F & G \\ \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 @@ A & B & C & D & E & F & G \\ %\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} diff --git a/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex b/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex deleted file mode 100644 index 9aca4598da2..00000000000 --- a/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex +++ /dev/null @@ -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@m@singlespace}% <- v1.61803 addition - \reset@font% <- v1.6180 addition - \foottextfont - \@preamfntext - \hsize\columnwidth - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@makefntext{% - \rule\z@\footnotesep\ignorespaces{\foottextfont #1}% - \@finalstrut\strutbox}% - \color@endgroup}\m@mmf@prepare} -\let\m@mold@footnotetext\@footnotetext -\renewcommand*{\@footnotemark}{% - \leavevmode - \ifhmode - \edef\@x@sf{\the\spacefactor}% - \m@mmf@check - \nobreak - \fi - \@makefnmark - \m@mmf@prepare - \ifhmode\spacefactor\@x@sf\fi - \relax} - -% This is the new gb4e footnote text code - -\let\@gbsaved@footnotetext=\@footnotetext -\long\def\@footnotetext#1{% - \@noftnotefalse\setcounter{fnx}{0}% - \@gbsaved@footnotetext{#1}% - \@noftnotetrue} -\endinput 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 ca5259cccf8..30e2c0ef2d1 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 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 @@ -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,32 +121,47 @@ % 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@diss to \msu@thesistype and made +% definition a conditional via \ifmsu@dissertation. Fixed problem with placement +% of 'to' on title page. Adjusted landscape page number position and added internal +% \msu@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@msu.edu> % -\def\msu@version{2.6b} -\def\msu@date{2016/06/08} +\def\msu@version{2.7} +\def\msu@date{2017/06/22} \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 \newif\ifmsu@lscape\msu@lscapefalse \newif\ifmsu@stupidtoc\msu@stupidtocfalse \newif\ifmsu@mixedtoc\msu@mixedtocfalse \newif\ifmsu@plaintoc\msu@plaintoctrue % make this the default to see what the reaction is \newif\ifmsu@colonintoc\msu@colonintocfalse \newif\ifmsu@hyperloaded\msu@hyperloadedfalse -\DeclareOption{PhD}{\gdef\msu@degree{Doctor of Philosophy}\gdef\msu@diss{DISSERTATION}} -\DeclareOption{MA}{\gdef\msu@degree{Master of Arts}\gdef\msu@diss{THESIS}} -\DeclareOption{MS}{\gdef\msu@degree{Master of Science}\gdef\msu@diss{THESIS}} -%\DeclareOption{MAT}{\gdef\msu@degree{Master of Arts for Teachers}\gdef\msu@diss{THESIS}} -\DeclareOption{MBA}{\gdef\msu@degree{Master of Business Administration}\gdef\msu@diss{THESIS}} -\DeclareOption{MFA}{\gdef\msu@degree{Master of Fine Arts}\gdef\msu@diss{THESIS}} -\DeclareOption{MIPS}{\gdef\msu@degree{Master of International Planning Studies}\gdef\msu@diss{THESIS}} -\DeclareOption{MHRL}{\gdef\msu@degree{Master of Human Resources and Labor Relations}\gdef\msu@diss{THESIS}}\DeclareOption{MMus}{\gdef\msu@degree{Master of Music}\gdef\msu@diss{THESIS}} -%\DeclareOption{MSN}{\gdef\msu@degree{Master of Science in Nursing}\gdef\msu@diss{THESIS}} -\DeclareOption{MPP}{\gdef\msu@degree{Master of Public Policy}\gdef\msu@diss{THESIS}} -\DeclareOption{MSW}{\gdef\msu@degree{Master of Social Work}\gdef\msu@diss{THESIS}} -\DeclareOption{MURP}{\gdef\msu@degree{Master in Urban and Regional Planning}\gdef\msu@diss{THESIS}} +\DeclareOption{PhD}{\gdef\msu@degree{Doctor of Philosophy}} +\DeclareOption{DEd}{\gdef\msu@degree{Doctor of Education}} +\DeclareOption{DMA}{\gdef\msu@degree{Doctor of Musical Arts}} +\DeclareOption{DNP}{\gdef\msu@degree{Doctor of Nursing Practice}} +\DeclareOption{MA}{\gdef\msu@degree{Master of Arts}\global\msu@dissertationfalse} +\DeclareOption{MS}{\gdef\msu@degree{Master of Science}\global\msu@dissertationfalse} +\DeclareOption{MAT}{\gdef\msu@degree{Master of Arts for Teachers}\global\msu@dissertationfalse} +\DeclareOption{MBA}{\gdef\msu@degree{Master of Business Administration}\global\msu@dissertationfalse} +\DeclareOption{MFA}{\gdef\msu@degree{Master of Fine Arts}\global\msu@dissertationfalse} +\DeclareOption{MIPS}{\gdef\msu@degree{Master of International Planning Studies}\global\msu@dissertationfalse} +\DeclareOption{MHRL}{\gdef\msu@degree{Master of Human Resources and Labor Relations}\global\msu@dissertationfalse} +\DeclareOption{MMus}{\gdef\msu@degree{Master of Music}\global\msu@dissertationfalse} +%\DeclareOption{MSN}{\gdef\msu@degree{Master of Science in Nursing}\global\msu@dissertationfalse} +\DeclareOption{MPH}{\gdef\msu@degree{Master of Public Health}\global\msu@dissertationfalse} +\DeclareOption{MPP}{\gdef\msu@degree{Master of Public Policy}\global\msu@dissertationfalse} +\DeclareOption{MSW}{\gdef\msu@degree{Master of Social Work}\global\msu@dissertationfalse} +\DeclareOption{MURP}{\gdef\msu@degree{Master in Urban and Regional Planning}\global\msu@dissertationfalse} \DeclareOption{lscape}{% \msu@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,25 +172,31 @@ \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@alloc\@undefined \RequirePackage{etex} \fi % set up landscape page numbering +% make a boolean for selecting pagestyle properly if \chapter appears in a landscape environment +\newif\ifmsu@lscapemode\msu@lscapemodefalse \ifmsu@lscape \RequirePackage{pdflscape} % this will cause physical pages to be rotated in the PDF + \RequirePackage{etoolbox} + \AtBeginEnvironment{landscape}{\msu@lscapemodetrue} % to get chapter pagestyle correct \RequirePackage{tikz} -% adjust yshift (in both commands) to meet the thesis office requirements +% adjust \msu@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@landscapesyshift}{3.25} % changed 5/3/2017 + \tikzset{msu landscape pagenum/.style={outer sep=1cm,above,rotate=90,yshift=\msu@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@contentsname{TABLE OF CONTENTS} +\newcommand*{\msu@contentsname}{TABLE OF CONTENTS} \newcommand*{\fieldofstudy}[1]{\gdef\msu@fieldofstudy{#1}} % removed \MakeUppercase 6/5/12 \newcommand{\dedication}[1]{\gdef\msu@dedication{#1}} \newcommand*{\msu@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@thesistype{\ifmsu@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@titleintro\msu@diss\\[\baselineskip]Submitted\\to Michigan State University\\in partial fulfillment of the requirements\\for the degree of\\[\baselineskip]\msu@fieldofstudy~\msu@fieldseparator~\msu@degree\\[\baselineskip]} +\predate{\vfill\begin{center}\msu@titleintro\msu@thesistype\\[\baselineskip]Submitted to\\Michigan State University\\in partial fulfillment of the requirements\\for the degree of\\[\baselineskip]\msu@fieldofstudy~\msu@fieldseparator~\msu@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,6 +266,12 @@ \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@stupidtoc @@ -290,6 +320,7 @@ \renewcommand*{\cftsubsectionpagefont}{\msu@tocfont} \renewcommand*{\cftsubsubsectionpagefont}{\msu@tocfont} + \renewcommand*{\l@chapter}[2]{% \renewcommand{\cftchapterpagefont}{\msu@chapfont} \l@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@lscapemode + \thispagestyle{lscape} + \else + \thispagestyle{chapter} + \fi + \global\@topnum\z@ + \fi + \m@mindentafterchapter + \@ifstar{\@m@mschapter}{\@m@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@tableofcontents[1]{% \oldmem@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,25 +400,32 @@ \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@dedication\par - \vfill}} + \normalfont + \interlinepenalty \@M + \par\msu@dedication\par + }\@endpart} \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}} +%\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 @@ -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@apppage{% +\newcommand{\msu@apppage}{% \@setuppart \mempreaddapppagetotochook \addappheadtotoc @@ -393,8 +444,7 @@ {\centering \interlinepenalty \@M \normalfont - \vfil - \printparttitle{\appendixpagename}\par\vfil}% + \printparttitle{\appendixpagename}\par}% \@endpart} \let\orig@appendix\appendix @@ -414,10 +464,13 @@ \orig@appendices} % make the bibliography page -% new version modeled after memoir code for appendix page -\def\msu@bibpage{% +% new version modelled after memoir code for appendix page +% removed extraneous \vfils +\newcommand\msu@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@preaddbibpagetotochook \msu@addbibheadtotoc @@ -427,30 +480,29 @@ {\centering \interlinepenalty \@M \normalfont - \vfil - \printparttitle{\bibpagename}\par\vfil}% + \printparttitle{\bibpagename}\par}% \@endpart} \newcommand\msu@preaddbibpagetotochook{} \newcommand\msu@postaddbibpagetotochook{} \newcommand{\msu@bibpageinfo}[1]{} +\renewcommand{\prebibhook}{\vspace{\cftparskip}} % add extra space before entries to match ToC etc. 6/15/17 -\def\msu@addbibheadtotoc{% +\newcommand\msu@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 \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@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 |