diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-01 20:58:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-01 20:58:14 +0000 |
commit | e1bd5829810740762687917f33cde92144404ef7 (patch) | |
tree | 63a230a5256bc46a0e499e79ddbbb4285ec575d1 /Master | |
parent | c33b0506dec82a5c94fb746adae4e5c136849815 (diff) |
mugsthesis (1sep22)
git-svn-id: svn://tug.org/texlive/trunk@64259 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/mugsthesis/README.md (renamed from Master/texmf-dist/doc/latex/mugsthesis/README) | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mugsthesis/mugsthesis.pdf | bin | 278678 -> 295368 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.pdf | bin | 100948 -> 108463 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mugsthesis/Makefile | 41 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mugsthesis/mugsthesis.dtx | 46 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mugsthesis/mugsthesis.ins | 112 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mugsthesis/mugsthesis.cls | 12 |
8 files changed, 136 insertions, 87 deletions
diff --git a/Master/texmf-dist/doc/latex/mugsthesis/README b/Master/texmf-dist/doc/latex/mugsthesis/README.md index a22eea178bf..2145f2b0b5f 100644 --- a/Master/texmf-dist/doc/latex/mugsthesis/README +++ b/Master/texmf-dist/doc/latex/mugsthesis/README.md @@ -1,10 +1,10 @@ -Marquette University Graduate School (MUGS) Thesis Class, mugsthesis v1.0 2014/08/07 +# Marquette University Graduate School (MUGS) Thesis Class, mugsthesis -Copyright (C) 2014 Paul D. Gessler <pdgessler@gmail.com> +Copyright (C) 2022 Paul D. Gessler <mailto:paul@gessler.net> -This is a document class to be used for typesetting MUGS theses. +This is a document class to be used for typesetting MUGS theses and dissertations. The mugsthesis class is based on the memoir document class and -meets the MUGS Thesis Directives requirements. +meets the MUGS Thesis/Dissertation Directives requirements. The sample folder contains a sample thesis for testing/review. @@ -28,4 +28,4 @@ mugsthesis_sample.tex, and refs.bib. Use at your own risk! Class author is not responsible for denied thesis submissionts. Report issues and enhancement requests on -GitHub at https://github.com/pdgessler/mugsthesis +sourcehut at https://sr.ht/~pdgessler/mugsthesis/ diff --git a/Master/texmf-dist/doc/latex/mugsthesis/mugsthesis.pdf b/Master/texmf-dist/doc/latex/mugsthesis/mugsthesis.pdf Binary files differindex f46a633d6a4..c94f6660793 100644 --- a/Master/texmf-dist/doc/latex/mugsthesis/mugsthesis.pdf +++ b/Master/texmf-dist/doc/latex/mugsthesis/mugsthesis.pdf diff --git a/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.pdf b/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.pdf Binary files differindex 22920411c20..76ee30f5844 100644 --- a/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.pdf +++ b/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.pdf diff --git a/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.tex b/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.tex index 29d224f657d..4ce6533e2f3 100644 --- a/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.tex +++ b/Master/texmf-dist/doc/latex/mugsthesis/sample/mugsthesis_sample.tex @@ -1,4 +1,4 @@ -\documentclass[10pt,10pt,10pt]{mugsthesis} % type size may be between 10-12 pt; default 12pt +\documentclass[10pt]{mugsthesis} % type size may be between 10-12 pt; default 12pt % load any additional packages you require \usepackage{mathpazo} % fonts; many alternatives here diff --git a/Master/texmf-dist/source/latex/mugsthesis/Makefile b/Master/texmf-dist/source/latex/mugsthesis/Makefile new file mode 100644 index 00000000000..e951a834e12 --- /dev/null +++ b/Master/texmf-dist/source/latex/mugsthesis/Makefile @@ -0,0 +1,41 @@ +PACKAGE=mugsthesis + +PDF = $(PACKAGE).pdf + +all: ${PDF} SAMPLE + +%.pdf: %.dtx $(PACKAGE).cls + pdflatex $< + - makeindex -s gind.ist -o $*.ind $*.idx + - makeindex -s gglo.ist -o $*.gls $*.glo + pdflatex $< + while ( grep -1 '^LaTeX Warning: Label(s) may have changed' $*.log) do pdflatex $<; done + +%.cls: %.ins %.dtx + latex $< + +SAMPLE: sample/$(PACKAGE)_sample.tex sample/$(PACKAGE).cls + latexmk -pdf -cd $< + +sample/%: % + cp $^ sample + +sample/$(PACKAGE).cls: $(PACKAGE).cls + +.PRECIOUS: $(PACKAGE).cls + +docclean: + $(RM) *.log *.aux *.glo *.gls *.hd *.idx *.ilg *.ind *.out *.toc *.lof *.lot \ + sample/*.log sample/*.aux sample/*.out sample/*.bbl sample/*.blg sample/*.fls \ + sample/*.lof sample/*.lot sample/*.toc sample/*.fdb_latexmk sample/$(PACKAGE).cls + +clean: docclean + $(RM) $(PACKAGE).cls + +distclean: clean + $(RM) *.pdf sample/*.pdf + +ctan: all clean + COPYFILE_DISABLE=1 tar -C .. -czvf ../$(PACKAGE).tgz --exclude '.git*' --exclude '*.tgz' $(PACKAGE); mv ../$(PACKAGE).tgz . + +.PHONY: all SAMPLE docclean clean distclean ctan diff --git a/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.dtx b/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.dtx index 938cde9fbaf..a7664de7ca8 100644 --- a/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.dtx +++ b/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2014 by Paul D. Gessler +% Copyright (C) 2022 by Paul D. Gessler % --------------------------------------------------------------------------- % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -12,7 +12,7 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is Paul D. Gessler <pdgessler@gmail.com>. +% The Current Maintainer of this work is Paul D. Gessler <paul@gessler.net>. % % This work consists of the files mugsthesis.dtx and mugsthesis.ins % and the derived file mugsthesis.cls. @@ -26,7 +26,7 @@ %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01] %<class>\ProvidesClass{mugsthesis} %<*class> - [2014/08/07 v1.0 Marquette University Graduate School Thesis Class] + [2022/09/01 v1.1 Marquette University Graduate School Thesis Class] %</class> % %<*driver> @@ -41,7 +41,7 @@ %</driver> % \fi % -% \CheckSum{376} +% \CheckSum{384} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -61,6 +61,7 @@ % % % \changes{v1.0}{2014/08/07}{Initial public release} +% \changes{v1.1}{2022/09/01}{Added document type options for theses and dissertations} % % \DoNotIndex{\newcommand,\newenvironment} % \DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ } @@ -76,44 +77,47 @@ % \DoNotIndex{\setcounter,\setlength,\small,\texorpdfstring,\unskip,\vfill,\vskip,\vspace} % % \providecommand*{\url}{\texttt} -% \newcommand{\pkg}[1]{\textsf{#1}} -% \newcommand{\cls}[1]{\textsf{#1}} % \newcommand{\opt}[1]{\texttt{#1}} % \newcommand{\optd}[1]{\opt{#1}~(default)} % \GetFileInfo{mugsthesis.dtx} % \title{The \cls{mugsthesis} class} -% \author{Paul D. Gessler \\ \url{<pdgessler@gmail.com>}} +% \author{Paul D. Gessler \\ \url{<paul@gessler.net>}} % \date{\fileversion,~dated \filedate} % % \maketitle % \begin{abstract} -% \cls{mugsthesis} is a document class to be used for typesetting Marquette University Graduate School (MUGS) theses. +% \cls{mugsthesis} is a document class to be used for typesetting Marquette University Graduate School (MUGS) theses and dissertations. % It is based on the \cls{memoir} class, and meets the basic requirements contained -% in the MUGS \emph{Thesis Directives}.\footnotemark The class provides a minimal +% in the MUGS \emph{Thesis/Dissertation Directives}.\footnotemark The class provides a minimal % set of changes to the \cls{memoir} class to meet the university's specifications. % As such, it should be compatible with any other packages that are compatible with % the widely used \cls{memoir} class. % \end{abstract} -% \footnotetext{\cls{mugsthesis} \fileversion\ is compatible with MUGS \emph{Thesis Directives} dated 2014, available at \url{http://www.marquette.edu/grad/documents/ThesisDirectives2014.pdf}} +% \footnotetext{\cls{mugsthesis} \fileversion\ is compatible with MUGS \emph{Thesis Directives} dated 2014, available at \url{https://www.marquette.edu/grad/documents/thesis-directives-2014.pdf} and \emph{Dissertation Directives} dated 2018, available at \url{https://www.marquette.edu/grad/documents/dissertation-directives.pdf}} % % \section{Introduction} % -% The \cls{mugsthesis} document class is designed to allow straightforward preparation of MUGS theses -% using the \LaTeX\ document preparation system. It complies with the MUGS \emph{Thesis Directives} +% The \cls{mugsthesis} document class is designed to allow straightforward preparation of MUGS theses and dissertations +% using the \LaTeX\ document preparation system. It complies with the MUGS \emph{Thesis/Dissertation Directives} % while maintaining compatibility with other packages used to extend the functionality of \LaTeX. % -% Development of the document class is currently hosted on GitHub\footnote{\url{https://github.com/pdgessler/mugsthesis}}. +% Development of the document class is currently hosted on sourcehut\footnote{\url{https://sr.ht/~pdgessler/mugsthesis/}}. % You are welcome to follow development, submit any issues you discover, or suggest improvements/enhancements -% using the web interface there. +% using the web interface or mailing list there. % % The easiest way to start using the \cls{mugsthesis} document class is to take a look at the sample % document provided, |mugsthesis_sample.tex|, along with its associated included files. -% You can take this as the basis for your own thesis. +% You can take this as the basis for your own thesis or dissertation. % % \section{Package Options} -% The class supports several options for configuring the appearance of the thesis. +% The class supports several options for configuring the appearance of the thesis or dissertation. % Apart from the options below, \cls{memoir} is loaded with options \opt{letterpaper} and \opt{oneside} -% as specified in the \emph{Thesis Directives}. +% as specified in the \emph{Thesis/Dissertation Directives}. +% +% \section{Document Type} +% The type of document, either a thesis or a dissertation, is adjusted through the use of the options \optd{thesis} and \opt{dissertation}. +% \opt{thesis} produces a thesis and \opt{dissertation} produces a dissertation. Currently, the only difference is in the text on the title page. +% The document type options are mutually exclusive. % % \subsection{Font Size} % The base font size of the document is adjusted through use of the options \opt{10pt}, \opt{11pt}, and \optd{12pt}. @@ -232,6 +236,8 @@ % Declare class options, pass them to the base class if applicable, % and discard any unsupported options, warning the user they have been ignored. % \begin{macrocode} +\DeclareOption{thesis}{\def\@mugsdoctype{Thesis}} +\DeclareOption{dissertation}{\def\@mugsdoctype{Dissertation}} \DeclareOption{10pt}{\PassOptionsToClass{10pt}{memoir}} \DeclareOption{11pt}{\PassOptionsToClass{11pt}{memoir}} \DeclareOption{12pt}{\PassOptionsToClass{12pt}{memoir}} @@ -243,10 +249,10 @@ \ClassWarning{mugsthesis}{Unknown option `\CurrentOption' ignored}% } % \end{macrocode} -% Execute default options \opt{12pt}, \opt{final}, and \opt{indentfirsttrue}, +% Execute default options \opt{thesis}, \opt{12pt}, \opt{final}, and \opt{indentfirsttrue}, % and process the author-specified options. % \begin{macrocode} -\ExecuteOptions{12pt,final,indentfirsttrue} +\ExecuteOptions{thesis,12pt,final,indentfirsttrue} \ProcessOptions\relax % \end{macrocode} % Use the \pkg{indentfirst} package if \opt{indentfirsttrue} is set. @@ -330,7 +336,7 @@ \vskip \onelineskip \@author \vfill - A Thesis submitted to the Faculty of the Graduate School,\\ + A \@mugsdoctype\ submitted to the Faculty of the Graduate School,\\ Marquette University,\\ in Partial Fulfillment of the Requirements for\\ the Degree of \mugsdegree{} diff --git a/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.ins b/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.ins index b42d2587e23..5a6a558637d 100644 --- a/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.ins +++ b/Master/texmf-dist/source/latex/mugsthesis/mugsthesis.ins @@ -1,56 +1,56 @@ -%%
-%% Copyright (C) 2014 by Paul D. Gessler
-%%
-%% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either
-%% version 1.23 of this license or (at your option) any later
-%% version. The latest version of this license is in:
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% and version 1.3 or later is part of all distributions of
-%% LaTeX version 1999/12/01 or later.
-%%
-\input docstrip.tex
-\keepsilent
-\usedir{tex/latex/mugsthesis}
-
-\preamble
-
-This is a generated file.
-
-Copyright (C) 2014 by Paul D. Gessler
-
-This file may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either
-version 1.3 of this license or (at your option) any later
-version. The latest version of this license is in:
- http://www.latex-project.org/lppl.txt
-and version 1.3 or later is part of all distributions of
-LaTeX version 2005/12/01 or later.
-
-This work has the LPPL maintenance status `maintained'.
-
-The Current Maintainer of this work is Paul D. Gessler <pdgessler@gmail.com>.
-
-This work consists of the files mugsthesis.dtx and mugsthesis.ins
-and the derived file mugsthesis.cls.
-
-\endpreamble
-
-\generate{\file{mugsthesis.cls}{\from{mugsthesis.dtx}{class}}}
-
-\Msg{**********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move the}
-\Msg{* following file into a directory searched by TeX:}
-\Msg{*}
-\Msg{* \space\space mugsthesis.cls}
-\Msg{*}
-\Msg{* To produce the documentation run the file mugsthesis.dtx}
-\Msg{* through LaTeX.}
-\Msg{*}
-\Msg{* Happy thesis writing!}
-\Msg{**********************************************************}
-
-\endbatchfile
\ No newline at end of file +%% +%% Copyright (C) 2022 by Paul D. Gessler +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.23 of this license or (at your option) any later +%% version. The latest version of this license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 1999/12/01 or later. +%% +\input docstrip.tex +\keepsilent +\usedir{tex/latex/mugsthesis} + +\preamble + +This is a generated file. + +Copyright (C) 2022 by Paul D. Gessler + +This file may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.3 of this license or (at your option) any later +version. The latest version of this license is in: + http://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of +LaTeX version 2005/12/01 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Paul D. Gessler <paul@gessler.net>. + +This work consists of the files mugsthesis.dtx and mugsthesis.ins +and the derived file mugsthesis.cls. + +\endpreamble + +\generate{\file{mugsthesis.cls}{\from{mugsthesis.dtx}{class}}} + +\Msg{**********************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the} +\Msg{* following file into a directory searched by TeX:} +\Msg{*} +\Msg{* \space\space mugsthesis.cls} +\Msg{*} +\Msg{* To produce the documentation run the file mugsthesis.dtx} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy thesis writing!} +\Msg{**********************************************************} + +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/mugsthesis/mugsthesis.cls b/Master/texmf-dist/tex/latex/mugsthesis/mugsthesis.cls index fb26cf20113..2a6c5780483 100644 --- a/Master/texmf-dist/tex/latex/mugsthesis/mugsthesis.cls +++ b/Master/texmf-dist/tex/latex/mugsthesis/mugsthesis.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2014 by Paul D. Gessler +%% Copyright (C) 2022 by Paul D. Gessler %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -20,16 +20,18 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is Paul D. Gessler <pdgessler@gmail.com>. +%% The Current Maintainer of this work is Paul D. Gessler <paul@gessler.net>. %% %% This work consists of the files mugsthesis.dtx and mugsthesis.ins %% and the derived file mugsthesis.cls. %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesClass{mugsthesis} - [2014/08/07 v1.0 Marquette University Graduate School Thesis Class] + [2022/09/01 v1.1 Marquette University Graduate School Thesis Class] \RequirePackage{etoolbox} \newbool{indentfirst} +\DeclareOption{thesis}{\def\@mugsdoctype{Thesis}} +\DeclareOption{dissertation}{\def\@mugsdoctype{Dissertation}} \DeclareOption{10pt}{\PassOptionsToClass{10pt}{memoir}} \DeclareOption{11pt}{\PassOptionsToClass{11pt}{memoir}} \DeclareOption{12pt}{\PassOptionsToClass{12pt}{memoir}} @@ -40,7 +42,7 @@ \DeclareOption*{% \ClassWarning{mugsthesis}{Unknown option `\CurrentOption' ignored}% } -\ExecuteOptions{12pt,final,indentfirsttrue} +\ExecuteOptions{thesis,12pt,final,indentfirsttrue} \ProcessOptions\relax \ifbool{indentfirst}{\RequirePackage{indentfirst}}{} \LoadClass[letterpaper,oneside]{memoir} @@ -75,7 +77,7 @@ \vskip \onelineskip \@author \vfill - A Thesis submitted to the Faculty of the Graduate School,\\ + A \@mugsdoctype\ submitted to the Faculty of the Graduate School,\\ Marquette University,\\ in Partial Fulfillment of the Requirements for\\ the Degree of \mugsdegree{} |