diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-04 19:52:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-04 19:52:56 +0000 |
commit | 0873b12963d49655a15e9f87f8d493eebd0aaa49 (patch) | |
tree | 5cee14518a0984750179be27d2b3d3958d8a6477 | |
parent | 2dea5b5e980045b61781373658ff43d59c7d2450 (diff) |
mitthesis (4jul23)
git-svn-id: svn://tug.org/texlive/trunk@67544 c570f23f-e606-0410-a88d-b1316a301751
15 files changed, 55 insertions, 39 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 d859b8cbfd6..51f4a873717 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 bcd15c440bc..c0a22d37d78 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 @@ -3,7 +3,7 @@ % !BIB program = biber % This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class. -% Version: 1.03, 2023/06/26 +% Version: 1.04, 2023/07/03 % Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit % Documentation: https://ctan.org/pkg/mitthesis diff --git a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mitthesis-sample.bib b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mitthesis-sample.bib index 87828e0351c..786739e5eae 100644 --- a/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mitthesis-sample.bib +++ b/Master/texmf-dist/doc/latex/mitthesis/MIT-thesis-template/mitthesis-sample.bib @@ -1,6 +1,6 @@ %% Sample bibliography file for mitthesis.cls %% -%% Revised: 13 June 2023 +%% Revised: 30 June 2023 %% Copyright John H. Lienhard, MIT %% Offered under the MIT license: https://ctan.org/license/mit @@ -218,7 +218,7 @@ @bookinbook{churchill1948, author = {Winston S. Churchill}, year = {1948}, - title = {The Gathering Storm}, + title = {{The Gathering Storm}}, series = {The Second World War}, volume = {1}, chapter = {5, {``The Locust Years''}}, diff --git a/Master/texmf-dist/doc/latex/mitthesis/README.md b/Master/texmf-dist/doc/latex/mitthesis/README.md index bfc1c219055..be1ebfe2171 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 MIT theses# - v1.03 dated 2023/06/26. + v1.04 dated 2023/07/03. ####Overview#### This class provides a LaTeX template for MIT theses formatted according to @@ -53,6 +53,9 @@ --- ####Change log#### + v1.04 (3 July 2023): + - Embed default fontset in class file, in case fontset directory is missing + v1.03 (26 June 2023): - Bug fix: fontset naming for older LaTeX formats - Change default biblatex style to IEEE diff --git a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex index 826945277de..935408ea071 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-defaultfonts.tex @@ -1,8 +1,7 @@ % From mitthesis package -% Version: 1.01, 2023/06/19 +% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis - %% Default fonts % \ifpdftex @@ -12,7 +11,7 @@ \else \typeout{^^JLoading Latin Modern text and math fonts (default for unicode engines).^^J} % - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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, so + % Unicode-math loads fontspec package, but default fonts are not selected by fontspec in this case. \fi diff --git a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex index 6cebc4054c4..55e6a7de526 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-fira-newtxsf.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.01, 2023/06/19 +% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -14,7 +14,7 @@ \RequirePackage{bm} \else \ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts} - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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, so + % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case. \fi diff --git a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex index 943fe6a84b5..fabfd030cfd 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-heros-stix2.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.00, 2023/06/17 +% Version: 1.01, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -18,7 +18,7 @@ \else \typeout{^^JTeX Gyre Heros (sans serif) text font with STIX2 math font and Inconsolata monospaced font.^^J} % - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex index 81d33bff727..12e2a80ef63 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-libertine.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.00, 2023/06/17 +% Version: 1.01, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis %% Linux Libertine (serif) text font with newtxmath[libertine] (pdftex) or Libertinus (unicode) math font @@ -10,16 +10,16 @@ % \ifpdftex \typeout{^^JLoading newtx-libertine text and math fonts with insolata typewriter font^^J} - \usepackage[lining,semibold]{libertine} - \usepackage[T1]{fontenc} - \usepackage[varqu,varl]{inconsolata}% typewriter + \RequirePackage[lining,semibold]{libertine} + \RequirePackage[T1]{fontenc} + \RequirePackage[varqu,varl]{inconsolata}% typewriter % \usepackage{amsthm}% must be loaded before newtxmath - \usepackage[libertine,vvarbb]{newtxmath} - \usepackage{bm}% load after all math to give access to bold math + \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} % - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex index a6689059d54..57107e7624b 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-lucida.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.00, 2023/06/17 +% Version: 1.01, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -12,7 +12,7 @@ \RequirePackage[expert,vargreek,altbullet,seriftt]{lucidabr} % switch text and math fonts \RequirePackage{bm} \else - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex index 174aae2d176..faa64929b05 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.01, 2023/06/19 +% Version: 1.01, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -15,9 +15,9 @@ \RequirePackage{bm}% bold math \else \ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts} - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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, so + % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case. \fi
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex index ec240a7cea0..2d4f5b0110b 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.01, 2023/06/19 +% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -12,9 +12,9 @@ \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} - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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, so + % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case. \fi
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex index 9e4e7c68b6e..b85f36d727c 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-stix2.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.01, 2023/06/19 +% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -18,7 +18,7 @@ \else \typeout{^^JLoading STIX Two text and math fonts with Heros sans serif font and Inconsolata monospaced font.^^J} % - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex index 8d08f84a89d..62a5013a508 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes-stix2.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.01, 2023/06/19 +% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -18,7 +18,7 @@ \else \typeout{^^JLoading TeX Gyre Termes text font with STIX2 math font, Heros sans serif font, and Inconsolata monospaced font.^^J} % - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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/tex/latex/mitthesis/fontsets/mitthesis-termes.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes.tex index a1d5aece4e4..6579eb4f312 100644 --- a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes.tex +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-termes.tex @@ -1,5 +1,5 @@ % From mitthesis package -% Version: 1.01, 2023/06/19 +% Version: 1.02, 2023/07/03 % Documentation: https://ctan.org/pkg/mitthesis @@ -14,7 +14,7 @@ \RequirePackage{bm} \else \typeout{^^JLoading TeX Gyre Termes text and math fonts, Heros sans serif font, and Cursor monospaced font^^J} - \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} + \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/tex/latex/mitthesis/mitthesis.cls b/Master/texmf-dist/tex/latex/mitthesis/mitthesis.cls index 92e237e18d6..b0453036a90 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.03} - \def\versiondate{2023/06/26\space} + \def\versionno{1.04} + \def\versiondate{2023/07/03\space} %% %% Author: John H. Lienhard, V %% Department of Mechanical Engineering @@ -227,12 +227,26 @@ \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}{} - % ==> 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 to use other math macros in the headings to get bold math <== \fi %% Font loading -\typeout{^^JFontset key is \mit@fontset^^J} -\input{fontsets/\ClassName-\mit@fontset.tex} +\typeout{^^JFontset key is \mit@fontset.^^J} +\IfFileExists{fontsets/\ClassName-\mit@fontset.tex}{% 2023/07/03 + \input{fontsets/\ClassName-\mit@fontset.tex} +}{% + \typeout{^^JFontset file \ClassName-\mit@fontset.tex not found, using defaultfonts.} + \ifpdftex + \typeout{^^JLoading Computer Modern text and math fonts (default for pdftex).^^J} + \RequirePackage[T1]{fontenc} + \RequirePackage{bm} + \else + \typeout{^^JLoading Latin Modern text and math fonts (default for unicode engines).^^J} + \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. + \fi +} \RequirePackage{graphicx} |