summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mitthesis
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/mitthesis')
-rw-r--r--macros/latex/contrib/mitthesis/MIT-Thesis.pdfbin491019 -> 486984 bytes
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex87
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex4
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex7
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex63
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex4
-rw-r--r--macros/latex/contrib/mitthesis/README.md15
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdfbin105510 -> 116903 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdfbin106895 -> 118312 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdfbin107382 -> 118803 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdfbin107250 -> 118681 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdfbin108222 -> 121664 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdfbin131063 -> 132021 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex12
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdfbin490687 -> 486372 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdfbin323017 -> 319692 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdfbin151029 -> 151566 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdfbin458937 -> 455381 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdfbin169261 -> 171619 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdfbin274790 -> 269937 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdfbin320067 -> 316317 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdfbin159311 -> 159877 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Termes-stix2.pdfbin161163 -> 161667 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdfbin157329 -> 158014 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex2
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdfbin92579 -> 94846 bytes
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex44
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis.cls124
28 files changed, 239 insertions, 123 deletions
diff --git a/macros/latex/contrib/mitthesis/MIT-Thesis.pdf b/macros/latex/contrib/mitthesis/MIT-Thesis.pdf
index 803814575a..f0964659d8 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 80f6598e83..2faced3b18 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
@@ -4,7 +4,7 @@
% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
%
-% Version: 1.09, 2023/09/22
+% Version: 1.11, 2023/11/02
%
% Author: John H. Lienhard, copyright 2023. Reuse under the MIT license: https://ctan.org/license/mit
@@ -60,11 +60,10 @@
\DefineBibliographyStrings{english}{url= \textsc{url} , }% replaces default "[Online]. Available" by "URL"
-\addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE
+\addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <= CHANGE
-%% These two commands enable line breaks in long URLs in the bibliography (delete if you don't want that)
-\setcounter{biburllcpenalty}{7000}
-\setcounter{biburlucpenalty}{8000}
+%% to avoid split urls and stretched white space, you can set the bibliography ragged-right:
+%\appto{\bibsetup}{\raggedright}
% biblatex is very powerful, and you can customize most aspects the reference list and citations to suit your needs.
% documentation is here: https://ctan.org/pkg/biblatex
@@ -103,12 +102,12 @@
%% to change the line separation, the most attractive results will be obtained by changing the
%% leading in proportion to the the current font size, rather than just doubling the space.
-%% The setspace package provides a tool for changing line separation (use thesetwo here)
+%% The setspace package provides a tool for changing line separation. Use these two commands here:
%
% \usepackage{setspace}% documentation at https://ctan.org/pkg/setspace
% \setstretch{1.1}% you can choose some other value for the stretch of space between lines
%
-%% Use the these commands AFTER the frontmatter
+%% Use one or more of the these commands AFTER the frontmatter
%
% \onehalfspacing
% \doublespacing
@@ -155,42 +154,37 @@
% \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; Silas Holman was a professor at MIT in the 19th century.
+% note on names: most of the following names are made up; Silas Holman was a physics professor at MIT in the 19th century.
-\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]
-%\Author{Thurston Howell III}{Department of Economics}
+\Author{Silas W. Holman}{Department of Physics}
+% \Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020]
+% \Author{Thurston Howell III}{Department of Economics}[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}
+% \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}{Professor of Research}
-%\Supervisor{Quintus Castor}{Professor of Log Dams}
+% \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}{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{\footnotesize}
+ \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}
% Usage: \DegreeDate{Month}{year}
-% Valid degree months are September, February, or June.
+% Valid degree months are September, February, or June
\DegreeDate{June}{1876}
% Date that final thesis is submitted to department
\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.
@@ -198,15 +192,47 @@
%
\CClicense{CC BY-NC-ND 4.0}{https://creativecommons.org/licenses/by-nc-nd/4.0/}
%
+
+%%%%%%% Solutions for overflowing titlepage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If your title page is overflowing (from too many names, degrees, etc.):
+%
+% (a) you can reduce the 12pt and 18pt skips between various blocks to 6pt with this command:
+%
+% \Tighten
+%
+% (b) you can scale down the Signature block at the bottom with this command:
+%
+% \SignatureBlockSize{\small} %or this one \SignatureBlockSize{\footnotesize}
+%
+% (c) you can put the acceptor name and title onto two lines, rather than three like this:
+%
+% \Acceptor{Tertius Castor}{Professor and Graduate Officer, Department of Research}{}
+% \Acceptor{Quarta Castor}{Professor and Graduate Officer, Department of Mechanical Engineering}{}
+%
+% (d) you can change the font size of the the author name[s] with
+%
+% \AuthorNameSize{\normalsize}
+%
+% (e) and you can omit any previous degrees from the title page, instead mentioning them in the Biosketch
+
+% Also, if you prefer to keep the text toward the top of the page with most white space at the bottom, you
+% can you this command to squash all of the vertical glue (stretchy space) with this command:
+%
+% \Squash
+%
+% This command is useful when the text has not already reach the bottom of the page, since the glue gets squashed automatically
+% when the page is too full.
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% Titlepage
+%%% Make titlepage
\maketitle
%%%%%%%%% Contents that you need to write follows %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \includeonly{acknowledgments,biography,chapter1,chapter2,...,appendixa,...}
-% for usage, see https://latexref.xyz/dev/latex2e.html#g_t_005cinclude-_0026-_005cincludeonly
+% for usage, see https://latexref.xyz/_005cinclude-_0026-_005cincludeonly.html
%%% Frontmatter (write this material in the mentioned files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -230,7 +256,7 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you want to use "double spacing", you can start here...
+%% If you want to use "double spacing", you should start here...
\include{chapter1}% .tex extension is presumed
%\include{chapter2}
@@ -246,15 +272,14 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
-%
\printbibliography[title={References},heading=bibintoc]
-}
+
% biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566
% see the biblatex manual, section 3.14.3
%%%% Option for natbib %%%%%%%%%%%%%
+
%% use an appropriate style (.bst) and your own .bib file[s]
%\bibliographystyle{plainnat}
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex
index 3e41684a12..a1ceaacffd 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex
@@ -1,11 +1,11 @@
%% acknowledgments.tex
% From mitthesis package
-% Version: 1.00, 2023/06/17
+% Version: 1.01, 2023/10/16
% Documentation: https://ctan.org/pkg/mitthesis
\chapter*{Acknowledgments}
-\addcontentsline{toc}{chapter}{\protect\textbf{Acknowledgments}}
+\addcontentsline{toc}{chapter}{Acknowledgments}
Write your acknowledgments here.
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex
index 27c63e067c..30e4784525 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex
@@ -1,7 +1,12 @@
+%% biography.tex
%% This section is optional
+% From mitthesis package
+% Version: 1.01, 2023/10/16
+% Documentation: https://ctan.org/pkg/mitthesis
+
\chapter*{Biographical Sketch}
-\addcontentsline{toc}{chapter}{\protect\textbf{Biographical Sketch}}
+\addcontentsline{toc}{chapter}{Biographical Sketch}
Silas Whitcomb Holman was born in Harvard, Massachusetts on January 20, 1856. He received his S.B. degree in Physics from MIT in 1876, and then joined the MIT Department of Physics as an Assistant. He became Instructor in Physics in 1880, Assistant Professor in 1882, Associate Professor in 1885, and Full Professor in 1893. Throughout this period, he struggled with increasingly severe rheumatoid arthritis. At length, he was defeated, becoming Professor Emeritus in 1897 and dying on April 1, 1900.
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex
index f55a984123..cc7683744e 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.03, 2023/08/10
+% Version: 1.04, 2023/10/19
% Documentation: https://ctan.org/pkg/mitthesis
@@ -7,7 +7,7 @@
\lipsum[1-2] Postremo aliquos futuros suspicor, qui me ad alias litteras vocent, genus hoc scribendi, etsi sit elegans, personae tamen et dignitatis esse negent~\cite{DKE1969,ww1920,kirk2288a,churchill1948,gibbs1863}.
-\section[A section discussing the first issue: \(\textrm{J}/\psi\)]{A section discussing the first issue: \ifpdftex\(\bm{J}/\bm{\psi}\)\else{\(\symbfup{J/\psi}\)}\fi}
+\section[A section discussing the first issue: \(J/\psi\)]{A section discussing the first issue: \ifpdftex\(\bm{J}/\bm{\psi}\)\else{\(\symbfup{J/\psi}\)}\fi}
We begin with some ideas from the literature \cite{Fong2015,sharpe1}.
@@ -19,20 +19,21 @@ We begin with some ideas from the literature \cite{Fong2015,sharpe1}.
\lipsum[4] And more citations~\cite{sharpe1,GSL}. Then we write some more and include our citations~\cite{Swaminathan2017IDABRO,dlmf,amsmath}. The configuration is shown in Fig.~\ref{fig:golden2}.
-%%%%%%%%%%%%%%%%% begin full width figure %%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{figure*}[t]
+%%%%%%%%%%%%%%%%% begin figure %%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{figure}[t]
+% sample images are from mwe package, but should be found by latex in the tex tree w/o loading that package
\begin{subfigure}[c]{0.495\textwidth}
-\centering{\includegraphics[width=0.99\textwidth]{example-image-c}}%
+\centering{\includegraphics[alt={sample image},width=0.99\textwidth]{example-image-c}}%
\subcaption{\label{fig:golden}}
\end{subfigure}
%%%%%%%% don't leave a break here
\begin{subfigure}[c]{0.495\textwidth}
-\centering{\includegraphics[width=0.99\textwidth]{example-image-c}}%
+\centering{\includegraphics[alt={sample image},width=0.99\textwidth]{example-image-c}}%
\subcaption{\label{fig:golden2}}%
\end{subfigure}%
\caption{A figure with two subfigures: (a) first subfigure; (b) second subfigure.\label{fig:4}}
-\end{figure*}
-%%%%%%%%%%%%%%%%%%% end full width figure %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{figure}
+%%%%%%%%%%%%%%%%%%% end figure %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\lipsum[4]
@@ -42,35 +43,27 @@ We begin with some ideas from the literature \cite{Fong2015,sharpe1}.
\subsubsection{A subsubsection}
\lipsum[7]
-{\small
\begin{equation}\label{eqn:WT1}
-\begin{Vmatrix}
-\dfrac\varphi{(\varphi_1,\varepsilon_1)} & 0 & \hdotsfor{4} & 0 & \\[4\jot]
-\dfrac{\varphi k_{21}}{(\varphi_2,\varepsilon_1)} & \dfrac\varphi{(\varphi_2,\varepsilon_2)} & 0 & \hdotsfor{3} & 0 \\[4\jot]
-\dfrac{\varphi k_{31}}{(\varphi_3,\varepsilon_1)} &\dfrac{\varphi k_{32}}{(\varphi_3,\varepsilon_2)} & \dfrac\varphi{(\varphi_3,\varepsilon_3)}& 0 & \hdotsfor{2} & 0 \\[\jot]
-\vdots & & & \smash{\rotatebox{15}{$\ddots$}} & & & \vdots \\[\jot]
-\dfrac{\varphi k_{n-2\, 1}}{(\varphi_{n-2},\varepsilon_1)} &
-\dfrac{\varphi k_{n-2\, 2}}{(\varphi_{n-2},\varepsilon_2)} &\hdotsfor{1} & \dfrac{\varphi k_{n-2\,n-3}}{(\varphi_{n-2},\varepsilon_{n-3})} & \dfrac\varphi{(\varphi_{n-2},\varepsilon_{n-2})}& 0& 0 \\[4\jot]
-\dfrac{\varphi k_{n-1\, 1}}{(\varphi_{n-1},\varepsilon_1)} & \dfrac{\varphi k_{n-1\, 2}}{(\varphi_{n-1},\varepsilon_2)} &\hdotsfor{2} &
-\dfrac{\varphi k_{n-1\,n-2}}{(\varphi_{n-1},\varepsilon_{n-2})}& \dfrac{\varphi}{(\varphi_{n-1},\varepsilon_{n-1})} & 0 \\[4\jot]
-\dfrac{\varphi k_{n1}}{(\varphi_n,\varepsilon_1)} & \dfrac{\varphi k_{n2}}{(\varphi_n,\varepsilon_2)} & \hdotsfor{3} &
-\dfrac{\varphi k_{n\,n-1}}{(\varphi_n,\varepsilon_{n-1})} & \dfrac{\varphi}{(\varphi_n,\varepsilon_n)}
-\end{Vmatrix}
+L(\ifpdftex\bm{A}\else\symbfup{A}\fi) = \begin{pmatrix}
+\dfrac\varphi{(\varphi_1,\varepsilon_1)} & 0 & \hdotsfor{3} & 0 \\[4\jot]
+\dfrac{\varphi k_{2,1}}{(\varphi_2,\varepsilon_1)} & \dfrac\varphi{(\varphi_2,\varepsilon_2)} & 0 & \hdotsfor{2} & 0 \\[4\jot]
+\dfrac{\varphi k_{3,1}}{(\varphi_3,\varepsilon_1)} & \dfrac{\varphi k_{3,2}}{(\varphi_3,\varepsilon_2)} & \dfrac\varphi{(\varphi_3,\varepsilon_3)} & 0 & \hdotsfor{1} & 0 \\[\jot]
+\vdots & & & \smash{\rotatebox{15}{$\ddots$}} & & \vdots \\[\jot]
+\dfrac{\varphi k_{n-1, 1}}{(\varphi_{n-1},\varepsilon_1)} & \dfrac{\varphi k_{n-1, 2}}{(\varphi_{n-1},\varepsilon_2)} & \hdotsfor{1} &
+ \dfrac{\varphi k_{n-1,n-2}}{(\varphi_{n-1},\varepsilon_{n-2})} & \dfrac{\varphi}{(\varphi_{n-1},\varepsilon_{n-1})} & 0 \\[4\jot]
+\dfrac{\varphi k_{n,1}}{(\varphi_n,\varepsilon_1)} & \dfrac{\varphi k_{n,2}}{(\varphi_n,\varepsilon_2)} & \hdotsfor{2} &
+ \dfrac{\varphi k_{n,n-1}}{(\varphi_n,\varepsilon_{n-1})} & \dfrac{\varphi}{(\varphi_n,\varepsilon_n)}
+\end{pmatrix}
\end{equation}
-}%
-\section{Description our paradigm~\cite{GSL}}\label{ch1:theidea}
+\section{Description our paradigm}\label{ch1:theidea}
\lipsum[8] No dissertation is complete without footnotes.\footnote{First footnote. See section~\ref{sec:stratified-flow}.}\footnote{Another interesting detail.}\footnote{And another really important idea to have in mind~\cite{reynolds1958,clauser56,lienhard2020,johnson1980,johnson1965,mpl}.}
\begin{figure}[t]
-%\includegraphics[width=6cm]{example-image-a}
-%\includegraphics[width=3cm]{example-image-golden}
-%\includegraphics[width=3cm]{example-grid-100x100pt}
-\centering\includegraphics[height=5cm]{example-image-b}
-%\includegraphics[scale=0.5]{example-image-c}
-%\includegraphics[width=3cm]{example-image}
-\caption{Caption text\label{example-image-b}}
+% sample image is from mwe package, but should be found by latex in the tex tree w/o loading that package
+\centering\includegraphics[alt={sample image},width=6.67cm]{example-image-b}
+\caption{Caption text\label{example-image-b}~\cite{GSL}.}
\end{figure}
@@ -111,8 +104,6 @@ $\rho \neq \text{fn}(p)$:
Baroclinic generation of vorticity accounts for the sea breeze and various other atmospheric currents in which temperature, rather than pressure, creates density gradients. Further, this phenomenon accounts for ocean currents in straits joining more and less saline seas, with surface currents flowing from the fresher to the saltier water and with bottom current going oppositely.
-%%%%%%%%%%%%%%%% end full width table %%%%%%%%%%%%%%%%%%%
-
%% Nomenclature list is optional
%
% This environment takes three optional arguments:
@@ -131,11 +122,12 @@ Baroclinic generation of vorticity accounts for the sea breeze and various other
\entry{$\rho$}{mass density [kg m$^{-3}$]}
\end{nomenclature}
-%%%%%%%%%%%%%%% begin full width table %%%%%%%%%%%%%%%%%%
-\begin{table*}[t]
+%%%%%%%%%%%%%%% begin table %%%%%%%%%%%%%%%%%%
+\begin{table}[t]
\caption{The error function and complementary error function}\label{tab:1}%
\centering{%
\begin{tabular*}{0.8\textwidth}{@{\hspace*{1.5em}}@{\extracolsep{\fill}}ccc!{\hspace*{3.em}}ccc@{\hspace*{1.5em}}}
+\\[-0.5em]
\toprule
\multicolumn{1}{@{\hspace*{1.5em}}c}{$x$\rule{0pt}{8pt}} &
\multicolumn{1}{c}{$\text{erf}(x)$} &
@@ -159,5 +151,6 @@ Baroclinic generation of vorticity accounts for the sea breeze and various other
\bottomrule
\end{tabular*}
}%
-\end{table*}
+\end{table}
+%%%%%%%%%%%%%%%% end table %%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex
index 5694b372e4..2a612d88a1 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex
@@ -1,7 +1,7 @@
% From mitthesis package
% Documentation: https://ctan.org/pkg/mitthesis
-\ProvidesFile{mydesign.tex}[2023/09/12 v1.02 Typographic design options for thesis]
+\ProvidesFile{mydesign.tex}[2023/10/11 v1.03 Typographic design options for thesis]
%%%%%%%%%% Color support %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -27,7 +27,7 @@
}
%
\ifmit@lineno
- \renewcommand{\linenumberfont}{\sffamily\tiny\color{violet}}% line numbers will be sans-serif, tiny, and violet
+ \renewcommand{\linenumberfont}{\sffamily\mdseries\tiny\color{violet}}% line numbers will be sans-serif, medium weight, tiny, and violet
\fi
}
diff --git a/macros/latex/contrib/mitthesis/README.md b/macros/latex/contrib/mitthesis/README.md
index 89113f7341..9ead4e57e0 100644
--- a/macros/latex/contrib/mitthesis/README.md
+++ b/macros/latex/contrib/mitthesis/README.md
@@ -1,7 +1,7 @@
#mitthesis --- A LaTeX template for an MIT thesis#
- v1.10 dated 2023/09/23
+ v1.11 dated 2023/11/02
####Overview####
This class provides a LaTeX template to format an MIT thesis according to
@@ -53,6 +53,19 @@
---
####Change log####
+
+ v1.11 (02 November 2023)
+ - Revise all skips on cover page to better group material while allowing for glue compression as content increases; increase font size of author name; provide user macros for control cover page spacing and author name font.
+ - use \\mdseries for linenumbers in all cases, rather than using the locally active series
+ - remove \\raggedright in favor of \\bibsetup for bibliography in MIT-Thesis.tex
+ - add backward compatibility for alt tag of \\includegraphics for pre-2021/11/15 distributions, add alt tag in chapter1.tex
+ - edit all occurrences of \\addcontentsline
+ - rearrange eqn:WT1 in chapter1.tex to avoid margin overflow with some fonts, eliminate associated work-around.
+ - edit tab:1 and increase space below caption; edit fig:golden
+ - edit nomenclature environment to better accommodate [future] tagged pdf
+ - remove vertical [1em] after final \\Acceptor (thanks to Gustav Pettersson)
+ - edit documentation
+
v1.10 (23 September 2023)
- Minor edit of documentation
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 340044523a..304d89113b 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 1fd375e31a..737603f89c 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 aebc0eb3f3..7ab9882820 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 601ef58e9c..8950c7ed3c 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 98db2f7306..61a2b63115 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 509ca6bf17..c9ccbd8a9a 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/Two_authors_two_degrees.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
index 930b218b1c..5e004fe134 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
@@ -3,6 +3,7 @@
% !BIB program = biber
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
+% Version 1.01, 2023/10/27
% Documentation: https://ctan.org/pkg/mitthesis
@@ -91,13 +92,16 @@
% 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, Department of Physics}
-\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Mechanical Engineering}
+\Acceptor{Primus Castor}{Professor and Graduate Officer, Department of Physics}{}
+\Acceptor{Tertius Castor}{Professor and 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...
+% In this example, several steps have been taken to make the content fit on the title page! The \Acceptors have been confined to two
+% lines in the above commands, the signature block font size is reduced, the skips are tightened, the author names use normal font size,
+% and Luisa's previous degrees are not shown.
\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
+\Tighten
+\AuthorNameSize{\normalsize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf
index fab86f8556..e55782bbb4 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 e862497f6c..2d802b2a0e 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 6d0ff66249..09a93e218b 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 cc9163c2d4..45b6d25430 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 2d57d358db..383bbfd3a9 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 9e3f99af1f..3c8fc160ba 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 40da2bac86..142d3afc0d 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 cb1c5cee2e..46b54f1a07 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 bab4183c99..e4306cb237 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 808306fb9f..93e1db4400 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 f924303a9f..8b34293ed2 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
@@ -20,7 +20,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[twoside]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
+\documentclass[]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
% option [twoside] gives facing-page behavior for printing; omitting twoside will eliminate even-numbered blank pages.
% option [lineno] provides line numbers, as for editing
diff --git a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf
index bea3c92441..611f9c69ac 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 879a8e1491..2b434f49a7 100644
--- a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
+++ b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
@@ -1,7 +1,7 @@
% !TEX TS-program = lualatex
% !TEX encoding = UTF-8 Unicode
-% Version date: 23 September 2023
+% Version date: 02 November 2023
\DocumentMetadata
{
@@ -226,9 +226,9 @@ This template is suitable for MIT theses of all types and at all levels. The tit
\subsection*{Background}
-The original \LaTeX\ 2.09 template was written by Stephen Gildea in the late 1980s (in CTAN, \href{https://mirrors.ctan.org/obsolete/macros/latex209/contrib/mitthesis/mitthesis.sty}{here}). That template was edited by many later students.
+The original MIT Thesis template was written \LaTeX\ 2.09 by Stephen Gildea in the late 1980s (in CTAN, \href{https://mirrors.ctan.org/obsolete/macros/latex209/contrib/mitthesis/mitthesis.sty}{here}). That template was edited by many later students.
-LaTeX has changed greatly since the original MIT thesis template was written. \LaTeX\ 2.09 was replaced by \LaTeX2e\ in 1994. New engines were developed, particularly pdfTeX during the 1990s and Unicode-aware engines in the decades that followed. Many packages and fonts were developed to accompany the original platform, particularly after 2000; and major updates to the LaTeX kernel began in 2018. Over the years, the MIT Libraries have changed the required format several times, especially as electronic thesis submission has become the norm. The original template served MIT well; but by the early 2020s, it was substantially out of date. That situation motivated the creation of a new template.
+LaTeX has changed greatly since the original MIT thesis template was written. \LaTeX\ 2.09 was replaced by \LaTeXe\ in 1994. New engines were developed, particularly pdfTeX during the 1990s and Unicode-aware engines in the decades that followed. Many packages and fonts were developed to accompany the original platform, particularly after 2000; and major updates to the LaTeX kernel began in 2018. Over the years, the MIT Libraries have changed the required format several times, especially as electronic thesis submission has become the norm. The original template served MIT well; but by the early 2020s, it was substantially out of date. That situation motivated the creation of a new template.
This new MIT thesis template was developed in 2023 at the request of the MIT Libraries. The title and abstract pages strictly follow the current \href{https://libraries.mit.edu/distinctive-collections/thesis-specs/}{requirements of the Libraries}. The underlying code is entirely new, with extensive use of \texttt{expl3} syntax.
@@ -271,7 +271,7 @@ The commands that define the title page are as follow.
\item \verb|\Author{author full name}{author department}[1st PREVIOUS degree][2nd...| \linebreak
Note that third, fourth, fifth, and sixth arguments are optional [..] and may be omitted. Use once for each author.
-\item \verb|\Degree{name of degree}{department giving degree}|. Use once for each degree fulfilled by thesis. If the thesis satisfies two degrees from one department, leave the department argument blank for the \textit{second} degree: \verb|\Degree{2nd degree name}{}|
+\item \verb|\Degree{name of degree}{department giving degree}|. Use once for each degree fulfilled by the thesis. If the thesis satisfies two degrees from one department, leave the department argument blank for the \textit{second} degree: \verb|\Degree{2nd degree name}{}|
\item \verb|\Supervisor{supervisor name}{supervisor title}|. Use once for each supervisor.
@@ -281,8 +281,6 @@ Note that third, fourth, fifth, and sixth arguments are optional [..] and may be
\item \verb|\ThesisDate{date}|. Date that your final thesis is submitted to the department.
\end{itemize}
-\paragraph{Overflowing title page.} If your title page overflows (from too many authors, degrees, etc.), you can scale down the signature block at the bottom by issuing this command: \verb|\SignatureBlockSize{\small}|. You may also compress the acceptor fields by putting the position into the 2\textsuperscript{nd} argument and leaving the 3\textsuperscript{rd} argument blank:\verb|\Acceptor{acceptor name}{acceptor title and thesis related position}{}|.
-
\subsection*{Copyright license}
If you wish to make your thesis available under a Creative Commons License, issue the following command between
@@ -291,6 +289,30 @@ If you wish to make your thesis available under a Creative Commons License, issu
\vskip 5pt
\noindent\quad\verb|\CClicense{CC BY-NC-ND 4.0}{https://creativecommons.org/licenses/by-nc-nd/4.0/}|.
+\subsection*{Overflowing title page: managing space} If your title page overflows the vertical space (from too many authors, degrees, previous degrees, etc.), you can using some or all of the following techniques. The commands must be given before \verb|\maketitle|.
+\begin{enumerate}
+ \item Reduce the 12pt and 18pt skips between the various blocks of text to 6pt with this command:
+ \vskip 5pt
+ \noindent\verb|\Tighten|
+ \item Reduce the font size in the signature block with this command:
+ \vskip 5pt
+ \noindent\verb|\SignatureBlockSize{\small}|
+ \item Put the acceptor name and title onto two lines, rather than three, by putting the acceptor's position into the 2\textsuperscript{nd} argument and leaving the 3\textsuperscript{rd} argument blank:
+ \vskip 5pt
+ {\small\noindent\verb|\Acceptor{Tertius Castor}{Professor and Graduate Officer, Department of Research}{}|}
+ \item Reduce the font size of the the author name[s] from \verb|\large| to \verb|\normalsize| with this command:
+ \vskip 5pt
+ \noindent\verb|\AuthorNameSize{\normalsize}|
+ \item Omit previous degrees from the title page, instead mentioning them in the biographical sketch.
+\end{enumerate}
+
+Also, if you prefer to keep the text toward the top of the page with most white space at the bottom, you
+can use this command to squash the vertical glue (\TeX's stretchy space):
+ \vskip 5pt
+ \quad\verb|\Squash|
+ \vskip 5pt
+\noindent This command is useful when the text has not already reach the bottom of the page, since the glue gets squashed automatically when the page is too full.
+
\section*{PACKAGE OPTIONS}
Package options may be specified for \verb|\documentclass[..]{mitthesis}|. These options are described in Table~\ref{tab:1} and the subsections that follow.
@@ -380,9 +402,10 @@ iftex & check which \LaTeX\ engine is running& macros to check which engine, e
geometry & set page size and margins & can use \verb|\newgeometry| in \texttt{mydesign.tex}\\
graphicsx& support for inserting images & use to include graphics\\
hyperref & support for hyperlinks and metadata & must complete setup in preamble\\
+mathtools& loads and extends \texttt{amsmath} & \textbf{many useful math macros available}. See documentation for \texttt{amsmath} and \texttt{mathtools} \\[0.7em]
+\midrule
hyperxmp & fallback if no \verb|\DocumentMetadata{..}|& ---\\
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 & loaded if class option is given & keyvalue \texttt{lineno} will give line numbers; \texttt{lineno} package has additional commands that control line numbering\\[3em]
@@ -453,11 +476,14 @@ The packages called by \texttt{mitthesis} are listed in Table~\ref{tab:3} on pag
\section*{USE OUTSIDE MIT}
If you wish to adapt this template for use at a different institution, you can put the following commands in your preamble.
\begin{itemize}
-\item Use \verb|\Institution{Your Institution}| to change MIT to your own institution on the title page. {\small\textit{New with v1.06.}}
+\item Use \verb|\Institution{Your Institution}| to change MIT to your own institution on the title page. %{\small\textit{New with v1.06.}}
\item Use \verb|\maketitle*| (in place of \verb|\maketitle|) to drop the MIT copyright permission statement
-\item Omitting \verb|\Acceptor| commands will drop the ``Accepted by:'' field. To suppress the resultant error message, put \verb|\SuppressAcceptorError| before \verb|\maketitle*|. \newline{\small\textit{New with v1.06.}}
+\item If your institution issues degrees in months other than February, May, June, or September, you can still put those months into the
+\verb|\DegreeDate| command. To suppress the resulting error message, put \verb|\SuppressMonthError| before \verb|\maketitle*|. %\newline{\small\textit{New with v1.11.}}
+
+\item Omitting \verb|\Acceptor| commands will drop the ``Accepted by:'' field. To suppress the resultant error message, put \verb|\SuppressAcceptorError| before \verb|\maketitle*|. %\newline{\small\textit{New with v1.06.}}
\end{itemize}
Please do not remove the license/copyright text from the sources files --- this code took me some time write!
diff --git a/macros/latex/contrib/mitthesis/mitthesis.cls b/macros/latex/contrib/mitthesis/mitthesis.cls
index 65e018443a..b48703d745 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.10}
- \def\versiondate{2023/09/23\space}
+ \def\versionno{1.11}
+ \def\versiondate{2023/11/02\space}
%%
%% Author: John H. Lienhard, V
%% Department of Mechanical Engineering
@@ -57,6 +57,7 @@
\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}% compare version to date; \If... added to latex 2020/10/01
\providecommand\IfPackageAtLeastTF{\@ifpackagelater}% compare version to date; \If... added to latex 2020/10/01
+\providecommand\IfPackageLoadedTF{\@ifpackageloaded}% \If...added to latex 2021/11/15
\IfFormatAtLeastTF{2020/10/01}{%
\typeout{^^JYour LaTeX format is dated \fmtversion. LaTeX distributions from 2022/11/01 or later are strongly recommended for best results^^J}
@@ -90,6 +91,15 @@
\RequirePackage{xparse}
\fi
+% Allow pre 2021/11/15 formats to see the graphicx alt key without causing an error
+\IfFormatAtLeastTF{2021/11/15}{
+ \relax
+}{
+ \AtBeginDocument{
+ \IfPackageLoadedTF{graphicx}{\define@key{Gin}{alt}{}}{\relax}
+ }
+}
+
%%%%%%%%%%%%%% Options for the class %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\IfFormatAtLeastTF{2022/11/01}{%
@@ -158,13 +168,14 @@
% We'd like these sections to have pdf bookmarks and to have the two lists appear in the table of contents
\patchcmd{\tableofcontents}{\@starttoc{toc}}{\pdfbookmark[0]{Table of Contents}{toc}\@starttoc{toc}}{}{}
-\patchcmd{\listoffigures}{\chapter*{\listfigurename}}{\chapter*{\listfigurename}\addcontentsline{toc}{chapter}{\protect\textbf{\listfigurename}}}{}{}
-\patchcmd{\listoftables}{\chapter*{\listtablename}}{\chapter*{\listtablename}\addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}}{}{}
+\patchcmd{\listoffigures}{\chapter*{\listfigurename}}{\chapter*{\listfigurename}\addcontentsline{toc}{chapter}{\listfigurename}}{}{}
+\patchcmd{\listoftables}{\chapter*{\listtablename}}{\chapter*{\listtablename}\addcontentsline{toc}{chapter}{\listtablename}}{}{}
%%%%%%%%%%%%% Geometry, mathtools, graphics, design, fonts, hyperrefs, bookmarks, footnotes %%%%%%%%%%%%%%%%%%%
-\RequirePackage[letterpaper,top=1in,bottom=1in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.5in]{geometry}
+%\RequirePackage[letterpaper,top=1in,bottom=0.97136in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.47136in]{geometry} % bottom margin allows 45\baselineskip in \textheight
+\RequirePackage[letterpaper,top=1in,bottom=1in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.5in,heightrounded]{geometry} % 44\baselineskip = \texteheight - \topskip = 650.0pt - 12pt with rounded height
\RequirePackage{mathtools}% loads and extends amsmath; must load before hyperref and unicode-math
@@ -206,7 +217,7 @@
filecolor=red,
}
\ifmit@lineno
- \renewcommand{\linenumberfont}{\sffamily\tiny\color{violet}}
+ \renewcommand{\linenumberfont}{\sffamily\mdseries\tiny\color{violet}}% add mdseries 2023/10/11
\fi
}
\fi
@@ -352,6 +363,12 @@
\tl_gset:Nx \g_dd_thesisdate_tl { \tl_trim_spaces:n {#1} }
}
+% If for some reason you don't want a warning when you supply the wrong month
+\NewDocumentCommand\SuppressMonthError{}
+ {
+ \msg_redirect_name:nnn { \ClassName } { wrong_month } { none }
+ }
+
%%%%%%%%%% End Degree Date Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -432,6 +449,8 @@
}
+\tl_new:N \g__author_namesize_tl
+\tl_gset:Nn \g__author_namesize_tl { \large }
\cs_new:Nn \__author_block: {
\int_zero_new:N \l__author_authorno_int
\int_incr:N \l__author_authorno_int
@@ -440,7 +459,7 @@
}
{by\par
\int_until_do:nNnn { \l__author_authorno_int } = { \g_author_authorcnt_int } {
- \seq_item:cn { g_author_name_seq } { \l__author_authorno_int } \par
+ { \g__author_namesize_tl \seq_item:cn { g_author_name_seq } { \l__author_authorno_int } } \par
\tl_set:Nx \l_tmpa_tl { \seq_item:cn { g_author_prevdegree_seq } { \l__author_authorno_int} }
\tl_if_empty:NF \l_tmpa_tl { \normalsize \l_tmpa_tl }% no linebreak or par for empty items
\tl_set:Nx \l_tmpa_tl { \seq_item:cn { g_author_secondprevdegree_seq } { \l__author_authorno_int} }
@@ -452,7 +471,7 @@
\par and\par
\int_incr:N \l__author_authorno_int
}
- \seq_item:cn { g_author_name_seq } { \l__author_authorno_int } \par
+ { \g__author_namesize_tl \seq_item:cn { g_author_name_seq } { \l__author_authorno_int } } \par
\tl_set:Nx \l_tmpa_tl { \seq_item:cn { g_author_prevdegree_seq } { \l__author_authorno_int} }
\tl_if_empty:NF \l_tmpa_tl { \normalsize \l_tmpa_tl }% no linebreak or par for empty items
\tl_set:Nx \l_tmpa_tl { \seq_item:cn { g_author_secondprevdegree_seq } { \l__author_authorno_int} }
@@ -461,12 +480,16 @@
\tl_if_empty:NF \l_tmpa_tl { \linebreak\normalsize \l_tmpa_tl }
\tl_set:Nx \l_tmpa_tl { \seq_item:cn { g_author_fourthprevdegree_seq } {\l__author_authorno_int} }
\tl_if_empty:NF \l_tmpa_tl { \linebreak\normalsize \l_tmpa_tl }
- \par\medskip
+ \par
}
}
\msg_new:nnnn { \ClassName } { no_author }
{ Missing\ author!\ You\ must\ issue\ the\ \Author{name}{department}\ command. }{
You\ MUST\ issue\ the\ \Author{name}{department}\ command\ after\ \string\begin{document}\ and\ before\ \string\maketitle. }
+\NewDocumentCommand\AuthorNameSize{m}{
+ \tl_gset:Nn \g__author_namesize_tl {#1}
+}
+
\cs_new:Nn \__author_abstractblock: {
\int_zero_new:N \l__author_authorno_int
@@ -493,6 +516,7 @@
\seq_new:N \g_supervisor_title_seq
\int_gzero_new:N \g_supervisor_supervisorcnt_int
+
\NewDocumentCommand\Supervisor{mm}{
\tl_if_blank:nTF{#1}{
\msg_error:nn { \ClassName } { blank_supervisor }
@@ -640,12 +664,12 @@
\linebreak \mbox {in\ partial\ fulfillment\ of\ the\ requirements\ for\ the\
\int_compare:nNnTF { \g_degree_degreecnt_int } > {1} {degrees} {degree}
\ of}
- \par\medskip
+ \par%\medskip, removed 2023/10/25 to work better with four block layout of title page
\int_until_do:nNnn { \l__degree_degreeno_int } = { \g_degree_degreecnt_int } {
\text_uppercase:n {\seq_item:cn { g_degree_name_seq } { \l__degree_degreeno_int }}\par and\par
\int_incr:N \l__degree_degreeno_int
}
- \text_uppercase:n {\seq_item:cn { g_degree_name_seq } { \l__degree_degreeno_int }}\par\medskip
+ \text_uppercase:n {\seq_item:cn { g_degree_name_seq } { \l__degree_degreeno_int }}\par
}
\msg_new:nnnn { \ClassName } { no_degree }
{ Missing\ degree!\ You\ must\ issue\ the\ \Degree{name}{department}\ command. }{
@@ -712,6 +736,8 @@
\int_gzero_new:N \g__signature_supno_int
\int_gzero_new:N \g__signature_accno_int
\g__signature_sigsize_tl
+ \dim_set:Nn \topsep {0pt}
+ \dim_set:Nn \partopsep {0pt}
\begin{tabbing}
\hspace{1.35in} \= \hspace{1in} \kill
\int_do_while:nNnn { \g__signature_autno_int } < { \g_author_authorcnt_int } {
@@ -735,13 +761,14 @@
\\
\> \seq_item:cn { g_acceptor_title_seq } { \g__signature_accno_int }
}
- \\[1em]
- }
+ \int_compare:nNnTF { \g__signature_accno_int } = { \g_acceptor_acceptorcnt_int }
+ { \\ }{ \\[1em]}
+ }
}
\end{tabbing}
}
\msg_new:nnnn { \ClassName } { weird_sigsize }
- { \SignatureBlockSize\ expects\ a\ font-sizing\ command,\ such\ as\ \small,\ \footnotesize,\ etc.}{You\ used\ a\ weird\ input\ value\ here.\ If\ you\ did\ so\ deliberately,\ try\ continuing.}
+ { \SignatureBlockSize\ expects\ a\ font-sizing\ command,\ such\ as\ \small,\ \footnotesize,\ etc.}{You\ used\ a\ weird\ input\ value\ here.\ If\ you\ did\ so\ deliberately,\ try\ continuing.}
\msg_new:nnnn { \ClassName } { no_acceptor }
{ Missing\ acceptor!\ You\ must\ issue\ the\ \Acceptor{name}{department}{title}\ command. }{
You\ MUST\ issue\ the\ \Acceptor{name}{department}{title}\ command\ after\ \string\begin{document}\ and\ before\ \string\maketitle.}
@@ -789,7 +816,7 @@
\cs_if_exist:NT \pdfmeta_xmp_add:n {
\pdfmeta_xmp_add:n {<xmpRights:WebStatement>#2</xmpRights:WebStatement>}
}
- \cs_if_exist:NTF \msg_note:nnn % added to expl3 2021/05/18
+ \cs_if_exist:NTF \msg_note:nnn % command was added to expl3 2021/05/18
{
\msg_note:nnn { \ClassName } { cclicense} {#1}
}
@@ -825,8 +852,32 @@
\cs_new:Npn \Institution #1 { \tl_gset:Nn \g_titlepage_institution_name_tl {\tl_trim_spaces:n #1} }
-\RenewDocumentCommand\maketitle{s}{%
- \cs_if_exist:NTF \DegreeMonth { \scan_stop: } { \msg_error:nn { \ClassName } { no_degree_date } }% msg defined in degree-date section
+%%%%%%% Adjust vertical skips between the major blocks of the title page
+
+\bool_new:N \g_titlepage_squashglue_bool
+\cs_new_protected:Nn \__titlepage_bottomskip: {
+ \if_bool:N \g_titlepage_squashglue_bool
+ { \skip_vertical:n { 0pt plus 1filll } }
+ \else:
+ { \skip_vertical:n { 0pt plus 12fill } }
+ \fi:
+}
+\NewDocumentCommand\Squash{}{ \bool_set_true:N \g_titlepage_squashglue_bool }% Squashes all glue from bottom upward
+
+\bool_new:N \g_titlepage_tighten_bool
+\cs_new_protected:Nn \__titlepage_blockskip:nn {
+ \if_bool:N \g_titlepage_tighten_bool
+ { \skip_vertical:n { 6pt plus #2fill } }
+ \else:
+ { \skip_vertical:n { #1pt plus #2fill } }
+ \fi:
+}
+\NewDocumentCommand\Tighten{}{ \bool_set_true:N \g_titlepage_tighten_bool }% Reduces 12pt and 18pt skips to 6pt
+
+%%%%%%%%%%%%
+
+\RenewDocumentCommand\maketitle{s}{
+ \cs_if_exist:NTF \DegreeMonth { \scan_stop: } { \msg_error:nn { \ClassName } { no_degree_date } }% msg def'd in degree-date section
%
\bool_if:NTF \g__cclicense_tf_bool {
\tl_gset:Nn \g_copyright_copyrightlicencse_tl
@@ -846,34 +897,33 @@
{
\tl_gset:Nn \g__copyright_crwords_tl_ {The\ author\ hereby\ grants}
}
- \IfBooleanTF{#1}{%
+ \IfBooleanTF{#1}{
\tl_gset:Nn \g_copyright_mitpermission_tl {\scan_stop:}
}{
\tl_gset:Nn \g_copyright_mitpermission_tl {\g__copyright_crwords_tl_\ \g__copyright_mitpermissionlast_tl}
}
%
\clearpage
- \thispagestyle{empty}%
- \phantomsection\addcontentsline{toc}{chapter}{\protect\textbf{Title page}}%
+ \thispagestyle{empty}
{\centering \vbox_to_ht:nn { \vsize }% to prevent signature block from breaking across page
{
- \setlength{\parskip}{0.5\baselineskip plus 2pt minus 2pt}\setlength{\parindent}{0pt}%
- {\Large\textbf{\g_mitthesis_title_tl}\par}
+ \setlength{\parskip}{7.5pt plus 1pt minus 1pt}% edited all vertical space on this page 2023/10/25
+ \setlength{\parindent}{0pt}
+ {\Large\textbf{\g_mitthesis_title_tl}\phantomsection\addcontentsline{toc}{chapter}{Title\ page}\par} % revise for tagging in future
+ \__titlepage_blockskip:nn {12}{1.5}% new idea
\__author_block:
- \par
+ \__titlepage_blockskip:nn {12}{1.5}
\__degree_block:
at\ the\par
\text_uppercase:n { \g_titlepage_institution_name_tl }\par
- \DegreeMonth\ \DegreeYear
- \par
- \copyright\space\DegreeYear\space\CopyrightAuthor\@.\c_space_token \g_copyright_copyrightlicencse_tl % In case name ends with III, IV, V,...
- \par
- \skip_vertical:n {\baselineskip}
- %
- \__signature_block:
- \vfill % to avoid overstretched glue
+ \DegreeMonth\ \DegreeYear\par
+ \__titlepage_blockskip:nn {12}{2}
+ \copyright\space\DegreeYear\space\CopyrightAuthor\@.\c_space_token \g_copyright_copyrightlicencse_tl % \@. in case name ends with III, IV, V,...
+ \__titlepage_blockskip:nn {18}{2}
+ \vbox:n {\__signature_block:}
+ \__titlepage_bottomskip:
}
- }%
+ }
\hypersetup{
pdfcopyright={Copyright\ \DegreeYear\ by\ \CopyrightAuthor.\ \g_copyright_pdfrightstext_tl},
pdfauthor={\g__author_pdfca_tl},
@@ -893,9 +943,8 @@
\RenewDocumentEnvironment{abstract}{+b}{
\newpage
- \phantomsection\addcontentsline{toc}{chapter}{\protect\textbf{\abstractname}}
\begin{center}
- {\large{\textbf{\g_mitthesis_title_tl}}\par}
+ {\large{\textbf{\g_mitthesis_title_tl}}\phantomsection\addcontentsline{toc}{chapter}{\abstractname}\par} % revise for tagging as LaTeX evolves further
\setlength{\parskip}{0.5\baselineskip plus 2pt minus 2pt}
\__author_abstractblock:
\par
@@ -936,7 +985,8 @@
% nomenclature subheadings
\NewDocumentCommand\EntryHeading{m}{%
\itemsep3\p@ plus 1\p@ minus 1\p@
- \goodbreak\item[\itshape#1\hfill]\setlength\itemsep\savitemsep\@itempenalty=1000
+ \goodbreak\item[\itshape#1\hfill]\mbox{}% mbox added for tagged pdf 2023/10/11
+ \setlength{\itemsep}{\savitemsep}\@itempenalty=1000
}
%
% Increase first optional argument to a dimension > 2em if wide entries cause undesired misalignment of columns.
@@ -946,7 +996,7 @@
\setlength\columnsep{2em}
\setlength{\nomenwidth}{#1}
\csname #3\endcsname *{#2}% this level will vary amongst users!
- \phantomsection\addcontentsline{toc}{#3}{#2}%
+ \phantomsection\addcontentsline{toc}{#3}{#2}% tagged pdf may not capture both of these ... 2023/10/18
\raggedright
\begin{list}{}{%
\setlength{\itemsep}{0pt}%
@@ -955,7 +1005,7 @@
\setlength{\labelwidth}{\nomenwidth}%
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}%
- \setlength\savitemsep\itemsep%
+ \setlength{\savitemsep}{\itemsep}%
}%
}{\end{list}\ignorespacesafterend}