texlive[67161] Master/texmf-dist: msu-thesis (19may23)
commits+karl at tug.org
commits+karl at tug.org
Fri May 19 22:24:37 CEST 2023
Revision: 67161
http://tug.org/svn/texlive?view=revision&revision=67161
Author: karl
Date: 2023-05-19 22:24:37 +0200 (Fri, 19 May 2023)
Log Message:
-----------
msu-thesis (19may23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/msu-thesis/README.md
trunk/Master/texmf-dist/doc/latex/msu-thesis/docs/msu-thesis.tex
trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-chapterbib-testfile.pdf
trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-chapterbib-testfile.tex
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.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
Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/README.md 2023-05-19 20:24:25 UTC (rev 67160)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/README.md 2023-05-19 20:24:37 UTC (rev 67161)
@@ -1,10 +1,10 @@
-# MSU Thesis Class Version 4.0b 2022/12/15
+# MSU Thesis Class Version 4.1 2023/05/18
-Copyright 2011-2022 by Alan Munn <amunn at msu.edu>
+Copyright 2011-2023 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 (September 2022).
+Submission of Master's Theses and Dissertations (January 2023).
The class is based on the `memoir` document class, and therefore inherits
all of the functionality of that class.
@@ -12,7 +12,7 @@
# Update on new formatting requirements (Fall 2022)
- The msu-thesis development team is displeased to announce a new
+ The `msu-thesis` development team is displeased to announce a new
and "improved" version of the class that conforms to the most recent
(September 2022) MSU Thesis Formatting Guide.
Among the notable new features are implementation of questionable
@@ -42,7 +42,7 @@
`<local texmf>/doc/latex/msu-thesis`
-The samples folder contains a thesis test-file and
+The samples folder contains two thesis test-files and
a template.
This package may be distributed and/or modified under the conditions of
Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/docs/msu-thesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/docs/msu-thesis.tex 2023-05-19 20:24:25 UTC (rev 67160)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/docs/msu-thesis.tex 2023-05-19 20:24:37 UTC (rev 67161)
@@ -2,8 +2,8 @@
\documentclass[11pt]{article}
-\def\msuversion{4.0b}
-\def\msudate{2022/12/15}
+\def\msuversion{4.1}
+\def\msudate{2023/05/18}
\title{\textbf{Using the MSU Thesis Class}}
\author{\textbf{Alan Munn}\\Department of Linguistics, Languages, and Cultures\\Michigan State University\\\texttt{\href{mailto:amunn at msu.edu}{amunn at msu.edu}}}
\date{Version \msuversion\\\msudate}
@@ -57,7 +57,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 \href{https://grad.msu.edu/etd/formatting-guide}{Formatting Guide For Submission of Master’s Theses and Doctoral Dissertations}\ (September, 2022) 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}\ (January, 2023) 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 for the most part 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}
@@ -121,6 +121,7 @@
{\bs makededicationpage} & Creates the dedication page.\\
%{\bs makebibliographypage} & Creates the bibliography cover page.\\
{\{abbreviations\}} & Environment for the List of Abbreviations \\
+{msutocdeph} & Counter for setting the TOC depth. Default is 1 (sections+chapters). Set this to 0 to use the simplified (chapters only) format that the thesis office suggests but doesn’t require.\\
\bottomrule
\end{tabularx}
\caption{Class titling commands}
@@ -190,6 +191,14 @@
\subsection{Captions}
\subsubsection{Caption delimiter}\label{captiondelim}
Because the thesis office doesn't understand anything about punctuation, it requires the colon that would appear in a caption to also appear in the contents lists. Since they don't care about the colon itself, but just consistency I've removed colons from the captions entirely, since leaving it in makes the contents lists look really stupid. But in case you or your advisor want the colon in captions, you can add the colon back in by adding |\renewcommand{\msucaptiondelim}{:\space}| to your preamble, and the class will make sure the Lists of Tables and Figures match in formatting. If you have other floating objects with captions (e.g., algorithms, listings) you may need to change their delimiter too (see below). How you do this may depend on the particular packages you are using.
+
+\subsubsection{Simplified vs. full contents}
+The thesis guide suggests that you use a simplified table of contents that lists only chapter levels, but that you are welcome to use a more detailed table of contents if you wish. As with most, if not all of the “design” decisions made by the thesis office, this one makes very little typographic sense, and so I have left the default TOC level to be 1, i.e., chapters and sections will be listed in the TOC. If you wish to use the simplified contents format that just lists chapters, add the following to your preamble:
+
+\begin{quote}
+|\setcounter{msutocdepth}{0}|
+\end{quote}
+
\subsubsection{New lists}
If you are using other kinds of floats such as listings, you should use the Memoir |\newlistof| command to make the relevant list. The class provides a macro |\msucaptiondelim| which can be used to make sure the formatting of the captions in the list-of-X match the setting you have for Figures and Tables. Here is an example of how you would add a listings list. For lists of algorithms, see section \ref{algorithms} below. The following code goes in your preamble:
\begin{quote}
@@ -402,10 +411,43 @@
\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{Major 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. 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. Version 2.8 fixed some spacing and capitalization issues and added support for the public abstract. Version 2.9 removed subscript/superscript size restrictions, added font size options and made small spacing changes to appease the thesis office. Version 3.0 added full support for per-chapter bibliographies and appendices, and automated bibliography spacing for |natbib| and |biblatex| produced bibliographies. Version 3.1 added support for an |{algorithm}| environment and a list of algorithms to combat incompatibilities with the \pkg{algorithm}\ and \pkg{algorithm2e}\ packages. Version 3.2 fixed some lingering problems with per-chapter appendices. Version 3.3 added code to accommodate the insane inconsistencies in formatting requirements that the thesis office requires, including a new contents option which hopefully should never be used, and fixed some numbering problems with per-chapter appendices. Version 3.4 added a starred option to the |\makecopyrightpage| command after complaints about placement. The documentation has also been updated to include more information about caption formatting and removed col!
ons from the default caption format. Version 3.5 added user level way to change the spacing after the author’s name in the abstract, to deal with thesis office inconsistency. Version 3.6 added built-in support for the Key to Abbreviations. Version 3.7 added improved support for \pkg{hyperref}. Version 4.0 implements the new requirements as of September 2022, including adding a |\dualmajor| command. Various spacing changes have been made which will make your document look like you used Word, but this is what the thesis office seems to care about.
+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.
+Version 2.8 fixed some spacing and capitalization issues and added support for the public abstract.
+Version 2.9 removed subscript/superscript size restrictions, added font size options and made small spacing changes to appease the thesis office.
+Version 3.0 added full support for per-chapter bibliographies and appendices, and automated bibliography spacing for |natbib| and |biblatex| produced bibliographies.
+Version 3.1 added support for an |{algorithm}| environment and a list of algorithms to combat incompatibilities with the \pkg{algorithm}\ and \pkg{algorithm2e}\ packages.
+ Version 3.2 fixed some lingering problems with per-chapter appendices.
+Version 3.3 added code to accommodate the insane inconsistencies in formatting requirements that the thesis office requires, including a new contents option which hopefully should never be used, and fixed some numbering problems with per-chapter appendices.
+Version 3.4 added a starred option to the |\makecopyrightpage| command after complaints about placement.
+The documentation has also been updated to include more information about caption formatting and removed colons from the default caption format.
+Version 3.5 added user level way to change the spacing after the author’s name in the abstract, to deal with thesis office inconsistency.
+Version 3.6 added built-in support for the Key to Abbreviations.
+Version 3.7 added improved support for \pkg{hyperref}.
+Version 4.0 implements the new requirements as of September 2022, including adding a |\dualmajor| command.
+Various spacing changes have been made which will make your document look like you used Word, but this is what the thesis office seems to care about.
+Version 4.1 added the |msutocdepth| counter to allow for the chapters-only format that the thesis office recommends.
\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. Thanks to Florent Chervet for early \pkg{hyperref} code (up until v.3.6), and Ulrike Fischer for the current \pkg{hyperref} code. Thanks also to the following students who have reported problems over the years: Irina Agafonova, Ali Al-jiboory, Abubakr Ayesh, Julian Blank, Dmitriy Bryndin, Greg Christian, Kyle Crayne, Ciaron Hamilton, Matt Husband, Changkuk Jung, Claire Kopenhafer, Adam Liter, Vanessa Maldonado, William Muir, Eureka Pai, Alicia Parrish, Neil ver Planck, Nick Rekuski, Giacomo Romanini, William Sands, Adam Soliman, Erik Stitt, Eremey Valetov, Matthew Vincent, Michael Wojcik, Stephen Yowono, Ali Zare, 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.
+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. Thanks to
+Florent Chervet for early \pkg{hyperref} code (up until v.3.6), and Ulrike Fischer for the
+current \pkg{hyperref} code. Thanks also to the following students who have reported
+problems over the years: Irina Agafonova, Ali Al-jiboory, Abubakr Ayesh, Julian Blank,
+Dmitriy Bryndin, Greg Christian, Kyle Crayne, Ciaron Hamilton, Matt Husband, Changkuk
+Jung, Claire Kopenhafer, Adam Liter, Vanessa Maldonado, Ben Miller, William Muir, Eureka
+Pai, Alicia Parrish, Neil ver Planck, Nick Rekuski, Giacomo Romanini, William Sands, Adam
+Soliman, Erik Stitt, Eremey Valetov, Matthew Vincent, Michael Wojcik, Stephen Yowono, Ali
+Zare, 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}}
Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-chapterbib-testfile.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-chapterbib-testfile.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-chapterbib-testfile.tex 2023-05-19 20:24:25 UTC (rev 67160)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-chapterbib-testfile.tex 2023-05-19 20:24:37 UTC (rev 67161)
@@ -15,7 +15,7 @@
\author{Joe Linguist}
\fieldofstudy{Linguistics} % This should be in sentence case
\date{2021}
-
+\setcounter{msutocdepth}{0} % default is 1
\begin{document}
\frontmatter
\maketitlepage
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 2023-05-19 20:24:25 UTC (rev 67160)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-template.tex 2023-05-19 20:24:37 UTC (rev 67161)
@@ -1,5 +1,5 @@
% This is a template for use with the MSU Thesis class
-% Version 3.6 2022/08/23
+% Version 4.1 2023/05/18
%
% Class options:
%[PhD] Doctor of Philosophy (default)
@@ -61,6 +61,11 @@
%
%\dedication{This thesis is dedicated to someone.}
%
+% The default TOC format for the class lists both chapters and sections
+% The thesis office suggests only listing chapters. If you prefer that format
+% uncomment the next line:
+%\setcounter{msutocdepth}{0} % sets TOC to list chapters only
+%
\begin{document}
% All the stuff before your actual chapters is called the front matter
@@ -68,10 +73,6 @@
% First make the title page
\maketitlepage
-% if you have public abstract (optional) it should go here
-%\begin{publicabstract}
-% Public abstract goes here
-%\end{publicabstract}
% Next make the regular abstract (obligatory)
\begin{abstract}
@@ -84,10 +85,8 @@
% can't have a copyright page unless you pay ProQuest to register the copyright.
% This is simply not the case, so put in your copyright page whether or not you
% intend to pay Proquest to register the copyright.
-% Furthermore, they have occasionally complained that the copyright mark is aligned
-% to the right, even though that has been the format for more than a decade.
-% If they want the copyright mark aligned to the left, use \makecopyrightpage* instead.
+
\makecopyrightpage
% If you have a dedication page, uncomment the next command to print the dedication page
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 2023-05-19 20:24:25 UTC (rev 67160)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/samples/MSU-thesis-testfile.tex 2023-05-19 20:24:37 UTC (rev 67161)
@@ -30,9 +30,8 @@
\usepackage{gb4e}
\makeatletter
%\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
-
\makeatother
-
+\setlength{\cftchapternumwidth}{1.5em}
\counterwithin{exx}{chapter}
\singlegloss
@@ -48,7 +47,10 @@
\renewcommand*{\cftlistingaftersnum}{\msucaptiondelim}
\usepackage[bookmarksopenlevel=2,bookmarks=true]{hyperref} % not needed but here for testing
+\setcounter{msutocdepth}{0} % default is 1; this puts only chapters in the TOC
+
\begin{document}
+
\frontmatter
\maketitlepage
% public abstract removed v4
@@ -128,7 +130,7 @@
\end{figure}
\lipsum[5]
\lipsum[10]
-\chapter{A chapter with a really long title to see if the chapter titles wrap correctly}
+\chapter[A chapter with a really long title to\\see if the chapter titles wrap correctly]{A chapter with a really long title to see if the chapter titles wrap correctly}
\lipsum
\begin{figure}
\centering
Modified: trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls 2023-05-19 20:24:25 UTC (rev 67160)
+++ trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls 2023-05-19 20:24:37 UTC (rev 67161)
@@ -1,6 +1,6 @@
% MSU Thesis Class
%
-% Copyright 2009-2022 by Alan Munn <amunn at msu.edu>
+% Copyright 2009-2023 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
@@ -180,11 +180,12 @@
% moment.
% Version 4.0 2022/12/13 First version to conform to the updated requirements (September 2022)
% Version 4.0b 2022/12/15 Made box for degree name larger
+% Version 4.1 2023/05/18 Added msutocdepth to allow minimal chapters only TOC
%
% Report bugs/problems/questions to <amunn at msu.edu>
%
-\def\msu at version{4.0b}
-\def\msu at date{2023/12/15}
+\def\msu at version{4.1}
+\def\msu at date{2023/05/18}
\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
@@ -297,6 +298,8 @@
\newcommand*{\msu at fieldseparator}{\textemdash} % this is between the degree name and field of study
\newcommand*{\dualmajor}[2]{\msu at dualmajortrue\gdef\msu at fieldofstudy{#1}\gdef\msu at dualmajor{#2}}
\newcommand*{\msu at DUALMAJOR}{Dual Major}
+\newcounter{msutocdepth}
+\setcounter{msutocdepth}{1} % section level included in the TOC
\newcounter{msu at hchap} % global counter for chapters used by hyperref
% This may also be solved by using \hypersetup{hypertexnames=false}
% hard to tell whether this is a better solution.
@@ -360,7 +363,7 @@
% set up TOC
-\settocdepth{section}
+\setcounter{tocdepth}{\value{msutocdepth}}
\setsecnumdepth{subsubsection}
\setlength{\cftsectionindent}{.5in}
\renewcommand*{\printtoctitle}[1]{\centering\bfseries\msu at contentsname}
@@ -488,6 +491,7 @@
\renewcommand\cftchapterpagefont{\msu at tocfont}
\renewcommand*{\cftappendixname}{APPENDIX\space}
\renewcommand\cftchapteraftersnum{\msutocdelim}
+ \addtocounter{tocdepth}{-1}
}
@@ -496,11 +500,11 @@
\cftinsertcode{CHAPAPPR}{
\cftsetindents{section}{.5in}{2.3em}
\setlength{\cftchapterindent}{0em}
-\setlength{\cftchapternumwidth}{3em} % added 6/24/2022
+%\setlength{\cftchapternumwidth}{3em} % removed 2/1/2023
\setlength{\cftbeforechapterskip}{1.0em \@plus\p@}
\renewcommand\cftchapterfont{\msu at chapfont\MakeUppercase}
\renewcommand\cftchapterpagefont{\msu at chapfont}
- \settocdepth{section} % added 6/24/2022
+ \setcounter{tocdepth}{\value{msutocdepth}}
}
% This code resets the changes made in the APP code back to normal
% so that the bibliography will appear correctly in the TOC
@@ -509,7 +513,7 @@
\setlength{\cftbeforechapterskip}{1.0em \@plus\p@}
\renewcommand\cftchapterfont{\msu at chapfont\MakeUppercase}
\renewcommand\cftchapterpagefont{\msu at chapfont}
- \settocdepth{section}
+ \setcounter{tocdepth}{\value{msutocdepth}}
}
\cftinsertcode{CHAPBIB}{
@@ -517,6 +521,7 @@
\setlength\cftbeforechapterskip{0pt}
\renewcommand\cftsectionfont{\msu at tocfont} % fixed 12/13/17
\renewcommand\cftchapterpagefont{\msu at tocfont}
+ \addtocounter{tocdepth}{-1}
}
@@ -540,7 +545,7 @@
% \l at chapapp{\msu at tocfont\MakeUppercase{#1}}{#2}{\cftappendixname}} % Format appendix names
%
-\setlength{\cftchapternumwidth}{3em}
+\setlength{\cftchapternumwidth}{3em} % Could this be smaller?
\setrmarg{3.5em} % better wrapping of long titles
% Added to make sure that chapters within landscape mode have correct pagestyle
@@ -734,11 +739,11 @@
% \ifmsu at chapterapp\else
\msu at singleappendixtrue
% \fi% make sure single appendix doesn't have a number if global 3.1b (always 3.2)
- \msu at apppage\cftinserthook{toc}{SINGAPP}\settocdepth{chapter}\@resets at pp\anappendixtrue}%
+ \msu at apppage\cftinserthook{toc}{SINGAPP}\setcounter{tocdepth}{0}\@resets at pp\anappendixtrue}%
{\@ppsaveapp\@pprestoresec\anappendixfalse\cftinserthook{toc}{CHAPAPPR}} % reset aded 2022/04/16
\renewenvironment{appendices}%
- {\msu at singleappendixfalse\msu at apppage\ifmsu at chapterapp\cftinserthook{toc}{APPENDICES}\fi\settocdepth{chapter}
+ {\msu at singleappendixfalse\msu at apppage\ifmsu at chapterapp\cftinserthook{toc}{APPENDICES}\fi\setcounter{tocdepth}{\value{msutocdepth}}
\@resets at pp\anappendixtrue}%
{\@ppsaveapp\@pprestoresec\anappendixfalse\cftinserthook{toc}{CHAPAPPR}} % reset added 2022/04/16
@@ -771,7 +776,7 @@
\let\bibtocname\bibname % moved inside this page to beat apacite
\let\bibpagename\bibname
\cftinserthook{toc}{\msu at bibtype}
- \settocdepth{section} % changed v2.7 to allow for chapter bibs
+ \setcounter{tocdepth}{\value{msutocdepth}} % changed v2.7 to allow for chapter bibs
% \@setuppart
% \msu at preaddbibpagetotochook
\msu at addbibheadtotoc
@@ -827,6 +832,7 @@
{\AtBeginEnvironment{thebibliography}{\SingleSpacing\setlength{\bibsep}{\baselineskip}}} % natbib
{\AtBeginEnvironment{thebibliography}{\SingleSpacing}}} % any other bib package
%\topskip=0pt % setting this because the Grad School doesn’t know how to measure -changed back 6/15/17
+\setcounter{tocdepth}{\value{msutocdepth}}
\checkandfixthelayout
%
% set up subscript sizes so that 10 pt is the smallest
More information about the tex-live-commits
mailing list.