texlive[68126] Master/texmf-dist: mitthesis (31aug23)
commits+karl at tug.org
commits+karl at tug.org
Thu Aug 31 23:41:39 CEST 2023
Revision: 68126
http://tug.org/svn/texlive?view=revision&revision=68126
Author: karl
Date: 2023-08-31 23:41:39 +0200 (Thu, 31 Aug 2023)
Log Message:
-----------
mitthesis (31aug23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/README.md
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Defaultfonts.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Heros-Stix2.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Libertine.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Lucida.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx-sans-text.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Stix2.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex
trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex
trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex
trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-Stix2.pdf
trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,11 +2,13 @@
% !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.05, 2023/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/29
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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.
@@ -14,13 +16,13 @@
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine 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
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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:
@@ -27,7 +29,7 @@
% 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".
+% 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.
@@ -34,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,14 +57,17 @@
%%%%%%%%% Representative set-up for 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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -81,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -98,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -176,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -190,7 +174,7 @@
% 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 {}.
+% **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}
@@ -218,10 +202,7 @@
%%% 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,...}
@@ -229,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -253,7 +230,7 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you feel a need for "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
@@ -269,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -1,5 +1,5 @@
% From mitthesis package
-% Version: 1.02, 2023/07/21
+% Version: 1.03, 2023/08/10
% 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: \(\psi/\textrm{J}\)]{A section discussing the first issue: \ifpdftex\(\bm{\psi}/\bm{J}\)\else{\(\symbfup{\psi/J}\)}\fi}
+\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}
We begin with some ideas from the literature \cite{Fong2015,sharpe1}.
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/README.md 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/README.md 2023-08-31 21:41:39 UTC (rev 68126)
@@ -1,10 +1,10 @@
- #mitthesis --- A LaTeX template for MIT theses#
+ #mitthesis --- A LaTeX template for an MIT thesis#
- v1.05 dated 2023/07/21
+ v1.06 dated 2023/08/29
####Overview####
- This class provides a LaTeX template for MIT theses formatted according to
+ This class provides a LaTeX template to format an MIT thesis according to
the requirements of the Massachusetts Institute of Technology Libraries (as posted in 2023):
[https://libraries.mit.edu/distinctive-collections/thesis-specs/](https://libraries.mit.edu/distinctive-collections/thesis-specs/)
@@ -53,6 +53,16 @@
---
####Change log####
+
+ v1.06 (29 August 2023):
+ - Extensive revision of class file, with most code converted to expl3. Significant streamlining of remaining LaTeX2e code. Minor changes to user interface. No changes to format or design of thesis.
+ - Add user macros for \CopyrightAuthor, \DegreeMonth, \DegreeYear, and \Institution{..}
+ - Drop user macros \CCurl, \PDFRightsText, and \MIT{..}
+ - Reduce volume of pdf metadata required to be added by user
+ - Accommodate author names that end with a period or include a comma (e.g., Martin Luther King, Jr.)
+ - Reduce font size in fira-newtxsf fontset
+ - Update documentation
+
v1.05 (21 July 2023):
- Fix bug in toc page number affecting some lists of figures or tables (note: for backward compatibility, remove code in .tex file around \tableofcontents, \listoffigures, and \listoftables so that your code will match the present version)
- Include thesis submission date in abstract, remove previous degrees from abstract page, and allow May for degree month, per MIT Libraries
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/No_cc_license.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -17,66 +17,45 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[]{mitthesis}
+\documentclass[]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
-
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\AtEndDocument{
- \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
-}
-
+
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -83,7 +62,7 @@
\begin{document}
-
+\author{\YourName}
%%% edit the following commands to match your thesis %%%%%%%%%%
\title{The Atomic Theory as Applied To Gases, with Some Experiments on the Viscosity of Air}
@@ -109,7 +88,7 @@
% 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 {}.
+% **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}
@@ -137,8 +116,6 @@
%%% 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
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_one_degree.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -31,51 +31,32 @@
% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
-%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\AtEndDocument{
- \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
-}
+
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -137,8 +118,6 @@
%%% 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
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -31,51 +31,32 @@
% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
-%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\AtEndDocument{
- \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
-}
+
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -139,8 +120,6 @@
%%% 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
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -31,52 +31,32 @@
% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
-%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\AtEndDocument{
- \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
-}
-
+
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -137,8 +117,6 @@
%%% 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
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -31,51 +31,32 @@
% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
-%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\AtEndDocument{
- \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
-}
+
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -138,8 +119,6 @@
%%% 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
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -31,51 +31,32 @@
% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
-%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\AtEndDocument{
- \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
-}
+
%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -125,8 +106,6 @@
% 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.
@@ -138,8 +117,6 @@
%%% 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
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Defaultfonts.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Heros-Stix2.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Libertine.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Lucida.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx-sans-text.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Stix2.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-Stix2.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf 2023-08-31 21:41:39 UTC (rev 68126)
Property changes on: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=defaultfonts]{mitthesis}
+\documentclass[twoside]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,74 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -176,25 +157,31 @@
% 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{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}
% 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}{Department of Mechanical Engineering}
+%\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, Second Degree Department}
+%\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{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -215,10 +202,7 @@
%%% 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,...}
@@ -226,22 +210,18 @@
%%% 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{acknowledgments.tex}
\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) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
\tableofcontents
\listoffigures
@@ -250,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -265,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=fira-newtxsf]{mitthesis}
+\documentclass[fontset=fira-newtxsf]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,74 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -176,25 +157,31 @@
% 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{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}
% 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}{Department of Mechanical Engineering}
+%\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, Second Degree Department}
+%\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{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
@@ -215,10 +202,7 @@
%%% 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,...}
@@ -226,22 +210,18 @@
%%% 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{acknowledgments.tex}
\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) %%%%%%%%%%%%%%%%
+%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
\tableofcontents
\listoffigures
@@ -250,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -265,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=heros-stix2]{mitthesis}
+\documentclass[fontset=heros-stix2]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -177,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -191,7 +174,7 @@
% 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 {}.
+% **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}
@@ -219,10 +202,7 @@
%%% 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,...}
@@ -230,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -254,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -269,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=libertine]{mitthesis}
+\documentclass[fontset=libertine]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -177,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -191,7 +174,7 @@
% 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 {}.
+% **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}
@@ -219,10 +202,7 @@
%%% 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,...}
@@ -230,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -254,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -269,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=lucida]{mitthesis}
+\documentclass[fontset=lucida]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -177,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -191,7 +174,7 @@
% 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 {}.
+% **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}
@@ -219,10 +202,7 @@
%%% 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,...}
@@ -230,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -254,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -269,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=newtx-sans-text]{mitthesis}
+\documentclass[fontset=newtx-sans-text]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -177,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -191,7 +174,7 @@
% 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 {}.
+% **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}
@@ -219,10 +202,7 @@
%%% 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,...}
@@ -230,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -254,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -269,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=newtx]{mitthesis}
+\documentclass[fontset=newtx]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -177,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -191,7 +174,7 @@
% 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 {}.
+% **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}
@@ -219,10 +202,7 @@
%%% 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,...}
@@ -230,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -254,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -269,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -2,33 +2,34 @@
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=stix2]{mitthesis}
-
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+\documentclass[fontset=stix2]{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
-% option [mydesign] loads titlesec, enumitem, caption, subcaption - you may edit the mydesign.tex file as you like it.
+% 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".
+% 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.
@@ -35,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -55,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -82,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -99,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -177,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -191,7 +174,7 @@
% 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 {}.
+% **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}
@@ -219,10 +202,7 @@
%%% 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,...}
@@ -230,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -254,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -269,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Deleted: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -1,287 +0,0 @@
-% !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/07/21
-% 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[fontset=termes-stix2]{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.
-
-%%%%%%%%% 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\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 at 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
-
-
-%%%%%%%%% 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 (delete lists you don't need, e.g., if no tables) %%%%%%%%
-
-\tableofcontents
-\listoffigures
-\listoftables
-
-
-%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%% If you really feel the need to engage in "double spacing", you can start here...
-
-\include{chapter1.tex}
-%\include{chapter2.tex}
-%\include{chapter3.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
Added: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -0,0 +1,264 @@
+% !TEX encoding = UTF-8 Unicode
+% !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.06, 2023/08/28
+%
+% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
+
+% Documentation is here: 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}, % uncomment to output a separate xmpi file showing the metadata
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[fontset=termes-stix2]{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
+% 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}% documentation is here https://ctan.org/pkg/listings
+
+%% Set chemical formulas nicely
+\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
+\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=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
+
+%% 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 to suit your needs.
+% documentation is here: https://ctan.org/pkg/biblatex
+
+
+%%%%%%%%%% 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, 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" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% 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 thesetwo 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
+%
+% \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.
+
+
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
+
+\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 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.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
+%
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
+}
+
+%%%%%%%%%%%%%% 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]
+%\Author{Thurston Howell III}{Department of Economics}
+
+% 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
+
+%%%%%%%%% 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}
+
+\include{acknowledgments.tex}
+
+\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
+
+
+%%% 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 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 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}
+%\bibliography{mitthesis-sample.bib}
+
+\end{document}
+
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -1,35 +1,35 @@
-% !TEX TS-program = LuaLaTeX
% !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/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: 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
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=termes]{mitthesis}
+\documentclass[fontset=termes]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside 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 [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".
+% 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.
@@ -36,12 +36,12 @@
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{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
+%% 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}}{}
@@ -56,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{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 <=================
+\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}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% 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
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -83,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% 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
@@ -100,73 +103,51 @@
%% 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)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \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
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ 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 have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- 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 at 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,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\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}
@@ -178,6 +159,7 @@
\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}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -192,7 +174,7 @@
% 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 {}.
+% **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}
@@ -220,10 +202,7 @@
%%% 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,...}
@@ -231,19 +210,15 @@
%%% 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{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -255,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -270,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -251,7 +251,7 @@
\section*{Information you need to complete}
Various fields and commands must be changed to your own information in the preamble of \texttt{MIT-Thesis.tex} and immediately after the \verb|\begin{document}| command. This information includes the title, author, degree and other essential information. With the comments in \texttt{MIT-Thesis.tex}, this step should be self-explanatory. Nevertheless some comments follow.
-In the \verb|\hypersetup{..}| command, change the sample file to match your own information (name, title, keywords, etc.). These commands generate metadata that are incorporated into the pdf file.
+In the \verb|\hypersetup{..}| command, change the sample file to match your own information (e.g., keywords, subject, etc.). These commands generate metadata that are incorporated into the pdf file.
The commands that define the title page are as follow.
\begin{itemize}
@@ -262,7 +262,7 @@
\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|\Supervisor{supervisor name}{supervisor department}|. Use once for each supervisor.
+\item \verb|\Supervisor{supervisor name}{supervisor title}|. Use once for each supervisor.
\item \verb|\Acceptor{acceptor name}{acceptor title}{thesis related position}|. Professor who accepts theses for your department (e.g., the Graduate Officer). Use once for each department.
@@ -280,11 +280,9 @@
\vskip 5pt
\noindent\quad\verb|\CClicense{CC BY-NC-ND 4.0}{https://creativecommons.org/licenses/by-nc-nd/4.0/}|.
-
\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.
-
\begin{table}[ht]
\caption{Options to the document class\label{tab:1}}
\smallskip\setlength\extrarowheight{3pt}%
@@ -303,7 +301,7 @@
\end{tabular}}%
\end{table}
-\subsection*{Font loading}
+\subsection*{Font loading}\enlargethispage{\baselineskip}%
By default, \texttt{mitthesis.cls} will load the traditional \LaTeX\ fonts, computer modern (\pdfTeX) or latin modern (unicode engines). By using the key value \texttt{fontset=$\cdots$} in the \verb|\documentclass| command, you can select a different set of fonts.
Ten fontsets are predefined, including the default set (see Table~\ref{tab:2}). Three work only with \pdfTeX, four work only with unicode engines, and three work with either. These options include a mixture of serif or sans serif text and math fonts, as shown in the table.
@@ -346,8 +344,12 @@
\subsection*{Design options}
The thesis will follow the default styles of the \LaTeX\ report class for sections headings, captions, and lists. If you prefer different styles you can use the class option [mydesign] which loads the file \texttt{mydesign.tex}.
-With \texttt{mydesign.tex}, you can set options for packages that manage color, e.g.\ \texttt{\hrefurl{https://ctan.org/pkg/xcolor}{xcolor}}, that change the margins, or that change the design of titles, captions, and lists: \texttt{\hrefurl{https://ctan.org/pkg/titlesec}{titlesec}}, \texttt{\hrefurl{https://ctan.org/pkg/caption}{caption}}, or \texttt{\hrefurl{https://ctan.org/pkg/enumitem}{enumitem}}. You can also load other packages. The \texttt{mitthesis} class will insert these commands at the appropriate point (prior to loading \texttt{\hrefurl{https://ctan.org/pkg/babel}{babel}}, fonts, or \texttt{\hrefurl{https://ctan.org/pkg/hyperref}{hyperref}}). You should not need to edit the class file.\footnote{If you are using different style files, say \texttt{styleA.tex} and \texttt{styleB.tex}, you can switch between them with the options [mydesign=styleA] and [mydesign=styleB].}
+With \texttt{mydesign.tex}, you can set options for packages that manage color, e.g.\ \texttt{\hrefurl{https://ctan.org/pkg/xcolor}{xcolor}}, that change the margins, or that change the design of titles, captions, and lists: \texttt{\hrefurl{https://ctan.org/pkg/titlesec}{titlesec}}, \texttt{\hrefurl{https://ctan.org/pkg/caption}{caption}}, or \texttt{\hrefurl{https://ctan.org/pkg/enumitem}{enumitem}}. You can also load other packages. The \texttt{mitthesis} class will insert these commands at the appropriate point (prior to loading \texttt{\hrefurl{https://ctan.org/pkg/babel}{babel}}, fonts, or \texttt{\hrefurl{https://ctan.org/pkg/hyperref}{hyperref}}). You should not need to edit the class file.
+Hyperlink colors and pdf bookmark or viewing options from the \texttt{hyperref} package can be changed by using \verb|\hypersetup{ .. }| in the preamble or using \verb|\AtBeginDocument{ \hypersetup{ .. } }| in the \texttt{mydesign.tex} file.
+
+If you have two different style files, say \texttt{styleA.tex} and \texttt{styleB.tex}, you can switch between them with the options [mydesign=styleA] and [mydesign=styleB].
+
\subsection*{Single-sided vs.\ double-sided layout}
The sample template uses the option \texttt{[twosided]}, which starts major sections (abstract, table of contents, chapters, etc.) on odd-numbered pages. This arrangement is suitable for two-sided printing, but can lead to empty even-numbered pages. If you do not wish to have this behavior, omit that option. By default, even and odd page margins are the same; this can be changed in the \texttt{mydesign.tex} file if necessary.
@@ -366,7 +368,6 @@
doi & support for hyperlinking DOIs & hyperlink a doi number: \verb|\doi{..}| \\
etoolbox & extend or modify other macros & can use in preamble if needed \\
iftex & check which \LaTeX\ engine is running& macros to check engine \\
-ifthen & streamlined conditionals & can use in preamble if needed \\
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\\
@@ -395,7 +396,7 @@
\end{tabular*}}%
\end{table}
-\section*{PDF/A compatibility}
+\section*{PDF/A compatibility}\enlargethispage{\baselineskip}%
PDF/A-2b compliance will be automatic if the \verb|\DocumentMetadata{..}| command is issued before the \verb|\documentclass{..}| command and \textit{provided that your graphics are also compliant}. This command was added to \LaTeX\ in June 2022. For older versions of \LaTeX, the \texttt{mitthesis} class will fall back to loading \texttt{hyperxmp} to support pdf metadata, but PDF/A compliance will require post-processing (for example, by using the PreFlight function of Adobe Acrobat). An up-to-date \LaTeX\ installation is preferred.
Current \LaTeX\ development (ca.~2023) is working toward fully accessible PDF/A out of the box (e.g., PDF/A-2a). Unicode compliance (e.g., PDF/A-2u) depends greatly on your fonts and figures.
@@ -407,7 +408,7 @@
When selecting a package to use, check that it is currently maintained (with relatively recent updates), and compare it to other packages that perform similar functions. Some packages are better than others, and some obsolete packages remain online.
-\section*{Nomenclature}
+\section*{Nomenclature}\enlargethispage{\baselineskip}%
An optional nomenclature environment is provided by the class. This environment can support either chapter-by-chapter nomenclature (at the section level) or a single nomenclature for the entire thesis (at the chapter level). The environment has three optional arguments: [1] adjust space between symbol and definition; [2] name (heading) of the nomenclature list; and [3] level, which can be ``chapter'' or ``section'' depending on whether you
have one nomenclature list for whole thesis or one for each chapter (default = section).
@@ -446,14 +447,17 @@
\clearpage
+\section*{Additional commands}
+The class also provides \verb|\DegreeYear|, \verb|\DegreeMonth|, and \verb|\CopyrightAuthor|. The latter combines all author names into a single token list, e.g., ``Joseph O. Hirschfelder, Charles F. Curtiss and R. Byron Bird''; a period at the end of the final name (e.g., as in ``John F. Nash Jr.'') is removed.
+
\section*{Use outside MIT}
If your want to adapt this template for use at a different institution, you can put the following commands in your preamble.
\begin{itemize}
-\item Use \verb|\def\MIT{YOUR INSTITUTION}| to change MIT to your own institution (use all capital letters).
+\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 Use \verb|\setcounter{acccnt}{-2}| to remove the ``Accepted by:'' field.
+\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.
Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex 2023-08-31 21:41:39 UTC (rev 68126)
@@ -1,5 +1,5 @@
% From mitthesis package
-% Version: 1.02, 2023/07/03
+% Version: 1.03, 2023/08/29
% Documentation: https://ctan.org/pkg/mitthesis
@@ -7,10 +7,10 @@
%
\ifpdftex
\typeout{^^JLoading Fira sans text font with newtx sans serif math font and Inconsolata typewriter^^J}
- \RequirePackage[sfdefault]{FiraSans} % sans serif text package %,scaled=.85
+ \RequirePackage[sfdefault,scaled=0.90]{FiraSans} % sans serif text package %,scaled=.85
\RequirePackage[T1]{fontenc}
- \RequirePackage[varqu,varl,,scaled=1.12]{zi4} % inconsolata font for typewriter
- \RequirePackage[cmintegrals,scaled=1.12]{newtxsf} % sans serif math
+ \RequirePackage[varqu,varl,scaled=1.05]{zi4} % inconsolata font for typewriter
+ \RequirePackage[scaled=1.05]{newtxsf} % sans serif math
\RequirePackage{bm}
\else
\ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts}
Modified: trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls 2023-08-31 21:41:15 UTC (rev 68125)
+++ trunk/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls 2023-08-31 21:41:39 UTC (rev 68126)
@@ -7,8 +7,8 @@
%% MIT Libraries' requirements as of 2023.
%%
%% This file's version and date:
- \def\versionno{1.05}
- \def\versiondate{2023/07/21\space}
+ \def\versionno{1.06}
+ \def\versiondate{2023/08/29\space}
%%
%% Author: John H. Lienhard, V
%% Department of Mechanical Engineering
@@ -47,48 +47,26 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mitthesis}[\versiondate MIT Thesis Template (JHL)]
-\LoadClass[12pt]{report}% [twoside] option can be issued in the .tex file; point size must be set here.
+\LoadClass[12pt,openright]{report}% [twoside] option can be issued in the .tex file; point size must be set here.
-\RequirePackage{etoolbox}% provides \ifblank, \patchcmd, \apptocmd, etc.
-\RequirePackage{ifthen} % provides \whiledo, etc.
+\ExplSyntaxOn
+ \str_const:Nn \ClassName {mitthesis}
+\ExplSyntaxOff
-\def\ClassName{mitthesis}
+\RequirePackage{iftex}[2019/11/07]% provides \ifpdftex, etc.
%%%%%%%%%%%%% Some compatibility for older latex distributions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}% compare version to date
-\providecommand\IfPackageAtLeastTF{\@ifpackagelater}% compare version to date
+\providecommand\IfFormatAtLeastTF{\@ifl at 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
-\ifdefined\NewDocumentCommand\else
- \RequirePackage{xparse}% enable pre-10/2020 formats to access essential macros later moved into LaTeX kernel
-\fi
-
\IfFormatAtLeastTF{2020/02/25}{%
\typeout{^^JYour LaTeX format is dated \fmtversion. LaTeX distributions from 2022/11/01 or later are strongly recommended for best results^^J}
}{%
- \ClassError{\ClassName}{Your LaTeX format is dated \fmtversion. Formats dated 2022/11/01 or later are recommended for this class. Older formats may generate errors}{Please UPDATE your LaTeX distribution to obtain best results. TeX Live is available for download at no charge: \string https://www.tug.org/texlive/. You can try to click past the errors for now...}%
+ \ClassError{\ClassName}{Your LaTeX format is dated \fmtversion. Formats dated 2022/11/01 or later are strongly recommended for this class. Older formats may generate errors}{Please UPDATE your LaTeX distribution to obtain best results. TeX Live is available for download at no charge: \string https://www.tug.org/texlive/. You can try to click past the errors for now...}%
}
-\IfFileExists{iftex.sty}{%
- \RequirePackage{iftex}% check whether pdftex or another engine is used
- }{%
- \ClassWarning{\ClassName}{This class requires the missing package iftex.sty---trying a work-around.}
- % Code copied from iftex package written by the LaTeX3 Project (used under LPPL).
- % \csname and \let construct useful for hiding \ifzzz tokens from outer level \if tests.
- \def\IFTEX at let#1#2{%
- \expandafter\let\csname if#1\expandafter\endcsname
- \csname if#2\endcsname}
- % pdftex (including in dvi mode)
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname pdftexversion\endcsname\relax
- \IFTEX at let{pdftex}{false}
- \else
- \IFTEX at let{pdftex}{true}
- \fi
- \IFTEX at let{PDFTeX}{pdftex}
- }
-
-% check whether pdfmanagement (\DocumentMetadata) has been loaded (to fallback on hyperxmp)
+% check whether pdfmanagement (\DocumentMetadata) has been loaded (if not, fall back to hyperxmp)
\newif\ifmit at pdfmanagement
% As of 2021/07/23 we could instead do:\IfPDFManagementActiveTF{\mit at pdfmanagementtrue}{\mit at pdfmanagementfalse}
\ExplSyntaxOn
@@ -96,20 +74,21 @@
\bool_if:nTF
{
\bool_lazy_and_p:nn
- {\cs_if_exist_p:N \pdfmanagement_if_active_p:}
+ { \cs_if_exist_p:N \pdfmanagement_if_active_p: }
{ \pdfmanagement_if_active_p: }
}
- {
- \mit at pdfmanagementtrue
- }
- {
- \mit at pdfmanagementfalse
- }
- }{\mit at pdfmanagementfalse}
+ { \mit at pdfmanagementtrue }
+ { \mit at pdfmanagementfalse }
+ }{ \mit at pdfmanagementfalse }
\ExplSyntaxOff
-%% Old installations may want textcomp load, but we only require copyright character:
-\ifdefined\textcopyright\else %\def\textcopyright{©}\fi. % 2023/06/26
+% Enable pre-2020/10 formats to access essential macros later moved into LaTeX kernel
+\ifdefined\NewDocumentCommand\else
+ \RequirePackage{xparse}
+\fi
+
+%% Pre-2020/02 installations may need textcomp to be loaded, but we require only the copyright character:
+\ifdefined\textcopyright\else
\ifpdftex
\DeclareTextSymbol{\textcopyright}{TS1}{'251}
\DeclareTextSymbolDefault{\textcopyright}{TS1}
@@ -133,7 +112,7 @@
\SetKeys[\ClassName]{fontset=defaultfonts}%
\DeclareUnknownKeyHandler[\ClassName]{\relax}% suppress warning about unused keys
\ProcessKeyOptions
-}{%
+}{% Compatibility code for distributions pre-2022/11
\RequirePackage{kvoptions}
\SetupKeyvalOptions{
family=\ClassName,
@@ -141,39 +120,33 @@
setkeys=\kvsetkeys,
}
% set key [fontset] for font selection
- \DeclareStringOption[defaultfonts]{fontset}[]% fixed 2023/06/26
+ \DeclareStringOption[defaultfonts]{fontset}[]
%
+ % set key [lineno] to load package lineno
+ \DeclareBoolOption{lineno}
+ %
+ % set key [mydesign] to input file mydesign.tex
+ \DeclareBoolOption{mydesign}
+ %
\ProcessKeyvalOptions{\ClassName}
%
%% Turn off these keys now that we're done with them
- \def\@KeyFamily{\ClassName}
\NewDocumentCommand\mit at DisableOption{m}{%
\DisableKeyvalOption[%
action=ignore,%
class=\ClassName%
- ]{#1}{\@KeyFamily}%
+ ]{#1}{\ClassName}%
}
- \NewDocumentCommand\@DisableKeys{>{\SplitList{;}}m}{\ProcessList{#1}{\mit at DisableOption}}
+ \NewDocumentCommand\mit at DisableKeys{>{\SplitList{;}}m}{\ProcessList{#1}{\mit at DisableOption}}
%
- \@DisableKeys{fontset;}%
-
-
- %%%%%%%% more options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- %%% option to obtain line numbers [lineno]
- \newif\ifmit at lineno\mit at linenofalse
- \DeclareOption{lineno}{\mit at linenotrue}
-
- %%% option for to load packages that customize the design [mydesign] (caption, subcaption, titlesec, itemenum)
- \newif\ifmit at mydesign\mit at mydesignfalse
- \DeclareOption{mydesign}{\mit at mydesigntrue}
-
+ \mit at DisableKeys{fontset;lineno;mydesign}%
+ %
%% Suppress warnings about unused global options
- \DeclareOption*{}
-
+ \DeclareOption*{}
\ProcessOptions \relax
}
+
%%%%%%%%%%%%% Line numbering (class option) %%%%%%%%%%%%%%%%%%%%%%%%%
%%% Adjustments when lineno option is used
@@ -187,21 +160,19 @@
\providecommand{\@LN at col}[1]{\relax}
\providecommand{\@LN}[2]{\relax}
+
%%%%%%%%%%%%% Patch table of contents, list of figures, and list of tables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% We'd like these to have pdf bookmarks and to have the lists appear in the table of contents
+\RequirePackage{etoolbox}% provides \patchcmd
-\pretocmd{\tableofcontents}{\pdfbookmark[0]{Table of Contents}{toc}}{}{}
-\apptocmd{\tableofcontents}{\cleardoublepage}{}{}
-\pretocmd{\listoffigures}{\phantomsection}{}{}
+% 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}}}{}{}
-\apptocmd{\listoffigures}{\cleardoublepage}{}{}
-\pretocmd{\listoftables}{\phantomsection}{}{}
\patchcmd{\listoftables}{\chapter*{\listtablename}}{\chapter*{\listtablename}\addcontentsline{toc}{chapter}{\protect\textbf{\listtablename}}}{}{}
-\apptocmd{\listoftables}{\cleardoublepage}{}{}
-%%%%%%%%%%%%% Geometry, mathtools, design, graphics, bibliography, hyperrefs, bookmarks %%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%% Geometry, mathtools, design, graphics, bibliography, hyperrefs, bookmarks, footnotes %%%%%%%%%%%%
\RequirePackage[letterpaper,top=1in,bottom=1in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.5in]{geometry}
@@ -243,7 +214,7 @@
% ==> NOT every font includes a bold math version, so you may need to use other math macros in the headings to get bold math <==
\fi
-%% Font loading
+%% Font loading %%%%%%%%%%
\typeout{^^JFontset key is \mit at fontset.^^J}
\IfFileExists{fontsets/\ClassName-\mit at fontset.tex}{% 2023/07/03
\input{fontsets/\ClassName-\mit at fontset.tex}
@@ -261,7 +232,7 @@
\fi
}
-\RequirePackage{graphicx}
+\RequirePackage{graphicx}
\ifmit at pdfmanagement
\ClassInfo{\ClassName}{pdfmanagement is defined. Will not load hyperxmp}%
@@ -275,16 +246,36 @@
% authors should use hypersetup to set details, in root .tex file
\urlstyle{same} % this changes font for \url to the current text font
-\providecommand\hrefurl[2]{\href{#1}{#2}}% in case new pdf management has not been loaded
+\providecommand\hrefurl[2]{\href{#1}{#2}}% in case \DocumentMetadata has not been loaded
\RequirePackage{doi} % create macro for hyperlinking doi numbers
-% Directly add the xmp property that shows work is copyrighted. See l3pdfmeta.pdf.
-% This is not automatic with \DocumentMetadata. "True" must be capitalized.
-\ExplSyntaxOn
- \cs_if_exist:NTF \pdfmeta_xmp_add:n {\pdfmeta_xmp_add:n{<xmpRights:Marked>True</xmpRights:Marked>}}{}
-\ExplSyntaxOff
-
-
+% the user can override all these design choices in the preamble,
+% or by using \AtBeginDocument{ \hypersetup{..} } in mydesign.tex
+\hypersetup{
+ 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): hyperref issues a warning
+% 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,
+%
+ pdfcontactaddress={Massachusetts Institute of Technology, 77 Massachusetts Avenue},
+ pdfcontactcity={Cambridge, MA},
+ pdfcontactpostcode={02139-4307},
+ pdfcontactcountry={USA},
+ pdfcontacturl={https://dspace.mit.edu/handle/1721.1/7582},% DSPACE at MIT theses page
+}
+
%%%%%%%%%%%%% Stuff related to PDF bookmarks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Since \bm may be useful in headings, this fix will reduce frequency with which
@@ -292,435 +283,666 @@
\pdfstringdefDisableCommands{%
\def\bm#1#{\relax}%
}
-%
%%% Let's disable \( and \) in pdf bookmarks
\pdfstringdefDisableCommands{%
\def\({\relax}%
\def\){\relax}%
}
-%
%%% Let's also make sure \NoCaseChange in section headings won't break pdf bookmarks
\pdfstringdefDisableCommands{%
- \let\NoCaseChange\relax%
+ \let\NoCaseChange\relax%
}
-%
%%% Let's just remove citations from pdf bookmarks
\pdfstringdefDisableCommands{%
\def\cite{\@gobble}%
}
-%
%%% Let's fix \eqref in pdf bookmarks
\pdfstringdefDisableCommands{%
\def\eqref#1{(\ref{#1})}%
-%
-%%% Let's make sure footnotes in section headings don't break pdf bookmarks.
-\robustify{\footnote}
+}
+%%% Let's make sure footnotes in section headings don't break pdf bookmarks. (Note: redefined \footnote below is protected)
% \patchcmd{\section}{\sectionmark}{\let\footnote\@gobble\sectionmark}{}{}% <== not needed unless you implement running heads
\pdfstringdefDisableCommands{%
\def\footnote#1{}%
}
-}
-%%% Let's have commas separate successive footnotes
-\let\oldfootnote\footnote
-\renewcommand\footnote[1]{%
- \oldfootnote{#1}\futurelet\nextToken\isOtherfnote}
-
-\newcommand\isOtherfnote{%
- \ifx\footnote\nextToken\textsuperscript{\mdseries,}%
- \fi%
-}
+\ExplSyntaxOn
+%\debug_on:n {all}
+%%%%%%%%%% Put comma between successive footnotes %%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\cs_new:Npn \__mitthesis_NoteComma:n { \peek_meaning:NTF \footnote {\textsuperscript{\mdseries,}} { } }
+\cs_new_eq:NN \__savefootnote \footnote
+\cs_gset_protected:Npn \footnote #1 { \__savefootnote{#1}\__mitthesis_NoteComma:n }
+
+%%%%%%%%%% End Footnote comma %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% MACROS FOR HANDLING TITLE AND ABSTRACT PAGES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%% Dates %%%%%%%%%%%%%%%
+%%%%%%%%%% Degree Date Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ExplSyntaxOn
-\NewExpandableDocumentCommand\MonthCheck{mm}{%
- \str_case_e:nnF {#1}{ {May}{} {June}{} {September}{} {February}{}
- {\space May}{} {\space June}{} {\space September}{} {\space February}{}
- {May\space}{} {June\space}{} {September\space}{} { February\space}{}
- {\space May\space}{} {\space June\space}{} {\space September\space}{} {\space February\space}{}
- }{#2}
+\tl_new:N \g__dd_month_tl
+\tl_new:N \g__dd_year_tl
+\cs_generate_variant:Nn \msg_error:nnn {nne}
+\cs_generate_variant:Nn \str_casefold:n {e}
+\cs_generate_variant:Nn \tl_gremove_all:Nn {No}
+\cs_new_protected:Nn \__dd_setdates:nn {
+ \tl_gset:Nn \g__dd_month_tl {#1}
+ \tl_gset:Nn \g__dd_year_tl {#2}
+ \tl_gremove_all:No \g__dd_month_tl { \space }
+ \tl_gremove_all:No \g__dd_year_tl { \space }
+ \str_case_e:nnF
+ { \str_casefold:e { \tl_to_str:N \g__dd_month_tl } }
+ { {february}{} {may}{} {june}{} {september}{}}
+ { \msg_error:nne {\ClassName} {wrong_month} { \text_titlecase:n {\g__dd_month_tl} } }
}
-\ExplSyntaxOff
+\msg_new:nnnn {\ClassName} {wrong_month} {The\ degree\ month\ must\ be\ one\ of\ February,\ May,\ June,\ or\ September.} {You\ cannot\ use\ #1\ as\ the\ degree\ month.}
-\NewDocumentCommand\DegreeDate{mm}{%
- \def\@DegreeMonth{\ignorespaces#1}%
- \def\@@DegreeMonth{#1}%
- \def\@DegreeYear{\ignorespaces#2}%
- \def\DegreeYear{\ignorespaces#2}%
+\cs_generate_variant:Nn \text_titlecase:n {o,V}
+\NewDocumentCommand\DegreeDate{mm}{% {month}{year}
+ \__dd_setdates:nn {#1}{#2}
+ \cs_new:Npn \DegreeMonth { \text_titlecase:V { \g__dd_month_tl } }
+ \cs_new:Npn \DegreeYear { \text_titlecase:V { \g__dd_year_tl } }
}
+\msg_new:nnnn {\ClassName} {no_degree_date} {Missing\ degree\ date!}{
+ You\ MUST\ issue\ the\ \DegreeDate{month}{year}\ command\ between\ \string\begin{document}\ and\ \string\maketitle.}
+
+\NewDocumentCommand\ThesisDate{m}{
+ \tl_if_exist:NTF \g_dd_thesisdate_tl { \g_dd_thesisdate_tl } { \__dd_thesisdate:n {#1} }% will use only value given first
+}
+\cs_new_protected:Nn \__dd_thesisdate:n {
+ \tl_new:N \g_dd_thesisdate_tl
+ \tl_gset:Nx \g_dd_thesisdate_tl { \tl_trim_spaces:n {#1} }
+}
-\NewDocumentCommand\ThesisDate{m}{%
- \def\@ThesisDate{\ignorespaces#1}%
+%%%%%%%%%% End Degree Date Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%% Author Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\seq_new:N \g_author_name_seq
+\seq_new:N \g_author_department_seq
+\seq_new:N \g_author_prevdegree_seq
+\seq_new:N \g_author_secondprevdegree_seq
+\seq_new:N \g_author_thirdprevdegree_seq
+\seq_new:N \g_author_fourthprevdegree_seq
+\int_gzero_new:N \g_author_authorcnt_int
+
+\NewDocumentCommand\Author{mm O{}O{}O{}O{} }
+ {
+ \tl_if_blank:nTF{#1}{
+ \msg_error:nn {\ClassName} {blank_author}
+ }{
+ \__author_data_add:nnnnnn { #1 } { #2 } { #3 } { #4 } { #5 } { #6 }
+ }
+ \tl_if_blank:nTF{#2}{\msg_error:nn {\ClassName} {blank_author_dep}}{}
+ }
+\cs_new_protected:Nn \__author_data_add:nnnnnn
+ {
+ \int_gincr:N \g_author_authorcnt_int
+ \seq_gput_right:cx { g_author_name_seq } { \tl_trim_spaces:n {#1} }
+ \seq_gput_right:cx { g_author_department_seq } { \tl_trim_spaces:n {#2} }
+ \seq_gput_right:cx { g_author_prevdegree_seq } { \tl_trim_spaces:n {#3} }
+ \seq_gput_right:cx { g_author_secondprevdegree_seq } { \tl_trim_spaces:n {#4} }
+ \seq_gput_right:cx { g_author_thirdprevdegree_seq } { \tl_trim_spaces:n {#5} }
+ \seq_gput_right:cx { g_author_fourthprevdegree_seq } { \tl_trim_spaces:n {#6} }
+ }
+\msg_new:nnnn {\ClassName} {blank_author} {Missing\ author\ name,\ check\ for\ blank\ in\ \Author\ command.}{%
+ You\ MUST\ provide\ an\ author\ name\ using\ the\ \Author{name}{department}\ command.}
+\msg_new:nnnn {\ClassName} {blank_author_dep} {Missing\ author\ department,\ check\ for\ blank\ in\ \Author\ command.}{%
+ You\ MUST\ provide\ the\ author's\ department\ using\ the\ \Author{name}{department}\ command.}
+
+\NewExpandableDocumentCommand\CopyrightAuthor{}{
+ \tl_if_exist:NTF \g__author_ca_tl
+ { \g__author_ca_tl }
+ { \__author_copyrightauthor: \g__author_ca_tl }
}
-%%%%%%%%%%%%%% Author, supervisor, acceptor, titles, and departments %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\cs_new_protected:Nn \__author_copyrightauthor: {
+ \tl_new:N \g__author_ca_tl
+ \int_zero_new:N \l__author_autcrcnt_int
+ \int_incr:N \l__author_autcrcnt_int
+ \tl_gset:Nx \g__author_ca_tl { \seq_item:cn { g_author_name_seq } { \l__author_autcrcnt_int } }
+ \int_incr:N \l__author_autcrcnt_int
+ \int_while_do:nNnn { \l__author_autcrcnt_int } < { \g_author_authorcnt_int }
+ {
+ \tl_gput_right:Nx \g__author_ca_tl {,\ \seq_item:cn { g_author_name_seq } { \l__author_autcrcnt_int } }
+ \int_incr:N \l__author_autcrcnt_int
+ }
+ \int_compare:nNnT { \l__author_autcrcnt_int } = { \g_author_authorcnt_int } {
+ \tl_gput_right:Nx \g__author_ca_tl {\ and\ \seq_item:cn { g_author_name_seq } { \l__author_autcrcnt_int } }
+ }
+ \tl_set:Nn \l_tmpa_tl {\tl_item:Nn \g__author_ca_tl {-1} }% get last token
+ \str_case_e:nnT
+ { \l_tmpa_tl }
+ { {.}{} }
+ { \__copyright_remove_period:N { \g__author_ca_tl } }% remove last token if it is a period
+ \__author_pdfcopyrightauthor:
+}
+\cs_new:Nn \__copyright_remove_period:N
+ {
+ \tl_gset:Nx #1 { \tl_range:Nnn #1 { 1 } { \tl_count:N #1 - 1 } }
+ }
+\cs_new_protected:Nn \__author_pdfcopyrightauthor: {
+ \tl_new:N \g__author_pdfca_tl
+ \int_set:Nn \l_tmpa_int {1}
+ \tl_gset:Nx \g__author_pdfca_tl { { \seq_item:cn { g_author_name_seq } { \l_tmpa_int } } }
+ \int_until_do:nNnn { \l_tmpa_int } = { \g_author_authorcnt_int }
+ {
+ \int_incr:N \l_tmpa_int
+ \tl_gput_right:Nx \g__author_pdfca_tl {,\ { \seq_item:cn { g_author_name_seq } { \l_tmpa_int } } }
+ }
+}
-\newcounter{authorcnt}
-\setcounter{authorcnt}{0}% this counter's final value is used repeatedly.
-
-\NewDocumentCommand\Author{m m oooo}{%
- \ifblank{#1}{%
- \ClassError{\ClassName}{Missing author name, check for blank in Author command}{%
- You MUST provide an author name using the \Author{name}{department} command.}%
- }{%
- \addtocounter{authorcnt}{1}%
- \expandafter\xdef\csname aut@\theauthorcnt\endcsname{\ignorespaces#1}%
- \expandafter\xdef\csname autdep@\theauthorcnt\endcsname{\ignorespaces#2}%
- \IfNoValueF{#3}{\expandafter\xdef\csname prevdegree@\theauthorcnt\endcsname{\ignorespaces#3}}%
- \IfNoValueF{#4}{\expandafter\xdef\csname secondprevdegree@\theauthorcnt\endcsname{\ignorespaces#4}}%
- \IfNoValueF{#5}{\expandafter\xdef\csname thirdprevdegree@\theauthorcnt\endcsname{\ignorespaces#5}}%
- \IfNoValueF{#6}{\expandafter\xdef\csname fourthprevdegree@\theauthorcnt\endcsname{\ignorespaces#6}}%
- }%
- \ifblank{#2}{\ClassWarning{\ClassName}{Missing author department, check for blank in Author command}}{}%
-}% defines \aut at authorcnt as Name #1 and \autdep at authorcnt as Name #1's department
-\newcounter{authorno}
-\setcounter{authorno}{0}
-
-\NewDocumentCommand\@AuthorBlock{}{% Revised 2023/06/23
- \setcounter{authorno}{1}%
- \ifnum\value{authorcnt}=0
- \ClassError{\ClassName}{Missing author! You must issue the \Author{name}{department} command}{%
- You MUST issue the \Author{name}{department} command after \begin{document} and before \maketitle.}%
- \fi
+\cs_new:Nn \__author_block: {
+ \int_zero_new:N \l__author_authorno_int
+ \int_incr:N \l__author_authorno_int
+ \int_compare:nNnTF { \g_author_authorcnt_int } = {0} {
+ \msg_error:nn {\ClassName} {no_author}
+ }
{by\par
- \whiledo{\value{authorno}<\value{authorcnt}}{%
- \ignorespaces\csname aut@\theauthorno\endcsname\par
- \ifcsundef{prevdegree@\theauthorno}{\relax}{\normalsize\csname prevdegree@\theauthorno\endcsname}%
- \ifcsundef{secondprevdegree@\theauthorno}{\relax}{\linebreak\normalsize\csname secondprevdegree@\theauthorno\endcsname}%
- \ifcsundef{thirdprevdegree@\theauthorno}{\relax}{\linebreak\normalsize\csname thirdprevdegree@\theauthorno\endcsname}%
- \ifcsundef{fourthprevdegree@\theauthorno}{\relax}{\linebreak\normalsize\csname fourthprevdegree@\theauthorno\endcsname}%
+ \int_until_do:nNnn { \l__author_authorno_int } = { \g_author_authorcnt_int } {
+ \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} }
+ \tl_if_empty:NF \l_tmpa_tl { \linebreak\normalsize \l_tmpa_tl }
+ \tl_set:Nx \l_tmpa_tl { \seq_item:cn { g_author_thirdprevdegree_seq } { \l__author_authorno_int} }
+ \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 and\par
- \addtocounter{authorno}{1}%
- }%
- \ignorespaces\csname aut@\theauthorno\endcsname
- \ifcsundef{prevdegree@\theauthorno}{\relax}{\par\normalsize\csname prevdegree@\theauthorno\endcsname}%
- \ifcsundef{secondprevdegree@\theauthorno}{\relax}{\linebreak \normalsize\csname secondprevdegree@\theauthorno\endcsname}%
- \ifcsundef{thirdprevdegree@\theauthorno}{\relax}{\linebreak \normalsize\csname thirdprevdegree@\theauthorno\endcsname}%
- \ifcsundef{fourthprevdegree@\theauthorno}{\relax}{\linebreak \normalsize\csname fourthprevdegree@\theauthorno\endcsname}%
- \par\medskip
- }%
+ \int_incr:N \l__author_authorno_int
+ }
+ \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} }
+ \tl_if_empty:NF \l_tmpa_tl { \linebreak\normalsize \l_tmpa_tl }
+ \tl_set:Nx \l_tmpa_tl { \seq_item:cn { g_author_thirdprevdegree_seq } { \l__author_authorno_int} }
+ \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
+ }
}
+\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\@AbstractAuthorBlock{}{% Revised 2023/07/20
- \setcounter{authorno}{1}%
- {by\par
- \whiledo{\value{authorno}<\value{authorcnt}}{%
- \ignorespaces\csname aut@\theauthorno\endcsname
- \par and\par
- \addtocounter{authorno}{1}%
- }%
- \ignorespaces\csname aut@\theauthorno\endcsname
+\cs_new:Nn \__author_abstractblock: {
+ \int_zero_new:N \l__author_authorno_int
+ \int_incr:N \l__author_authorno_int
+ \int_compare:nNnTF { \g_author_authorcnt_int } = {0} {
+ \msg_error:nn {\ClassName} {no_author}
+ }
+ {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 and\par
+ \int_incr:N \l__author_authorno_int
+ }%
+ \seq_item:cn { g_author_name_seq } { \l__author_authorno_int }
}%
}
-\newcounter{autcrcnt}
-\setcounter{autcrcnt}{1}
+%%%%%%%%%% End Author Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\NewDocumentCommand\@CopyrightAuthor{}{%
- \csname aut@\theautcrcnt\endcsname
- \addtocounter{autcrcnt}{1}%
- \whiledo{\value{autcrcnt}<\value{authorcnt}}{%
- , \ignorespaces\csname aut@\theautcrcnt\endcsname
- \addtocounter{autcrcnt}{1}%
- }%
- \ifnum\value{autcrcnt}=\value{authorcnt}%
- \space and\space\csname aut@\theauthorcnt\endcsname\ignorespaces
- \fi
- \setcounter{autcrcnt}{1}% reset so we can use this command more than once
+
+%%%%%%%%%% Supervisor Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\seq_new:N \g_supervisor_name_seq
+\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}
+ }{
+ \__supervisor_data_add:nn { #1 } { #2 }
+ }
+ \tl_if_blank:nTF{#2}{\msg_error:nn {\ClassName} {blank_supervisor_title}}{}
}
+\msg_new:nnnn {\ClassName} {blank_supervisor}
+ { Missing\ supervisor\ name, check\ for\ blank\ in\ \Supervisor{name}{title}\ command.}{
+ You\ MUST\ provide\ the\ supervisor's\ name\ using\ the\ \Supervisor{name}{title}\ command.}
+\msg_new:nnnn {\ClassName} {blank_supervisor_title}
+ { Missing\ supervisor\ title, check\ for\ blank\ in\ \Supervisor{name}{title}\ command. }{
+ You\ MUST\ provide\ the\ supervisor's\ title\ using\ the\ \Supervisor{name}{title}\ command.}
-\newcounter{degcnt}
-\setcounter{degcnt}{0}
-\newcounter{depflag}
-\setcounter{depflag}{0}
-\NewDocumentCommand\Degree{mm}{% Revised 2023/06/23
- \ifblank{#1}{%
- \ClassError{\ClassName}{Missing degree name, check for blank \Degree{name}{department} command}{%
- Check for blank name \Degree{name}{department} command.}%
- }{%
- \addtocounter{degcnt}{1}%
- \expandafter\xdef\csname deg@\thedegcnt\endcsname{\ignorespaces#1}%
- \expandafter\xdef\csname degdep@\thedegcnt\endcsname{\ignorespaces#2}%
- }%
- \ifblank{#2}{%
- \setcounter{depflag}{\value{degcnt}}%
- \ClassWarning{\ClassName}{Missing degree department for Degree command number \thedegcnt. Assuming to be a duplicate of previous department}}{}%
-}% defines \deg at degcnt as Name #1 and \degdep at degcnt as associated dept.
+\cs_new_protected:Nn \__supervisor_data_add:nn
+ {
+ \int_gincr:N \g_supervisor_supervisorcnt_int
+ \seq_gput_right:cx { g_supervisor_name_seq } { \tl_trim_spaces:n {#1} }
+ \seq_gput_right:cx { g_supervisor_title_seq } { \tl_trim_spaces:n {#2} }
+ }
-\newcounter{degno}
-\newcounter{depno}
-\NewDocumentCommand\@DegreeBlock{}{% extensive revision 2023/06/23
- \ifnum\value{degcnt}=0
- \ClassError{\ClassName}{Missing degree! You must issue the \Degree{name}{department} command}{%
- You MUST issue the \Degree{name}{department} command after \begin{document} and before \maketitle. You do want the degree, don't you?}%
- \fi
- \setcounter{degno}{1}
- \setcounter{depno}{1}
- \newcommand*\PrevDept{\csname degdep@\thedepno\endcsname}
- \newcommand*\CurrDept{}
- Submitted to the \mbox{\PrevDept}%
- \whiledo{\value{depno}<\value{degcnt}}{%
- \addtocounter{depno}{1}%
- \renewcommand*\CurrDept{\csname degdep@\thedepno\endcsname}%
- \ifnum\value{depflag}=\value{depno}\relax\else
- \space and the\linebreak
- \mbox{\CurrDept}%
- \fi%
- }%
- \linebreak \mbox{in partial fulfillment of the requirements for the\space
- \ifnum\value{degcnt}>1 degrees\else degree\fi\space of}%
- \par\medskip
- \whiledo{\value{degno}<\value{degcnt}}{%
- \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par and\par
- \addtocounter{degno}{1}%
- }%
- \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par\medskip
+
+\cs_new:Nn \__supervisor_abstractblock: {
+ \int_zero_new:N \l__supervisor_supervisorno_int
+ \int_incr:N \l__supervisor_supervisorno_int
+ \setlength{\parindent}{0pt}
+ \par\bigskip
+ \int_compare:nNnTF { \g_supervisor_supervisorcnt_int } = {0} {
+ \msg_error:nn {\ClassName} {no_supervisor}
+ }
+ {\int_until_do:nNnn { \l__supervisor_supervisorno_int } = { \g_supervisor_supervisorcnt_int } {
+ Thesis\ supervisor:\space \seq_item:cn { g_supervisor_name_seq } { \l__supervisor_supervisorno_int }\par
+ Title:\space \seq_item:cn { g_supervisor_title_seq } { \l__supervisor_supervisorno_int }\par\medskip
+ \int_incr:N \l__supervisor_supervisorno_int
+ }
+ Thesis\ supervisor:\space \seq_item:cn { g_supervisor_name_seq } { \l__supervisor_supervisorno_int }\par
+ Title:\space \seq_item:cn { g_supervisor_title_seq } { \l__supervisor_supervisorno_int }\ignorespaces
+ }
}
+\msg_new:nnnn {\ClassName} {no_supervisor}
+ { Missing\ supervisor!\ You\ must\ issue\ the\ \Supervisor{name}{title}\ command. }{
+ You\ MUST\ issue\ the\ \Supervisor{name}{title}\ command\ after\ \string\begin{document}\ and\ before\ \string\maketitle. }
-\NewDocumentCommand\@AbstractDegreeBlock{}{% 2023/07/19
- \setcounter{degno}{1}
- \setcounter{depno}{1}
- \newcommand*\PrevDept{\csname degdep@\thedepno\endcsname}
- \newcommand*\CurrDept{}
- Submitted to the \mbox{\PrevDept}%
- \whiledo{\value{depno}<\value{degcnt}}{%
- \addtocounter{depno}{1}%
- \renewcommand*\CurrDept{\csname degdep@\thedepno\endcsname}%
- \ifnum\value{depflag}=\value{depno}\relax\else
- \space and the\linebreak
- \mbox{\CurrDept}%
- \fi%
- }%
- \linebreak on \@ThesisDate \space \mbox{in partial fulfillment of the requirements for the\space
- \ifnum\value{degcnt}>1 degrees\else degree\fi\space of}%
+
+%%%%%%%%%% End Supervisor Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%% Acceptor Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\seq_new:N \g_acceptor_name_seq
+\seq_new:N \g_acceptor_department_seq
+\seq_new:N \g_acceptor_title_seq
+\int_gzero_new:N \g_acceptor_acceptorcnt_int
+
+\bool_new:N \g__acceptor_title_tf_bool
+\bool_gset_false:N \g__acceptor_title_tf_bool
+
+\NewDocumentCommand\Acceptor{mmm}{
+ \tl_if_blank:nTF{#1}{
+ \msg_error:nn {\ClassName} {blank_acceptor}
+ }{
+ \__acceptor_data_add:nnn {#1} {#2} {#3}
+ }
+ \tl_if_blank:nTF{#2}{\msg_error:nn {\ClassName} {blank_acceptor_dep}}{}
+ \tl_if_blank:nTF{#3}{
+ \bool_gset_true:N \g__acceptor_title_tf_bool
+ \msg_warning:nn {\ClassName} {blank_acceptor_title}}{}
+}
+\msg_new:nnnn {\ClassName} {blank_acceptor}
+ { Missing\ acceptor\ name, check\ for\ blank\ in\ \Acceptor{name}{department}{title}\ command.}{
+ You\ MUST\ provide\ the\ acceptor's\ name\ using\ the\ \Acceptor{name}{department}{title}\ command.}
+\msg_new:nnnn {\ClassName} {blank_acceptor_dep}
+ { Missing\ acceptor\ department, check\ for\ blank\ in\ \Acceptor{name}{department}{title}\ command. }{
+ You\ MUST\ provide\ the\ acceptor's\ department\ using\ the\ \Acceptor{name}{department}{title}\ command.}
+\msg_new:nnn {\ClassName} {blank_acceptor_title}
+ { Missing\ acceptor\ title\ (blank\ in\ \Acceptor{name}{department}{title}\ command).\ Perhaps\ you\ are\ trying\ to\ save\ vertical\ space?\ You\ can\ put\ the\ acceptor\ title\ into\ department\ field\ instead.\ For\ consistency,\ I\ will\ omit\ titles\ of\ ALL\ acceptors.}
+
+\cs_new_protected:Nn \__acceptor_data_add:nnn
+ {
+ \int_gincr:N \g_acceptor_acceptorcnt_int
+ \seq_gput_right:cx { g_acceptor_name_seq } { \tl_trim_spaces:n {#1} }
+ \seq_gput_right:cx { g_acceptor_department_seq } { \tl_trim_spaces:n {#2} }
+ \seq_gput_right:cx { g_acceptor_title_seq } { \tl_trim_spaces:n {#3} }
+ }
+
+%%%%%%%%%% End Acceptor Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%% Degree Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\seq_new:N \g_degree_name_seq
+\seq_new:N \g_degree_department_seq
+\int_gzero_new:N \g_degree_degreecnt_int
+\int_gzero_new:N \g__degree_degreeflag_int
+
+\NewDocumentCommand\Degree{mm}
+ {
+ \tl_if_blank:nTF {#1} {
+ \msg_error:nn {\ClassName} {blank_degree}
+ }{
+ \__degree_data_add:nn { #1 } { #2 }
+ }
+ \tl_if_blank:nT {#2} {
+ \int_gset_eq:NN \g__degree_degreeflag_int \g_degree_degreecnt_int
+ \msg_warning:nnx {\ClassName} {blank_degree_dep} { \int_to_arabic:n { \g__degree_degreeflag_int } }
+ \tl_if_blank:nT {#1} { \int_gincr:N \g__degree_degreeflag_int }% in case both are blank
+ }
+ }
+\cs_new_protected:Nn \__degree_data_add:nn
+ {
+ \int_gincr:N \g_degree_degreecnt_int
+ \seq_gput_right:cx { g_degree_name_seq } { \tl_trim_spaces:n {#1} }
+ \seq_gput_right:cx { g_degree_department_seq } { \tl_trim_spaces:n {#2} }
+ }
+\msg_new:nnnn {\ClassName} {blank_degree} {Missing\ degree\ name,\ check\ for\ blank\ in\ \Degree\ command.}
+ {You\ MUST\ provide\ a\ degree\ name\ using\ the\ \Degree{name}{department}\ command.}
+\msg_new:nnnn {\ClassName} {blank_degree_dep} {Missing\ degree\ department\ for\ Degree\ command\ number\
+ #1.\ Will\ treat\ as\ a\ duplicate\ of\ previous\ department.}{}
+
+\int_zero_new:N \l__degree_degreeno_int
+\int_zero_new:N \l__degree_departmentno_int
+
+\cs_new:Nn \__degree_block: {
+ \int_compare:nNnTF { \g_degree_degreecnt_int } = {0} {
+ \msg_error:nn {\ClassName} {no_degree}
+ }
+ \int_zero_new:N \l__degree_degreeno_int
+ \int_incr:N \l__degree_degreeno_int
+ \int_zero_new:N \l__degree_departmentno_int
+ \int_incr:N \l__degree_departmentno_int
+ \cs_new:Nx \__degree_prevdept: {\seq_item:cn { g_degree_department_seq } { \l__degree_departmentno_int } }
+ \cs_new:Nn \__degree_currdept: {}
+ \mbox {Submitted\ to\ the\ } \mbox {\__degree_prevdept:}
+ \int_until_do:nNnn { \l__degree_departmentno_int } = { \g_degree_degreecnt_int } {
+ \int_incr:N \l__degree_departmentno_int
+ \cs_set:Nx \__degree_currdept: {\seq_item:cn { g_degree_department_seq } { \l__degree_departmentno_int } }
+ \int_compare:nNnTF { \l__degree_departmentno_int } = {\g__degree_degreeflag_int } { \scan_stop: }
+ {
+ \mbox {\ and\ the}\linebreak
+ \mbox {\__degree_currdept: }
+ }
+ }
+ \linebreak \mbox {in\ partial\ fulfillment\ of\ the\ requirements\ for\ the\
+ \int_compare:nNnTF { \g_degree_degreecnt_int } > {1} {degrees} {degree}
+ \ of}
\par\medskip
- \whiledo{\value{degno}<\value{degcnt}}{%
- \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par and\par
- \addtocounter{degno}{1}%
- }%
- \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par\medskip
+ \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
}
+\msg_new:nnnn {\ClassName} {no_degree}
+ { Missing\ degree!\ You\ must\ issue\ the\ \Degree{name}{department}\ command. }{
+ You\ MUST\ issue\ the\ \Degree{name}{department}\ command\ after\ \string\begin{document}\ and\ before\ \string\maketitle.\ You\ do\ want\ the\ degree,\ don't\ you?}
-\newcounter{supcnt}
-\setcounter{supcnt}{0}
-\newcounter{supno}
-\setcounter{supno}{0}
+\cs_new:Nn \__degree_abstractblock: {
+ \int_set:Nn \l__degree_degreeno_int {1}
+ \int_set:Nn \l__degree_departmentno_int {1}
+ \cs_set:Nx \__degree_prevdept: {\seq_item:cn { g_degree_department_seq } { \l__degree_departmentno_int } }
+ \cs_set:Nn \__degree_currdept: {}
+ \mbox {Submitted\ to\ the\ }\mbox{\__degree_prevdept:}
+ \int_until_do:nNnn { \l__degree_departmentno_int } = { \g_degree_degreecnt_int } {
+ \int_incr:N \l__degree_departmentno_int
+ \cs_set:Nx \__degree_currdept: {\seq_item:cn { g_degree_department_seq } { \l__degree_departmentno_int } }
+ \int_compare:nNnTF { \g__degree_degreeflag_int } = { \g_degree_degreecnt_int } { \scan_stop: }
+ {
+ \mbox {\ and\ the}\linebreak
+ \mbox { \__degree_currdept: }
+ }
+ }
+ \linebreak \mbox{on\ \g_dd_thesisdate_tl\ in\ partial\ fulfillment\ of\ the\ requirements\ for\ the\
+ \int_compare:nNnTF { \g_degree_degreecnt_int } > {1} {degrees} {degree}
+ \ of}
+ \par\medskip
+ \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
+}
-\NewDocumentCommand\Supervisor{mm}{%
- \ifblank{#1}{%
- \ClassError{\ClassName}{Missing supervisor name, check for blank in \Supervisor{name}{department} command}{
- Check for blank in \Supervisor{name}{department} command.}%
- }{%
- \addtocounter{supcnt}{1}%
- \expandafter\xdef\csname sup@\thesupcnt\endcsname{#1}%
- \expandafter\xdef\csname supdep@\thesupcnt\endcsname{#2}%
- }%
- \ifblank{#2}{\ClassError{\ClassName}{Missing supervisor department, check for blank in \Supervisor{name}{department} command}{%
- check for blank in \Supervisor{name}{department} command.}}{}%
-}% defines \sup at supcnt as Name #1 and \supdep at supcnt as associated dept.
+%%%%%%%%%% End Degree Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcounter{acccnt}
-\setcounter{acccnt}{0}
-\newcounter{accno}
-\setcounter{accno}{0}
-\newif\ifmit at noacctitle\mit at noacctitlefalse % Revised 2023/06/23
-\NewDocumentCommand\Acceptor{mmm}{%
- \ifblank{#1}{%
- \ClassWarning{\ClassName}{Missing acceptor name, check for blank in \Acceptor{name}{department}{title} command}%
- }{%
- \addtocounter{acccnt}{1}%
- \expandafter\xdef\csname acc@\theacccnt\endcsname{#1}%
- \expandafter\xdef\csname accdep@\theacccnt\endcsname{#2}%
- \expandafter\xdef\csname acctitle@\theacccnt\endcsname{#3}%
- }%
- \ifblank{#2}{\ClassWarning{\ClassName}{Missing acceptor department, check for blank in \Acceptor{name}{department}{title} command.}}{}%
- \ifblank{#3}{%
- \mit at noacctitletrue
- \ClassWarning{\ClassName}{Missing acceptor title (blank in \Acceptor{name}{department}{title} command). Perhaps you are trying to save vertical space? You can put the acceptor title into department field instead. For consistency, I will omit titles of ALL acceptors.}%
- }{}%
-}% defines \acc at acccnt as Name #1, \accdep at accccnt as associated dept, and \acctitle at acccnt as title of acceptor
-\newcommand*\@SigSize{\relax}
-\NewDocumentCommand\SignatureBlockSize{m}{\renewcommand\@SigSize{\ignorespaces#1}}% revised 2023/06/23
+%%%%%%%%%% Signature Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\NewDocumentCommand\SignatureBlockSize{m}{
+ \__signature_sigsize:n {#1}
+}
+\tl_new:N \g__signature_sigsize_tl
+\cs_new_protected:Nn \__signature_sigsize:n
+ {
+ \tl_gset:Nf \g__signature_sigsize_tl { \tl_trim_spaces:n {#1} }
+ \token_case_meaning:NnF \g__signature_sigsize_tl
+ {
+ \normalsize {} \small {} \footnotesize{} \scriptsize{} \tiny{}
+ } {
+ \msg_error:nn {\ClassName} {weird_sigsize}
+ }
+ }
-\NewDocumentCommand\@SetSignatureBlock{}{% Revised 2023/06/23
- \ifnum\value{supcnt}=0
- \ClassError{\ClassName}{Missing supervisor! You must issue the \Supervisor{name}{department} command}{%
- You MUST issue the \Supervisor{name}{department} command after \begin{document} and before \maketitle.}%
- \fi
- \ifnum\value{acccnt}=0
- \ClassError{\ClassName}{Missing acceptor! You must issue the \Acceptor{name}{department} command}{%
- You MUST issue the \Acceptor{name}{department} command after \begin{document} and before \maketitle.}%
- \fi
- \ifdefined\@ThesisDate\else\ClassError{\ClassName}{Missing thesis date!}{%
- You must issue the \ThesisDate{Date thesis is submitted} command between \begin{document} and \maketitle.}%
- \fi
- \setcounter{authorno}{0}%
- \setcounter{supno}{0}%
- \setcounter{accno}{0}%
- \@SigSize
+\cs_new:Nn \__signature_block: {
+ \int_compare:nNnT { \g_supervisor_supervisorcnt_int } = {0} {
+ \msg_error:nn {\ClassName} {no_supervisor}% this message is def'd in Abstract supervisor block
+ }
+ \int_compare:nNnT { \g_acceptor_acceptorcnt_int } = {0} {
+ \msg_error:nn {\ClassName} {no_acceptor}
+ }
+ \tl_if_exist:NF \g_dd_thesisdate_tl {
+ \msg_error:nn {\ClassName} {no_thesis_date}
+ }
+ \int_gzero_new:N \g__signature_autno_int
+ \int_gzero_new:N \g__signature_supno_int
+ \int_gzero_new:N \g__signature_accno_int
+ \g__signature_sigsize_tl
\begin{tabbing}
- \hspace{1.35in}\=\hspace{1in}\kill
- \whiledo{\value{authorno}<\value{authorcnt}}{% starting with authorno = 0 ensures we reach authorcnt with +1
- \addtocounter{authorno}{1}%
- Authored by: \> \csname aut@\theauthorno\endcsname\\% remove \ignorespaces x9, 2023/06/23
- \> \csname autdep@\theauthorno\endcsname\\
- \> \@ThesisDate \\[1em]
- }% end whiledo
- \whiledo{\value{supno}<\value{supcnt}}{%
- \addtocounter{supno}{1}%
- Certified by: \> \csname sup@\thesupno\endcsname\\
- \> \csname supdep@\thesupno\endcsname, Thesis Supervisor\\[1em]
- }% end whiledo
- \whiledo{\value{accno}<\value{acccnt}}{%
- \addtocounter{accno}{1}%
- Accepted by: \> \csname acc@\theaccno\endcsname\\
- \> \csname accdep@\theaccno\endcsname
- \ifmit at noacctitle\else %<=== 2023/06/23
- \\
- \> \csname acctitle@\theaccno\endcsname
- \fi
- \\[1em]
- }% end whiledo
+ \hspace{1.35in} \= \hspace{1in} \kill
+ \int_do_while:nNnn { \g__signature_autno_int } < { \g_author_authorcnt_int } {
+ \int_gincr:N \g__signature_autno_int
+ Authored\ by: \> \seq_item:cn { g_author_name_seq } { \g__signature_autno_int } \\
+ \> \seq_item:cn { g_author_department_seq } { \g__signature_autno_int } \\
+ \> \g_dd_thesisdate_tl \\[1em]
+ }
+ \int_do_while:nNnn { \g__signature_supno_int } < { \g_supervisor_supervisorcnt_int } {
+ \int_gincr:N \g__signature_supno_int
+ Certified\ by: \> \seq_item:cn { g_supervisor_name_seq } { \g__signature_supno_int } \\
+ \> \seq_item:cn { g_supervisor_title_seq } { \g__signature_supno_int },\ Thesis\ Supervisor\\[1em]
+ }
+ \int_compare:nNnF { \g_acceptor_acceptorcnt_int } = {0} {
+ \int_do_while:nNnn { \g__signature_accno_int } < { \g_acceptor_acceptorcnt_int } {
+ \int_gincr:N \g__signature_accno_int
+ Accepted\ by: \> \seq_item:cn { g_acceptor_name_seq } { \g__signature_accno_int } \\
+ \> \seq_item:cn { g_acceptor_department_seq } { \g__signature_accno_int }
+ \bool_if:NF \g__acceptor_title_tf_bool
+ {
+ \\
+ \> \seq_item:cn { g_acceptor_title_seq } { \g__signature_accno_int }
+ }
+ \\[1em]
+ }
+ }
\end{tabbing}
}
-\NewDocumentCommand\@SetAbstractSupervisorBlock{}{% revised 2023/06/23
- \setcounter{supno}{1}
- \setlength{\parindent}{0pt}
- \par\bigskip\noindent
- \whiledo{\value{supno}<\value{supcnt}}{%
- Thesis supervisor: \csname sup@\thesupno\endcsname\par
- Title: \csname supdep@\thesupno\endcsname\par\medskip
- \addtocounter{supno}{1}%
- }% end whiledo
- Thesis supervisor: \csname sup@\thesupno\endcsname\par
- Title: \csname supdep@\thesupno\endcsname\ignorespaces
-}
+\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.}
+\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.}
+\msg_new:nnnn {\ClassName} {no_thesis_date}
+ { Missing\ thesis\ date!\ You\ must\ issue\ the\ \ThesisDate{Date\ thesis\ is\ submitted}\ command.}{
+ You\ MUST\ issue\ the\ \ThesisDate{Date thesis is submitted}\ command\ after\ \string\begin{document}\ and\ before\ \string\maketitle.}
-%%%%%%%%%%%%%%%%%%% Copyright related %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% If for some reason you don't want a warning when you omit \Acceptor
+\NewDocumentCommand\SuppressAcceptorError{}
+ {
+ \msg_redirect_name:nnn { \ClassName } { no_acceptor } { none }
+ }
-\ExplSyntaxOn
-\newif\ifmit at cclicense\mit at cclicensefalse
-\NewDocumentCommand\CClicense{m m}{%
- \def\CClicensetext{\hrefurl{#2}{\ignorespaces#1}}% #1 - text, #2 - url
- \def\CCname{#1}%
- \def\CCurl{#2}% only for backward compatibility
- \mit at cclicensetrue
- \cs_if_exist:NT \pdfmeta_xmp_add:n {%
- \pdfmeta_xmp_add:n {<xmpRights:WebStatement>#2</xmpRights:WebStatement>}
+%%%%%%%%%% End Signature Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%% Copyright Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Directly add the xmp property that shows work is copyrighted. See l3pdfmeta.pdf.
+% This is not automatic with \DocumentMetadata. "True" must be capitalized.
+%
+\cs_if_exist:NTF \pdfmeta_xmp_add:n {\pdfmeta_xmp_add:n{<xmpRights:Marked>True</xmpRights:Marked>}}{}
+
+\tl_new:N \g_copyright_ccname_tl
+\tl_new:N \g_copyright_cclicensetext_tl
+\tl_new:N \g_copyright_copyrightlicencse_tl
+\tl_new:N \g_copyright_pdfrightstext_tl
+\tl_new:N \g__copyright_crwords_tl_
+\tl_new:N \g__copyright_mitpermissionlast_tl
+
+\tl_new:N \g_copyright_mitpermission_tl
+\tl_gset:Nn \g__copyright_mitpermissionlast_tl {to\ MIT\ a\ nonexclusive,\ worldwide,\ irrevocable,\ royalty-free\ license\ to\ exercise\ any\ and\ all\ rights\ under\ copyright,\ including\ to\ reproduce,\ preserve,\ distribute\ and\ publicly\ display\ copies\ of\ the\ thesis,\ or\ release\ the\ thesis\ under\ an\ open-access\ license.}
+
+\bool_new:N \g__cclicense_tf_bool
+\bool_gset_false:N \g__cclicense_tf_bool
+
+\NewDocumentCommand\CClicense{mm}{
+ \__copyright_licensedata:nn {#1}{#2}
+% \def\CCurl{ \tl_trim_spaces:n {#2} }% for backward compatibility with v1.05, if necessary
+}
+\cs_new_protected:Nn \__copyright_licensedata:nn
+ {
+ \tl_gset:Nf \g_copyright_cclicensetext_tl {\hrefurl{ \tl_trim_spaces:n {#2} }{ \tl_trim_spaces:n {#1} } }% #1 - text, #2 - url
+ \tl_gset:Nx \g_copyright_ccname_tl { \tl_trim_spaces:n {#1} }
+ \bool_gset_true:N \g__cclicense_tf_bool
+ \cs_if_exist:NT \pdfmeta_xmp_add:n {
+ \pdfmeta_xmp_add:n {<xmpRights:WebStatement>#2</xmpRights:WebStatement>}
}
-}
-\ExplSyntaxOff
+ \msg_note:nnx {\ClassName} {cclicense} { \text_expand:n {\g_copyright_ccname_tl} }
+ }
+\msg_new:nnn {\ClassName} {cclicense} { Using\ Creative\ Commons\ License\ #1.}
-%%%%%%%%%%%%%%%%%%% Create titlepage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% End Copyright Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\MIT{MASSACHUSETTS INSTITUTE OF TECHNOLOGY}
-\RenewDocumentCommand\maketitle{s}{%
+%%%%%%%%%% Title page Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\RenewDocumentCommand{\title}{m}
+ {
+ \__mitthesis_title:n { #1 }
+ \hypersetup{
+ pdftitle={\g_mitthesis_title_tl},
+ }
+ }
%
- \ifdefined\@DegreeMonth\else\ClassError{\ClassName}{Missing degree date!}{%
- You must issue the \DegreeDate{month}{year} command between \begin{document} and \maketitle}%
- \fi
+\tl_new:N \g_mitthesis_title_tl
%
- \ifmit at cclicense
- \def\CopyrightLicense{This work is licensed under a \mbox{\CClicensetext} license.\par\MITpermission}% add mbox 2023/06/23
- \typeout{^^JUsing Creative Commons License \CCname^^J}
- \def\PDFRightsText{This work is licensed under a \CCname\ license. \MITpermission}% for use in metadata
- \else
- \def\CopyrightLicense{All rights reserved.\par\MITpermission}
- \def\PDFRightsText{All rights reserved. \MITpermission}% for use in metadata
- \fi
- \ifnum\value{authorcnt}>1
- \def\CRWords{The authors hereby grant}\else\def\CRWords{The author hereby grants}
- \fi
- \def\MITpermissionLast{to MIT a nonexclusive, worldwide, irrevocable, royalty-free license to exercise any and all rights under copyright, including to reproduce, preserve, distribute and publicly display copies of the thesis, or release the thesis under an open-access license.}%
- \IfBooleanTF{#1}{\def\MITpermission{\relax}}{\def\MITpermission{\CRWords\space\MITpermissionLast}}%
+\cs_new_protected:Nn \__mitthesis_title:n
+ {
+ \tl_gset:Nn \g_mitthesis_title_tl { \tl_trim_spaces:n {#1} }
+ }
+
+\tl_new:N \g_titlepage_institution_name_tl
+\tl_gset:Nn \g_titlepage_institution_name_tl {Massachusetts\ Institute\ of\ Technology}
+\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
+%
+ \bool_if:NTF \g__cclicense_tf_bool {
+ \tl_gset:Nn \g_copyright_copyrightlicencse_tl
+ {This\ work\ is\ licensed\ under\ a\ \mbox{\g_copyright_cclicensetext_tl}\ license.\par\g_copyright_mitpermission_tl}
+ \tl_gset:Nn \g_copyright_pdfrightstext_tl
+ {This\ work\ is\ licensed\ under\ a\ \g_copyright_ccname_tl\ license.\ \g_copyright_mitpermission_tl}
+ }{
+ \tl_gset:Nn \g_copyright_copyrightlicencse_tl
+ {All\ rights\ reserved. \par\g_copyright_mitpermission_tl}
+ \tl_gset:Nn \g_copyright_pdfrightstext_tl
+ {All\ rights\ reserved.\ \g_copyright_mitpermission_tl}
+ }
+ \int_compare:nNnTF {\g_author_authorcnt_int} > {1}
+ {
+ \tl_gset:Nn \g__copyright_crwords_tl_ {The\ authors\ hereby\ grant}
+ }
+ {
+ \tl_gset:Nn \g__copyright_crwords_tl_ {The\ author\ hereby\ grants}
+ }
+ \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}}%
- {\centering\vbox to \vsize{% vbox to prevent signature block from breaking across page. Remove if necessary.
- \setlength{\parskip}{0.5\baselineskip plus 2pt minus 2pt}\setlength{\parindent}{0pt}%
- {\Large\textbf{\@title}\par}%
- \@AuthorBlock
- \par
- \@DegreeBlock
- at the\par
- \MIT\par
- \@DegreeMonth\space\@DegreeYear
- \MonthCheck{\@@DegreeMonth}{%
- \ClassError{\ClassName}{Acceptable months for the degree date are February, May, June, and September}{Change %
- the month of your degree date to one of February, May, June, or September.}%
- }%
- \par
- \copyright\space\@DegreeYear\space\@CopyrightAuthor. \CopyrightLicense
- \par
- \vskip\baselineskip
- %
- \@SetSignatureBlock
- \vfill
- }}%
- \newpage
+ {\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}
+ \__author_block:
+ \par
+ \__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
+ }
+ }%
+ \hypersetup{
+ pdfcopyright={Copyright\ ©\ \DegreeYear\ by\ \CopyrightAuthor.\ \g_copyright_pdfrightstext_tl},
+ pdfauthor={\g__author_pdfca_tl},
+ pdfcaptionwriter = {\g__author_pdfca_tl},
+ }
+ \cleardoublepage
}
-%%%%%%%%%%%%%%%%%%% Create abstract page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% End title page module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\RenewDocumentEnvironment{abstract}{+b}{%
+
+%%%%%%%%%% Abstract page Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% to change abstract name, follow either of these approaches in your preamble:
+% \RenewExpandableDocumentCommand\abstractname{}{Summary}
+% \renewcommand\abstractname{Summary}
+
+\RenewDocumentEnvironment{abstract}{+b}{
\newpage
- \phantomsection\addcontentsline{toc}{chapter}{\protect\textbf{Abstract}}%
+ \phantomsection\addcontentsline{toc}{chapter}{\protect\textbf{\abstractname}}
\begin{center}
- {\large{\textbf{\@title}}\par}
+ {\large{\textbf{\g_mitthesis_title_tl}}\par}
\setlength{\parskip}{0.5\baselineskip plus 2pt minus 2pt}
- \@AbstractAuthorBlock
+ \__author_abstractblock:
\par
- \@AbstractDegreeBlock
+ \__degree_abstractblock:
\end{center}
- \vskip\baselineskip
- \textbf{ABSTRACT}\par\vskip0.5em
- \ignorespaces#1\ignorespaces
- \ifblank{#1}{\typeout{Missing abstract!} MISSING ABSTRACT!}{\relax}
-}{%
- \@SetAbstractSupervisorBlock
- \newpage
- \ignorespacesafterend
+ \skip_vertical:n {\baselineskip}
+ \textbf{ \text_uppercase:n {\abstractname} }\par
+ \skip_vertical:n { 0.5em }
+ \tl_trim_spaces:n {#1}
+ \tl_if_blank:nT {#1} { MISSING\ ABSTRACT! \msg_error:nn { \ClassName } { missing_abstract } }
+}{
+ \__supervisor_abstractblock:
+ \cleardoublepage
}
+\msg_new:nnnn {\ClassName} { missing_abstract } {Missing\ Abstract!! } { No\ file\ was\ input\ for\ the\ abstract.\ You\ need\ to\ do\ \string\input{abstract.tex}.}
-%%%%%%% A nomenclature environment, if needed %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% End abstract page Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\debug_off:n {all}
+\ExplSyntaxOff
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% End title and abstract page codes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%% A nomenclature environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\providecommand{\nomname}{Nomenclature}
\newlength\nomenwidth
\newlength\savitemsep
-\makeatletter
+% nomenclature entries
\NewDocumentCommand\entry{m m}{%
- \ifblank{#2}{%
- \ClassWarning{\ClassName}{The command \protect\entry requires two arguments. To obtain a subheading, use \protect\EntryHeading}
- \itemsep3\p@ plus 1\p@ minus 1\p@%
- \goodbreak\item[\itshape#1\hfill]\setlength\itemsep\savitemsep\@itempenalty=1000%
- }{%
- \item[#1\hfill]#2%
- \@itempenalty=-\@lowpenalty%
- }%
+ \item[#1\hfill]#2%
+ \@itempenalty=-\@lowpenalty
}
-% A separate command command for nomenclature subheadings
+% nomenclature subheadings
\NewDocumentCommand\EntryHeading{m}{%
- \itemsep3\p@ plus 1\p@ minus 1\p@%
- \goodbreak\item[\itshape#1\hfill]\setlength\itemsep\savitemsep\@itempenalty=1000%
+ \itemsep3\p@ plus 1\p@ minus 1\p@
+ \goodbreak\item[\itshape#1\hfill]\setlength\itemsep\savitemsep\@itempenalty=1000
}
-\makeatother
%
% Increase first optional argument to a dimension > 2em if wide entries cause undesired misalignment of columns.
% Second optional argument can be used to rename the environment, e.g., to List of Symbols.
+% Third optional argument selects section-level or chapter-level style for the nomenclature list.
\NewDocumentEnvironment{nomenclature}{O{2em} O{\nomname} O{section}}{%
\setlength\columnsep{2em}
\setlength{\nomenwidth}{#1}
@@ -738,7 +960,7 @@
}%
}{\end{list}\ignorespacesafterend}
-
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
More information about the tex-live-commits
mailing list.