diff options
author | Karl Berry <karl@freefriends.org> | 2023-09-12 20:14:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-09-12 20:14:54 +0000 |
commit | e05f80dabb2b4383a504a4cb28184707c2a63dfe (patch) | |
tree | 6f426b25036b8f4e5e26820f46df04f98d833df3 /Master | |
parent | 61c55238595df570c21065d29f9a80930db212a9 (diff) |
mitthesis (12sep23)
git-svn-id: svn://tug.org/texlive/trunk@68253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
18 files changed, 52 insertions, 40 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 3d310e11a52..738dac8ff3e 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 3448505b571..8ab5d9d04c2 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 @@ -4,7 +4,7 @@ % This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class. % -% Version: 1.07, 2023/09/04 +% Version: 1.08, 2023/09/11 % % Author: John H. Lienhard, copyright 2023. Reuse under the MIT license: https://ctan.org/license/mit @@ -20,7 +20,7 @@ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\documentclass[twoside]{mitthesis} %,fontset=libertine, fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2 +\documentclass[twoside,mydesign]{mitthesis} %,fontset=libertine, fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2 % % option [twoside] gives facing-page behavior for printing; omitting twoside will eliminate even-numbered blank pages. % option [lineno] provides line numbers, as for editing 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 935408ea071..8795eb547e0 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,7 +1,8 @@ % From mitthesis package -% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis +\ProvidesFile{mitthesis-defaultfonts.tex}[2023/09/12 v1.03 Load Computer/Latin Modern text and math fonts] + %% Default fonts % \ifpdftex 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 90ab699b189..01fa981d78b 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,7 +1,7 @@ % From mitthesis package -% Version: 1.03, 2023/08/29 % 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] %% Fira Sans text font with newtx sans serif math font and Inconsolata typewriter font % @@ -13,7 +13,7 @@ \RequirePackage[scaled=1.05]{newtxsf} % sans serif math \RequirePackage{bm} \else - \ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts} + \ClassWarning{mitnewthesis}{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 fabfd030cfd..26ee2ab07bc 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 -% Version: 1.01, 2023/07/03 % 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] %% TeX Gyre Heros (sans serif) text font with STIX Two Math font and Inconsolata monospaced font % 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 12e2a80ef63..57cf26f915b 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,8 @@ % From mitthesis package -% Version: 1.01, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis +\ProvidesFile{mitthesis-libertine.tex}[2023/09/12 v1.02 Load Libertine and related fonts] + %% Linux Libertine (serif) text font with newtxmath[libertine] (pdftex) or Libertinus (unicode) math font % % These fonts are available here https://ctan.org/tex-archive/fonts/libertine/opentype @@ -9,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} + \typeout{^^JLoading newtx-libertine text and math fonts with Insolata typewriter font^^J} \RequirePackage[lining,semibold]{libertine} \RequirePackage[T1]{fontenc} \RequirePackage[varqu,varl]{inconsolata}% typewriter 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 57107e7624b..6466c369294 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,7 +1,7 @@ % From mitthesis package -% Version: 1.01, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis +\ProvidesFile{mitthesis-lucida.tex}[2023/09/12 v1.02 Load Lucida fonts] %% Lucida Bright and Lucida Bright Math fonts (available from the TeX Users Group) 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 faa64929b05..a599af35e21 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,7 +1,7 @@ % From mitthesis package -% Version: 1.01, 2023/07/03 % 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] %% newtx package with sans-serif text (Helvetica-like text with Times-like math) % 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 2d4f5b0110b..cc43427055b 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,7 +1,7 @@ % From mitthesis package -% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis +\ProvidesFile{mitthesis-newtx.tex}[2023/09/12 v1.03 Load newtx text and math fonts] \ifpdftex \typeout{^^JLoading newtx fonts with inconsolata typewriter^^J} 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 b85f36d727c..de3983fe4ee 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 -% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis +\ProvidesFile{mitthesis-stix2.tex}[2023/09/12 v1.03 Load STIX Two text and math fonts] %% STIX Two text and math fonts with Heros sans serif font and Inconsolata monospaced font % 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 62a5013a508..1e65724cc0b 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 -% Version: 1.02, 2023/07/03 % 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] %% TeX Gyre Termes text font and Heros sans serif font with STIX2 math font and Inconsolata monospaced font % 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 6579eb4f312..64fffb92643 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 -% Version: 1.02, 2023/07/03 % 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] %% TeX Gyre Termes (Times-like) text font with Termes math font and Heros sans serif font and Cursor monospaced font % 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 2bfd4625ecd..5694b372e43 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,7 +1,7 @@ % From mitthesis package -% Version: 1.01, 2023/09/04 % Documentation: https://ctan.org/pkg/mitthesis +\ProvidesFile{mydesign.tex}[2023/09/12 v1.02 Typographic design options for thesis] %%%%%%%%%% Color support %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/doc/latex/mitthesis/README.md b/Master/texmf-dist/doc/latex/mitthesis/README.md index 181daae3853..d870fb11d55 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.07 dated 2023/09/04 + v1.08 dated 2023/09/12 ####Overview#### This class provides a LaTeX template to format an MIT thesis according to @@ -30,9 +30,9 @@ appendixa.tex -- put your first appendix in this file (etc.) mitthesis-sample.bib -- a sample bibliography file with many examples mydesign.tex -- an optional file to load packages for document design + fontsets/ -- a subdirectory of input files that load optional fonts * mitthesis-doc/ -- documentation for usage and options - fontsets/ -- a directory of input files that load optional fonts examples/font_samples/ -- sample theses in different fonts examples/cover_page_samples/ @@ -53,8 +53,12 @@ --- ####Change log#### + v1.08 (11 September 2023): + - accommodate recent changes in hyperxmp package (used when \\DocumentMetadata is not called) + - various minor edits + v1.07 (04 September 2023): - - Improve handling of custom fontset files; move fontset directory into MIT-theis-template directory + - Improve handling of custom fontset files; move fontset directory into MIT-thesis-template directory - Remove unnecessary latex code - Move hyperlink and line number color choices to mydesign.tex - Enable some backward compatibility in expl3 code 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 20d0a5f9bbf..5f89df615fe 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 0aa76e0156c..1471f6dc00a 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 @@ -222,7 +222,7 @@ \section*{The MIT thesis template} -\LaTeX\ has changed tremendously since the original MIT thesis template was written in the 1980s. \LaTeX\ 2.09 was replaced by \LaTeX2e\ in the 1994. Many packages and fonts were developed to accompany the original platform, particularly after 2000; and major updates to the \LaTeX\ kernel began in 2018. Further, the MIT Libraries have changed the required format several times, especially as electronic thesis submission has become the norm. The original template served MIT well, but by the early 2020's, it was substantially out of date. +\LaTeX\ has changed tremendously since the original MIT thesis template was written in the 1980s. \LaTeX\ 2.09 was replaced by \LaTeX2e\ in 1994. Many packages and fonts were developed to accompany the original platform, particularly after 2000; and major updates to the \LaTeX\ kernel began in 2018. Further, the MIT Libraries have changed the required format several times, especially as electronic thesis submission has become the norm. The original template served MIT well, but by the early 2020s, it was substantially out of date. This \textit{new} MIT thesis template was developed in 2023 at the request of the MIT Libraries. The title and abstract pages strictly follow the current requirements of the Libraries. The underlying code is entirely new. @@ -443,15 +443,6 @@ produces the nomenclature list below \end{minipage} \end{center} -\section*{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. -\item[\LaTeX 2e: An unofficial reference manual.] \url{https://latexref.xyz/dev/latex2e.html}. A comprehensive explanation of each \LaTeX\ command, from the \TeX\ User's Group. -\item[\TeX\ Stack-Exchange.]\ \url{https://tex.stackexchange.com/}. More than 250,000 answered questions, and you can ask your own! -\item[ChatGPT.] At the time of this writing, ChatGPT, a large language model-based chatbot, could both answer some \LaTeX-related questions and write acceptable \LaTeX\ and expl3 code. -\end{description} - \section*{Additional commands} The class also provides \verb|\DegreeYear|, \verb|\DegreeMonth|, and \verb|\CopyrightAuthor|. The latter combines all author names into a single token list, e.g., ``Joseph O. Hirschfelder, Charles F. Curtiss and R. Byron Bird''; a period at the end of the final name (e.g., as in ``John F. Nash Jr.'') is removed. @@ -466,9 +457,19 @@ 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 --- it took me some time to compose all this! -\vskip 30pt +\section*{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. +\item[\LaTeX 2e: An unofficial reference manual.] \url{https://latexref.xyz/dev/latex2e.html}. A comprehensive explanation of each \LaTeX\ command, from the \TeX\ User's Group. +\item[\TeX\ Stack-Exchange.]\ \url{https://tex.stackexchange.com/}. More than 250,000 answered questions, and you can ask your own! +\item[ChatGPT.] At the time of this writing, ChatGPT, a large language model-based chatbot, could both answer some \LaTeX-related questions and write acceptable \LaTeX\ and expl3 code. +\end{description} + + +\vskip 40pt -\centering{\color{Red3}\large\textbf{\textit{Good luck with your thesis and your thesis defense!}} +\centering{\color{Red3}\Large\textbf{\textit{Good luck with your thesis and your thesis defense!}} \end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/mitthesis/mitthesis.zip b/Master/texmf-dist/doc/latex/mitthesis/mitthesis.zip Binary files differdeleted file mode 100644 index 049f2d63558..00000000000 --- a/Master/texmf-dist/doc/latex/mitthesis/mitthesis.zip +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls b/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls index 6cba02e334e..7118d8df9bf 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls +++ b/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls @@ -7,8 +7,8 @@ %% MIT Libraries' requirements as of 2023. %% %% This file's version and date: - \def\versionno{1.07} - \def\versiondate{2023/09/04\space} + \def\versionno{1.08} + \def\versiondate{2023/09/11\space} %% %% Author: John H. Lienhard, V %% Department of Mechanical Engineering @@ -65,6 +65,7 @@ } % check whether pdfmanagement (\DocumentMetadata) has been loaded (if not, fall back to hyperxmp) +\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} @@ -75,13 +76,12 @@ { \cs_if_exist_p:N \pdfmanagement_if_active_p: } { \pdfmanagement_if_active_p: } } - { \scan_stop: } - { \RequirePackage{hyperxmp} + { \mit@pdfmanagementtrue } + { \mit@pdfmanagementfalse \msg_warning:nn { \ClassName } { loading_hyperxmp } } - }{ - \RequirePackage{hyperxmp} - \msg_warning:nn { \ClassName } { loading_hyperxmp } + }{ \mit@pdfmanagementfalse + \msg_warning:nn { \ClassName } { loading_hyperxmp } } \ExplSyntaxOff @@ -247,8 +247,12 @@ \providecommand\hrefurl[2]{\href{#1}{#2}}% in case \DocumentMetadata has not been loaded \RequirePackage{doi} % create macro for hyperlinking doi numbers -% the user can override alter these choices in the preamble, or -% by using \AtBeginDocument{ \hypersetup{..} } in mydesign.tex +\ifmit@pdfmanagement\else + \RequirePackage{hyperxmp} +\fi + +% the user can alter these choices in the preamble, or by +% using \AtBeginDocument{ \hypersetup{..} } in mydesign.tex \hypersetup{ colorlinks=true, pdfborder={0 0 0}, @@ -565,7 +569,8 @@ { Missing\ acceptor\ department,\ check\ for\ blank\ in\ \Acceptor{name}{department}{title}\ command. }{ You\ MUST\ provide\ the\ acceptor's\ department\ using\ the\ \Acceptor{name}{department}{title}\ command.} \msg_new:nnn { \ClassName } { blank_acceptor_title } - { Missing\ acceptor\ title\ (blank\ in\ \Acceptor{name}{department}{title}\ command).\ Perhaps\ you\ are\ trying\ to\ save\ vertical\ space?\ You\ can\ put\ the\ acceptor\ title\ into\ department\ field\ instead.\ For\ consistency,\ I\ will\ omit\ titles\ of\ ALL\ acceptors.} + { Missing\ acceptor\ title\ (blank\ in\ \Acceptor{name}{department}{title}\ command).\ Perhaps\ you\ are\ trying\ to\ save\ vertical\ space?\ + You\ can\ put\ the\ acceptor\ title\ into\ department\ field\ instead.\ For\ consistency,\ I\ will\ omit\ titles\ of\ ALL\ acceptors.} \cs_new_protected:Nn \__acceptor_data_add:nnn { |