% !TEX encoding = UTF-8 Unicode
% !BIB TS-program = biber 
% !BIB program = biber    

% 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[]{mitthesis}
%
% 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 titlesec, enumitem, caption, subcaption - you may edit the mydesign.tex file as you like it.
% 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.


%%%%%%%%%%%   Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand*\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},
%	pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
	pdfauthortitle={Professor of Mechanical Engineering},
	pdfcaptionwriter={\YourName},
	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,
}
\AtEndDocument{
	\hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
}
	
%%%%%%%%%%%%%%  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][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]

% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}

% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
%\Supervisor{Secunda Castor}{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}

% 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 

% 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}

\end{document}	
