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


\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=blue,
	citecolor=blue,
	urlcolor=blue,
	filecolor=red, 
%	anchorcolor=yellow,% not all pdf viewers recognize this field (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{Aadhya Acharya}{Department of Research}[B.S. Physics, Indian Institute of Science, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020]

% 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}{Graduate Officer, First Degree Department}{}
\Acceptor{Tertius Castor}{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}% could do \footnotesize here if desired!

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