diff options
Diffstat (limited to 'Master/texmf-dist')
46 files changed, 605 insertions, 257 deletions
diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf b/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf Binary files differindex f0964659d8a..fffb7fbf43b 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-Thesis.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex index 2faced3b18e..0a1873f3b26 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/MIT-Thesis.tex @@ -1,12 +1,11 @@ % !TEX encoding = UTF-8 Unicode -% !BIB TS-program = biber -% !BIB program = biber +% !BIB TS-program = biber % This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class. % -% Version: 1.11, 2023/11/02 +% Version: 1.12, 2024/07/02 % -% Author: John H. Lienhard, copyright 2023. Reuse under the MIT license: https://ctan.org/license/mit +% Author: John H. Lienhard, copyright 2024. Reuse under the MIT license: https://ctan.org/license/mit % Documentation is here: https://ctan.org/pkg/mitthesis @@ -16,8 +15,11 @@ pdfstandard = a-2b, pdfversion = 1.7, lang = en-US, -% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata +% pdfversion = 2.0, +% pdfstandard = a-4, +% 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 @@ -26,9 +28,9 @@ % option [lineno] provides line numbers, as for editing % option [mydesign] loads packages for color, title and list formats, margins, or captions: edit mydesign.tex to change defaults. % option [fontset] is a keyvalue which can be: -% pdftex or unicode engines: defaultfonts, libertine, lucida -% pdftex only: fira-newtxsf, newtx, newtx-sans-text -% unicode engines (luatex): heros-stix2, stix2, termes, termes-stix2 +% for pdftex or unicode engines: defaultfonts, libertine, lucida +% for pdftex only: fira-newtxsf, newtx, newtx-sans-text +% for unicode engines (luatex): heros-stix2, stix2, termes, termes-stix2 % 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. @@ -39,12 +41,23 @@ \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 +\usepackage[version=4]{mhchem}% documentation at https://ctan.org/pkg/mhchem -%% Latin filler used in Chapter 1, with a test for package version date. https://ctan.org/pkg/lipsum +%% Latin filler used in Chapter 1, with a test for package version date (https://ctan.org/pkg/lipsum) \usepackage{lipsum} \IfPackageAtLeastTF{lipsum}{2021/09/20}{\setlipsum{auto-lang=false}}{} +%% Table related packages + +\usepackage{booktabs}% publication quality tables (https://ctan.org/pkg/booktabs) + +\usepackage{array}% Additional options for column formats (https://ctan.org/pkg/array) + +%\usepackage{dcolumn}% For alignment of numbers on the decimal place (https://ctan.org/pkg/dcolumn) +% \newcolumntype{d}[1]{D{.}{.}{#1}}% use with dcolumn package + +%\usepackage{tabularx}% adjustable-width columns in tabular (https://ctan.org/pkg/tabularx) + %%%%%%%%% Graphics path (to figure files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -56,8 +69,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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} + +%% IEEE style citations and references +% \usepackage[style=ieee,maxbibnames=10,sorting=none]{biblatex}% style=ext-numeric-comp,articlein=false,giveninits=true +% \DefineBibliographyStrings{english}{url= \textsc{url} , }% replaces the IEEE default "[Online]. Available" by "URL" + +%% author-year style citations and references +%% use \parencite, not \cite, when you want "(Author, year)" +%% The sample files are not set up to include parentheses. +% \usepackage[style=authoryear, maxbibnames=10]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <= CHANGE @@ -65,9 +87,11 @@ %% to avoid split urls and stretched white space, you can set the bibliography ragged-right: %\appto{\bibsetup}{\raggedright} -% biblatex is very powerful, and you can customize most aspects the reference list and citations to suit your needs. -% documentation is here: https://ctan.org/pkg/biblatex +%% biblatex is very powerful, and you can customize most aspects the reference list and citations to suit your needs. +%% documentation is here: https://ctan.org/pkg/biblatex +%% cheat sheet is here: https://tug.ctan.org/info/biblatex-cheatsheet/biblatex-cheatsheet.pdf +%% To ensure citations are set, run Latex --> biblatex/biber --> Latex again %%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -79,19 +103,9 @@ %%% 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") +%%% To adjust space between bibliography items %\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}} +% change 4pt to something else; don't drop last two lengths (they are stretchable "glue") %%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -107,13 +121,13 @@ % \usepackage{setspace}% documentation at https://ctan.org/pkg/setspace % \setstretch{1.1}% you can choose some other value for the stretch of space between lines % -%% Use one or more of the these commands AFTER the frontmatter +%% Use one or more of the these commands *AFTER* the frontmatter % % \onehalfspacing % \doublespacing % \singlespacing % will turn these effects off (you can use these anywhere in the document) -%% The best result may be to stay with leading selected by the typographer who set up the font. +%% The best result is usually to stay with leading selected by the typographer who set up the font. %%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -128,7 +142,7 @@ pdfkeywords={Massachusetts Institute of Technology, MIT}, % Add keywords that will help search engines and libraries to find your work. % Includes the name[s] of the author[s] - % (If you have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.) + % (If you used \DocumentMetadata at line 14, you can just put "\CopyrightAuthor," for the names.) % pdfurl={}, % If you have a url for the thesis, put it here. Otherwise delete this. @@ -162,29 +176,31 @@ % Use once for each degree fulfilled by thesis % For two degrees from one department, leave the department argument blank for the second degree {}. -% \Degree{Bachelor of Science in Physics}{Department of Physics} -% \Degree{Master of Science in Physics}{} -\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering} +\Degree{Bachelor of Science in Physics}{Department of Physics} +%\Degree{Master of Science in Physics}{} +%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering} % If there is more than one supervisor, use the \Supervisor command for each. \Supervisor{Edward C. Pickering}{Professor of Physics} +%\Supervisor{Edward C. Pickering}{Professor of Physics, and \\ \> Professor of Something Else} % \Supervisor{Secunda Castor}{Professor of Research} % \Supervisor{Quintus Castor}{Professor of Log Dams} % Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...) % If more than one department, use more than once -% **If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.** \Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics} % \Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research} % \Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering} +%% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank, {}. % Usage: \DegreeDate{Month}{year} -% Valid degree months are September, February, or June +% Valid degree months are February, May, June, or September \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. @@ -208,33 +224,34 @@ % (c) you can put the acceptor name and title onto two lines, rather than three like this: % % \Acceptor{Tertius Castor}{Professor and Graduate Officer, Department of Research}{} -% \Acceptor{Quarta Castor}{Professor and Graduate Officer, Department of Mechanical Engineering}{} % -% (d) you can change the font size of the the author name[s] with +% (d) you can change the font size of the author name[s] with % % \AuthorNameSize{\normalsize} % -% (e) and you can omit any previous degrees from the title page, instead mentioning them in the Biosketch +% (e) and you can omit any previous degrees from the title page, instead mentioning them in the biographical sketch % Also, if you prefer to keep the text toward the top of the page with most white space at the bottom, you -% can you this command to squash all of the vertical glue (stretchy space) with this command: +% can use this command to squash all of the vertical glue (stretchy space) with this command: % % \Squash % % This command is useful when the text has not already reach the bottom of the page, since the glue gets squashed automatically % when the page is too full. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Make titlepage \maketitle -%%%%%%%%% Contents that you need to write follows %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%% Contents that you need to write follows! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \includeonly{acknowledgments,biography,chapter1,chapter2,...,appendixa,...} -% for usage, see https://latexref.xyz/_005cinclude-_0026-_005cincludeonly.html +% for usage of includeonly, see https://latexref.xyz/_005cinclude-_0026-_005cincludeonly.html -%%% Frontmatter (write this material in the mentioned files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%% Frontmatter (write this material in the mentioned files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The abstract environment creates all the required headings and footers. % You only need to the text of the abstract in the file abstract.tex @@ -242,24 +259,22 @@ \input{abstract.tex}% use \input rather than \include because we're inside an environment \end{abstract} -\include{acknowledgments}% .tex extension is presumed by \include - -\include{biography}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format +\include{acknowledgments}% acknowledgments.tex (.tex extension is presumed by \include) +\include{biography}% biography.tex (optional, see 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) %%%%%%%% +%%% Table of contents and lists of stuff (delete unused lists, i.e., if no tables or figures) %%%%% \tableofcontents \listoffigures \listoftables - %%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% If you want to use "double spacing", you should start here... \include{chapter1}% .tex extension is presumed -%\include{chapter2} +% \include{chapter2} %\include{chapter3} %\include{chapter4} @@ -270,9 +285,13 @@ \include{appendixa} -%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Bibliography (biblatex) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents -\printbibliography[title={References},heading=bibintoc] +\printbibliography[title={\refname},heading=bibintoc] % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/acknowledgments.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/acknowledgments.tex index a1ceaacffd9..de4fcfd51d3 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/acknowledgments.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/acknowledgments.tex @@ -1,11 +1,11 @@ %% acknowledgments.tex % From mitthesis package -% Version: 1.01, 2023/10/16 +% Version: 1.02, 2024/06/19 % Documentation: https://ctan.org/pkg/mitthesis - \chapter*{Acknowledgments} -\addcontentsline{toc}{chapter}{Acknowledgments} +\pdfbookmark[0]{Acknowledgments}{acknowledgments} + Write your acknowledgments here. diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/biography.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/biography.tex index 30e4784525d..6148c2f133a 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/biography.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/biography.tex @@ -2,11 +2,12 @@ %% This section is optional % From mitthesis package -% Version: 1.01, 2023/10/16 +% Version: 1.02, 2024/06/19 % Documentation: https://ctan.org/pkg/mitthesis \chapter*{Biographical Sketch} -\addcontentsline{toc}{chapter}{Biographical Sketch} +\pdfbookmark[0]{Biographical Sketch}{biosketch} + Silas Whitcomb Holman was born in Harvard, Massachusetts on January 20, 1856. He received his S.B. degree in Physics from MIT in 1876, and then joined the MIT Department of Physics as an Assistant. He became Instructor in Physics in 1880, Assistant Professor in 1882, Associate Professor in 1885, and Full Professor in 1893. Throughout this period, he struggled with increasingly severe rheumatoid arthritis. At length, he was defeated, becoming Professor Emeritus in 1897 and dying on April 1, 1900. diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex index cc7683744ec..481e96a4c4e 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/chapter1.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.04, 2023/10/19 +% Version: 1.05, 2023/11/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -11,7 +11,7 @@ We begin with some ideas from the literature \cite{Fong2015,sharpe1}. -\begin{equation} +\begin{equation}\label{eqn:1} \frac{\partial}{\partial t}\left[\rho\bigl(e + \lvert\vec{u}\rvert^2\big/2\bigr)\right] + \nabla\cdot\left[\rho\bigl(h + \lvert\vec{u}\rvert^2\big/2 \bigr)\vec{u}\right] ={}-\nabla \cdot \vec{q} + \rho \vec{u}\cdot\vec{g}+ \frac{\partial}{\partial x_j}\bigl(d_{ji}u_i\bigr) \end{equation} @@ -37,7 +37,8 @@ We begin with some ideas from the literature \cite{Fong2015,sharpe1}. \lipsum[4] -\subsection{Subsection~eqn.~\eqref{eqn:WT1}} +%% note use of \ref* here to avoid placing a nested link in the table of contents +\subsection[Subsection~eqn.~(\ref*{eqn:WT1})]{Subsection~eqn.~\eqref{eqn:WT1}} \lipsum[5-6] \subsubsection{A subsubsection} @@ -84,9 +85,9 @@ L(\ifpdftex\bm{A}\else\symbfup{A}\fi) = \begin{pmatrix} \ce{SO4^2- + Ba^2+ -> BaSO4 v} \\[0.5em] \ce{Zn^2+ <=>[+ 2OH-][+ 2H+] -$\underset{\text{amphoteric hydroxide}}{\ce{Zn(OH)2 v}}$ +$\underset{\textrm{amphoteric hydroxide}}{\ce{Zn(OH)2 v}}$ <=>[+ 2OH-][+ 2H+] -$\underset{\text{tetrahydroxozincate}}{\ce{[Zn(OH)4]^2-}}$ +$\underset{\textrm{tetrahydroxozincate}}{\ce{[Zn(OH)4]^2-}}$ } \end{gather} These examples of chemical formul\ae\ are copied directly from the documentation of the \texttt{mhchem} package, which was used to typeset them. @@ -94,7 +95,7 @@ These examples of chemical formul\ae\ are copied directly from the documentation \section{Baroclinic generation of vorticity\label{sec:stratified-flow}} Substitution of the particle acceleration and application Stokes theorem leads to the \textit{Kelvin-Bjerknes circulation theorem}, for -$\rho \neq \text{fn}(p)$: +$\rho \neq \textrm{fn}(p)$: \begin{align} \frac{d\Gamma}{dt} &{}= \frac{d}{dt} \int_{\mathcal{C}} \mathbf{u} \cdot d\mathbf{r}\\ &{}= \int_{\mathcal{C}} \frac{D\mathbf{u}}{Dt} \cdot d\mathbf{r} + \underbrace{\int_{\mathcal{C}} \mathbf{u}\cdot d\biggl( \frac{d\mathbf{r}}{dt}\Biggr)}_{=\, 0} \\[-2pt] @@ -130,11 +131,11 @@ Baroclinic generation of vorticity accounts for the sea breeze and various other \\[-0.5em] \toprule \multicolumn{1}{@{\hspace*{1.5em}}c}{$x$\rule{0pt}{8pt}} & -\multicolumn{1}{c}{$\text{erf}(x)$} & -\multicolumn{1}{c!{\hspace*{3.em}}}{$\text{erfc}(x)$} & +\multicolumn{1}{c}{$\textrm{erf}(x)$} & +\multicolumn{1}{c!{\hspace*{3.em}}}{$\textrm{erfc}(x)$} & \multicolumn{1}{c}{$x$} & -\multicolumn{1}{c}{$\text{erf}(x)$} & -\multicolumn{1}{c@{\hspace*{1.5em}}}{$\text{erfc}(x)$} \\ \midrule +\multicolumn{1}{c}{$\textrm{erf}(x)$} & +\multicolumn{1}{c@{\hspace*{1.5em}}}{$\textrm{erfc}(x)$} \\ \midrule 0.00 & 0.00000 & 1.00000 & 1.10 & 0.88021 & 0.11980 \\ 0.05 & 0.05637 & 0.94363 & 1.20 & 0.91031 & 0.08969 \\ 0.10 & 0.11246 & 0.88754 & 1.30 & 0.93401 & 0.06599 \\ diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-defaultfonts.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-defaultfonts.tex index 8795eb547e0..bc7ba62c916 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-defaultfonts.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-defaultfonts.tex @@ -1,16 +1,16 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-defaultfonts.tex}[2023/09/12 v1.03 Load Computer/Latin Modern text and math fonts] +\ProvidesFile{mitthesis-defaultfonts.tex}[2024/06/28 v1.04 Load Computer/Latin Modern text and math fonts] %% Default fonts % \ifpdftex - \typeout{^^JLoading Computer Modern text and math fonts (default for pdftex).^^J} + \ClassNoteNoLine{\ClassName}{Loading Computer Modern text and math fonts (default for pdftex)} \RequirePackage[T1]{fontenc} \RequirePackage{bm} \else - \typeout{^^JLoading Latin Modern text and math fonts (default for unicode engines).^^J} + \ClassNoteNoLine{\ClassName}{Loading Latin Modern text and math fonts (default for unicode engines)} % \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math. diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-fira-newtxsf.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-fira-newtxsf.tex index 01fa981d78b..ebba9ab190a 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-fira-newtxsf.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-fira-newtxsf.tex @@ -1,19 +1,19 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-fira-newtxsf.tex}[2023/09/12 v1.04 Load Fira Sans text font with newtx sans serif math font and Inconsolata typewriter font] +\ProvidesFile{mitthesis-fira-newtxsf.tex}[2024/06/28 v1.05 Load Fira Sans text font with newtx sans serif math font and Inconsolata typewriter font] %% Fira Sans text font with newtx sans serif math font and Inconsolata typewriter font % \ifpdftex - \typeout{^^JLoading Fira sans text font with newtx sans serif math font and Inconsolata typewriter^^J} + \ClassNoteNoLine{\ClassName}{Loading Fira sans text font with newtx sans serif math font and Inconsolata typewriter} \RequirePackage[sfdefault,scaled=0.90]{FiraSans} % sans serif text package %,scaled=.85 \RequirePackage[T1]{fontenc} \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 fira-newtxsf font set requires pdflatex. Defaulting to LMR fonts} + \ClassWarning{\ClassName}{The fira-newtxsf font set requires pdflatex. Defaulting to LMR fonts} \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math. % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case. diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-heros-stix2.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-heros-stix2.tex index 26ee2ab07bc..1535771f11f 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-heros-stix2.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-heros-stix2.tex @@ -1,7 +1,7 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-heros-stix2.tex}[2023/09/12 v1.02 Load TeX Gyre Heros (sans serif) text font with STIX Two Math font and Inconsolata monospaced font] +\ProvidesFile{mitthesis-heros-stix2.tex}[2024/06/28 v1.03 Load TeX Gyre Heros (sans serif) text font with STIX Two Math font and Inconsolata monospaced font] %% TeX Gyre Heros (sans serif) text font with STIX Two Math font and Inconsolata monospaced font % @@ -12,11 +12,11 @@ % Install these as system fonts on your computer % \ifpdftex - \ClassWarning{mitnewthesis}{The heros-stix2 fontset requires a unicode engine. Defaulting to CMR fonts.} + \ClassWarning{\ClassName}{The heros-stix2 fontset requires a unicode engine. Defaulting to CMR fonts} \RequirePackage[T1]{fontenc} \RequirePackage{bm} \else - \typeout{^^JTeX Gyre Heros (sans serif) text font with STIX2 math font and Inconsolata monospaced font.^^J} + \ClassNoteNoLine{\ClassName}{TeX Gyre Heros (sans serif) text font with STIX2 math font and Inconsolata monospaced font} % \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-libertine.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-libertine.tex index 57cf26f915b..41b2f561dff 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-libertine.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-libertine.tex @@ -1,7 +1,7 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-libertine.tex}[2023/09/12 v1.02 Load Libertine and related fonts] +\ProvidesFile{mitthesis-libertine.tex}[2024/06/28 v1.03 Load Libertine and related fonts] %% Linux Libertine (serif) text font with newtxmath[libertine] (pdftex) or Libertinus (unicode) math font % @@ -10,7 +10,7 @@ % install these as system fonts on your computer % \ifpdftex - \typeout{^^JLoading newtx-libertine text and math fonts with Insolata typewriter font^^J} + \ClassNoteNoLine{\ClassName}{Loading newtx-libertine text and math fonts with Insolata typewriter font} \RequirePackage[lining,semibold]{libertine} \RequirePackage[T1]{fontenc} \RequirePackage[varqu,varl]{inconsolata}% typewriter @@ -18,7 +18,7 @@ \RequirePackage[libertine,vvarbb]{newtxmath} \RequirePackage{bm}% load after all math to give access to bold math \else - \typeout{^^JLoading Linux Libertine (serif) text font with Libertinus math font^^J} + \ClassNoteNoLine{\ClassName}{Loading Linux Libertine (serif) text font with Libertinus math font} % \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-lucida.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-lucida.tex index 6466c369294..e18c72fd924 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-lucida.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-lucida.tex @@ -1,11 +1,11 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-lucida.tex}[2023/09/12 v1.02 Load Lucida fonts] +\ProvidesFile{mitthesis-lucida.tex}[2024/06/28 v1.03 Load Lucida fonts] %% Lucida Bright and Lucida Bright Math fonts (available from the TeX Users Group) -\typeout{^^JLucida Bright and Lucida Bright Math fonts^^J} +\ClassNoteNoLine{\ClassName}{Lucida Bright and Lucida Bright Math fonts} \ifpdftex \RequirePackage[LY1]{fontenc} diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx-sans-text.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx-sans-text.tex index a599af35e21..b76428f383f 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx-sans-text.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx-sans-text.tex @@ -1,20 +1,24 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-newtx-sans-text.tex}[2023/09/12 v1.02 Load newtx sans-serif text and regular math fonts] +\ProvidesFile{mitthesis-newtx-sans-text.tex}[2024/06/68 v1.04 Load newtx sans-serif text and regular math fonts] %% newtx package with sans-serif text (Helvetica-like text with Times-like math) % \ifpdftex + \ClassNoteNoLine{\ClassName}{Loading newtx sans-serif text and newtx serif math fonts} \RequirePackage[T1]{fontenc} \RequirePackage[subscriptcorrection,varvw,helvratio=0.91,defaultsups]{newtx}% upint for upright integrals - \renewcommand{\familydefault}{\sfdefault}% use sans for main text + \AtEndPreamble{% added to accommodate v1.731 of newtx, 2023/11/03 + \renewcommand{\familydefault}{\sfdefault}% use sans for main text +% \renewcommand{\rmdefault}{\sfdefault}% uses sans for \textrm{}, if that's desired. + } % these two commands enable hyphenation of the typewriter font - https://tex.stackexchange.com/a/204421/119566 % \input{t1ntxtt.fd} % \DeclareFontFamily{\encodingdefault}{\ttdefault}{\hyphenchar\font=`\-} % \RequirePackage{bm}% bold math \else - \ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts} + \ClassWarning{\ClassName}{The newtx font set requires pdflatex. Defaulting to LMR fonts} \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math. % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case. diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx.tex index cc43427055b..b1541bbd051 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-newtx.tex @@ -1,17 +1,17 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-newtx.tex}[2023/09/12 v1.03 Load newtx text and math fonts] +\ProvidesFile{mitthesis-newtx.tex}[2024/06/28 v1.04 Load newtx text and math fonts] \ifpdftex - \typeout{^^JLoading newtx fonts with inconsolata typewriter^^J} + \ClassNoteNoLine{\ClassName}{Loading newtx fonts with inconsolata typewriter} \RequirePackage[T1]{fontenc} \RequirePackage[subscriptcorrection,varvw,helvratio=0.91]{newtx}% stix2, upint \RequirePackage[varl,varqu,hyphenate,mono]{inconsolata}% sans typewriter font; mono = fixed word spacing, hyphenate = allow hyphenation \RequirePackage{bm} \let\textsuperscript\textsu% newtx changes the default superiors font; this is needed to get commas aligned in sequential footnotes \else - \ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts} + \ClassWarning{\ClassName}{The newtx font set requires pdflatex. Defaulting to LMR fonts} \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math. % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case. diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-stix2.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-stix2.tex index de3983fe4ee..c178ff233fa 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-stix2.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-stix2.tex @@ -1,7 +1,7 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-stix2.tex}[2023/09/12 v1.03 Load STIX Two text and math fonts] +\ProvidesFile{mitthesis-stix2.tex}[2024/06/28 v1.04 Load STIX Two text and math fonts] %% STIX Two text and math fonts with Heros sans serif font and Inconsolata monospaced font % @@ -12,11 +12,11 @@ % Install these as system fonts on your computer % \ifpdftex - \ClassWarning{mitnewthesis}{The stix2 fontset requires a unicode engine. Defaulting to CMR fonts.} + \ClassWarning{\ClassName}{The stix2 fontset requires a unicode engine. Defaulting to CMR fonts.} \RequirePackage[T1]{fontenc} \RequirePackage{bm} \else - \typeout{^^JLoading STIX Two text and math fonts with Heros sans serif font and Inconsolata monospaced font.^^J} + \ClassNoteNoLine{\ClassName}{Loading STIX Two text and math fonts with Heros sans serif font and Inconsolata monospaced font} % \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes-stix2.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes-stix2.tex index 1e65724cc0b..ed2abc16557 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes-stix2.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes-stix2.tex @@ -1,7 +1,7 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-termes-stix2.tex}[2023/09/12 v1.03 Load TeX Gyre Termes text font with STIX2 math font, Heros sans serif font, and Inconsolata monospaced font] +\ProvidesFile{mitthesis-termes-stix2.tex}[2024/10/28 v1.04 Load TeX Gyre Termes text font with STIX2 math font, Heros sans serif font, and Inconsolata monospaced font] %% TeX Gyre Termes text font and Heros sans serif font with STIX2 math font and Inconsolata monospaced font % @@ -12,11 +12,11 @@ % Install these as system fonts on your computer % \ifpdftex - \ClassWarning{mitnewthesis}{The termes-stix2 fontset requires a unicode engine. Defaulting to CMR fonts.} + \ClassWarning{\ClassName}{The termes-stix2 fontset requires a unicode engine. Defaulting to CMR fonts.} \RequirePackage[T1]{fontenc} \RequirePackage{bm} \else - \typeout{^^JLoading TeX Gyre Termes text font with STIX2 math font, Heros sans serif font, and Inconsolata monospaced font.^^J} + \ClassNoteNoLine{\ClassName}{Loading TeX Gyre Termes text font with STIX2 math font, Heros sans serif font, and Inconsolata monospaced font} % \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes.tex index 64fffb92643..fd1e15bab87 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-termes.tex @@ -1,7 +1,7 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mitthesis-termes.tex}[2023/09/12 v1.03 Load TeX Gyre Termes text and math fonts, Heros sans serif font, and Cursor monospaced font] +\ProvidesFile{mitthesis-termes.tex}[2024/06/28 v1.04 Load TeX Gyre Termes text and math fonts, Heros sans serif font, and Cursor monospaced font] %% TeX Gyre Termes (Times-like) text font with Termes math font and Heros sans serif font and Cursor monospaced font % @@ -9,11 +9,11 @@ % install these as system fonts on your computer % \ifpdftex - \ClassWarning{mitnewthesis}{The termes fontset requires a unicode engine. Defaulting to CMR fonts.} + \ClassWarning{\ClassName}{The termes fontset requires a unicode engine. Defaulting to CMR fonts.} \RequirePackage[T1]{fontenc} \RequirePackage{bm} \else - \typeout{^^JLoading TeX Gyre Termes text and math fonts, Heros sans serif font, and Cursor monospaced font^^J} + \ClassNoteNoLine{\ClassName}{Loading TeX Gyre Termes text and math fonts, Heros sans serif font, and Cursor monospaced font} \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math % unicode-math loads the fontspec package diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex index 2a612d88a1f..ef715210744 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mydesign.tex @@ -1,14 +1,14 @@ % From mitthesis package % Documentation: https://ctan.org/pkg/mitthesis -\ProvidesFile{mydesign.tex}[2023/10/11 v1.03 Typographic design options for thesis] +\ProvidesFile{mydesign.tex}[20234/06/28 v1.04 Typographic design options for thesis] %%%%%%%%%% Color support %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Color package: xcolor. %% Change this if you prefer something else -\usepackage[hyperref,dvipsnames,svgnames,x11names]{xcolor} +\usepackage[dvipsnames,svgnames,x11names]{xcolor} %% can add option [table] to xcolor to use color in tables (see xcolor documentation) @@ -57,7 +57,7 @@ \titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{} \titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{} -% ==> NOT every font includes a bold math version, so you may need to use other math macros in the headings to get bold math <== +% ==> NOT every font includes a bold math version, so you may need other math macros in the headings to get bold math <== %%%%%%%%% Change page margins %%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/doc/latex/mitthesis/README.md b/Master/texmf-dist/doc/latex/mitthesis/README.md index 9ead4e57e0b..25392478efd 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/README.md +++ b/Master/texmf-dist/doc/latex/mitthesis/README.md @@ -1,7 +1,7 @@ #mitthesis --- A LaTeX template for an MIT thesis# - v1.11 dated 2023/11/02 + v1.12 dated 2024/07/02 ####Overview#### This class provides a LaTeX template to format an MIT thesis according to @@ -54,8 +54,21 @@ ####Change log#### + v1.12 (02 July 2024) + - add logic for one degree issued by two departments + - fix missing space in abstract block for multiple departments + - adjust second department layout on title and abstract pages + - table of contents revised + - revise documentation + - switch default citation style to numeric (from IEEE). Provide examples for IEEE and author/year styles. + - add \\AtEndPreamble{..} to mitthesis-newtx-sans-text.tex to accommodate v1.731 of newtx + - in chapter1.tex, replace \\text by \\textrm; fix nested link in section heading + - remove obsolete hyperref option from xcolor + - minor changes to log notes of fontset files + - code clean up + v1.11 (02 November 2023) - - Revise all skips on cover page to better group material while allowing for glue compression as content increases; increase font size of author name; provide user macros for control cover page spacing and author name font. + - revise all skips on cover page to better group material while allowing for glue compression as content increases; increase font size of author name; provide user macros for control cover page spacing and author name font. - use \\mdseries for linenumbers in all cases, rather than using the locally active series - remove \\raggedright in favor of \\bibsetup for bibliography in MIT-Thesis.tex - add backward compatibility for alt tag of \\includegraphics for pre-2021/11/15 distributions, add alt tag in chapter1.tex diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/Two_authors_one_degree_two_departments.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/Two_authors_one_degree_two_departments.pdf Binary files differnew file mode 100644 index 00000000000..c10db9e046e --- /dev/null +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/Two_authors_one_degree_two_departments.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree_two_departments.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree_two_departments.tex new file mode 100644 index 00000000000..cf4fce672e8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_one_degree_two_departments.tex @@ -0,0 +1,129 @@ +% !TEX encoding = UTF-8 Unicode +% !BIB TS-program = biber +% !BIB program = biber + +% Author: John H. Lienhard (c) 2024. Reuse under the MIT license: https://ctan.org/license/mit +% Version 1.01, 2024/06/25 + +% Documentation: https://ctan.org/pkg/mitthesis + +%% Don't modify the \DocumentMetadata command unless you know what it does. +%% If this command throws an "undefined" error, your latex system is out of date: try commenting this command out. +\DocumentMetadata +{ + pdfstandard = a-2b, + pdfversion = 1.7, + lang = en-US, +% debug = {xmp-export}, % output xmpi file to directly examine metadata +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\documentclass[]{mitthesis} +% +% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages. +% option [lineno] provides line numbers, as for editing +% option [mydesign] loads titlesec, enumitem, caption, subcaption - you may edit the mydesign.tex file as you like it. +% option [fontset] is a keyvalue which can be: +% pdftex or unicode engines: defaultfonts, libertine, lucida +% pdftex only: fira-newtxsf, newtx, newtx-sans-text +% unicode engines (luatex): heros-stix2, stix2, termes, termes-stix2 +% if no key value is given, fonts default to CMR (pdftex) or LMR (unicode), i.e., "the latex font". +% You can edit the fontset files or you can write your own, myfonts.tex, and do [fontset=myfonts]. +% If you are using multiple languages, load the babel package in your fontset file, before the fonts. + + +%%%%%%%%%%% 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] + +% For one degree issued by two departments, leave the degree argument blank for the second degree {}. +\Degree{Master of Science in Computational Nuclear Materials}{Department of Nuclear Science and Engineering} +\Degree{}{Center for Computational Science and 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 and Graduate Officer, Department of Physics}{} +\Acceptor{Tertius Castor}{Professor and Graduate Officer, Department of Mechanical Engineering}{} +%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Undergraduate Officer, Department of Mechanical Engineering} + +% In this example, several steps have been taken to make the content fit on the title page! The \Acceptors have been confined to two +% lines in the above commands, the signature block font size is reduced, the skips are tightened, the author names use normal font size, +% and Luisa's previous degrees are not shown. +\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize} +\Tighten +\AuthorNameSize{\normalsize} + +% 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 + +% The abstract environment creates all the required headers and footnote. +% You only need to add the text of the abstract itself in the file abstract.tex +\begin{abstract} + \input{abstract.tex}% in this case, use \input rather than \include because you are inside an environment +\end{abstract} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex index 5e004fe1343..fd9fc21485e 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex @@ -81,8 +81,8 @@ % Use once for each degree fulfilled by thesis % For two degrees from one department, leave the department argument blank for the second degree {}. \Degree{Master of Science in Physics}{Department of Physics} -%\Degree{Master of Science in Physics}{} \Degree{Master of Science in Mechanical Engineering}{Department of Mechanical Engineering} +%\Degree{Master of Science in Physics}{} % If there is more than one supervisor, use the \Supervisor command for each. \Supervisor{Edward C. Pickering}{Professor of Physics} diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/cover_compile.sh b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/cover_compile.sh new file mode 100755 index 00000000000..da23571eff7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/cover_page_samples/latex_sources/cover_compile.sh @@ -0,0 +1,31 @@ +#! /bin/bash + +# first run + +for i in *.tex; + do + if [ "$i" != "abstract.tex" ] ; then + pdflatex $i; + fi; + done + +# second run + +for i in *.tex; + do + if [ "$i" != "abstract.tex" ] ; then + pdflatex $i; + fi; + done + +# clean up + +mkdir pdffiles +mv *.pdf pdffiles +rm *.aux +rm *.gz +rm *.log + + + + diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Defaultfonts.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Defaultfonts.pdf Binary files differindex e55782bbb4a..c32bcc359c0 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Defaultfonts.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Defaultfonts.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Fira_Newtxsf.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Fira_Newtxsf.pdf Binary files differindex 2d802b2a0e5..f78b32a6d95 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Fira_Newtxsf.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Fira_Newtxsf.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Heros-Stix2.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Heros-Stix2.pdf Binary files differindex 09a93e218b6..0262aabdef1 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Heros-Stix2.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Heros-Stix2.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Libertine.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Libertine.pdf Binary files differindex 45b6d25430f..44d54df9460 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Libertine.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Libertine.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Lucida.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Lucida.pdf Binary files differindex 383bbfd3a9a..d667a4bed4c 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Lucida.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Lucida.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx-sans-text.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx-sans-text.pdf Binary files differindex 3c8fc160bac..9f22058aa02 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx-sans-text.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx-sans-text.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx.pdf Binary files differindex 142d3afc0d6..fabf8cd29a6 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Newtx.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Stix2.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Stix2.pdf Binary files differindex 46b54f1a079..7c38f1d8287 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Stix2.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Stix2.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf Binary files differindex e4306cb2377..c7993b99aa9 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes-stix2.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes.pdf b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes.pdf Binary files differindex 93e1db44009..4affab86130 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/Termes.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex index 8b34293ed2d..b6480ef9527 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,10 +246,12 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text -% -\printbibliography[title={References},heading=bibintoc] -} +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] + % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex index d428bcadf1c..f2c8ed11584 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,12 +246,11 @@ %%% 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 +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] %%%% Option for natbib %%%%%%%%%%%%% diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex index 1ae057c0cd3..7e914bfa38e 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,9 +246,13 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + { \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text % -\printbibliography[title={References},heading=bibintoc] +\printbibliography[title={\refname},heading=bibintoc] } % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex index 8fa97df9b00..9198d8a489f 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Libertine.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,10 +246,12 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text -% -\printbibliography[title={References},heading=bibintoc] -} +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] + % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex index 1af3c907540..3fd445d4ff2 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Lucida.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,10 +246,12 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text -% -\printbibliography[title={References},heading=bibintoc] -} +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] + % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex index 87ad88c57e8..9729118c307 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,12 +246,11 @@ %%% 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 +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] %%%% Option for natbib %%%%%%%%%%%%% diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex index eb96cc7892d..e2cebe98acb 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Newtx.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,10 +246,12 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text -% -\printbibliography[title={References},heading=bibintoc] -} +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] + % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/README_font_sample_sources.txt b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/README_font_sample_sources.txt index c4d5c782c18..beacdde0a3e 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/README_font_sample_sources.txt +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/README_font_sample_sources.txt @@ -12,3 +12,5 @@ mitthesis-sample.bib mydesign.tex All of those files are in the directory mitthesis/MIT-thesis-template. + +You should also copy the fontsets directory (and mitthesis.cls) into this folder. diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex index ffc9657186d..6fe4965432f 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Stix2.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,10 +246,12 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text -% -\printbibliography[title={References},heading=bibintoc] -} +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] + % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex index 29bb0e05cf4..3bbf3c83336 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes-stix2.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,10 +246,12 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text -% -\printbibliography[title={References},heading=bibintoc] -} +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] + % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex index fb2f11a35db..92a905fe998 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/Termes.tex @@ -56,8 +56,8 @@ %%%%%%%%% 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" +%% Numerical citations of references +\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none]{biblatex} \addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE @@ -246,10 +246,12 @@ %%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text -% -\printbibliography[title={References},heading=bibintoc] -} +\defbibheading{bibintoc}{\chapter*{#1}\addcontentsline{toc}{backmatter}{\refname}} +% this sets the title of contents name for bibliography to \refname (= References) +% change "backmatter" to "chapter" if you prefer a bold face entry in the table of contents + +\printbibliography[title={\refname},heading=bibintoc] + % biblatex also supports chapter-by-chapter bibliography, https://tex.stackexchange.com/a/296502/119566 % see the biblatex manual, section 3.14.3 diff --git a/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/compile-font-samples.sh b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/compile-font-samples.sh new file mode 100755 index 00000000000..fdb19c1f4fa --- /dev/null +++ b/Master/texmf-dist/doc/latex/mitthesis/examples/font_samples/latex_sources/compile-font-samples.sh @@ -0,0 +1,72 @@ +#! /bin/bash + +# first run + +pdflatex Defaultfonts +pdflatex Fira_Newtxsf +pdflatex Libertine +pdflatex Lucida +pdflatex Newtx-sans-text +pdflatex Newtx + +lualatex Heros-Stix2 +lualatex Stix2 +lualatex Termes-stix2 +lualatex Termes + +# biber + +biber Defaultfonts +biber Fira_Newtxsf +biber Libertine +biber Lucida +biber Newtx-sans-text +biber Newtx +biber Heros-Stix2 +biber Stix2 +biber Termes-stix2 +biber Termes + +# second run + +pdflatex Defaultfonts +pdflatex Fira_Newtxsf +pdflatex Libertine +pdflatex Lucida +pdflatex Newtx-sans-text +pdflatex Newtx + +lualatex Heros-Stix2 +lualatex Stix2 +lualatex Termes-stix2 +lualatex Termes + +# third run + +pdflatex Defaultfonts +pdflatex Fira_Newtxsf +pdflatex Libertine +pdflatex Lucida +pdflatex Newtx-sans-text +pdflatex Newtx + +lualatex Heros-Stix2 +lualatex Stix2 +lualatex Termes-stix2 +lualatex Termes + +# clean up + +mkdir pdffiles +mv *.pdf pdffiles +rm *.aux +rm *.bbl +rm *.bcf +rm *.blg +rm *.log +rm *.lot +rm *.lof +rm *.toc +rm *.xml + + diff --git a/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.pdf b/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.pdf Binary files differindex 611f9c69ac4..8d0d2ba5880 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.pdf +++ b/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.pdf diff --git a/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex b/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex index 2b434f49a72..8822ba28fa8 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex +++ b/Master/texmf-dist/doc/latex/mitthesis/mitthesis-doc/mitthesis-doc.tex @@ -1,7 +1,7 @@ % !TEX TS-program = lualatex % !TEX encoding = UTF-8 Unicode -% Version date: 02 November 2023 +% Version date: 13 April 2024 \DocumentMetadata { @@ -235,7 +235,7 @@ This new MIT thesis template was developed in 2023 at the request of the MIT Lib \subsection*{System requirements} The new \texttt{mitthesis} class uses the features of \LaTeX\ as of 2022, with limited backward compatibility. An up-to-date \LaTeX\ system is therefore necessary when using this template. -\LaTeX\ is a free, open source system. The entire system is distributed through the \TeX\ Live platform (\url{https://www.tug.org/texlive/}), including the basic format, packages, and user interfaces. The system operates on Windows, MacOS, and Unix/Linux. \TeX\ Live is formally updated each year in the spring, and the associated utility package allows users download the most current codes more frequently if they desire. (At the time of this writing, the commercial platform Overleaf.com provides similar functionality.) +\LaTeX\ is a free, open source system. The entire system is distributed through the \TeX\ Live platform (\url{https://www.tug.org/texlive/}), including the basic format, packages, and user interfaces. The system operates on Windows, MacOS, and Unix/Linux. \TeX\ Live is formally updated each year in the spring, and the associated utility package allows users to download the most current codes more frequently if they desire. (At the time of this writing, the commercial platform Overleaf.com provides similar functionality.) If you are missing a package or documentation, you may obtain it at no cost from CTAN (\href{http://ctan.org}{ctan.org}). @@ -398,10 +398,10 @@ bm & defines commands to access bold math symbols (loaded for default fonts) & bookmarks& is loaded automatically under the new pdf-management system & customize pdf bookmarks \\ 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 which engine, e.g., \verb|\ifpdftex| \\ 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\\ +iftex & check which \LaTeX\ engine is running& macros to check which engine, e.g., \verb|\ifpdftex| \\ mathtools& loads and extends \texttt{amsmath} & \textbf{many useful math macros available}. See documentation for \texttt{amsmath} and \texttt{mathtools} \\[0.7em] \midrule hyperxmp & fallback if no \verb|\DocumentMetadata{..}|& ---\\ @@ -487,7 +487,7 @@ If you wish to adapt this template for use at a different institution, you can p \end{itemize} Please do not remove the license/copyright text from the sources files --- this code took me some time write! -\section*{RESOURCES FOR \LaTeX} +\section*[RESOURCES FOR LATEX]{RESOURCES FOR \LaTeX} \LaTeX\ documentation is easy to find online. A few useful resources, among many, are these: \begin{description} \item[\LaTeX\ Wikibook.] \url{https://en.wikibooks.org/wiki/LaTeX}. An online tutorial book. diff --git a/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls b/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls index b48703d7456..e3643987e33 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls +++ b/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls @@ -4,11 +4,11 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% This file provides the mitthesis LaTeX class for formatting theses according to -%% MIT Libraries' requirements as of 2023. +%% MIT Libraries' requirements as of 2024. %% %% This file's version and date: - \def\versionno{1.11} - \def\versiondate{2023/11/02\space} + \def\versionno{1.12} + \def\versiondate{2024/07/02\space} %% %% Author: John H. Lienhard, V %% Department of Mechanical Engineering @@ -25,7 +25,7 @@ %% %% LICENSE: %% -%% Copyright (c) 2023 John H. Lienhard +%% Copyright (c) 2024 John H. Lienhard %% %% Permission is hereby granted, free of charge, to any person obtaining a copy of this software and %% associated documentation files (the "Software"), to deal in the Software without restriction, @@ -57,34 +57,24 @@ \providecommand\IfFormatAtLeastTF{\@ifl@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 -\providecommand\IfPackageLoadedTF{\@ifpackageloaded}% \If...added to latex 2021/11/15 +\providecommand\IfPDFManagementActiveTF{\@secondoftwo}% \If... added to latex 2021/07/23 +\providecommand\IfPackageLoadedTF{\@ifpackageloaded}% \If... added to latex 2021/11/15 +\providecommand\ClassNoteNoLine[2]{\typeout{^^JClass Note #1: #2.^^J}}% log & terminal note... added to latex 2021/11/15 \IfFormatAtLeastTF{2020/10/01}{% - \typeout{^^JYour LaTeX format is dated \fmtversion. LaTeX distributions from 2022/11/01 or later are strongly recommended for best results^^J} + \ClassNoteNoLine{\ClassName}{Your LaTeX format is dated \fmtversion. LaTeX distributions from 2022/11/01 or later are strongly recommended for best results} }{% \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...}% } -% check whether pdfmanagement (\DocumentMetadata) has been loaded (if not, fall back to hyperxmp) +% check whether pdfmanagement (\DocumentMetadata) has been loaded (if not, fall back to hyperxmp and bookmark packages after loading hyperref) \newif\ifmit@pdfmanagement -\ExplSyntaxOn - \msg_new:nnn { \ClassName } { loading_hyperxmp } { pdfmanagement\ is\ not\ active.\ Will\ load\ hyperxmp\ instead. } - % As of 2021/07/23 we could instead use \IfPDFManagementActiveTF{true code}{false code} - \IfFormatAtLeastTF{2020/10/01}{ - \bool_if:nTF - { - \bool_lazy_and_p:nn - { \cs_if_exist_p:N \pdfmanagement_if_active_p: } - { \pdfmanagement_if_active_p: } - } - { \mit@pdfmanagementtrue } - { \mit@pdfmanagementfalse - \msg_warning:nn { \ClassName } { loading_hyperxmp } - } - }{ \mit@pdfmanagementfalse - \msg_warning:nn { \ClassName } { loading_hyperxmp } - } -\ExplSyntaxOff +\IfPDFManagementActiveTF{ + \mit@pdfmanagementtrue +}{ + \mit@pdfmanagementfalse + \ClassWarningNoLine{\ClassName}{pdfmanagement is not active. Will load hyperxmp and bookmark packages instead} +} % Enable pre-2020/10 formats to access essential macros later moved into LaTeX kernel \ifdefined\NewDocumentCommand\else @@ -163,19 +153,35 @@ %%%%%%%%%%%%% Patch table of contents, list of figures, and list of tables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\RequirePackage{etoolbox}% provides \patchcmd - -% We'd like these sections to have pdf bookmarks and to have the two lists appear in the table of contents +% We'd like these sections to have pdf bookmarks and to have the two lists appear in the table of contents and have +% pdf bookmarks. This is not automatic for \chapter*, which is the format of toc, lof, and lot. -\patchcmd{\tableofcontents}{\@starttoc{toc}}{\pdfbookmark[0]{Table of Contents}{toc}\@starttoc{toc}}{}{} -\patchcmd{\listoffigures}{\chapter*{\listfigurename}}{\chapter*{\listfigurename}\addcontentsline{toc}{chapter}{\listfigurename}}{}{} -\patchcmd{\listoftables}{\chapter*{\listtablename}}{\chapter*{\listtablename}\addcontentsline{toc}{chapter}{\listtablename}}{}{} +\RequirePackage{etoolbox}% provides \patchcmd +\patchcmd{\tableofcontents}{\contentsname}{\pdfbookmark[0]{Table of Contents}{toc}\contentsname}{}{} % placement matters. +\patchcmd{\listoffigures}{\chapter*{\listfigurename}}{\chapter*{\phantomsection\listfigurename}\addcontentsline{toc}{frontmatter}{\listfigurename}}{}{} +\patchcmd{\listoftables}{\chapter*{\listtablename}}{\chapter*{\phantomsection\listtablename}\addcontentsline{toc}{frontmatter}{\listtablename}}{}{} + +\NewCommandCopy\l@frontmatter\l@chapter +\NewCommandCopy\l@backmatter\l@chapter +\providecommand*{\toclevel@frontmatter}{0}% prevent warning, see hyperref manual Sec. 13.3 +\providecommand*{\toclevel@backmatter}{0} +%% if you want different formatting for front/back matter, change here (cf. report.cls). This approach preserves tagging hooks. +\AtBeginDocument{ + \patchcmd{\l@frontmatter}{\bfseries}{\itshape}{}{} + \patchcmd{\l@frontmatter}{\nobreak\hfil}{\upshape\nobreak\hfil}{}{} + \patchcmd{\l@frontmatter}{1.0em}{3pt}{}{} + \patchcmd{\l@backmatter}{\bfseries}{\itshape}{}{} + \patchcmd{\l@backmatter}{\nobreak\hfil}{\upshape\nobreak\hfil}{}{} +} %%%%%%%%%%%%% Geometry, mathtools, graphics, design, fonts, hyperrefs, bookmarks, footnotes %%%%%%%%%%%%%%%%%%% -%\RequirePackage[letterpaper,top=1in,bottom=0.97136in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.47136in]{geometry} % bottom margin allows 45\baselineskip in \textheight -\RequirePackage[letterpaper,top=1in,bottom=1in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.5in,heightrounded]{geometry} % 44\baselineskip = \texteheight - \topskip = 650.0pt - 12pt with rounded height +%\RequirePackage[letterpaper,top=1in,bottom=0.97136in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.47136in]{geometry} +% bottom margin allows 45\baselineskip in \textheight + +\RequirePackage[letterpaper,top=1in,bottom=1in,left=1in,right=1in,marginparwidth=50pt,headsep=12pt,footskip=0.5in,heightrounded]{geometry} +% 44\baselineskip = \texteheight - \topskip = 650.0pt - 12pt with rounded height \RequirePackage{mathtools}% loads and extends amsmath; must load before hyperref and unicode-math @@ -198,16 +204,17 @@ https://ctan.org/tex-archive/macros/latex/contrib/mitthesis/MIT-thesis-template.}% }% \else - \RequirePackage[hyperref,dvipsnames,svgnames,x11names]{xcolor} + \RequirePackage[dvipsnames,svgnames,x11names]{xcolor} % \RequirePackage{caption,subcaption} % \RequirePackage{titlesec} % these titlesec commands just automate the bold math in some headings (rest follows default styles) % NOT every font includes a bold math version, so you may need to use other math macros in the headings to get bold math <== - \titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection }{1em}{} + % Predefined fontsets for which bold math exists are: CMR, Fira, Libertinus, Lucida, newtx + \titleformat{\section}{\mathversion{bold}\normalfont\Large\bfseries}{\thesection}{1em}{} \titleformat{\subsection}{\mathversion{bold}\normalfont\large\bfseries}{\thesubsection}{1em}{} - \titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{} + \titleformat{\subsubsection}{\mathversion{bold}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{} % \AtBeginDocument{ \hypersetup{ @@ -226,21 +233,21 @@ \RequirePackage{iftex}[2019/11/07]% provides \ifpdftex, etc. -\typeout{^^JFontset key is \mit@fontset.^^J} +\ClassNoteNoLine{\ClassName}{Fontset key is \mit@fontset} \IfFileExists{fontsets/\ClassName-\mit@fontset.tex}{% 2023/07/03 \input{fontsets/\ClassName-\mit@fontset.tex} }{% - \ClassWarning{\ClassName}{^^JFontset file \ClassName-\mit@fontset.tex or subdirectory fontsets not found, will look for \mit@fontset.tex in your working directory.} + \ClassWarning{\ClassName}{Fontset file \ClassName-\mit@fontset.tex or subdirectory fontsets not found, will look for \mit@fontset.tex in your working directory} \IfFileExists{\mit@fontset.tex}{% 2023/08/30 \input{\mit@fontset.tex} }{ - \ClassWarning{\ClassName}{^^JFontset file \mit@fontset.tex not found, using default fonts. You may need to place the fontset file into your working directory.} + \ClassWarning{\ClassName}{Fontset file \mit@fontset.tex not found, using default fonts. You may need to place the fontset file into your working directory} \ifpdftex - \typeout{^^JLoading Computer Modern text and math fonts (default for pdftex).^^J} + \ClassNoteNoLine{\ClassName}{Loading Computer Modern text and math fonts (default for pdftex)} \RequirePackage[T1]{fontenc} \RequirePackage{bm} \else - \typeout{^^JLoading Latin Modern text and math fonts (default for unicode engines).^^J} + \ClassNoteNoLine{\ClassName}{Loading Latin Modern text and math fonts (default for unicode engines)} \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % suppress tiresome warnings about lack of integration between mathtools and unicode-math. % Unicode-math loads fontspec package, but default fonts are not selected by fontspec in this case. @@ -251,15 +258,18 @@ %%%%%%%%%%%% Hyperref %%%%%%%%%%%%%%%%%%%%%%%%%%%%% \RequirePackage[psdextra]{hyperref} -% the new pdf-management scheme loads the bookmarks package internally. % 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 \DocumentMetadata has not been loaded \RequirePackage{doi} % create macro for hyperlinking doi numbers +%% In case \DocumentMetadata was not loaded +\providecommand\hrefurl[2]{\href{#1}{#2}} + +% pdfmanagement loads bookmarks package internally \ifmit@pdfmanagement\else \RequirePackage{hyperxmp} + \RequirePackage{bookmark} \fi % the user can alter these choices in the preamble, or by @@ -289,7 +299,7 @@ \pdfstringdefDisableCommands{% \def\bm#1#{\relax}% } -%%% Let's disable \( and \) in pdf bookmarks +%% Let's disable \( and \) in pdf bookmarks \pdfstringdefDisableCommands{% \def\({\relax}% \def\){\relax}% @@ -312,10 +322,22 @@ \def\footnote#1{}% } +%%% Here's a more cumbersome removal of the warning for $ (math shift) in pdfbookmarks. +%%% Not implementing this by default, since novice authors may benefit from the warning. +%%% https://tex.stackexchange.com/a/620360/119566 +%\let\oldHyPsd@CatcodeWarning\HyPsd@CatcodeWarning +%\renewcommand{\HyPsd@CatcodeWarning}[1]{% +% \ifnum\pdfstrcmp{#1}{math shift}=0 % If 'math shift' is present, do nothing +% \else +% \oldHyPsd@CatcodeWarning{#1}% % else, keep usual warning. +% \fi +%} \ExplSyntaxOn %\debug_on:n {all} +\prop_gput:Nnn \g_msg_module_type_prop { \ClassName } { Class } + %%%%%%%%%% Commas between successive footnotes %%% \cs_new:Npn \__mitthesis_NoteComma:n { \peek_meaning:NT \footnote {\textsuperscript{\mdseries,}} } @@ -339,18 +361,19 @@ \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 } } % not def'd until 2022/10/16 +% { \str_casefold:e { \tl_to_str:N \g__dd_month_tl } } % command not def'd until 2022/10/16 { \str_lowercase:f { \tl_to_str:N \g__dd_month_tl } } { {february}{} {may}{} {june}{} {september}{}} { \msg_error:nnn { \ClassName } { wrong_month } {#1} } } \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.} -\cs_generate_variant:Nn \text_titlecase:n {o,V} +\cs_generate_variant:Nn \text_titlecase_first:n {V} +\cs_generate_variant:Nn \text_titlecase_all:n {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 } } + \cs_new:Npn \DegreeMonth { \text_titlecase_first:V { \str_lowercase:f \g__dd_month_tl } } + \cs_new:Npn \DegreeYear { \text_expand:n { \g__dd_year_tl } }% edited 2024/06/24 } \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.} @@ -516,7 +539,6 @@ \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 } @@ -535,10 +557,22 @@ \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_name_seq } { \tl_trim_spaces:n {#1} } \seq_gput_right:cx { g_supervisor_title_seq } { \tl_trim_spaces:n {#2} } } +\tl_new:N \g_titlepage_supervisor_designation_tl +\tl_new:N \g_abstract_supervisor_designation_tl +\tl_gset:Nn \g_titlepage_supervisor_designation_tl {Thesis\ Supervisor} +\tl_gset:Nn \g_abstract_supervisor_designation_tl {Thesis\ supervisor}% style from MIT Libraries + +% If for some reason you need to change "Thesis Supervisor" to a different string (say, "Doctoral Advisor") +% This construction removes leading and trailing spaces and lowercases the string. +% Commands in output modules handle titlecasing. +\NewDocumentCommand\SupervisorDesignation{ m } { + \tl_gset:Nn \g_titlepage_supervisor_designation_tl { \str_lowercase:f { \tl_trim_spaces:n {#1} } } + \tl_gset:Nn \g_abstract_supervisor_designation_tl { \str_lowercase:f { \tl_trim_spaces:n {#1} } } + } \cs_new:Nn \__supervisor_abstractblock: { \int_zero_new:N \l__supervisor_supervisorno_int @@ -549,11 +583,13 @@ \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 + \text_titlecase_first:V { \g_abstract_supervisor_designation_tl } :\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 + \text_titlecase_first:V { \g_abstract_supervisor_designation_tl } :\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 } } @@ -607,36 +643,56 @@ %%%%%%%%%% End Acceptor Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%% Degree Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%% Degree Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% extensive edits 2024/06/25 \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 +\int_gzero_new:N \g_degree_deptcnt_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 - } + \int_compare:nNnTF { \g_degree_deptcnt_int } = {0} { + \tl_if_blank:nTF {#1} { + \msg_error:nn { \ClassName } { no_degree_name } + }{ + \__degree_data_add:nn { #1 } { #2 } + \int_gincr:N \g_degree_degreecnt_int + } + \tl_if_blank:nT {#2} { + \msg_error:nn { \ClassName } { no_degree_dep } + }{ + \int_gincr:N \g_degree_deptcnt_int + } + }{ + \tl_if_blank:nTF {#1} { + \msg_warning:nn { \ClassName } { blank_degree } + }{ + \__degree_data_add:nn { #1 } { #2 } + \int_gincr:N \g_degree_degreecnt_int + } + \tl_if_blank:nTF {#2} { + \msg_warning:nn { \ClassName } { blank_degree_dep } + }{ + \int_gincr:N \g_degree_deptcnt_int + \tl_if_blank:nT {#1} { % in case department is blank + \__degree_data_add:nn { #1 } { #2 } + } + } + } } + \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.}{} +\msg_new:nnnn { \ClassName } { no_degree_name } {Missing\ degree\ name,\ check\ for\ blank\ in\ \Degree\ command.} + {You\ MUST\ provide\ at\ least\ one\ degree\ name\ using\ the\ \Degree{name}{department}\ command.} +\msg_new:nnnn { \ClassName } { no_degree_dep } {Missing\ degree\ department\ for\ Degree\ command.} + {You\ MUST\ provide\ at\ least\ one\ department\ name\ using\ the\ \Degree{name}{department}\ command.} +\msg_new:nnnn { \ClassName } { blank_degree } {Missing\ degree\ name\ in\ second\ Degree\ command.\ Will\ treat\ as\ two\ departments\ issuing\ one\ degree.}{} +\msg_new:nnnn { \ClassName } { blank_degree_dep } {Missing\ degree\ department\ in\ second\ \ Degree\ command.\ Will\ treat\ as\ one\ department\ issuing\ two\ degrees.}{} \int_zero_new:N \l__degree_degreeno_int \int_zero_new:N \l__degree_departmentno_int @@ -651,20 +707,18 @@ \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 } { +% \mbox {Submitted\ to\ the\ } \mbox {\__degree_prevdept:} + {Submitted\ to\ the\ \__degree_prevdept:} + \int_until_do:nNnn { \l__degree_departmentno_int } = { \g_degree_deptcnt_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: } - } - } + \mbox {\ and}\linebreak + \mbox {the\ \__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, removed 2023/10/25 to work better with four block layout of title page + \par \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 @@ -681,16 +735,14 @@ \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 +% \mbox {Submitted\ to\ the\ }\mbox {\__degree_prevdept:} % changed 2024/4/20 + {Submitted\ to\ the\ \__degree_prevdept:} + \int_until_do:nNnn { \l__degree_departmentno_int } = { \g_degree_deptcnt_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: } - } - } + \mbox {\ and}\linebreak + \mbox {the\ \__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} @@ -749,7 +801,9 @@ \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] + \> \seq_item:cn { g_supervisor_title_seq } { \g__signature_supno_int },\ + \text_titlecase_all:V { \g_titlepage_supervisor_designation_tl }\\[1em] + %\ Thesis\ Supervisor\\[1em] } \int_compare:nNnF { \g_acceptor_acceptorcnt_int } = {0} { \int_do_while:nNnn { \g__signature_accno_int } < { \g_acceptor_acceptorcnt_int } { @@ -908,8 +962,10 @@ {\centering \vbox_to_ht:nn { \vsize }% to prevent signature block from breaking across page { \setlength{\parskip}{7.5pt plus 1pt minus 1pt}% edited all vertical space on this page 2023/10/25 - \setlength{\parindent}{0pt} - {\Large\textbf{\g_mitthesis_title_tl}\phantomsection\addcontentsline{toc}{chapter}{Title\ page}\par} % revise for tagging in future + \setlength{\parindent}{0pt}\pdfbookmark[0]{Title\ page}{titlepage} + {\Large\textbf{\g_mitthesis_title_tl} + %\phantomsection\addcontentsline{toc}{chapter}{Title\ page} + \par} \__titlepage_blockskip:nn {12}{1.5}% new idea \__author_block: \__titlepage_blockskip:nn {12}{1.5} @@ -937,14 +993,17 @@ %%%%%%%%%% Abstract page Module %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% to change abstract name, follow either of these approaches in your preamble: +% to change abstract name (e.g., to "Summary"), follow either approach in your preamble: % \RenewExpandableDocumentCommand\abstractname{}{Summary} % \renewcommand\abstractname{Summary} \RenewDocumentEnvironment{abstract}{+b}{ \newpage \begin{center} - {\large{\textbf{\g_mitthesis_title_tl}}\phantomsection\addcontentsline{toc}{chapter}{\abstractname}\par} % revise for tagging as LaTeX evolves further + \pdfbookmark[0]{Abstract}{abstract} + {\large{\textbf{\g_mitthesis_title_tl}} + %\phantomsection\addcontentsline{toc}{chapter}{\abstractname} + \par} \setlength{\parskip}{0.5\baselineskip plus 2pt minus 2pt} \__author_abstractblock: \par @@ -992,11 +1051,12 @@ % 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. +\newcounter{dummy}% for tagging code \NewDocumentEnvironment{nomenclature}{O{2em} O{\nomname} O{section}}{% \setlength\columnsep{2em} \setlength{\nomenwidth}{#1} \csname #3\endcsname *{#2}% this level will vary amongst users! - \phantomsection\addcontentsline{toc}{#3}{#2}% tagged pdf may not capture both of these ... 2023/10/18 + \refstepcounter{dummy}\addcontentsline{toc}{#3}{#2}% \refstepcounter is a hack until tagging code evolves more \raggedright \begin{list}{}{% \setlength{\itemsep}{0pt}% |