summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-07-23 03:01:14 +0000
committerNorbert Preining <norbert@preining.info>2023-07-23 03:01:14 +0000
commit8e64fc98a1773bc22a0f010f106d56a028e48597 (patch)
tree29781e66044aca74e0a9fe7b15b9bedde97e5892 /macros
parent05bb4f9ed131a04f54560a856dfbd7bc15981555 (diff)
CTAN sync 202307230301
Diffstat (limited to 'macros')
-rw-r--r--macros/latex/contrib/crefthe/README.md45
-rw-r--r--macros/latex/contrib/crefthe/crefthe-doc.pdfbin53458 -> 58374 bytes
-rw-r--r--macros/latex/contrib/crefthe/crefthe-doc.tex63
-rw-r--r--macros/latex/contrib/crefthe/crefthe.sty261
-rw-r--r--macros/latex/contrib/esami/README38
-rw-r--r--macros/latex/contrib/esami/VERSION2
-rw-r--r--macros/latex/contrib/esami/doc/esami-doc-en.pdfbin480874 -> 483307 bytes
-rw-r--r--macros/latex/contrib/esami/doc/esami-doc-en.tex11
-rw-r--r--macros/latex/contrib/esami/doc/esami-doc-it.pdfbin488964 -> 492308 bytes
-rw-r--r--macros/latex/contrib/esami/doc/esami-doc-it.tex16
-rw-r--r--macros/latex/contrib/esami/doc/esami.bib7
-rw-r--r--macros/latex/contrib/esami/doc/examples/problem4-fillin.tex2
-rw-r--r--macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie1.parametri.tex4
-rw-r--r--macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie2.parametri.tex4
-rw-r--r--macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie3.parametri.tex4
-rw-r--r--macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie4.parametri.tex4
-rw-r--r--macros/latex/contrib/esami/doc/examples/test5-fillin.tex2
-rw-r--r--macros/latex/contrib/esami/doc/examples/testA-pdflatex-sol.pdfbin0 -> 186860 bytes
-rw-r--r--macros/latex/contrib/esami/doc/examples/testA-pdflatex-sol.tex (renamed from macros/latex/contrib/esami/doc/examples/testA-sol.tex)21
-rw-r--r--macros/latex/contrib/esami/doc/examples/testA-pdflatex.pdfbin0 -> 153114 bytes
-rw-r--r--macros/latex/contrib/esami/doc/examples/testA-pdflatex.tex (renamed from macros/latex/contrib/esami/doc/examples/testA.tex)17
-rw-r--r--macros/latex/contrib/esami/doc/examples/testA-sol.pdfbin257725 -> 0 bytes
-rw-r--r--macros/latex/contrib/esami/doc/examples/testA-xetex-sol.sol.tex84
-rw-r--r--macros/latex/contrib/esami/doc/examples/testA.pdfbin217098 -> 0 bytes
-rw-r--r--macros/latex/contrib/esami/esami-xyz.cfg6
-rw-r--r--macros/latex/contrib/esami/esami.sty9
-rw-r--r--macros/latex/contrib/mitthesis/MIT-Thesis.pdfbin489171 -> 489188 bytes
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex35
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex30
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex5
-rw-r--r--macros/latex/contrib/mitthesis/README.md8
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdfbin105979 -> 105510 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdfbin107341 -> 106895 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdfbin107588 -> 107382 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdfbin107668 -> 107250 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdfbin108531 -> 108222 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdfbin130741 -> 131063 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex36
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex36
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex38
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex44
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex37
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex44
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdfbin490253 -> 490288 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdfbin318691 -> 319041 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdfbin151436 -> 151460 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdfbin454844 -> 454847 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdfbin169932 -> 169955 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdfbin270253 -> 270252 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdfbin316113 -> 316127 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdfbin159615 -> 159625 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdfbin161675 -> 161691 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdfbin157887 -> 157894 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex33
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex33
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex49
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex49
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex49
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex49
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex49
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex49
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex49
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex49
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdfbin81130 -> 81325 bytes
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex5
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis.cls86
66 files changed, 850 insertions, 612 deletions
diff --git a/macros/latex/contrib/crefthe/README.md b/macros/latex/contrib/crefthe/README.md
index db578d078f..44a00effb6 100644
--- a/macros/latex/contrib/crefthe/README.md
+++ b/macros/latex/contrib/crefthe/README.md
@@ -1,4 +1,4 @@
-<!-- Copyright (C) 2021-2022 by Jinwen XU -->
+<!-- Copyright (C) 2021-2023 by Jinwen XU -->
# crefthe - cross referencing with proper definite articles
@@ -45,6 +45,7 @@ Before everything, you need to define the names, which can be done with `\crefth
```latex
\crefthename{theorem}[le]{théorème}[les]{théorèmes}
```
+(*In French*)
Then you can use the command `\crefthe` as follows:
- `\crefthe[<prep>]{<labels>}`
@@ -54,7 +55,47 @@ Then you can use the command `\crefthe` as follows:
> There is also a stared version `\crefthe*` for generating the same text but without hyperlinks.
-*For more information, please refer to its documentation.*
+## Regarding German
+
+In German, there are four declensions: nominative (`Nominativ`), genitive (`Genitiv`), dative (`Dativ`) and accusative (`Akkusativ`). For such situation, we introduce the command `\crefthevariantname` to specify the referencing name for the correspond environment. Below is an example of usage:
+```latex
+\crefthevariantname{theorem}
+ {
+ {Satz}{Sätze}
+ , Nominativ = [der]{Satz}[die]{Sätze}
+ , Genitiv = [des]{Satzes}[der]{Sätze}
+ , Dativ = [dem]{Satz}[den]{Sätzen}
+ , Akkusativ = [den]{Satz}[die]{Sätze}
+ }
+```
+The first line in the configuration is the default set of names when no variant is specified. It is recommended, though not required.
+
+After this, you may refer to a theorem via
+
+```latex
+\crefthe[<prep>,variant=<declension>]{<label>}
+```
+
+You may also use the shortcuts (`nom.`, `gen.`, `dat.` and `akk.`), such as:
+
+```latex
+\crefthe[<prep>,Nom]{<label>} \crefthe[<prep>,Nom.]{<label>}
+\crefthe[<prep>,nom]{<label>} \crefthe[<prep>,nom.]{<label>}
+```
+
+These four are all equivalent and you may choose one to use according to your preference.
+
+> *For more information, please refer to the documentation.*
+
+# Acknowledgement
+
+There are so many people I wish to express my gratitude to during the development of this package, including:
+
+- Patrick Bideault, without whose advice and careful explanation, this package probably would never have been born. Merci !
+
+- Enrico Gregorio, Phelype Oleinik and Joseph Wright (in alphabetical order). They made valuable suggestions in the early development of this package and even edited some of the code themselves.
+
+- Jonathan P. Spratte, without whose help the German support would probably take much longer to complete.
# License
diff --git a/macros/latex/contrib/crefthe/crefthe-doc.pdf b/macros/latex/contrib/crefthe/crefthe-doc.pdf
index a91ff44b53..3cc6dce323 100644
--- a/macros/latex/contrib/crefthe/crefthe-doc.pdf
+++ b/macros/latex/contrib/crefthe/crefthe-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/crefthe/crefthe-doc.tex b/macros/latex/contrib/crefthe/crefthe-doc.tex
index 44cd81fd5e..82d7460683 100644
--- a/macros/latex/contrib/crefthe/crefthe-doc.tex
+++ b/macros/latex/contrib/crefthe/crefthe-doc.tex
@@ -48,6 +48,7 @@
crefformat,
crefthe,crefthename,
Crefthe,Crefthename,
+ crefthevariantname,Crefthevariantname,
namecrefthe,namecrefsthe,
nameCrefthe,nameCrefsthe,
crefthemark,
@@ -116,12 +117,12 @@
\begin{document}
-\def\PackageVersion{2022/09/24}
+\def\PackageVersion{2023/07/22}
\title{\crefthepackage{}\\\smallskip\itshape Cross referencing with proper definite articles}
\author{Jinwen XU}
\thanks{Corresponding to: \texttt{\crefthepackage{} \PackageVersion}}
-\date{\TheDate{\PackageVersion}[only-year-month], in Paris}
+\date{\TheDate{\PackageVersion}[only-year-month], in Beijing}
\maketitle
@@ -132,7 +133,7 @@
\section{The motivation}
-By default, with \textsf{cleveref}'s \lstinline|\cref| to reference theorem-like environments, the names do not contain definite articles. While this might be acceptable for English, it is certainly not good enough for languages such as French, Italian, Portuguese, Spanish, etc. -- in these cases there shall be grammatical errors and would give you a strong feeling that it is machine-generated.
+By default, with \textsf{cleveref}'s \lstinline|\cref| to reference theorem-like environments, the names do not contain definite articles. While this might be acceptable for English, it is certainly not good enough for languages such as French, Italian, Portuguese, Spanish, etc. --- in these cases there shall be grammatical errors and would give you a strong feeling that it is machine-generated.
However, even if we manually add the definite articles to the names, there would still be other problems. As an example, if we define the French names to be:
@@ -241,6 +242,38 @@ which would result in (provided that you have done \lstinline|\selectlanguage{fr
Voilà !
+\section{What about German}
+
+In German, there are four declensions: nominative (\texttt{Nominativ}), genitive (\texttt{Genitiv}), dative (\texttt{Dativ}) and accusative (\texttt{Akkusativ}), making the previously presented mechanism insufficient. For such situation, we introduce the command \lstinline|\crefthevariantname| to specify the referencing name for the correspond environment. Below is an example of usage:
+
+\begin{code}
+\crefthevariantname{theorem}
+ {
+ {Satz}{Sätze}
+ , Nominativ = [der]{Satz}[die]{Sätze}
+ , Genitiv = [des]{Satzes}[der]{Sätze}
+ , Dativ = [dem]{Satz}[den]{Sätzen}
+ , Akkusativ = [den]{Satz}[die]{Sätze}
+ }
+\end{code}
+
+The first line in the configuration is the default set of names when no variant is specified. It is recommended, though not required.
+
+After this, you may refer to a theorem via
+
+\begin{code}
+\crefthe[(*\meta{prep}*),variant=(*\meta{declension}*)]{(*\meta{label}*)}
+\end{code}
+
+You may also use the shortcuts (\texttt{nom.}, \texttt{gen.}, \texttt{dat.} and \texttt{akk.}), such as:
+
+\begin{code}
+\crefthe[(*\meta{prep}*),Nom]{(*\meta{label}*)} \crefthe[(*\meta{prep}*),Nom.]{(*\meta{label}*)}
+\crefthe[(*\meta{prep}*),nom]{(*\meta{label}*)} \crefthe[(*\meta{prep}*),nom.]{(*\meta{label}*)}
+\end{code}
+
+These four are all equivalent and you may choose one to use according to your preference.
+
\section{Regarding the upper and lower cases}
As in \textsf{cleveref}, these commands have corresponding uppercased version: \lstinline|\Crefthename|,\linebreak \lstinline|\Crefthe|, \lstinline|\nameCrefthe| and \lstinline|\nameCrefsthe|, similar to \lstinline|\Crefname|, \lstinline|\Cref|, \lstinline|\nameCref|\linebreak and \lstinline|\nameCrefs|, reserved for using at the beginning of a sentence. \lstinline|\Crefthe| (and the name-only relatives) can handle case changing automatically: for example, with \lstinline|\Crefthe[À]{thm1,thm2,prop3}|, you will get something like
@@ -271,17 +304,33 @@ For those preset names defined with \lstinline|\crefname|\,/\,\lstinline|\Crefna
\section{The relationship with \textsf{cleveref}}
-\crefthepackage{} loads \textsf{cleveref} automatically and pass related options to it. All its commands, used without optional arguments, degenerate to those in \textsf{cleveref}. For example, \lstinline|\crefthe{...}| is the same as \lstinline|\cref{...}|, and \lstinline|\crefthename| is the same as \lstinline|\crefname| if the definite articles are not specified. That said, you can safely use the command \lstinline|\crefthe| everywhere in your document without causing extra trouble.
+\crefthepackage{} loads \textsf{cleveref} automatically and passes related options to it. All its commands, used without optional arguments, degenerate to those in \textsf{cleveref}. For example, \lstinline|\crefthe{...}|%
+will produce the same result as \lstinline|\cref{...}|, and \lstinline|\crefthename| shall behave the same as \lstinline|\crefname| if the definite articles are not specified. That said, you may safely use the command \lstinline|\crefthe| everywhere in your document without causing extra trouble.
-With the package option \packageoption{overwrite}, user commands in \textsf{cleveref} will be replaced by those offered here, thus you can simply write \lstinline|\cref| for \lstinline|\crefthe| -- and similarly with \lstinline|\Cref|, \lstinline|\crefname| and \lstinline|\Crefname|.
+With the package option \packageoption{overwrite}, user commands in \textsf{cleveref} will be replaced by those offered here, thus you can simply write \lstinline|\cref| for \lstinline|\crefthe| --- and similarly with \lstinline|\Cref|, \lstinline|\crefname| and \lstinline|\Crefname|.
\clearpage
+
+\section{Acknowledgement}
+
+There are so many people I wish to express my gratitude to during the development of this package, including:
+
+\begin{itemize}
+ \item Patrick Bideault, without whose advice and careful explanation, this package would probably never have been born. Merci !
+ \item Enrico Gregorio, Phelype Oleinik and Joseph Wright (in alphabetical order). They made valuable suggestions in the early development of this package and even edited some of the code themselves.
+ \item Jonathan P. Spratte, without whose help the German support would probably take much longer to complete.
+\end{itemize}
+
+
+% \clearpage
+
\section{Known issues}
\begin{itemize}
- \item \crefthepackage{} currently works for French, Italian, Portuguese (European and Brazilian) and Spanish, certainly more would be added to this list.
- \item The current mechanism does not work for German. The author plans to adopt a more refined approach in later versions in order to support the various situations in German. Meanwhile, you may consider the package \textsf{zref-clever}, which has a much more powerful and sophisticated interface for configuring cross referencing.
+ \item \crefthepackage{} currently works for French, German, Italian, Portuguese (European and Brazilian) and Spanish --- certainly more languages would be added to this list in the future.
+ \item For now, you cannot specify the masculine/masculine/... of words. This means, for instance, that you cannot make the suffix adjective automatically adopted to the word when using \lstinline|\namecref| --- as an example, if you wish to say \textquote{la proposition suivante} (in French), you would have to write the feminine adjective manually. The situation should be improved with the introduction of a new key-value configuration system, which is currently on the todo-list.
+ Meanwhile, you may consider the package \textsf{zref-clever}, which has a much more powerful and sophisticated interface for configuring cross referencing.
\item The names of theorem-like environments are not provided here, you need to define them by yourself. However, users are encouraged to use the \ProjLib{} toolkit (more specifically, the internal package \textsf{create-theorem}), which already handles everything for you.
\end{itemize}
diff --git a/macros/latex/contrib/crefthe/crefthe.sty b/macros/latex/contrib/crefthe/crefthe.sty
index a561c4e1de..e1ce211bb6 100644
--- a/macros/latex/contrib/crefthe/crefthe.sty
+++ b/macros/latex/contrib/crefthe/crefthe.sty
@@ -1,5 +1,5 @@
%%
-%% Copyright (C) 2021-2022 by Jinwen XU
+%% Copyright (C) 2021-2023 by Jinwen XU
%% ------------------------------------
%%
%% This file may be distributed and/or modified under the conditions of
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{crefthe}
- {2022/09/24} {}
+ {2023/07/22} {}
{Cross referencing with proper definite articles}
\keys_define:nn { crefthe }
@@ -87,34 +87,104 @@
\__crefthe_cref_general:NNNnnN \c_false_bool #1 #2 { #3 } { #4 } \crefthe_nameCrefs_original:w
}
+\keys_define:nn { crefthe-setting }
+ {
+ , variant .tl_set:N = \l__crefthe_variant_tl
+
+ % , nom .meta:n = { variant = Nominativ }
+ % , nom. .meta:n = { variant = Nominativ }
+ % , Nom .meta:n = { variant = Nominativ }
+ % , Nom. .meta:n = { variant = Nominativ }
+ % , gen .meta:n = { variant = Genitiv }
+ % , gen. .meta:n = { variant = Genitiv }
+ % , Gen .meta:n = { variant = Genitiv }
+ % , Gen. .meta:n = { variant = Genitiv }
+ % , dat .meta:n = { variant = Dativ }
+ % , dat. .meta:n = { variant = Dativ }
+ % , Dat .meta:n = { variant = Dativ }
+ % , Dat. .meta:n = { variant = Dativ }
+ % , akk .meta:n = { variant = Akkusativ }
+ % , akk. .meta:n = { variant = Akkusativ }
+ % , Akk .meta:n = { variant = Akkusativ }
+ % , Akk. .meta:n = { variant = Akkusativ }
+
+ % , unknown .code:n = {
+ % \bool_gset_true:N \g__crefthe_has_prep_bool
+ % \tl_set:No \l__crefthe_prep_tl { \l_keys_key_tl }
+ % }
+
+ , unknown .code:n = {}
+ }
+
+\bool_new:N \l__crefthe_variant_matched_bool
\cs_new_protected:Nn \__crefthe_cref_general:NNNnnN
+ % #1 = star or not
+ % #2 = -
+ % #3 = +
+ % #4 = key-value
+ % #5 = label
+ % #6 = original command, such as \crefthe_cref_original:w or \crefthe_Cref_original:w
{
- \tl_if_blank:eTF { #4 }
- {
- \bool_gset_false:N \g__crefthe_has_prep_bool
- }
+ \tl_set:Nn \l__crefthe_variant_tl {}
+ \bool_gset_false:N \g__crefthe_has_prep_bool
+ \tl_set:Nn \l__crefthe_prep_tl {}
+
+ \keys_set:nn { crefthe-setting } { #4 }
+
+ % This should actually be part of the keys parsing
+ \clist_map_inline:nn { #4 }
{
- \bool_gset_true:N \g__crefthe_has_prep_bool
+ \bool_set_false:N \l__crefthe_variant_matched_bool
+ \str_if_in:nnF { ##1 } { = }
+ {% for keys without values
+ \str_if_eq:VnT \languagename { ngerman }
+ {
+ \str_case:nnT { ##1 }
+ {
+ { nom } { \tl_set:Nn \l__crefthe_variant_tl { Nominativ } }
+ { nom. } { \tl_set:Nn \l__crefthe_variant_tl { Nominativ } }
+ { Nom } { \tl_set:Nn \l__crefthe_variant_tl { Nominativ } }
+ { Nom. } { \tl_set:Nn \l__crefthe_variant_tl { Nominativ } }
+ { gen } { \tl_set:Nn \l__crefthe_variant_tl { Genitiv } }
+ { gen. } { \tl_set:Nn \l__crefthe_variant_tl { Genitiv } }
+ { Gen } { \tl_set:Nn \l__crefthe_variant_tl { Genitiv } }
+ { Gen. } { \tl_set:Nn \l__crefthe_variant_tl { Genitiv } }
+ { dat } { \tl_set:Nn \l__crefthe_variant_tl { Dativ } }
+ { dat. } { \tl_set:Nn \l__crefthe_variant_tl { Dativ } }
+ { Dat } { \tl_set:Nn \l__crefthe_variant_tl { Dativ } }
+ { Dat. } { \tl_set:Nn \l__crefthe_variant_tl { Dativ } }
+ { akk } { \tl_set:Nn \l__crefthe_variant_tl { Akkusativ } }
+ { akk. } { \tl_set:Nn \l__crefthe_variant_tl { Akkusativ } }
+ { Akk } { \tl_set:Nn \l__crefthe_variant_tl { Akkusativ } }
+ { Akk. } { \tl_set:Nn \l__crefthe_variant_tl { Akkusativ } }
+ } { \bool_set_true:N \l__crefthe_variant_matched_bool }
+ }
+ \bool_if:NF \l__crefthe_variant_matched_bool
+ {
+ \tl_set:Nn \l__crefthe_prep_tl { ##1 }
+ }
+ }
}
+
\bool_if:NTF #2
- { \tl_set:Nn \l__crefthe_prep_once_tl { #4 } }
+ { \tl_set:No \l__crefthe_prep_once_tl { \l__crefthe_prep_tl } }
{
\bool_if:NTF #3
- { \tl_set:Nn \l__crefthe_prep_each_tl { #4 } }
+ { \tl_set:No \l__crefthe_prep_each_tl { \l__crefthe_prep_tl } }
{
% \str_set:Nx fully expands \__crefthe_prep_mode: into a string,
% then \str_case:Vn compares the value of the resulting string:
\str_set:Nx \l__crefthe_tmpa_str { \__crefthe_prep_mode: }
\str_case:Vn \l__crefthe_tmpa_str
{
- { - } { \tl_set:Nn \l__crefthe_prep_once_tl { #4 } }
- { + } { \tl_set:Nn \l__crefthe_prep_each_tl { #4 } }
+ { - } { \tl_set:No \l__crefthe_prep_once_tl { \l__crefthe_prep_tl } }
+ { + } { \tl_set:No \l__crefthe_prep_each_tl { \l__crefthe_prep_tl } }
}
}
}
\group_begin:
\bool_if:NTF #1
- { #6 * { #5 } } % here #6 is \crefthe_cref_original:w or \crefthe_Cref_original:w
+ { #6 * { #5 } }
{ #6 { #5 } }
\group_end:
\tl_gclear:N \l__crefthe_prep_each_tl
@@ -123,14 +193,15 @@
% \__crefthe_prep_mode: defines the default mode for supported languages
\cs_new:Nn \__crefthe_prep_mode:
{
- \str_case:Vn \languagename
+ \str_case:VnF \languagename
{
{french} { + }
+ {ngerman} { - }
{italian} { + }
{spanish} { - }
{portuguese} { + }
{brazilian} { + }
- }
+ } { + }
}
\NewDocumentCommand \crefthename { m O{} m O{} m }
@@ -143,13 +214,13 @@
\__crefthe_name_general:nnnnnn { #1 } { #2 } { #3 } { #4 } { #5 } { C }
}
-\cs_new:Npn \crefthe_width_of_space_dim { \tex_fontdimen:D 2 \tex_font:D~plus -\tex_fontdimen:D 3 \tex_font:D~minus -\tex_fontdimen:D 4 \tex_font:D }
+\cs_new:Npn \crefthe_retrieve_space: { \skip_horizontal:n { -\tex_fontdimen:D 2 \tex_font:D~plus -\tex_fontdimen:D 3 \tex_font:D~minus -\tex_fontdimen:D 4 \tex_font:D } }
\cs_new:Nn \crefthe_empty_adjust:n
{
\tl_if_blank:nTF { #1 }
{
- \skip_horizontal:n { -\crefthe_width_of_space_dim }
+ \crefthe_retrieve_space:
}
{
#1
@@ -157,8 +228,13 @@
}
\cs_new_protected:Nn \__crefthe_name_general:nnnnnn
+ % #1 = environment name
+ % #2 = singular definite article
+ % #3 = singular name
+ % #4 = plural definite article
+ % #5 = plural name
+ % #6 = c or C
{
- % #6 is c or C
\__crefthe_name_general_do:nnnnnn
{ #1 }
{ \crefthemark { \crefthe_empty_adjust:n { #2 } } }
@@ -183,6 +259,130 @@
}
}
+\NewDocumentCommand \crefthevariantname { m m }
+ {
+ \crefthe_parse_variant:n { #2 }
+ \crefthe_pass_variant_to:n { \crefthename { #1 } }
+ }
+
+\NewDocumentCommand \Crefthevariantname { m m }
+ {
+ \crefthe_parse_variant:n { #2 }
+ \crefthe_pass_variant_to:n { \Crefthename { #1 } }
+ }
+
+\tl_new:N \l__crefthe_variant_noun_singular_tl
+\tl_new:N \l__crefthe_variant_noun_plural_tl
+\tl_new:N \l__crefthe_variant_article_singular_tl
+\tl_new:N \l__crefthe_variant_article_plural_tl
+\tl_new:N \l__crefthe_variant_default_noun_singular_tl
+\tl_new:N \l__crefthe_variant_default_noun_plural_tl
+\tl_new:N \l__crefthe_variant_default_article_singular_tl
+\tl_new:N \l__crefthe_variant_default_article_plural_tl
+\bool_new:N \l__crefthe_variant_default_bool
+\cs_new_protected:Npn \crefthe_parse_variant:n #1
+ {
+ \tl_clear:N \l__crefthe_variant_noun_singular_tl
+ \tl_clear:N \l__crefthe_variant_noun_plural_tl
+ \tl_clear:N \l__crefthe_variant_article_singular_tl
+ \tl_clear:N \l__crefthe_variant_article_plural_tl
+ \tl_clear:N \l__crefthe_variant_default_noun_singular_tl
+ \tl_clear:N \l__crefthe_variant_default_noun_plural_tl
+ \tl_clear:N \l__crefthe_variant_default_article_singular_tl
+ \tl_clear:N \l__crefthe_variant_default_article_plural_tl
+ \bool_set_false:N \l__crefthe_variant_default_bool
+ \keyval_parse:NNn
+ \__crefthe_parse_variant_default:n
+ \__crefthe_parse_variant_value:nn
+ { #1 }
+ }
+\tl_new:N \l__crefthe_parsed_tl
+\NewDocumentCommand \__crefthe_variant_parser:w { O{} m O{} m }
+ {
+ \tl_if_blank:nTF { #1 }
+ {
+ \tl_set:Nn \l__crefthe_parsed_tl { { \crefthe_retrieve_space: } { #2 } { \crefthe_retrieve_space: } { #4 } }
+ }
+ {
+ \tl_set:Nn \l__crefthe_parsed_tl { { #1 } { #2 } { #3 } { #4 } }
+ }
+ \use_none_delimit_by_q_stop:w
+ }
+\cs_new_protected:Npn \__crefthe_parse_variant_default:n #1
+ {
+ \bool_set_true:N \l__crefthe_variant_default_bool
+ \__crefthe_variant_parser:w #1 \q_stop
+ \tl_set:Nx \l__crefthe_variant_default_article_singular_tl
+ { \tl_item:Nn \l__crefthe_parsed_tl { 1 } }
+ \tl_set:Nx \l__crefthe_variant_default_noun_singular_tl
+ { \tl_item:Nn \l__crefthe_parsed_tl { 2 } }
+ \tl_set:Nx \l__crefthe_variant_default_article_plural_tl
+ { \tl_item:Nn \l__crefthe_parsed_tl { 3 } }
+ \tl_set:Nx \l__crefthe_variant_default_noun_plural_tl
+ { \tl_item:Nn \l__crefthe_parsed_tl { 4 } }
+ }
+\cs_new_protected:Npn \__crefthe_parse_variant_value:nn #1#2
+ {
+ \__crefthe_variant_parser:w #2 \q_stop
+ \tl_put_right:Nx \l__crefthe_variant_article_singular_tl
+ { { \tl_to_str:n { #1 } } { \tl_item:Nn \l__crefthe_parsed_tl { 1 } } }
+ \tl_put_right:Nx \l__crefthe_variant_noun_singular_tl
+ { { \tl_to_str:n { #1 } } { \tl_item:Nn \l__crefthe_parsed_tl { 2 } } }
+ \tl_put_right:Nx \l__crefthe_variant_article_plural_tl
+ { { \tl_to_str:n { #1 } } { \tl_item:Nn \l__crefthe_parsed_tl { 3 } } }
+ \tl_put_right:Nx \l__crefthe_variant_noun_plural_tl
+ { { \tl_to_str:n { #1 } } { \tl_item:Nn \l__crefthe_parsed_tl { 4 } } }
+ }
+
+\cs_new_protected:Npn \crefthe_pass_variant_to:n #1
+ {
+ \use:e
+ {
+ \exp_not:n { #1 }
+ \bool_if:NTF \l__crefthe_variant_default_bool
+ {
+ [
+ \exp_not:n { \str_case:NnF \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_article_singular_tl }
+ { \exp_not:o \l__crefthe_variant_default_article_singular_tl }
+ ]
+ {
+ \exp_not:n { \str_case:NnF \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_noun_singular_tl }
+ { \exp_not:o \l__crefthe_variant_default_noun_singular_tl }
+ }
+ [
+ \exp_not:n { \str_case:NnF \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_article_plural_tl }
+ { \exp_not:o \l__crefthe_variant_default_article_plural_tl }
+ ]
+ {
+ \exp_not:n { \str_case:NnF \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_noun_plural_tl }
+ { \exp_not:o \l__crefthe_variant_default_noun_plural_tl }
+ }
+ }
+ {
+ [
+ \exp_not:n { \str_case:Nn \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_article_singular_tl }
+ ]
+ {
+ \exp_not:n { \str_case:Nn \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_noun_singular_tl }
+ }
+ [
+ \exp_not:n { \str_case:Nn \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_article_plural_tl }
+ ]
+ {
+ \exp_not:n { \str_case:Nn \l__crefthe_variant_tl }
+ { \exp_not:o \l__crefthe_variant_noun_plural_tl }
+ }
+ }
+ }
+ }
+
\seq_new:N \g__crefthe_already_patched_seq
\cs_new_protected:Nn \crefthe_patch_format:nnnn
@@ -209,19 +409,18 @@
{ format-patch-failed }
{ Failed~to~patch~the~format~"\iow_char:N \\#1"! }
-\cs_generate_variant:Nn \text_lowercase:n { V }
\NewDocumentCommand \crefthemark { m }
{
\crefthe_contraction:Ve \l__crefthe_prep_each_tl
{ \crefthe_contraction:Vn \l__crefthe_prep_once_tl { #1 } }
\tl_gclear:N \l__crefthe_prep_once_tl
\tl_gset:Nx \l__crefthe_prep_each_tl
- { \text_lowercase:V \l__crefthe_prep_each_tl }
+ { \text_lowercase:n { \l__crefthe_prep_each_tl } }
\str_if_eq:eeF { \str_tail:n { #1 } } { ' } { ~ }
\bool_gset_false:N \g__crefthe_uppercase_bool
}
-\prg_generate_conditional_variant:Nnn \str_case_e:nn { nv } { T, F, TF }
+\prg_generate_conditional_variant:Nnn \str_case_e:nn { ev } { T, F, TF }
\cs_new:Nn \crefthe_contraction:nn
{
\exp_args:Ne \__crefthe_contraction:nnn
@@ -239,7 +438,7 @@
{
\exp_args:Ne \__crefthe_conditional_uppercase:n
{
- \str_case_e:nvF { #2~#1 }
+ \str_case_e:evF { #2~#1 }
{ c_crefthe_contraction_rule_ \languagename _tl }
{ #2~#1 }
}
@@ -249,6 +448,7 @@
}
\cs_new:Nn \__crefthe_conditional_uppercase:n
{
+ % \bool_set_false:N \l_text_titlecase_check_letter_bool
\bool_if:NTF \g__crefthe_uppercase_bool
{ \text_titlecase_first:n }
{ \use:n }
@@ -293,6 +493,25 @@
{ De~le } { Du }
{ De~les } { Des }
}
+\tl_const:Nn \c_crefthe_contraction_rule_ngerman_tl
+ {
+ { an~dem } { am }
+ { an~das } { ans }
+ { bei~dem } { beim }
+ { in~dem } { im }
+ { in~das } { ins }
+ { von~dem } { vom }
+ { zu~dem } { zum }
+ { zu~der } { zur }
+ { An~dem } { Am }
+ { An~das } { Ans }
+ { Bei~dem } { Beim }
+ { In~dem } { Im }
+ { In~das } { Ins }
+ { Von~dem } { Vom }
+ { Zu~dem } { Zum }
+ { Zu~der } { Zur }
+ }
\tl_const:Nn \c_crefthe_contraction_rule_italian_tl
{
{ a~il } { al }
diff --git a/macros/latex/contrib/esami/README b/macros/latex/contrib/esami/README
index c81c86eb43..22f183f8d8 100644
--- a/macros/latex/contrib/esami/README
+++ b/macros/latex/contrib/esami/README
@@ -1,6 +1,6 @@
-The esami package v. 2.7
+The esami package v. 2.8
For generation of texts and solutions of exams in LaTeX
-2022/01/11
+2023/07/21
File: README
Author: Grazia Messineo and Salvatore Vassallo
@@ -14,7 +14,7 @@ varying in random order, with closed or open answer, matching, problems, and so
of each group are randomly scrambled across the exam and variants of each exercise are chosen
randomly from a file which contains them all and.
-Copyright: (C) 2008--2022 Grazia Messineo & Salvatore Vassallo
+Copyright: (C) 2008--2023 Grazia Messineo & Salvatore Vassallo
Licence: LPPL
FILES IN DISTRIBUTION
@@ -23,16 +23,16 @@ FILES IN DISTRIBUTION
BASE DISTRIBUTION:
VERSION
- README This file.
- esami.sty The main file
+ README This file.
+ esami.sty The main file
esami-xyz.cfg A template of configuration file
- es-*.lng Localisation files
+ es-*.lng Localisation files
DOCUMENTATION:
esami-doc-en.pdf User manual in English
- esami-doc-it.pdf User manual in Italian
- esami-doc-*.tex Sources for documentation
+ esami-doc-it.pdf User manual in Italian
+ esami-doc-*.tex Sources for documentation
esami.bib Source for references
EXAMPLES:
@@ -57,23 +57,25 @@ FILES IN DISTRIBUTION
Exercises with open answers
problem1.tex
- problem2.tex
+ problem2.tex
problem2-tabella.tex
problem3-matching.tex
problem4-fillin.tex
Examples of an exam (and solutions) built using above exercises using pdflatex, xelatex and lualatex
- testA.pdf
- testA.tex
+ testA-luatex.pdf
testA-luatex-sol.pdf
- testA-luatex.pdf
- testA-sol.pdf
- testA-sol.tex
- testA-xetex-sol.pdf
+ testA-luatex-sol.tex
+ testA-luatex.tex
+ testA-pdflatex.pdf
+ testA-pdflatex-sol.pdf
+ testA-pdflatex-sol.tex
+ testA-pdflatex.tex
testA-xetex.pdf
- testA.pdf
- testA.tex
- testA-sol.loe
+ testA-xetex-sol.pdf
+ testA-xetex-sol.tex
+ testA-xetex.tex
+
BASIC INSTALLATION
====================
diff --git a/macros/latex/contrib/esami/VERSION b/macros/latex/contrib/esami/VERSION
index d312737d7e..64fbb8d2f3 100644
--- a/macros/latex/contrib/esami/VERSION
+++ b/macros/latex/contrib/esami/VERSION
@@ -1 +1 @@
-VERSION 2.7 DATE=January 11, 2022
+VERSION 2.8 DATE=July 17, 2023
diff --git a/macros/latex/contrib/esami/doc/esami-doc-en.pdf b/macros/latex/contrib/esami/doc/esami-doc-en.pdf
index d7dddc90ab..d2d96db33a 100644
--- a/macros/latex/contrib/esami/doc/esami-doc-en.pdf
+++ b/macros/latex/contrib/esami/doc/esami-doc-en.pdf
Binary files differ
diff --git a/macros/latex/contrib/esami/doc/esami-doc-en.tex b/macros/latex/contrib/esami/doc/esami-doc-en.tex
index 05788c147f..44da55a481 100644
--- a/macros/latex/contrib/esami/doc/esami-doc-en.tex
+++ b/macros/latex/contrib/esami/doc/esami-doc-en.tex
@@ -80,7 +80,7 @@
\changes{Version 2.5}{2018/05/06}{Corrected a misprint in the code. Improved the selection of random exercises.}
\changes{Version 2.6}{2021/10/11}{Improved the spacing in \cmd{\FPsignpol}. Corrected the code to avoid some spourios spaces. }
\changes{Version 2.7}{2022/01/11}{Improved the spacing in \cmd{\sempli} and \cmd{\FPsignpol}. Corrected a misprint in the code.}
-
+\changes{Versione 2.8}{2023/07/21}{Documentation modified to solve a problem with the Spanish Language.}
%\IndexPrologue{\section*{Index} Numbers written in italic refer to the page where the item is described; underlined numebers refer to the line of code in which the item is described; other references are to the line of code where the item is used.}
\GlossaryPrologue{\section*{Changelog}}
\def\MacroFont{\fontencoding\encodingdefault
@@ -89,8 +89,8 @@
\fontshape\updefault
\footnotesize}
\GetFileInfo{esami.sty}
-\def\fileversion{versione 2.7}
-\def\filedate{2022/01/11}
+\def\fileversion{versione 2.8}
+\def\filedate{2023/07/21}
\title{Package esami\thanks{This document
@@ -770,6 +770,8 @@ The elements of the list must be comma separated.
The package has localisations in Italian (the default), UK English, US English, French, Spanish (thanks to Maria Hernandez Cifre), German (thanks to Kerstin von Kirschhausen), Serbian with latin alphabet (thanks to Dusko Latas), Greek (thanks to Sotiris Hasapis). Using greek language (and maybe other non latin localisations) it's necessary to load the packages \pkgname{fontenc}, \pkgname{inputenc} e \pkgname{babel} before the package \pkgname{esami}\footnote{The option \optname{greek} requires at this moment the option \optname{iso-8859-7} for the package \pkgname{inputenc}}. In this file one can also load some language dependent packages, such as \pkgname{numprint}, \pkgname{geometry}, etc. and there are the definitions of the commands \cmd{\shortdate} and \cmd{\longdate} to write the date.
\textcolor[rgb]{1.00,0.00,0.00}{\textbf{N.B.:} There is an known incompatibility between the package \pkgname{babel} for the French language (which is not necessary for the localization) and the package \pkgname{fp}: to manage this incompatibility, one can use the macro \cmd{\shorthandoff\{:\}} immediately after \cmd{\begin\{document\}}.}
+
+The \pkgname{babel} package for the Spanish language makes a lot of characters active and this causes many incompatibilities (for instance in the \pkgname{iffthen} package it is not possible to make number confrontations, sidely used in the \pkgname{esami}) package. To solve this problem, you can use the \optname{spanish} option when loading the article class, load the \pkgname{babel} package with the option \optname{spanish} and at least one among the options \optname{es-minimal, es-sloppy} (for a complete list of the options and the possible incompatibilities, see the doc of the \pkgname{babel-spanish} package\cite{babel-spanish}.
\subsection{The configuration file}\label{sec:cfg}
The configuration file \texttt{esami-xyz.cfg} contains various definitions, i.e. the header (command \cmd{\testa}), the footer, the format for the solution file, the page style, the instructions for the exam.
\subsection{The \texttt{master} and \texttt{master-sol} files}
@@ -794,8 +796,9 @@ Inside this file you should use only one command, \cmd{\def \textbackslash eserc
\item[Version 2.3 (2017/09/18)] Corrected a misprint in the code.
\item[Version 2.4 (2018/02/10)] Documentation corrected.
\item[Version 2.5 (2018/05/06)] Corrected a misprint in the code. Improved the selection of random exercises.
- \item[Version 2.6 (2021/10/11)] Improved the spacing in \cmd{\FPsignpol}. Corrected the code to avoid some spourios spaces.
+ \item[Version 2.6 (2021/10/11)] Improved the spacing in \cmd{\FPsignpol}. Corrected the code to avoid some spourios spaces.
\item[Version 2.7 (2021/10/11)] Improved the spacing in \cmd{\sempli} and \cmd{\FPsignpol}. Corrected a misprint in the code
+\item[Versione 2.8 (2023/07/21)] Documentation modified to solve a problem with the spanish language.
\end{description}
\bibliographystyle{plain}
diff --git a/macros/latex/contrib/esami/doc/esami-doc-it.pdf b/macros/latex/contrib/esami/doc/esami-doc-it.pdf
index b706c809d3..c4c9c5f20e 100644
--- a/macros/latex/contrib/esami/doc/esami-doc-it.pdf
+++ b/macros/latex/contrib/esami/doc/esami-doc-it.pdf
Binary files differ
diff --git a/macros/latex/contrib/esami/doc/esami-doc-it.tex b/macros/latex/contrib/esami/doc/esami-doc-it.tex
index 3ac7495edb..0a2b92414f 100644
--- a/macros/latex/contrib/esami/doc/esami-doc-it.tex
+++ b/macros/latex/contrib/esami/doc/esami-doc-it.tex
@@ -74,11 +74,11 @@
\changes{Versione 2.1}{2016/04/11}{Modificato \texttt{es-german.lng} e \texttt{es-spanish.lng} per errore nell'input delle soluzioni. Introdotto il comando \texttt{randestrai}. Introdotto il comando \texttt{FPsignpol}. Introdotto controllo punteggio totale degli esercizi. Rimossa l'incompatibilità tra il comando \texttt{fillin} e i comandi \texttt{sempli} e \texttt{semplix}.}
\changes{Versione 2.2}{2017/07/01}{Introdotta la possibilità di avere due semi diversi per la scelta degli esercizi (\cmd{\semeex}) e per le permutazioni e scelta dei parametri (\cmd{\seme}): di default sono uguali. Leggermente modificato il comando \cmd{\estrai} così da poter essere usato per estrarre parametri numerici da una lista. Integrata la documentazione.}
\changes{Versione 2.3}{2017/09/18}{Corretto un errore di battitura nel codice.}
-\changes{Versione 2.4}{2018/02/10}{Corretta la documentazione .}
+\changes{Versione 2.4}{2018/02/10}{Corretta la documentazione.}
\changes{Versione 2.5}{2018/05/06}{Corretto un errore di battitura nel codice. Migliorata la scelta aleatoria degli esercizi.}
\changes{Versione 2.6}{2021/10/11}{Migliorata la spaziatura in \cmd{\FPsignpol}. Corretto il codice per eliminare alcuni spazi spuri.}
\changes{Versione 2.7}{2022/01/11}{Migliorata la spaziatura in \cmd{\sempli} e \cmd{\FPsignpol}. Corretto un errore nel codice}
-
+\changes{Versione 2.8}{2023/07/21}{Modificata la documentazione per risolvere un problema con la lingua spagnola.}
%\IndexPrologue{\section*{Indice} I numeri scritti in italico rimandano alla pagina dove è descritto l'item; i numeri sottolineati rimandano alla riga di codice in cui l'item è descritto; le altre referenze sono alla riga di codice dove l'item è usato.}
\GlossaryPrologue{\section*{Changelog}}
\def\MacroFont{\fontencoding\encodingdefault
@@ -87,8 +87,8 @@
\fontshape\updefault
\footnotesize}
\GetFileInfo{esami.sty}
-\def\fileversion{versione 2.7}
-\def\filedate{2022/01/11}
+\def\fileversion{versione 2.8}
+\def\filedate{2023/07/17}
\title{Il pacchetto esami\thanks{Questo documento
@@ -771,7 +771,9 @@ Gli elementi della lista devono essere separati da virgole.
\section{I file ausiliari}
\subsection{Il file di localizzazione}\label{sec:lng}
Al momento sono presenti le localizzazioni in italiano (default), inglese (UK), inglese (US), francese, spagnolo (contributo di Maria Hernandez Cifre), tedesco (contributo di Kerstin von Kirschhausen), serbo con alfabeto latino (contributo di Dusko Latas), greco (contributo di Sotiris Hasapis). Usando la lingua greca (e forse altre localizzazioni in caratteri non latini) è necessario caricare i pacchetti \pkgname{fontenc}, \pkgname{inputenc} e \pkgname{babel} prima del caricamento del pacchetto \pkgname{esami}\footnote{L'opzione \optname{greek} prevede al momento l'utilizzo dell'opzione \optname{iso-8859-7} per il pacchetto \pkgname{inputenc}}. In questo file possono venire caricati anche alcuni pacchetti dipendenti dalla localizzazione, quali \pkgname{numprint}, \pkgname{geometry}, ecc. e vengono definiti i comandi \cmd{\shortdate} e \cmd{\longdate} per esprimere la data.
-\textcolor[rgb]{1.00,0.00,0.00}{\textbf{N.B.:} È nota un'incompatibilità tra il pacchetto \pkgname{babel} per la lingua francese (che non è comunque necessario per la localizzazione) e il pacchetto \pkgname{fp}: per ovviare a tale incompatibilità è sufficiente usare il comando \cmd{\shorthandoff\{:\}} subito dopo \cmd{\begin\{document\}}.}
+
+\textcolor[rgb]{1.00,0.00,0.00}{\textbf{N.B.:} È nota un'incompatibilità tra il pacchetto \pkgname{babel} per la lingua francese (che non è comunque necessario per la localizzazione) e il pacchetto \pkgname{fp}: per ovviare a tale incompatibilità è sufficiente usare il comando \cmd{\shorthandoff\{:\}} subito dopo \cmd{\begin\{document\}}.\\[2mm]
+Il pacchetto \pkgname{babel} per la lingua spagnola rende attivi molti caratteri e questo provoca notevoli incompatibilità (ad esempio nel pacchetto \pkgname{iffthen} non è possibile fare il confronto tra numeri, ampiamente utilizzato nel pacchetto \pkgname{esami}). Per ovviare a tale problema è sufficiente non usare l'opzione \optname{spanish} quando si carica la classe article, caricare il pacchetto \pkgname{babel} con l'opzione \optname{spanish} e almeno con le opzioni \optname{es-minimal, es-sloppy} (per un elenco completo delle opzioni e dei problemi che possono insorgere si veda la documentazione del pacchetto \pkgname{babel-spanish}\cite{babel-spanish}.}
\subsection{Il file di configurazione}\label{sec:cfg}
Il file di configurazione \texttt{esami-xyz.cfg} contiene varie definizioni tra cui la testata (comando \cmd{\testa}), il piè di pagina, la formattazione della stringa delle soluzioni, lo stile di pagina, le istruzioni per l'esame.
\subsection{I file \texttt{master} e \texttt{master-sol}}
@@ -793,11 +795,11 @@ Al suo interno si deve usare un solo comando, \cmd{\def \textbackslash esercizio
\item[Versione 2.1 (2016/07/25)] Modificato \texttt{es-german.lng} e \texttt{es-spanish.lng} per errore nell'input delle soluzioni. Introdotto il comando \texttt{randestrai}. Introdotto il comando \texttt{FPsignpol}. Introdotto controllo punteggio totale degli esercizi. Risolta l'incompatibilità con \pkgname{babel} per la lingua spagnola. Rimossa l'incompatibilità tra il comando \cmd{\fillin} e i comandi \cmd{\sempli} e \cmd{\semplix}.
\item[Versione 2.2 (2017/07/01)] Introdotta la possibilità di avere due semi diversi per la scelta degli esercizi (\cmd{\semeex}) e per le permutazioni e scelta dei parametri (\cmd{\seme}): di default sono uguali. Leggermente modificato il comando \cmd{\estrai} così da poter essere usato per estrarre parametri numerici da una lista. Integrata la documentazione.
\item[Versione 2.3 (2017/09/18)] Corretto un errore di battitura nel codice.
- \item[Versione 2.4 (2018/02/10)] Corretta la documentazione .
+ \item[Versione 2.4 (2018/02/10)] Corretta la documentazione.
\item[Versione 2.5 (2018/05/06)] Corretto un errore di battitura nel codice. Migliorata la scelta aleatoria degli esercizi.
\item[Versione 2.6 (2021/10/11)] Migliorata la spaziatura in \cmd{\FPsignpol}. Corretto il codice per eliminare alcuni spazi spuri.
\item[Versione 2.7 (2022/01/11)] Migliorata la spaziatura in \cmd{\sempli} e \cmd{\FPsignpol}. Corretto un errore nel codice
-
+ \item[Versione 2.8 (2023/07/21)] Modificata la documentazione per risolvere un problema con la lingua spagnola.
\end{description}
diff --git a/macros/latex/contrib/esami/doc/esami.bib b/macros/latex/contrib/esami/doc/esami.bib
index 5ca60ecc07..42daa3133b 100644
--- a/macros/latex/contrib/esami/doc/esami.bib
+++ b/macros/latex/contrib/esami/doc/esami.bib
@@ -1,5 +1,12 @@
% Encoding: UTF-8
+@MISC{babel-spanish,
+ author = {Javier Bezos},
+ title = {Estilo spanish para el sistema babel.},
+ howpublished = {\url{CTAN:/macros/latex/contrib/babel-contrib/spanish}},
+ year = {2021}
+}
+
@MISC{examdesign,
author = {Jason Alexander},
title = {The package \pkgname{examdesign}},
diff --git a/macros/latex/contrib/esami/doc/examples/problem4-fillin.tex b/macros/latex/contrib/esami/doc/examples/problem4-fillin.tex
index 6ddbeb1f86..b958cd821a 100644
--- a/macros/latex/contrib/esami/doc/examples/problem4-fillin.tex
+++ b/macros/latex/contrib/esami/doc/examples/problem4-fillin.tex
@@ -22,4 +22,4 @@ If $A=\left\{a,b,c,d,\a,\c,\k\right\}$ and $B=\left\{c,a,\c,1,\b\right\}$ then \
$ A\cap B=$\fillin[u]{4cm}{$\left\{a,c,\c\right\}$} \\
$A\setminus B$=\fillin{60pt}{$\left\{b,d,\k\right\}$}
\end{problem}
- } \ No newline at end of file
+ }
diff --git a/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie1.parametri.tex b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie1.parametri.tex
new file mode 100644
index 0000000000..107265dbc4
--- /dev/null
+++ b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie1.parametri.tex
@@ -0,0 +1,4 @@
+\FPeval{a}{round(12:0)}
+\FPeval{b}{round(13:0)}
+\FPeval{c}{round(3:0)}
+\FPeval{k}{round(4:0)}
diff --git a/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie2.parametri.tex b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie2.parametri.tex
new file mode 100644
index 0000000000..e736caa6a0
--- /dev/null
+++ b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie2.parametri.tex
@@ -0,0 +1,4 @@
+\FPeval{a}{round(14:0)}
+\FPeval{b}{round(15:0)}
+\FPeval{c}{round(2:0)}
+\FPeval{k}{round(5:0)}
diff --git a/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie3.parametri.tex b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie3.parametri.tex
new file mode 100644
index 0000000000..98ef510098
--- /dev/null
+++ b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie3.parametri.tex
@@ -0,0 +1,4 @@
+\FPeval{a}{round(12:0)}
+\FPeval{b}{round(15:0)}
+\FPeval{c}{round(2:0)}
+\FPeval{k}{round(4:0)}
diff --git a/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie4.parametri.tex b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie4.parametri.tex
new file mode 100644
index 0000000000..ab468d8a75
--- /dev/null
+++ b/macros/latex/contrib/esami/doc/examples/qftest5-fillinqiie4.parametri.tex
@@ -0,0 +1,4 @@
+\FPeval{a}{round(13:0)}
+\FPeval{b}{round(14:0)}
+\FPeval{c}{round(2:0)}
+\FPeval{k}{round(4:0)}
diff --git a/macros/latex/contrib/esami/doc/examples/test5-fillin.tex b/macros/latex/contrib/esami/doc/examples/test5-fillin.tex
index 14fcc410e4..adb06c3c68 100644
--- a/macros/latex/contrib/esami/doc/examples/test5-fillin.tex
+++ b/macros/latex/contrib/esami/doc/examples/test5-fillin.tex
@@ -23,4 +23,4 @@ $$ \b:\k= \fillin[b]{3cm}{ \FPsv[2]{b/k}}$$
Evaluate with two exact decimals
-$$ \a:\c= \fillin[b]{3cm}{ \FPsv[2]{a/c}}$$ } \ No newline at end of file
+$$ \a:\c= \fillin[b]{3cm}{ \FPsv[2]{a/c}}$$ }
diff --git a/macros/latex/contrib/esami/doc/examples/testA-pdflatex-sol.pdf b/macros/latex/contrib/esami/doc/examples/testA-pdflatex-sol.pdf
new file mode 100644
index 0000000000..de49c0d47d
--- /dev/null
+++ b/macros/latex/contrib/esami/doc/examples/testA-pdflatex-sol.pdf
Binary files differ
diff --git a/macros/latex/contrib/esami/doc/examples/testA-sol.tex b/macros/latex/contrib/esami/doc/examples/testA-pdflatex-sol.tex
index 5302238910..0bffb54fdc 100644
--- a/macros/latex/contrib/esami/doc/examples/testA-sol.tex
+++ b/macros/latex/contrib/esami/doc/examples/testA-pdflatex-sol.tex
@@ -1,21 +1,6 @@
\documentclass[a4paper,italian]{article}
-\usepackage{ifxetex}%%NUOVO
-\usepackage{ifluatex}%%%NUOVO
-
-%\usepackage[shuffle,xyz,pointsonright,nosolutions,noquizsolutions,twocolumns]{esami}%%%%% TEMA
-\ifluatex
- \usepackage{luatextra} % also loads fixltx2e, fontspec, xunicode
- \usepackage[utf8]{luainputenc}
-\else\ifxetex
- \usepackage{fixltx2e}
- \usepackage{fontspec}
- \XeTeXinputencoding utf8
-\else
- \usepackage{fixltx2e}
- \usepackage[T1]{fontenc}
- \usepackage[utf8]{inputenc}
- \usepackage{lmodern,textcomp}
-\fi\fi
+
+
\usepackage[shuffle,xyz,pointsonright,solutions,quizsolutions,twocolumns]{esami}%%%%% TEMA
% +=============================+
@@ -24,7 +9,7 @@
\def\examname{The name of the exam}
\def\numcompiti{4}%%% The number of the versions
-\date{2022/01/22}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY
+\date{2023/07/14}%%% THE DATE IN THE FORMAT YYYY/M/D or D/M/YYYY
\def\Data{\longdate}%%% or \shortdate: the date in the heading
%\def\cartella{pop}%%% The folder where are the exercises: by default the current folder%
%\def\Acapo{\newpage}
diff --git a/macros/latex/contrib/esami/doc/examples/testA-pdflatex.pdf b/macros/latex/contrib/esami/doc/examples/testA-pdflatex.pdf
new file mode 100644
index 0000000000..152d2ca5e3
--- /dev/null
+++ b/macros/latex/contrib/esami/doc/examples/testA-pdflatex.pdf
Binary files differ
diff --git a/macros/latex/contrib/esami/doc/examples/testA.tex b/macros/latex/contrib/esami/doc/examples/testA-pdflatex.tex
index 0a443d7518..e97d43f2e0 100644
--- a/macros/latex/contrib/esami/doc/examples/testA.tex
+++ b/macros/latex/contrib/esami/doc/examples/testA-pdflatex.tex
@@ -1,20 +1,5 @@
\documentclass[a4paper,italian]{article}
-\usepackage{ifxetex}
-\usepackage{ifluatex}
-
-\ifluatex
- \usepackage{luatextra} % also loads fixltx2e, fontspec, xunicode
- \usepackage[utf8]{luainputenc}
-\else\ifxetex
- \usepackage{fixltx2e}
- \usepackage{fontspec}
- \XeTeXinputencoding utf8
-\else
- \usepackage{fixltx2e}
- \usepackage[T1]{fontenc}
- \usepackage[utf8]{inputenc}
- \usepackage{lmodern,textcomp}
-\fi\fi
+
\usepackage[shuffle,xyz,pointsonright,nosolutions,noquizsolutions,twocolumns]{esami}
% +=============================+
diff --git a/macros/latex/contrib/esami/doc/examples/testA-sol.pdf b/macros/latex/contrib/esami/doc/examples/testA-sol.pdf
deleted file mode 100644
index 634f2950b0..0000000000
--- a/macros/latex/contrib/esami/doc/examples/testA-sol.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/esami/doc/examples/testA-xetex-sol.sol.tex b/macros/latex/contrib/esami/doc/examples/testA-xetex-sol.sol.tex
deleted file mode 100644
index 00cc5e002c..0000000000
--- a/macros/latex/contrib/esami/doc/examples/testA-xetex-sol.sol.tex
+++ /dev/null
@@ -1,84 +0,0 @@
-\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 1}}
-\begin{enumerate}
-\item\ref{e:1-file:test2-q:i}
-\item\ref{e:1-file:test3-q:ii}
-\item\ref{e:1-file:test2-q:ii}
-\item\ref{e:1-file:test2-q:iii}
-\item\ref{e:1-file:test3-q:i}
-\item\ref{e:1-file:test1-q:i}
-\item\ref{e:1-file:test9-q:ii}
-\item\ref{e:1-file:test14-q:i}
-\item\ref{e:1-file:test4-q:v}
-\item \makeatletter \input{qftest5-fillinqiie1.parametri}\makeatother
- \FPsv [2]{b/k}
-\item\ref{e:1-file:test11-q:i}
-\item\ref{e:1-file:test11-q:ii}
-\par\end{enumerate}\vspace{3ex}
-\begin{enumerate}
-\item\ref{e:1-file:test12-q:i}
-\item\ref{e:1-file:test13-q:ii}
-\par\end{enumerate}\vspace{3ex}
-\end{minipage}
-\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 2}}
-\begin{enumerate}
-\item\ref{e:2-file:test2-q:iii}
-\item\ref{e:2-file:test3-q:i}
-\item\ref{e:2-file:test2-q:ii}
-\item\ref{e:2-file:test3-q:iv}
-\item\ref{e:2-file:test2-q:i}
-\item\ref{e:2-file:test1-q:ii}
-\item \makeatletter \input{qftest5-fillinqiie2.parametri}\makeatother
- \FPsv [2]{a/c}
-\item\ref{e:2-file:test9-q:iii}
-\item\ref{e:2-file:test14-q:i}
-\item\ref{e:2-file:test4-q:ii}
-\item\ref{e:2-file:test11-q:i}
-\item\ref{e:2-file:test11-q:ii}
-\par\end{enumerate}\vspace{3ex}
-\begin{enumerate}
-\item\ref{e:2-file:test13-q:iii}
-\item\ref{e:2-file:test12-q:iii}
-\par\end{enumerate}\vspace{3ex}
-\end{minipage}
-\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 3}}
-\begin{enumerate}
-\item\ref{e:3-file:test2-q:iii}
-\item\ref{e:3-file:test3-q:i}
-\item\ref{e:3-file:test2-q:i}
-\item\ref{e:3-file:test3-q:ii}
-\item\ref{e:3-file:test2-q:ii}
-\item\ref{e:3-file:test14-q:i}
-\item \makeatletter \input{qftest5-fillinqiie3.parametri}\makeatother
- \FPsv [2]{b/k}
-\item\ref{e:3-file:test4-q:iii}
-\item\ref{e:3-file:test1-q:i}
-\item\ref{e:3-file:test9-q:iv}
-\item\ref{e:3-file:test11-q:i}
-\item\ref{e:3-file:test11-q:ii}
-\par\end{enumerate}\vspace{3ex}
-\begin{enumerate}
-\item\ref{e:3-file:test12-q:i}
-\item\ref{e:3-file:test13-q:iv}
-\par\end{enumerate}\vspace{3ex}
-\end{minipage}
-\begin{minipage}{.33\textwidth}{\large\textbf{Soluzione\ Versione\ n. 4}}
-\begin{enumerate}
-\item\ref{e:4-file:test2-q:ii}
-\item\ref{e:4-file:test2-q:i}
-\item\ref{e:4-file:test3-q:i}
-\item\ref{e:4-file:test3-q:ii}
-\item\ref{e:4-file:test2-q:iii}
-\item\ref{e:4-file:test4-q:v}
-\item\ref{e:4-file:test9-q:iii}
-\item\ref{e:4-file:test1-q:ii}
-\item\ref{e:4-file:test14-q:i}
-\item \makeatletter \input{qftest5-fillinqiie4.parametri}\makeatother
- \FPsv [2]{a/c}
-\item\ref{e:4-file:test11-q:i}
-\item\ref{e:4-file:test11-q:ii}
-\par\end{enumerate}\vspace{3ex}
-\begin{enumerate}
-\item\ref{e:4-file:test13-q:iii}
-\item\ref{e:4-file:test12-q:iii}
-\par\end{enumerate}\vspace{3ex}
-\end{minipage}
diff --git a/macros/latex/contrib/esami/doc/examples/testA.pdf b/macros/latex/contrib/esami/doc/examples/testA.pdf
deleted file mode 100644
index 78f7234f83..0000000000
--- a/macros/latex/contrib/esami/doc/examples/testA.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/esami/esami-xyz.cfg b/macros/latex/contrib/esami/esami-xyz.cfg
index 13484158d2..b4c4604713 100644
--- a/macros/latex/contrib/esami/esami-xyz.cfg
+++ b/macros/latex/contrib/esami/esami-xyz.cfg
@@ -1,11 +1,11 @@
%% Package `esami' to use with LaTeX 2e
-%% Copyright (C) 2008-2022 G. Messineo e S. Vassallo
+%% Copyright (C) 2008-2023 G. Messineo e S. Vassallo
%%
%% This is file `esami-xyz.cfg',
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% esami-xyz.cfg, 2022-01-11 %%
-%% Copyright (C) 2008-2022 G. Messineo e S. Vassallo %%
+%% esami-xyz.cfg, 2023-07-21 %%
+%% Copyright (C) 2008-2023 G. Messineo e S. Vassallo %%
%% %%
%% This program can be redistributed and/or modified %%
%% under the terms of the LaTeX Project Public License %%
diff --git a/macros/latex/contrib/esami/esami.sty b/macros/latex/contrib/esami/esami.sty
index 2968a0d60d..12bf761379 100644
--- a/macros/latex/contrib/esami/esami.sty
+++ b/macros/latex/contrib/esami/esami.sty
@@ -2,8 +2,8 @@
%% This is file `esami.sty',
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% esami.sty package, 2022-01-11 %%
-%% Copyright (C) 2008-2022 G. Messineo e S. Vassallo %%
+%% esami.sty package, 2023-07-21 %%
+%% Copyright (C) 2008-2023 G. Messineo e S. Vassallo %%
%% %%
%% This program can be redistributed and/or modified %%
%% under the terms of the LaTeX Project Public License %%
@@ -51,10 +51,11 @@
% Version 2.7
% 2022/01/11
%Improved the spacing in \cmd{\sempli} and \cmd{\FPsignpol}. Corrected a misprint in the code.
-%
+% 2013/07/21
+%Documentation modified to solve a problem with the Spanish Language.
\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{esami}
- [2022/01/11 v2.7 An Exam Construction Package]
+ [2023/07/21 v2.8 An Exam Construction Package]
% +=============================+
% | THE OPTIONS |
diff --git a/macros/latex/contrib/mitthesis/MIT-Thesis.pdf b/macros/latex/contrib/mitthesis/MIT-Thesis.pdf
index 51f4a87371..169e05b2e0 100644
--- a/macros/latex/contrib/mitthesis/MIT-Thesis.pdf
+++ b/macros/latex/contrib/mitthesis/MIT-Thesis.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
index c0a22d37d7..66deabb5d0 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
@@ -3,15 +3,14 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.04, 2023/07/03
+% Version: 1.05, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
%% Don't modify the \DocumentMetadata command unless you know what it does.
%% If this command throws an "undefined" error, your latex system is out of date: try commenting this command out.
-\DocumentMetadata
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
@@ -19,7 +18,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[twoside]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2,fontset=stix2
+\documentclass[twoside]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
% option [lineno] provides line numbers, as for editing
@@ -115,7 +114,6 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
@@ -125,9 +123,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -155,9 +153,9 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -187,14 +185,15 @@
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
@@ -245,21 +244,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex
index 07a90bce08..a7914cb851 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex
@@ -1,5 +1,5 @@
% From mitthesis package
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/04
% Documentation: https://ctan.org/pkg/mitthesis
@@ -35,27 +35,27 @@ function print_rate(kappa,xMin,xMax,npoints,option)
psi0 = (1/c)*math.exp((kappa*arg0)^2)*(erfc(kappa*arg0)-erfc(arg0))
if option~=[[]] then
- tex.sprint("\\addplot+["..option.."] coordinates{")
- -- addplot+ for color cycle to work
+ tex.sprint("\\addplot+["..option.."] coordinates{")
+ -- addplot+ for color cycle to work
else
- tex.sprint("\\addplot+ coordinates{")
+ tex.sprint("\\addplot+ coordinates{")
end
tex.sprint("("..xMin..","..psi0..")")
for i=1, (npoints-1) do
- x = math.exp(logx + xstep)
+ x = math.exp(logx + xstep)
arg = math.sqrt(x/c)
- karg = kappa*arg
- if karg<5 then
+ karg = kappa*arg
+ if karg<5 then
-- this break compensates for exp(karg^2), which multiplies the error in the erf approximation...
- logpsi = -math.log(croot) + karg^2 + math.log(erfc(karg)-erfc(arg))
- psi = math.exp(logpsi)
- else
- psi = (1/(karg) - 1/(2*(karg^3)) + 3/(4*(arg^5)) )/(1.77245385*croot)
- -- this is the large x asymptote of the reaction rate
- end
- logx = math.log(x)
- tex.sprint("("..x..","..psi..")")
+ logpsi = -math.log(croot) + karg^2 + math.log(erfc(karg)-erfc(arg))
+ psi = math.exp(logpsi)
+ else
+ psi = (1/(karg) - 1/(2*(karg^3)) + 3/(4*(arg^5)) )/(1.77245385*croot)
+ -- this is the large x asymptote of the reaction rate
+ end
+ logx = math.log(x)
+ tex.sprint("("..x..","..psi..")")
end
tex.sprint("}")
end
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex
index 7170486dac..fda5b48ea2 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex
@@ -1,5 +1,5 @@
% From mitthesis package
-% Version: 1.01, 2023/06/19
+% Version: 1.02, 2023/07/21
% Documentation: https://ctan.org/pkg/mitthesis
@@ -70,7 +70,7 @@ We begin with some ideas from the literature \cite{Fong2015,sharpe1}.
\centering\includegraphics[height=5cm]{example-image-b}
%\includegraphics[scale=0.5]{example-image-c}
%\includegraphics[width=3cm]{example-image}
-\caption{Caption text\label{mantissa-format}}
+\caption{Caption text\label{example-image-b}}
\end{figure}
@@ -160,3 +160,4 @@ Baroclinic generation of vorticity accounts for the sea breeze and various other
\end{tabular*}
}%
\end{table*}
+
diff --git a/macros/latex/contrib/mitthesis/README.md b/macros/latex/contrib/mitthesis/README.md
index be1ebfe217..46bef90606 100644
--- a/macros/latex/contrib/mitthesis/README.md
+++ b/macros/latex/contrib/mitthesis/README.md
@@ -1,7 +1,7 @@
#mitthesis --- A LaTeX template for MIT theses#
- v1.04 dated 2023/07/03.
+ v1.05 dated 2023/07/21
####Overview####
This class provides a LaTeX template for MIT theses formatted according to
@@ -53,6 +53,12 @@
---
####Change log####
+ v1.05 (21 July 2023):
+ - Fix bug in toc page number affecting some lists of figures or tables (note: for backward compatibility, remove code in .tex file around \tableofcontents, \listoffigures, and \listoftables so that your code will match the present version)
+ - Include thesis submission date in abstract, remove previous degrees from abstract page, and allow May for degree month, per MIT Libraries
+ - Fill pdflicenseurl in class file; update a class warning message
+ - Clean-up documentation and code
+
v1.04 (3 July 2023):
- Embed default fontset in class file, in case fontset directory is missing
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf
index 87814f209e..340044523a 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf
index dd5c7a11da..1fd375e31a 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf
index 9dd38df179..aebc0eb3f3 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdf
index 4e9832bb38..601ef58e9c 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf
index 32fdc98d14..98db2f7306 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf
index 41053554ee..509ca6bf17 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex
index 4d83fc7106..90af70cb5d 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex
@@ -33,8 +33,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -43,9 +42,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -57,11 +56,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=blue,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -73,13 +72,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\begin{document}
@@ -92,25 +93,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex
index ec649b2c5f..9b426eb0e3 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex
@@ -33,8 +33,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -43,9 +42,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -57,11 +56,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=blue,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -73,13 +72,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\begin{document}
@@ -92,25 +93,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex
index 1d750578db..b03232b383 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex
@@ -33,8 +33,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -43,9 +42,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -57,11 +56,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=blue,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -73,13 +72,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\begin{document}
@@ -92,25 +93,31 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+%\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, Department of Physics}
+\Acceptor{Qunitus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+\Acceptor{Tertia Castor}{Professor of Log Dams}{Undergraduate Officer, of Mechanical Engineering}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -120,6 +127,7 @@
\ThesisDate{May 18, 1876}
+
%%%%%% Choose whether to have a CREATIVE COMMONS License %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% If you are using a cc license, put details of your cc license here.
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex
index 7158893a8e..9589bc981f 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex
@@ -33,8 +33,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -43,9 +42,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -57,11 +56,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=blue,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -73,13 +72,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\begin{document}
@@ -90,27 +91,32 @@
% \Author{Author full name}{Author department}[Author's first PREVIOUS degree][Author's second PREVIOUS degree][...
% Note that third, fourth, fifth, and sixth arguments are optional [] and may be omitted
-% note on names: most of the following names are made up; Joseph H. Keenan was a 20th century thermodynamicist at MIT.
+% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Jinsoo Kim}{Department of Mechanical Engineering}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
-\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
-\Degree{Master of Science in Mechanical Engineering}{}% <=== NOTE BLANK ARGUMENT!! <======== !!!!! <========== !!!!!
+% For two degrees from one department, leave the department argument blank for the second degree {}.
+\Degree{Bachelor of Science in Physics}{Department of Physics}
+\Degree{Master of Science in Physics}{}
+%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
-\Supervisor{Joseph H. Keenan}{Professor of Mechanical Engineering}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+\Supervisor{Edward C. Pickering}{Professor of Physics}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, Department of Mechanical Engineering}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Physics}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex
index c1ed0817e1..711264986e 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex
@@ -33,8 +33,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -43,9 +42,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -57,11 +56,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=blue,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -73,13 +72,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\begin{document}
@@ -92,25 +93,31 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+%\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, Department of Physics}
+\Acceptor{Quintus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
index c967973f36..dc92f65998 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
@@ -33,8 +33,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -43,9 +42,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -57,11 +56,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=blue,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -73,13 +72,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\begin{document}
@@ -92,26 +93,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
-\Author{Aadhya Acharya}{Department of Research}[B.S. Physics, Indian Institute of Science, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
+\Author{Luisa Hernández}{Department of Research}%[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
-\Degree{Bachelor of Science in Physics}{Department of Physics}
-\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
+% For two degrees from one department, leave the department argument blank for the second degree {}.
+\Degree{Master of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
+\Degree{Master of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Graduate Officer, First Degree Department}{}
-\Acceptor{Tertius Castor}{Graduate Officer, Second Degree Department}{}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, Department of Physics}
+\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Mechanical Engineering}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Undergraduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-
-\SignatureBlockSize{\small}% could do \footnotesize here if desired!
+\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -121,6 +126,7 @@
\ThesisDate{May 18, 1876}
+
%%%%%% Choose whether to have a CREATIVE COMMONS License %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% If you are using a cc license, put details of your cc license here.
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf
index fef6586b08..5c080c9afd 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
index 4278312d94..4b95649c1c 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf
index efb798a418..5eb395eb5f 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf
index 03f6191af5..59314cd515 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf
index 8401fc8eee..5455942967 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf
index 8feac0397d..ae8977d4df 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf
index 689846eaf6..4df3847882 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf
index 65ab2b2f1d..1fb37710cd 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf
index b032e4e8e9..ca04ea5d18 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf
index c772045a6d..792607b351 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
index 42148dbcb3..f700e4ba80 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,9 +154,9 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -190,7 +189,7 @@
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
@@ -244,19 +243,9 @@
%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
index 21a5827913..69d491ff84 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,9 +154,9 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -190,7 +189,7 @@
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
@@ -244,19 +243,9 @@
%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
index d8b5ab1eee..3985d9f560 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,16 +154,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -177,25 +175,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -242,21 +245,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex
index a238dca346..a4c37ddedb 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,16 +154,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -177,25 +175,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -242,21 +245,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex
index 63f0ca4d01..2c3a8e342c 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,16 +154,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -177,25 +175,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -242,21 +245,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
index f4ef5fb7eb..31832cc0ce 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,16 +154,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -177,25 +175,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -242,21 +245,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex
index f000774474..fcc126e440 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,16 +154,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -177,25 +175,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -242,21 +245,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex
index 2226971f3f..7ac6317072 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,16 +154,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -177,25 +175,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -242,21 +245,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
index 33e372943c..5da99c4c83 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
@@ -3,7 +3,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -115,8 +115,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -125,9 +124,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -139,11 +138,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -155,16 +154,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -177,25 +175,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -242,21 +245,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex
index 3eed29fa3b..586c7419a9 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex
@@ -4,7 +4,7 @@
% !BIB program = biber
% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/07/21
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -116,8 +116,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -126,9 +125,9 @@
pdftitle={MIT thesis template},
pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
pdfauthor={\YourName},
+% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfauthortitle={Professor of Mechanical Engineering},
pdfcaptionwriter={\YourName},
-% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
pdfurl={https://lienhard.mit.edu},
pdfcontactemail={lienhard@mit.edu},
pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
@@ -140,11 +139,11 @@
pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
%
colorlinks=true,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=violet,
+ linkcolor=Blue3,% from xcolor package
+ citecolor=Blue3,% from xcolor package
+ urlcolor=violet,% from xcolor package
filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
%
pdfborder={0 0 0},
@@ -156,16 +155,15 @@
pdfdisplaydoctitle=true,
pdfstartview=Fit,
pdfnewwindow=true,
-%
- pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
- pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+\AtEndDocument{
+ \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\begin{document}
@@ -178,25 +176,30 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
-%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Professor of Research}
+%\Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
+%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -243,21 +246,11 @@
\cleardoublepage
-%%% Table of contents and lists of stuff (edit only if you want different lists) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
- \pdfbookmark[0]{Table of Contents}{toc}%
\tableofcontents
- \cleardoublepage
-
- \phantomsection
\listoffigures
- \addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}%
- \cleardoublepage
-
- \phantomsection
\listoftables
- \addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}%
- \cleardoublepage
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf
index 9dd1f7d528..ddc3fcfafe 100644
--- a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf
+++ b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
index 20f4b3ec35..a896751c37 100644
--- a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
+++ b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
@@ -266,7 +266,7 @@ Note that third, fourth, fifth, and sixth arguments are optional [..] and may be
\item \verb|\Acceptor{acceptor name}{acceptor title}{thesis related position}|. Professor who accepts theses for your department (e.g., the Graduate Officer). Use once for each department.
-\item \verb|\DegreeDate{Month}{year}|. Date degree is awarded (February, June, or September).
+\item \verb|\DegreeDate{Month}{year}|. Date degree is awarded (February, May, June, or September).
\item \verb|\ThesisDate{date}|. Date that your final thesis is submitted to the department.
\end{itemize}
@@ -361,6 +361,7 @@ The sample template uses the option \texttt{[twosided]}, which starts major sect
\toprule
Package & Class & User \\
\midrule
+bm & defines commands to access bold math symbols (loaded for default fonts) & with \pdfTeX, the command \verb|\bm{..}| produces a bold math symbol \\
bookmarks& is loaded automatically under the new pdf-management system & --- \\
doi & support for hyperlinking DOIs & hyperlink a doi number: \verb|\doi{..}| \\
etoolbox & extend or modify other macros & can use in preamble if needed \\
@@ -374,7 +375,7 @@ kvoptions& key values for systems pre 2022/11/01 & ---\\
mathtools& loads and extends \texttt{amsmath} & \textbf{many useful math macros available}. See documentation for \texttt{amsmath} and \texttt{mathtools} \\
xparse & for systems older than 2020/10/01 & macros to define new commands\\[0.7em]
\midrule
-lineno & option for the class & keyvalue \texttt{lineno} will give line numbers; \texttt{lineno} package has additional commands that control line numbering\\[3em]
+lineno & loaded if class option is given & keyvalue \texttt{lineno} will give line numbers; \texttt{lineno} package has additional commands that control line numbering\\[3em]
\midrule
caption & also loaded by \texttt{mydesign.tex} & support for caption styling \\
subcaption & also loaded by \texttt{mydesign.tex} & support for subfigures within figures \\
diff --git a/macros/latex/contrib/mitthesis/mitthesis.cls b/macros/latex/contrib/mitthesis/mitthesis.cls
index b0453036a9..8acd3e6358 100644
--- a/macros/latex/contrib/mitthesis/mitthesis.cls
+++ b/macros/latex/contrib/mitthesis/mitthesis.cls
@@ -7,8 +7,8 @@
%% MIT Libraries' requirements as of 2023.
%%
%% This file's version and date:
- \def\versionno{1.04}
- \def\versiondate{2023/07/03\space}
+ \def\versionno{1.05}
+ \def\versiondate{2023/07/21\space}
%%
%% Author: John H. Lienhard, V
%% Department of Mechanical Engineering
@@ -187,6 +187,19 @@
\providecommand{\@LN@col}[1]{\relax}
\providecommand{\@LN}[2]{\relax}
+%%%%%%%%%%%%% Patch table of contents, list of figures, and list of tables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% We'd like these to have pdf bookmarks and to have the lists appear in the table of contents
+
+\pretocmd{\tableofcontents}{\pdfbookmark[0]{Table of Contents}{toc}}{}{}
+\apptocmd{\tableofcontents}{\cleardoublepage}{}{}
+\pretocmd{\listoffigures}{\phantomsection}{}{}
+\patchcmd{\listoffigures}{\chapter*{\listfigurename}}{\chapter*{\listfigurename}\addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}}{}{}
+\apptocmd{\listoffigures}{\cleardoublepage}{}{}
+\pretocmd{\listoftables}{\phantomsection}{}{}
+\patchcmd{\listoftables}{\chapter*{\listtablename}}{\chapter*{\listtablename}\addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}}{}{}
+\apptocmd{\listoftables}{\cleardoublepage}{}{}
+
%%%%%%%%%%%%% Geometry, mathtools, design, graphics, bibliography, hyperrefs, bookmarks %%%%%%%%%%%%%%%%%%%%%%%
@@ -218,7 +231,7 @@
\fi
\fi
\fi
- \usepackage[hyperref,\MyColorOption,dvipsnames,svgnames,x11names]{xcolor}
+ \RequirePackage[hyperref,\MyColorOption,dvipsnames,svgnames,x11names]{xcolor}
%
\RequirePackage{caption,subcaption}
%
@@ -235,7 +248,7 @@
\IfFileExists{fontsets/\ClassName-\mit@fontset.tex}{% 2023/07/03
\input{fontsets/\ClassName-\mit@fontset.tex}
}{%
- \typeout{^^JFontset file \ClassName-\mit@fontset.tex not found, using defaultfonts.}
+ \ClassWarning{\ClassName}{^^JFontset file \ClassName-\mit@fontset.tex not found, using default fonts.}
\ifpdftex
\typeout{^^JLoading Computer Modern text and math fonts (default for pdftex).^^J}
\RequirePackage[T1]{fontenc}
@@ -254,7 +267,7 @@
\ClassInfo{\ClassName}{pdfmanagement is defined. Will not load hyperxmp}%
\else
\ClassInfo{\ClassName}{pdfmanagement is not defined. Will load hyperxmp}%
- \RequirePackage{hyperxmp}
+ \RequirePackage{hyperxmp}
\fi
\RequirePackage[psdextra]{hyperref}
@@ -326,10 +339,10 @@
\ExplSyntaxOn
\NewExpandableDocumentCommand\MonthCheck{mm}{%
- \str_case_e:nnF {#1}{ {June}{} {September}{} {February}{}
- {\space June}{} {\space September}{} {\space February}{}
- {June\space}{} {September\space}{} { February\space}{}
- {\space June\space}{} {\space September\space}{} {\space February\space}{}
+ \str_case_e:nnF {#1}{ {May}{} {June}{} {September}{} {February}{}
+ {\space May}{} {\space June}{} {\space September}{} {\space February}{}
+ {May\space}{} {June\space}{} {September\space}{} { February\space}{}
+ {\space May\space}{} {\space June\space}{} {\space September\space}{} {\space February\space}{}
}{#2}
}
\ExplSyntaxOff
@@ -394,6 +407,18 @@
}%
}
+\NewDocumentCommand\@AbstractAuthorBlock{}{% Revised 2023/07/20
+ \setcounter{authorno}{1}%
+ {by\par
+ \whiledo{\value{authorno}<\value{authorcnt}}{%
+ \ignorespaces\csname aut@\theauthorno\endcsname
+ \par and\par
+ \addtocounter{authorno}{1}%
+ }%
+ \ignorespaces\csname aut@\theauthorno\endcsname
+ }%
+}
+
\newcounter{autcrcnt}
\setcounter{autcrcnt}{1}
@@ -458,6 +483,31 @@
\MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par\medskip
}
+\NewDocumentCommand\@AbstractDegreeBlock{}{% 2023/07/19
+ \setcounter{degno}{1}
+ \setcounter{depno}{1}
+ \newcommand*\PrevDept{\csname degdep@\thedepno\endcsname}
+ \newcommand*\CurrDept{}
+ Submitted to the \mbox{\PrevDept}%
+ \whiledo{\value{depno}<\value{degcnt}}{%
+ \addtocounter{depno}{1}%
+ \renewcommand*\CurrDept{\csname degdep@\thedepno\endcsname}%
+ \ifnum\value{depflag}=\value{depno}\relax\else
+ \space and the\linebreak
+ \mbox{\CurrDept}%
+ \fi%
+ }%
+ \linebreak on \@ThesisDate \space \mbox{in partial fulfillment of the requirements for the\space
+ \ifnum\value{degcnt}>1 degrees\else degree\fi\space of}%
+ \par\medskip
+ \whiledo{\value{degno}<\value{degcnt}}{%
+ \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par and\par
+ \addtocounter{degno}{1}%
+ }%
+ \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par\medskip
+}
+
+
\newcounter{supcnt}
\setcounter{supcnt}{0}
\newcounter{supno}
@@ -558,14 +608,18 @@
%%%%%%%%%%%%%%%%%%% Copyright related %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\CCurl{}% empty by default
+\ExplSyntaxOn
\newif\ifmit@cclicense\mit@cclicensefalse
\NewDocumentCommand\CClicense{m m}{%
\def\CClicensetext{\hrefurl{#2}{\ignorespaces#1}}% #1 - text, #2 - url
- \def\CCname{#1}
- \def\CCurl{#2}% for use in metadata
+ \def\CCname{#1}%
+ \def\CCurl{#2}% only for backward compatibility
\mit@cclicensetrue
+ \cs_if_exist:NT \pdfmeta_xmp_add:n {%
+ \pdfmeta_xmp_add:n {<xmpRights:WebStatement>#2</xmpRights:WebStatement>}
+ }
}
+\ExplSyntaxOff
%%%%%%%%%%%%%%%%%%% Create titlepage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -605,8 +659,8 @@
\MIT\par
\@DegreeMonth\space\@DegreeYear
\MonthCheck{\@@DegreeMonth}{%
- \ClassError{\ClassName}{Acceptable months for the degree date are February, June, and September}{Change %
- the month of your degree date to one of February, June, or September.}%
+ \ClassError{\ClassName}{Acceptable months for the degree date are February, May, June, and September}{Change %
+ the month of your degree date to one of February, May, June, or September.}%
}%
\par
\copyright\space\@DegreeYear\space\@CopyrightAuthor. \CopyrightLicense
@@ -627,9 +681,9 @@
\begin{center}
{\large{\textbf{\@title}}\par}
\setlength{\parskip}{0.5\baselineskip plus 2pt minus 2pt}
- \@AuthorBlock
+ \@AbstractAuthorBlock
\par
- \@DegreeBlock
+ \@AbstractDegreeBlock
\end{center}
\vskip\baselineskip
\textbf{ABSTRACT}\par\vskip0.5em