summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/msu-thesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-28 21:08:00 +0000
committerKarl Berry <karl@freefriends.org>2022-06-28 21:08:00 +0000
commitce205df3f5ceff7b05579ff9cea4f53fbf07ffa7 (patch)
tree3df144f98d0a78ab8651f32f1208fe721e296a46 /Master/texmf-dist/tex/latex/msu-thesis
parentfc4bf0535ae249c697dd53176a29d21262f37dc0 (diff)
msu-thesis (28jun22)
git-svn-id: svn://tug.org/texlive/trunk@63748 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/msu-thesis')
-rw-r--r--Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls20
1 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
index d6e194176c1..d9258440684 100644
--- a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
+++ b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
@@ -158,15 +158,18 @@
% Version 3.0b 2021/07/14 Added msu@hchap counter for hyperref targets in appendices (unreleased)
% Version 3.1 2022/03/03 Added support for List of Algorithms plus fixes for algorithm2e and algorithmicx etc
% Version 3.1b 2022/03/25 Fixed numbering problem for single global appendix
-% Version 3.2 2022/04/16 Fixed TOC formatting problem for per-chapter appendices
+% Version 3.2 2022/04/16 Fixed TOC formatting problem for per-chapter appendices
% Version 3.3 2022/04/18 New option bibassection to allow for thesis office inconsistencies.
% Also adjusted chapter title code so that Appendix chapters can have
% the extra blank line that the thesis office wants. More inconsistencies.
+% Version 3.3b 2022/06/24 Fixed secnumdepth problem when appendices are used;
+% Fixed numbering issue of subsequent chapters;
+% made TOC leaders all identical.
%
% Report bugs/problems/questions to <amunn@msu.edu>
%
-\def\msu@version{3.3}
-\def\msu@date{2022/04/18}
+\def\msu@version{3.3b}
+\def\msu@date{2022/06/24}
\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
@@ -345,6 +348,11 @@
\def\msu@tocfont{\normalfont}
\def\msu@chapfont{\bfseries}
\fi
+% In all cases make the leaders identical to section leaders
+% Thesis office sometimes complains about the fact that chapter leaders
+% are larger because they define “consistency” as what Word does
+% Added 6/24/2022
+\let\cftchapterleader\cftsectionleader
% Support for algorithm packages added v3.1
% If using the algorithm2e package, you must load it with the algo2e package option
@@ -408,9 +416,11 @@
\cftinsertcode{CHAPAPPR}{
\cftsetindents{section}{1.5em}{2.3em}
\setlength{\cftchapterindent}{0em}
+\setlength{\cftchapternumwidth}{3em} % added 6/24/2022
\setlength{\cftbeforechapterskip}{1.0em \@plus\p@}
\renewcommand\cftchapterfont{\msu@chapfont}
\renewcommand\cftchapterpagefont{\msu@chapfont}
+ \settocdepth{subsubsection} % added 6/24/2022
}
% This code resets the changes made in the APP code back to normal
% so that the bibliography will appear correctly in the TOC
@@ -639,13 +649,13 @@
\setcounter{chapter}{0}%
\renewcommand\@chapapp{\appendixname}%
\renewcommand\thechapter{\msuappendixnumformat}%
- \restoreapp
+% \restoreapp % removed 6/24/2022
}
% Don't save the appendix counters even for per-chapter appendices
-\let\restoreapp\relax
+%\let\restoreapp\relax % removed 6/24/2022
% make the bibliography page