summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mitthesis/MIT-thesis-template
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-06-21 03:00:51 +0000
committerNorbert Preining <norbert@preining.info>2023-06-21 03:00:51 +0000
commit16d6a70c44a97b15c195cf6b10f59f3deadd0e66 (patch)
tree5bcad01a9bbbb2a9f79dc7f9838bcda60024164d /macros/latex/contrib/mitthesis/MIT-thesis-template
parentcce87a5ab0d6acdcd0d1425a8a86696c803785b4 (diff)
CTAN sync 202306210300
Diffstat (limited to 'macros/latex/contrib/mitthesis/MIT-thesis-template')
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex295
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/abstract.tex11
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex11
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex63
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex10
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex162
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/mitthesis-sample.bib325
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex58
8 files changed, 935 insertions, 0 deletions
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
new file mode 100644
index 0000000000..f3563bd239
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
@@ -0,0 +1,295 @@
+% !TEX encoding = UTF-8 Unicode
+% !BIB TS-program = biber
+% !BIB program = biber
+
+% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
+% Version: 1.01, 2023/06/19
+% 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
+{
+ pdfstandard = a-2b,
+ pdfversion = 1.7,
+ lang = en-US,
+% debug = {xmp-export}, % output xmpi file to directly examine metadata
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[twoside]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-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
+% option [mydesign] loads packages for color, title and list formats, margins, or captions: edit mydesign.tex to change defaults.
+% option [fontset] is a keyvalue which can be:
+% pdftex or unicode engines: defaultfonts, libertine, lucida
+% pdftex only: fira-newtxsf, newtx, newtx-sans-text
+% unicode engines (luatex): heros-stix2, stix2, termes, termes-stix2
+% if no key value is given, fonts default to CMR (pdftex) or LMR (unicode), i.e., "the latex font".
+% You can edit the fontset files or you can write your own, myfonts.tex, and do [fontset=myfonts].
+% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
+
+%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
+
+%% Package for code listing in Appendix A.
+\usepackage{listings}
+
+%% Set chemical formulas nicely
+\usepackage[version=4]{mhchem}
+
+%% Latin filler used in Chapter 1, with a test for package version date
+\usepackage{lipsum}
+\IfPackageAtLeastTF{lipsum}{2021/09/20}{\setlipsum{auto-lang=false}}{}
+
+
+%%%%%%%%% Graphics path (to figure files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Can set graphicspath to point to specific directories containing figures (the current directory is searched automatically)
+%% For instance, to search a subdirectory of the current directory called "figures" and a parallel directory called "art", set:
+
+% \graphicspath{ {figures/} {../art/} }% For details see: https://latexref.xyz/dev/latex2e.html#g_t_005cgraphicspath
+
+
+%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{biblatex}
+
+\addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <=================
+
+%% 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}
+
+% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+
+
+%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%\RequirePackage[numbers,sort&compress]{natbib}
+
+%%% add bibliography to table of contents
+%\apptocmd{\bibliography}{\addcontentsline{toc}{chapter}{\protect\textbf{\bibname}}}{}{}
+
+%%% You can use this to rename the bibliography section
+%\renewcommand{\bibname}{References}
+
+%%% Can adjust space between bibliography items (change 4pt to something else; don't drop last two lengths, they are stretchable "glue")
+%\setlength\bibsep{4pt plus 1pt minus 1pt}
+
+
+%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\usepackage{booktabs}% better quality tables
+\usepackage{array}% additional options for table columns
+
+%\usepackage{tabularx}
+
+%\usepackage{dcolumn} % alignment on decimal places
+%\newcolumntype{d}[1]{D{.}{.}{#1}}
+
+
+%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Back in the typewriter era, double spaced lines were convenient for editing with a pencil.
+%% In typography, the separation between lines is called "leading", and it is usually set in
+%% proportion to the font size (i.e., when the font is loaded). If you really feel the need
+%% 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 these here)
+%
+%\usepackage{setspace}
+%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+%
+%% Use the these commands AFTER the frontmatter
+%
+%\onehalfspacing
+%\doublespacing
+%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+
+%% The best result may be to stay with leading selected by the typographer who set up the font.
+
+
+%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+
+\hypersetup{%
+%
+% Be sure to change the following to your own information! <======== !!!
+%
+ pdftitle={MIT thesis template},
+ pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
+ pdfauthor={\YourName},
+ 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},
+ pdfcontactcity={Cambridge, MA},
+ pdfcontactpostcode={02139},
+ pdfcontactcountry={USA},
+ pdfcontacturl={https://lienhard.mit.edu},
+%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
+%
+ colorlinks=true,
+ 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 (although Firefox does)
+% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
+%
+ pdfborder={0 0 0},
+ bookmarksnumbered=true,
+ bookmarksopen=true,
+ bookmarksopenlevel=1,
+% pdfpagemode=UseNone,% this option means don't open bookmarks panel
+ pdfpagelayout=SinglePage,
+ 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
+}
+
+%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\begin{document}
+
+
+%%% edit the following commands to match your thesis %%%%%%%%%%
+
+\title{The Atomic Theory as Applied To Gases, with Some Experiments on the Viscosity of Air}
+
+% \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.
+
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+%\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}
+
+% 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}
+
+% 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 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}
+
+% Usage: \DegreeDate{Month}{year}
+% 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.
+% Omit this command if you are not using a cc license.
+%
+\CClicense{CC BY-NC-ND 4.0}{https://creativecommons.org/licenses/by-nc-nd/4.0/}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%% Titlepage
+\maketitle
+ \cleardoublepage% for two-sided printing, this puts abstract on a right-hand (odd) page, possibly inserting a blank page
+ % if the the class option [twoside] is omitted, the command just begins a new page
+
+
+%%%%%%%%% 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
+
+%%% Frontmatter (write this material in the mentioned files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+% The abstract environment creates all the required headers and footnote.
+% You only need to add the text of the abstract itself in the file abstract.tex
+\begin{abstract}
+ \input{abstract.tex}% in this case, use \input rather than \include because you are inside an environment
+\end{abstract}
+ \cleardoublepage
+
+\include{acknowledgments.tex}%
+ \cleardoublepage
+
+\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
+ \cleardoublepage
+
+
+%%% 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% If you feel a need for "double spacing", you can start here...
+
+\include{chapter1.tex}
+%\include{chapter2.tex}
+%\include{chapter3.tex}
+%\include{chapter4.tex}
+
+
+%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\appendix
+\include{appendixa.tex}
+
+
+%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+{\raggedright% to avoid stretched white space and split urls; DELETE 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}
+%\bibliography{mitthesis-sample.bib}
+
+\end{document}
+ \ No newline at end of file
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/abstract.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/abstract.tex
new file mode 100644
index 0000000000..921ee71ed6
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/abstract.tex
@@ -0,0 +1,11 @@
+% From mitthesis package
+% Version: 1.01, 2023/06/19
+% Documentation: https://ctan.org/pkg/mitthesis
+%
+% The abstract environment creates all the required headers and footnote.
+% You only need to add the text of the abstract itself.
+%
+% Approximately 500 words or less; try not to use formulas or special characters
+% If you don't want an initial indentation, do \noindent at the start of the abstract
+
+The developments of the ``kinetic theory'' of gases made within the last ten years have enabled it to account satisfactorily for many of the laws of gases. The mathematical deductions of Clausius, Maxwell and others, based upon the hypothesis of a gas composed of molecules acting upon each other at impact like perfectly elastic spheres, have furnished expressions for the laws of its elasticity, viscosity, conductivity for heat, diffusive power and other properties. For some of these laws we have experimental data of value in testing the validity of these deductions and assumptions. Next to the elasticity, perhaps the phenomena of the viscosity of gases are best adapted to investigation.\footnote{Text from Holman (1876): \doi{10.2307/25138434}.}
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex
new file mode 100644
index 0000000000..3e41684a12
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/acknowledgments.tex
@@ -0,0 +1,11 @@
+%% acknowledgments.tex
+
+% From mitthesis package
+% Version: 1.00, 2023/06/17
+% Documentation: https://ctan.org/pkg/mitthesis
+
+
+\chapter*{Acknowledgments}
+\addcontentsline{toc}{chapter}{\protect\textbf{Acknowledgments}}
+
+Write your acknowledgments here.
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex
new file mode 100644
index 0000000000..07a90bce08
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/appendixa.tex
@@ -0,0 +1,63 @@
+% From mitthesis package
+% Version: 1.00, 2023/06/17
+% Documentation: https://ctan.org/pkg/mitthesis
+
+
+\chapter{Code listing}
+
+\lstdefinestyle{mystyle}{
+ backgroundcolor=\color{CadetBlue!15!white},
+ commentstyle=\color{Red3},
+ numberstyle=\tiny\color{gray},
+ stringstyle=\color{Blue3},
+ basicstyle=\small\ttfamily,
+ breakatwhitespace=false,
+ breaklines=true,
+ numbers=left,
+ numbersep=5pt,
+ showspaces=false,
+ showstringspaces=false,
+ showtabs=false,
+ tabsize=2
+}%
+\lstset{language=[5.3]Lua,style={mystyle}}%
+
+\begin{lstlisting}
+function print_rate(kappa,xMin,xMax,npoints,option)
+ local c = 1-kappa*kappa
+ local croot = (1-kappa*kappa)^(1/2)
+ local logx = math.log(xMin)
+ local psi = 0
+
+ local xstep = (math.log(xMax)-math.log(xMin))/(npoints-1)
+
+ arg0 = math.sqrt(xMin/c)
+ 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
+ else
+ tex.sprint("\\addplot+ coordinates{")
+ end
+ tex.sprint("("..xMin..","..psi0..")")
+
+ for i=1, (npoints-1) do
+ x = math.exp(logx + xstep)
+ arg = math.sqrt(x/c)
+ 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..")")
+ end
+ tex.sprint("}")
+end
+\end{luacode*}
+\end{lstlisting}
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex
new file mode 100644
index 0000000000..27c63e067c
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/biography.tex
@@ -0,0 +1,10 @@
+%% This section is optional
+
+\chapter*{Biographical Sketch}
+\addcontentsline{toc}{chapter}{\protect\textbf{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.
+
+Holman's light burned brilliantly before his tragic and untimely death. He published extensively in thermal physics, and authored textbooks on precision measurement, fundamental mechanics, and other subjects. He established the original Heat Measurements Laboratory. Holman was a much admired teacher among both his students and his colleagues. The reports of his department and of the Institute itself refer to him frequently in the 1880's and 1890's, in tones that gradually shift from the greatest respect to the deepest sympathy.
+
+Holman was a student of Professor Edward C. Pickering, then head of the Physics department. Holman himself became second in command of Physics, under Professor Charles R. Cross, some years later. Among Holman's students, several went on to distinguish themselves, including: the astronomer George E. Hale ('90) who organized the Yerkes and Mt. Wilson observatories and who designed the 200 inch telescope on Mt. Palomar; Charles G. Abbot ('94), also an astrophysicist and later Secretary of the Smithsonian Institution; and George K. Burgess ('96), later Director of the Bureau of Standards. \ No newline at end of file
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex
new file mode 100644
index 0000000000..7170486dac
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/chapter1.tex
@@ -0,0 +1,162 @@
+% From mitthesis package
+% Version: 1.01, 2023/06/19
+% Documentation: https://ctan.org/pkg/mitthesis
+
+
+\chapter{Introduction}
+
+\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: \(\psi/\textrm{J}\)]{A section discussing the first issue: \ifpdftex\(\bm{\psi}/\bm{J}\)\else{\(\symbfup{\psi/J}\)}\fi}
+
+
+We begin with some ideas from the literature \cite{Fong2015,sharpe1}.
+\begin{equation}
+\frac{\partial}{\partial t}\left[\rho\bigl(e + \lvert\vec{u}\rvert^2\big/2\bigr)\right] + \nabla\cdot\left[\rho\bigl(h + \lvert\vec{u}\rvert^2\big/2 \bigr)\vec{u}\right]
+ ={}-\nabla \cdot \vec{q} + \rho \vec{u}\cdot\vec{g}+ \frac{\partial}{\partial x_j}\bigl(d_{ji}u_i\bigr)
+\end{equation}
+ \lipsum[3]
+
+\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{subfigure}[c]{0.495\textwidth}
+\centering{\includegraphics[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}}%
+\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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\lipsum[4]
+
+\subsection{Subsection~eqn.~\eqref{eqn:WT1}}
+\lipsum[5-6]
+
+\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}
+\end{equation}
+}%
+
+\section{Description our paradigm~\cite{GSL}}\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{mantissa-format}}
+\end{figure}
+
+
+\subsection{Conversion to a metaheuristic}
+
+\lipsum[11-12] This concept is discussed further in section~\ref{sec:stratified-flow}, and Refs.~\cite{euler1740,fourier1822}.
+
+
+
+\section{Other generalizations}
+
+\subsection{The most general case}
+
+\lipsum[7] And another citation, so that our sources will be unambiguous~\cite{montijano2014}.
+\begin{gather}
+\ce{x Na(NH4)HPO4 ->[\Delta] (NaPO3)_x + x NH3 ^ + x H2O} \\[0.5em]
+\ce{^234_90Th -> ^0_-1$\beta${} + ^234_91Pa} \\[0.5em]
+\ce{SO4^2- + Ba^2+ -> BaSO4 v} \\[0.5em]
+\ce{Zn^2+
+<=>[+ 2OH-][+ 2H+]
+$\underset{\text{amphoteric hydroxide}}{\ce{Zn(OH)2 v}}$
+<=>[+ 2OH-][+ 2H+]
+$\underset{\text{tetrahydroxozincate}}{\ce{[Zn(OH)4]^2-}}$
+}
+\end{gather}
+These examples of chemical formul\ae\ are copied directly from the documentation of the \texttt{mhchem} package, which was used to typeset them.
+
+\section{Baroclinic generation of vorticity\label{sec:stratified-flow}}
+
+Substitution of the particle acceleration and application Stokes theorem leads to the \textit{Kelvin-Bjerknes circulation theorem}, for
+$\rho \neq \text{fn}(p)$:
+\begin{align}
+\frac{d\Gamma}{dt} &{}= \frac{d}{dt} \int_{\mathcal{C}} \mathbf{u} \cdot d\mathbf{r}\\
+ &{}= \int_{\mathcal{C}} \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{r} + \underbrace{\int_{\mathcal{C}} \mathbf{u}\cdot d\biggl( \frac{d\mathbf{r}}{dt}\Biggr)}_{=\, 0} \\[-2pt]
+ &{}= \iint_{\mathcal{S}} \nabla \times \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{A}\\
+ &{}= \iint_{\mathcal{S}} \nabla p \times \nabla \left( \frac{1}{\rho}\right) \cdot d\mathbf{A}
+\end{align}
+
+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:
+% [1] adjust space between symbol and definition
+% [2] name (heading) of the nomenclature list
+% [3] level - can be "section" or "chapter" depending on whether you
+% have one nomenclature list for whole thesis or one for each
+% chapter.
+\begin{nomenclature}[2em][Nomenclature for Chapter~1][section]
+\EntryHeading{Roman letters}
+\entry{$\mathcal{C}$}{material curve}
+\entry{$\mathbf{r}$}{material position [m]}
+\entry{$\mathbf{u}$}{velocity [m s$^{-1}$]}
+\EntryHeading{Greek letters}
+\entry{$\Gamma$}{circulation [m$^2$ s$^{-1}$]}
+\entry{$\rho$}{mass density [kg m$^{-3}$]}
+\end{nomenclature}
+
+%%%%%%%%%%%%%%% begin full width 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}}}
+\toprule
+\multicolumn{1}{@{\hspace*{1.5em}}c}{$x$\rule{0pt}{8pt}} &
+\multicolumn{1}{c}{$\text{erf}(x)$} &
+\multicolumn{1}{c!{\hspace*{3.em}}}{$\text{erfc}(x)$} &
+\multicolumn{1}{c}{$x$} &
+\multicolumn{1}{c}{$\text{erf}(x)$} &
+\multicolumn{1}{c@{\hspace*{1.5em}}}{$\text{erfc}(x)$} \\ \midrule
+0.00 & 0.00000 & 1.00000 & 1.10 & 0.88021 & 0.11980 \\
+0.05 & 0.05637 & 0.94363 & 1.20 & 0.91031 & 0.08969 \\
+0.10 & 0.11246 & 0.88754 & 1.30 & 0.93401 & 0.06599 \\
+0.15 & 0.16800 & 0.83200 & 1.40 & 0.95229 & 0.04771 \\
+0.20 & 0.22270 & 0.77730 & 1.50 & 0.96611 & 0.03389 \\
+0.30 & 0.32863 & 0.67137 & 1.60 & 0.97635 & 0.02365 \\
+0.40 & 0.42839 & 0.57161 & 1.70 & 0.98379 & 0.01621 \\
+0.50 & 0.52050 & 0.47950 & 1.80 & 0.98909 & 0.01091 \\
+0.60 & 0.60386 & 0.39614 & 1.82\makebox[0pt][l]{14} & 0.99000 & 0.01000 \\
+0.70 & 0.67780 & 0.32220 & 1.90 & 0.99279 & 0.00721 \\
+0.80 & 0.74210 & 0.25790 & 2.00 & 0.99532 & 0.00468 \\
+0.90 & 0.79691 & 0.20309 & 2.50 & 0.99959 & 0.00041 \\
+1.00 & 0.84270 & 0.15730 & 3.00 & 0.99998 & 0.00002 \\
+\bottomrule
+\end{tabular*}
+}%
+\end{table*}
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/mitthesis-sample.bib b/macros/latex/contrib/mitthesis/MIT-thesis-template/mitthesis-sample.bib
new file mode 100644
index 0000000000..87828e0351
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/mitthesis-sample.bib
@@ -0,0 +1,325 @@
+%% Sample bibliography file for mitthesis.cls
+%%
+%% Revised: 13 June 2023
+%% Copyright John H. Lienhard, MIT
+%% Offered under the MIT license: https://ctan.org/license/mit
+
+%% REFER TO biblatex documentation for details about possible fields
+%% bibtex support depends on the bibtex style (.bst) and is usually more limited
+
+@article{DKE1969,
+ author = {Donald K. Edwards},
+ year = {1969},
+ title = {Radiative Transfer Characteristics of Materials},
+ journal = {{ASME} J. Heat Transfer},
+ volume = 91,
+ number = 1,
+ pages = {1--15},
+ doi = {10.1115/1.3580108},
+ month = feb,
+}
+%% @article requires these fields: author, title, journaltitle, year/date
+%%
+%% Optional fields in biblatex: translator, annotator, commentator, subtitle,
+%% titleaddon, editor, editora, editorb, editorc, journalsubtitle,
+%% journaltitleaddon, issuetitle, issuesubtitle,
+%% issuetitleaddon, language, origlanguage, series, volume,
+%% number, eid, issue, month, pages, version, note, issn, addendum,
+%% pubstate, doi, eprint, eprintclass, eprinttype, url, urldate
+
+@book{ww1920,
+ author = {Edwin Taylor Whittaker and George Neville Watson},
+ year = {1920},
+ title = {A Course of Modern Analysis},
+ edition = {3},
+ publisher = {Cambridge University Press},
+ address = {Cambridge, UK},
+ url = {https://archive.org/details/courseofmodernan00whit},
+}
+%% @book requires these fields: author, title, year/date
+%%
+%% Optional fields: editor, editora, editorb, editorc, translator,
+%% annotator, commentator, introduction, foreword, afterword,
+%% subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon,
+%% language, origlanguage, volume, part, edition, volumes, series,
+%% number, note, publisher, location, isbn, eid, chapter, pages,
+%% pagetotal, addendum, pubstate, doi, eprint, eprintclass,
+%% eprinttype, url, urldate
+
+@inproceedings{Swaminathan2017IDABRO,
+ author = {Swaminathan, Jaichander and Stover, Richard L. and Tow, Emily W. and Warsinger, David M. and Lienhard, John H.},
+ booktitle = {Proceedings of IDA World Congress on Desalination and Water Reuse},
+ title = {Effect of Practical Losses on Optimal Design of Batch {RO} Systems},
+ year = {2017},
+ month = oct,
+ publisher = {International Desalination Association},
+ venue = {S{\~a}o Paulo, Brazil},
+ eventdate = {2017-10-15/2017-10-20},
+ eprinttype= {hdl},
+ eprint = {1721.1/111971},
+ number = {IDA17WC-58334},
+}
+%% @inproceedings requires these fields: author, title, booktitle, year/date
+%%
+%% Optional fields: editor, subtitle, titleaddon, maintitle,
+%% mainsubtitle, maintitleaddon, booksubtitle, booktitleaddon,
+%% eventtitle, eventtitleaddon, eventdate, venue, language,
+%% volume, part, volumes, series, number, note, organization,
+%% publisher, location, month, isbn, eid, chapter, pages, addendum,
+%% pubstate, doi, eprint, eprintclass, eprinttype, url, urldate
+
+@report{reynolds1958,
+ author = {William C. Reynolds and William M. Kays and Stephen J. Kline},
+ title = {Heat transfer in the Incompressible Turbulent Boundary Layer. {I}---Constant Wall Temperature},
+ type = {NASA Technical Memorandum No.},
+ number = {12-1-58W},
+ institution = {National Aeronautics and Space Administration},
+ address = {Washington, DC},
+ year = {1958},
+ eprinttype= {hdl},
+ eprint = {2060/19980228020},
+ month = dec,
+}
+%% Equivalent links for this case: url = {https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19980228020.pdf},
+%% url = {https://hdl.handle.net/2060/19980228020},
+%%
+%% @report requires these fields: author, title, type, institution, year/date
+%%
+%% Optional fields: subtitle, titleaddon, language, number, version,
+%% note, location, month, isrn, eid, chapter, pages, pagetotal,
+%% addendum, pubstate, doi, eprint, eprintclass, eprinttype, url,urldate
+
+@incollection{clauser56,
+ author = {Francis H. Clauser},
+ year = {1956},
+ title = {The Turbulent Boundary Layer},
+ booktitle = {Advances in Applied Mechanics},
+ editor = {H. L. Dryden and Th. von K\'arm\'an},
+ volume = {4},
+ publisher = {Elsevier},
+ address = {Amsterdam, The Netherlands},
+ pages = {1--51},
+ doi = {10.1016/S0065-2156(08)70370-3},
+}
+%% This case is an article in series of edited books where the series title is the same for all volumes.
+%%
+%% incollection requires these fields: author, title, editor, booktitle, year/date
+%%
+%% Optional fields: editor, editora, editorb, editorc, translator,
+%% annotator, commentator, introduction, foreword, afterword,
+%% subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon,
+%% booksubtitle, booktitleaddon, language, origlanguage, volume,
+%% part, edition, volumes, series, number, note, publisher,
+%% location, isbn, eid, chapter, pages, addendum, pubstate, doi,
+%% eprint, eprintclass, eprinttype, url, urldate
+
+@thesis{gibbs1863,
+ author = {Joisah Willard Gibbs},
+ year = {1863},
+ title = {On the Form of the Teeth of Wheels in Spur Gearing},
+ type = {Ph.{D}. dissertation},
+ school = {Yale University},
+ address = {New Haven, CT},
+}
+%% phdthesis requires these fields: author, title, type, institution, year/date
+%%
+%% Optional fields: subtitle, titleaddon, language, note, location,
+%% month, isbn, eid, chapter, pages, pagetotal, addendum, pubstate,
+%% doi, eprint, eprintclass, eprinttype, url, urldate
+%%
+%% Use the type field to specify the type of thesis. type = {},
+
+@proceedings{johnson1965,
+ editor = {Howard W. Johnson},
+ title = {The Title of the Proceedings},
+ year = 1965,
+ volume = 2,
+ organization = {Organization},
+ venue = {City, State},
+ eventdate = {1965-04-27/1965-04-28},
+ url = {https://news.mit.edu/2009/obit-johnson},
+}
+%% @proceedings requires these fields: title, year/date
+%%
+%% Optional fields: editor, subtitle, titleaddon, maintitle,
+%% mainsubtitle, maintitleaddon, eventtitle, eventtitleaddon, eventdate, venue, language, volume, part, volumes, series,
+%% number, note, organization, publisher, location, month, isbn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint,
+%% eprintclass, eprinttype, url, urldate
+
+@manual{GSL,
+ title = {{GNU} Scientific Library},
+ author = {Mark Galassi
+ and Jim Davies
+ and James Theiler
+ and Brian Gough
+ and Gerard Jungman
+ and Patrick Alken
+ and Michael Booth
+ and Fabrice Rossi
+ and Rhys Ulerich},
+ version = {2.4},
+ organization = {Free Software Foundation},
+ address = {Boston, MA},
+ year = 2017,
+ url = {https://www.gnu.org/software/gsl/},
+ urldate = {2018-12-12},
+}
+%% @manual requires these fields: author/editor, title, year/date
+%%
+%% Optional fields: subtitle, titleaddon, language, edition, type,
+%% series, number, version, note, organization, publisher,
+%% location, isbn, eid, chapter, pages, pagetotal, addendum,
+%% pubstate, doi, eprint, eprintclass, eprinttype, url, urldate
+
+@online{sharpe1,
+ author = {Michael Sharpe},
+ year = {2022},
+ month = mar,
+ title = {New {TX} Font Package},
+ version = {1.71},
+ organization = {Comprehensive \TeX\ Archive Network},
+ url = {https://ctan.org/pkg/newtx},
+ urldate = {2023-05-29},
+}
+%% @online requires these fields: author/editor, title, year/date, doi/eprint/url
+%%
+%% Optional fields: subtitle, titleaddon, language, version, note,
+%% organization, month, addendum, pubstate, eprintclass, eprinttype, urldate
+
+@misc{Fong2015,
+ title = {Analytical Methods for Squaring the Disc},
+ year = {2015},
+ author = {Chamberlain Fong},
+ howpublished = {{\itshape ArXiv e-prints}},
+ eprint = {1509.06344},
+ eprinttype= {arxiv},
+ month = sep,
+}
+%% @misc requires these fields: author/editor, title, year/date
+%%
+%% Optional fields: subtitle, titleaddon, language, howpublished, type, version, note,
+%% organization, location, month, addendum, pubstate, doi, eprint, eprintclass,
+%% eprinttype, url, urldate
+
+@BOOK{kirk2288a,
+ author = {James Tiberius Kirk},
+ year = {2288},
+ title = {Decline and Fall of the Romulan Empire},
+ edition = 7,
+ series = {Humankind's Greatest Writings},
+ number = {23},
+ publisher = {Vulcan Free Press},
+ address = {T'Paal},
+ addendum = {To appear.},
+}
+%% One book in a series of books
+%% Under bibtex, replace addendum by note
+
+@bookinbook{churchill1948,
+ author = {Winston S. Churchill},
+ year = {1948},
+ title = {The Gathering Storm},
+ series = {The Second World War},
+ volume = {1},
+ chapter = {5, {``The Locust Years''}},
+ pages = {66--89},
+ url = {https://www.worldcat.org/oclc/3025315},
+ publisher = {Houghton Mifflin Co.},
+ address = {Boston},
+}
+%% one book in a multivolume book written by a single author
+%% with bibtex, revert to "inbook"
+
+@BOOK{johnson1980,
+ editor = {Howard Johnson},
+ year = {1980},
+ title = {Title of Edited Book},
+ publisher = {John Wiley and Sons, Inc.},
+ address = {New York, NY},
+}
+%% edited book
+
+@book{fourier1822,
+ author = {Jean Baptiste Joseph Fourier},
+ year = {1822},
+ title = {Th\'{e}orie Analytique de la Chaleur},
+ publisher = {Firmin Didot, P\`{e}re et Fils},
+ address = {Paris},
+ url = {https://archive.org/details/analyticaltheory00fourrich},
+}
+%% old book, not much difference
+
+@online{dlmf,
+ title = {{NIST} {D}igital Library of Mathematical Functions},
+ version = {1.1.19},
+ year = {2023},
+ month = mar,
+ editor = {F. W. J. Olver and A. B. {Olde Daalhuis} and D. W. Lozier and B. I. Schneider and
+ R. F. Boisvert and C. W. Clark and B. R. Miller and B. V. Saunders},
+ organization = {National Institute of Standards and Technology},
+ address = {Gaithersburg, MD},
+ url = {https://dlmf.nist.gov/},
+ urldate = {2023-05-29},
+}
+
+@article{lienhard2020,
+ author = {Lienhard, John H.},
+ title = {Heat Transfer in Flat-Plate Boundary Layers: A Correlation for Laminar, Transitional, and Turbulent Flow},
+ journal = {{ASME} J. Heat Transfer},
+ volume = {142},
+ number = {6},
+ eid = {061805},
+ year = {2020},
+ month = jun,
+ doi = {10.1115/1.4046795 },
+}
+%% note use of: eid in place of pages
+%% url = {https://doi.org/10.1115/1.4055833},
+
+@manual{amsmath,
+ author = {{American Mathematical Society} and {The \LaTeX\ Project}},
+ year = {2020},
+ month = feb,
+ title = {User's Guide for the \textsf{amsmath} Package },
+ version = {2.1},
+ organization = {Comprehensive \TeX\ Archive Network},
+ url = {https://ctan.org/tex-archive/macros/latex/required/amsmath/amsldoc.pdf},
+ urldate = {2023-05-29},
+}
+
+@article{euler1740,
+ author = {Leonard Euler},
+ year = 1740,
+ title = {De Summis Serierum Reciprocarum},
+ journal = {Commentarii Acad\-emiae Scientiarum Petropolitanae},
+ volume = 7,
+ pages = {123--134},
+ eprinttype= {arxiv},
+ eprint = {math/0506415},
+ addendum = {First communicated to Daniel Bernoulli in 1734 and read before the St.\ Petersburg Academy in December 1735},
+}
+% with bibtex, change addendum to note.
+
+@article{montijano2014,
+ title = {Numerical Methods With LuaLaTeX},
+ author = {Juan I. Montijano and Mario P{\'{e}}rez and Luis R{\'{a}}ndez and Juan Luis Varona},
+ year = 2014,
+ volume = 35,
+ month = jan,
+ number = {1},
+ pages = {51--56},
+ journal = {TUGboat},
+ url = {https://tug.org/TUGboat/tb35-1/tb109montijano.pdf},
+}
+
+@online{mpl,
+ title = {mpl Colormaps},
+ author = {St{\'e}fan {van der Walt} and Nathaniel Smith},
+ url = {https://bids.github.io/colormap/},
+ urldate = {2018-08-26},
+ year = 2015,
+ organization = {GitHub},
+ address = {San Francisco, CA},
+ month = sep,
+}
+ \ No newline at end of file
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex
new file mode 100644
index 0000000000..535f2fbb0e
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/mydesign.tex
@@ -0,0 +1,58 @@
+% From mitthesis package
+% Version: 1.00, 2023/06/17
+% Documentation: https://ctan.org/pkg/mitthesis
+
+
+%%%%%%%%%% Color support %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Color package: xcolor.
+%% Change this if you prefer something else
+
+%% Options for xcolor
+\ifpdftex\def\MyColorOption{fixpdftex}\else\ifluatex\def\MyColorOption{luatex}\else\ifxetex\def\MyColorOption{xetex}\else\def\MyColorOption{}\fi\fi\fi
+
+\usepackage[hyperref,\MyColorOption,dvipsnames,svgnames,x11names]{xcolor}
+%% can add option [table] to xcolor to use color in tables (see xcolor documentation)
+
+
+%%%%%%%%% Caption support %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% see documentation for details of how to customize captions
+
+\RequirePackage{caption}
+\RequirePackage{subcaption}
+
+
+%%%%%%%%% Customize list environments %%%%%%%%%%%%%%%%%%%%
+%
+% see documentation for details of how to customize lists
+
+%\RequirePackage{enumitem}
+
+
+%%%%%%%%% Customize titles and section headings %%%%%%%%%%
+%
+% see documentation for details of how to customize headings
+
+\RequirePackage{titlesec}
+
+% these titlesec commands just automate the bold math in some headings (rest follows default styles)
+\titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection }{1em}{}
+\titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{}
+\titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
+
+% ==> NOT every font includes a bold math version, so you may need to use other math macros in the headings to get bold math <==
+
+
+%%%%%%%%% Change page margins %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The default thesis margin is 1 inch all around. You may want different margins (e.g., to add a gutter for binding),
+% in which case you can use the \newgeometry command from the geometry package. Refer to the package documentation
+% for details.
+%
+% mitthesis defaults: [top=1in,bottom=1in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.5in]
+%
+% The following tells the geometry package to use a two-sided layout with a 1 cm binding offset on the inside
+% and 1 inch margins all around, reducing textwidth slightly (by 0.7 cm). See geometry documentation, Section 8.2.
+%
+%\newgeometry{twoside, bindingoffset=1cm,margin=1in,marginparwidth=50pt,headsep=12pt,footskip=0.5in}