summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex')
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex119
1 files changed, 50 insertions, 69 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
index fc7e8a88f1..2faced3b18 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
+++ b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
@@ -1,11 +1,12 @@
% !TEX encoding = UTF-8 Unicode
-% !BIB TS-program = biber
+% !BIB TS-program = biber
+% !BIB program = biber
% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
%
-% Version: 1.14, 2024/07/19
+% Version: 1.11, 2023/11/02
%
-% Author: John H. Lienhard, copyright 2024. Reuse under the MIT license: https://ctan.org/license/mit
+% Author: John H. Lienhard, copyright 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation is here: https://ctan.org/pkg/mitthesis
@@ -15,11 +16,8 @@
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% pdfversion = 2.0,
-% pdfstandard = a-4,
-% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[twoside]{mitthesis} %,fontset=libertine, fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
@@ -28,9 +26,9 @@
% 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:
-% for pdftex or unicode engines: defaultfonts, libertine, lucida
-% for pdftex only: fira-newtxsf, newtx, newtx-sans-text
-% for unicode engines (luatex): heros-stix2, stix2, termes, termes-stix2
+% 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.
@@ -41,23 +39,12 @@
\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{mhchem}% documentation at https://ctan.org/pkg/mhchem
+\usepackage[version=4]{mhchem}% documentation is here https://ctan.org/pkg/mhchem
-%% Latin filler used in Chapter 1, with a test for package version date (https://ctan.org/pkg/lipsum)
+%% Latin filler used in Chapter 1, with a test for package version date. https://ctan.org/pkg/lipsum
\usepackage{lipsum}
\IfPackageAtLeastTF{lipsum}{2021/09/20}{\setlipsum{auto-lang=false}}{}
-%% Table related packages
-
-\usepackage{booktabs}% publication quality tables (https://ctan.org/pkg/booktabs)
-
-\usepackage{array}% Additional options for column formats (https://ctan.org/pkg/array)
-
-%\usepackage{dcolumn}% For alignment of numbers on the decimal place (https://ctan.org/pkg/dcolumn)
-% \newcolumntype{d}[1]{D{.}{.}{#1}}% use with dcolumn package
-
-%\usepackage{tabularx}% adjustable-width columns in tabular (https://ctan.org/pkg/tabularx)
-
%%%%%%%%% Graphics path (to figure files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -69,17 +56,8 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% Numerical citations of references
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex}
-
-%% IEEE style citations and references
-% \usepackage[style=ieee,maxbibnames=10,sorting=none]{biblatex}% style=ext-numeric-comp,articlein=false,giveninits=true
-% \DefineBibliographyStrings{english}{url= \textsc{url} , }% replaces the IEEE default "[Online]. Available" by "URL"
-
-%% author-year style citations and references
-%% use \parencite, not \cite, when you want "(Author, year)"
-%% The sample files are not set up to include parentheses.
-% \usepackage[style=authoryear, maxbibnames=10]{biblatex}
+\usepackage[style=ieee,maxbibnames=10,sorting=none]{biblatex}% style=ext-numeric-comp,articlein=false,giveninits=true
+ \DefineBibliographyStrings{english}{url= \textsc{url} , }% replaces default "[Online]. Available" by "URL"
\addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <= CHANGE
@@ -87,11 +65,9 @@
%% 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
-%% cheat sheet is here: https://tug.ctan.org/info/biblatex-cheatsheet/biblatex-cheatsheet.pdf
+% 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
-%% To ensure citations are set, run Latex --> biblatex/biber --> Latex again
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -103,9 +79,19 @@
%%% You can use this to rename the bibliography section
%\renewcommand{\bibname}{References}
-%%% To adjust space between bibliography items
+%%% 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}
-% change 4pt to something else; don't drop last two lengths (they are stretchable "glue")
+
+
+%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
+
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
+
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
+%\newcolumntype{d}[1]{D{.}{.}{#1}}
%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -121,13 +107,13 @@
% \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 one or more of the these commands *AFTER* the frontmatter
+%% Use one or more of 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 is usually to stay with leading selected by the typographer who set up the font.
+%% The best result may be to stay with leading selected by the typographer who set up the font.
%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -142,7 +128,7 @@
pdfkeywords={Massachusetts Institute of Technology, MIT},
% Add keywords that will help search engines and libraries to find your work.
% Includes the name[s] of the author[s]
- % (If you used \DocumentMetadata at line 14, you can just put "\CopyrightAuthor," for the names.)
+ % (If you have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
pdfurl={},
% If you have a url for the thesis, put it here. Otherwise delete this.
@@ -176,31 +162,29 @@
% 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{Edward C. Pickering}{Professor of Physics, and \\ \> Professor of Something Else}
% \Supervisor{Secunda Castor}{Professor of Research}
% \Supervisor{Quintus Castor}{Professor of Log Dams}
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
- \Acceptor{Primus Castor}{Professor of Wetlands Engineering}{}%{Undergraduate Officer, Department of Physics}
+% **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 you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank, {}.
% Usage: \DegreeDate{Month}{year}
-% Valid degree months are February, May, June, or September
+% 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.
@@ -224,34 +208,33 @@
% (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 author name[s] with
+% (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 biographical sketch
+% (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 use this command to squash all of the vertical glue (stretchy space) with this command:
+% 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.
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Make titlepage
\maketitle
-%%%%%%%%% Contents that you need to write follows! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%% Contents that you need to write follows %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \includeonly{acknowledgments,biography,chapter1,chapter2,...,appendixa,...}
-% for usage of includeonly, see https://latexref.xyz/_005cinclude-_0026-_005cincludeonly.html
+% for usage, see https://latexref.xyz/_005cinclude-_0026-_005cincludeonly.html
-
-%%% Frontmatter (write this material in the mentioned files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Frontmatter (write this material in the mentioned files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The abstract environment creates all the required headings and footers.
% You only need to the text of the abstract in the file abstract.tex
@@ -259,22 +242,24 @@
\input{abstract.tex}% use \input rather than \include because we're inside an environment
\end{abstract}
-\include{acknowledgments}% acknowledgments.tex (.tex extension is presumed by \include)
+\include{acknowledgments}% .tex extension is presumed by \include
+
+\include{biography}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
-\include{biography}% biography.tex (optional, see https://libraries.mit.edu/distinctive-collections/thesis-specs/#format)
-%%% Table of contents and lists of stuff (delete unused lists, i.e., if no tables or figures) %%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
\tableofcontents
\listoffigures
\listoftables
+
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% If you want to use "double spacing", you should start here...
\include{chapter1}% .tex extension is presumed
-% \include{chapter2}
+%\include{chapter2}
%\include{chapter3}
%\include{chapter4}
@@ -285,13 +270,9 @@
\include{appendixa}
-%%% Bibliography (biblatex) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}}
-% this sets the title of contents name for bibliography to \refname (= References)
-% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents
+%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\printbibliography[title={\refname},heading=bibintoc]
+\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