texlive[68480] Master/texmf-dist: msu-thesis (8oct23)

commits+karl at tug.org commits+karl at tug.org
Sun Oct 8 22:53:47 CEST 2023


Revision: 68480
          https://tug.org/svn/texlive?view=revision&revision=68480
Author:   karl
Date:     2023-10-08 22:53:47 +0200 (Sun, 08 Oct 2023)
Log Message:
-----------
msu-thesis (8oct23)

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-testfile.pdf
    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-10-07 23:44:15 UTC (rev 68479)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/README.md	2023-10-08 20:53:47 UTC (rev 68480)
@@ -1,4 +1,4 @@
-# MSU Thesis Class Version 4.1g 2023/08/12
+# MSU Thesis Class Version 4.1h 2023/10/07
 
 Copyright 2011-2023 by Alan Munn <amunn at msu.edu>
 

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-10-07 23:44:15 UTC (rev 68479)
+++ trunk/Master/texmf-dist/doc/latex/msu-thesis/docs/msu-thesis.tex	2023-10-08 20:53:47 UTC (rev 68480)
@@ -2,8 +2,8 @@
 
 \documentclass[11pt]{article}
 
-\def\msuversion{4.1g}
-\def\msudate{2023/08/12}
+\def\msuversion{4.1h}
+\def\msudate{2023/10/07}
 \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}

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-testfile.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls	2023-10-07 23:44:15 UTC (rev 68479)
+++ trunk/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls	2023-10-08 20:53:47 UTC (rev 68480)
@@ -189,13 +189,51 @@
 % Version 4.1e 2023/07/24 Fixed per chapter appendices TOC bug; 
 % Version 4.1f 2023/07/28 Fixed title page spacing issue
 % Version 4.1g 2023/08/12 Per chapter appendices and bibliography TOC issue
-%
+% Version 4.1h 2023/10/07 Changed option processing code
 % Report bugs/problems/questions to <amunn at msu.edu>
 %
-\def\msu at version{4.1g}
-\def\msu at date{2023/08/12}
+\def\msu at version{4.1h}
+\def\msu at date{2023/10/07}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{msu-thesis}[\msu at date\space  Michigan State University Thesis Class version \msu at version]
+\DeclareKeys[msu-thesis]
+{
+PhD.code = {\gdef\msu at degree{Doctor of Philosophy}},
+DEd.code = {\gdef\msu at degree{Doctor of Education}},
+DMA.code = {\gdef\msu at degree{Doctor of Musical Arts}},
+DNP.code = {\gdef\msu at degree{Doctor of Nursing Practice}},
+MA.code = {\gdef\msu at degree{Master of Arts}\global\msu at dissertationfalse},
+MS.code = {\gdef\msu at degree{Master of Science}\global\msu at dissertationfalse},
+MAT.code = {\gdef\msu at degree{Master of Arts for Teachers}\global\msu at dissertationfalse},
+MBA.code = {\gdef\msu at degree{Master of Business Administration}\global\msu at dissertationfalse},
+MFA.code = {\gdef\msu at degree{Master of Fine Arts}\global\msu at dissertationfalse},
+MIPS.code = {\gdef\msu at degree{Master of International Planning Studies}\global\msu at dissertationfalse},
+MHRL.code = {\gdef\msu at degree{Master of Human Resources and Labor Relations}\global\msu at dissertationfalse},
+MMus.code = {\gdef\msu at degree{Master of Music}\global\msu at dissertationfalse},
+%MSN.code = {\gdef\msu at degree{Master of Science in Nursing}\global\msu at dissertationfalse},
+MPH.code = {\gdef\msu at degree{Master of Public Health}\global\msu at dissertationfalse},
+MPP.code = {\gdef\msu at degree{Master of Public Policy}\global\msu at dissertationfalse},
+MSW.code = {\gdef\msu at degree{Master of Social Work}\global\msu at dissertationfalse},
+MURP.code = {\gdef\msu at degree{Master in Urban and Regional Planning}\global\msu at dissertationfalse},
+lscape.code = {%
+\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}}},
+boldtoc.code = {\msu at stupidtoctrue\msu at plaintocfalse\msu at mixedtocfalse},
+plaintoc.code = {\msu at plaintoctrue\msu at stupidtocfalse\msu at mixedtocfalse},
+mixedtoc.code = {\msu at mixedtoctrue\msu at stupidtocfalse\msu at plaintocfalse},
+chapterbib.code = {\global\msu at chapterbibtrue\def\msu at bibtype{CHAPBIB}}, % per-chapter bibliographies added v3.0
+bibassection.code = {\def\msu at bibsection{section}}, % per-chapter bibs as sections in TOC
+chapterapp.code = {
+    \global\msu at chapterapptrue
+	\def\msu at apptype{CHAPAPP}
+	% per-chapter appendices added v3.0
+	\renewcommand\msuappendixnumformat{\the at ppsavesec\Alph{chapter}} % Appendix numbers per-chapter (now permitted)
+},
+12pt.code = {\def\msu at sizeoption{12pt}}, % added v2.9
+11pt.code = {\def\msu at sizeoption{11pt}},
+10pt.code = {\def\msu at sizeoption{10pt}}
+}
+
 \newif\ifmsu at dissertation\msu at dissertationtrue % added v2.7 boolean for \msu at thesistype
 \newif\ifmsu at chapterbib\msu at chapterbibfalse % added v3.0
 \def\msu at bibtype{BIB}
@@ -210,42 +248,9 @@
 \newif\ifmsu at colonintoc\msu at colonintocfalse
 \newif\ifmsu at hyperloaded\msu at hyperloadedfalse
 \newif\ifmsu at dualmajor\msu at dualmajorfalse
-\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}}}
-\DeclareOption{boldtoc}{\msu at stupidtoctrue\msu at plaintocfalse\msu at mixedtocfalse}
-\DeclareOption{plaintoc}{\msu at plaintoctrue\msu at stupidtocfalse\msu at mixedtocfalse}
-\DeclareOption{mixedtoc}{\msu at mixedtoctrue\msu at stupidtocfalse\msu at plaintocfalse}
-\DeclareOption{chapterbib}{\global\msu at chapterbibtrue\def\msu at bibtype{CHAPBIB}} % per-chapter bibliographies added v3.0
 \newcommand*\msu at bibsection{chapter} % per-chapter bibliographies like chapters in TOC
-\DeclareOption{bibassection}{\def\msu at bibsection{section}} % per-chapter bibs as sections in TOC
-\DeclareOption{chapterapp}{
-    \global\msu at chapterapptrue
-	\def\msu at apptype{APPENDICES}
-	% per-chapter appendices added v3.0
-	\renewcommand\msuappendixnumformat{\ifmsu at singleappendix\else\Alph{chapter}\fi} % Appendix numbers per-chapter not permitted as of v4
-}
-\DeclareOption{12pt}{\def\msu at sizeoption{12pt}} % added v2.9
-\DeclareOption{11pt}{\def\msu at sizeoption{11pt}}
-\DeclareOption{10pt}{\def\msu at sizeoption{10pt}}
-\ExecuteOptions{PhD,12pt}
+\SetKeys[msu-thesis]{PhD,12pt}
+\ProcessKeyOptions[msu-thesis]
 \DeclareOption*{
 \PassOptionsToClass{\CurrentOption}{memoir}
 }



More information about the tex-live-commits mailing list.