summaryrefslogtreecommitdiff
path: root/macros/latex/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib')
-rw-r--r--macros/latex/contrib/mitthesis/MIT-Thesis.pdfbin491414 -> 491383 bytes
-rw-r--r--macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex16
-rw-r--r--macros/latex/contrib/mitthesis/README.md6
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdfbin118367 -> 105979 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdfbin107357 -> 107341 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdfbin107567 -> 107588 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdfbin0 -> 107668 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdfbin108588 -> 108531 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdfbin130382 -> 130741 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex143
-rw-r--r--macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex9
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdfbin490312 -> 490253 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdfbin318691 -> 318691 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdfbin151436 -> 151436 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdfbin454853 -> 454844 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdfbin169951 -> 169932 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdfbin270267 -> 270253 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdfbin316111 -> 316113 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdfbin159620 -> 159615 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdfbin161666 -> 161675 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdfbin157869 -> 157887 bytes
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex4
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex2
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex3
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdfbin79126 -> 79715 bytes
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex25
-rw-r--r--macros/latex/contrib/mitthesis/mitthesis.cls99
-rw-r--r--macros/latex/contrib/rorlink/README.md6
-rw-r--r--macros/latex/contrib/rorlink/rorlink.dtx83
-rw-r--r--macros/latex/contrib/rorlink/rorlink.ins4
-rw-r--r--macros/latex/contrib/rorlink/rorlink.pdfbin234620 -> 228341 bytes
38 files changed, 313 insertions, 101 deletions
diff --git a/macros/latex/contrib/mitthesis/MIT-Thesis.pdf b/macros/latex/contrib/mitthesis/MIT-Thesis.pdf
index a3bc5df6a5..aec4c196a5 100644
--- a/macros/latex/contrib/mitthesis/MIT-Thesis.pdf
+++ b/macros/latex/contrib/mitthesis/MIT-Thesis.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex b/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
index f3563bd239..9f324c36c8 100644
--- a/macros/latex/contrib/mitthesis/MIT-thesis-template/MIT-Thesis.tex
+++ b/macros/latex/contrib/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.01, 2023/06/19
+% Version: 1.02, 2023/06/23
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
% Documentation: https://ctan.org/pkg/mitthesis
@@ -11,7 +11,7 @@
%% 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,
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[twoside]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2
+\documentclass[twoside]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2,fontset=stix2
%
% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
% option [lineno] provides line numbers, as for editing
@@ -116,7 +116,7 @@
%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
\hypersetup{%
%
@@ -177,25 +177,29 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
-\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
+\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
% Use once for each degree fulfilled by thesis
+% For two degrees from one department, leave the department argument blank for the second degree {}.
\Degree{Bachelor of Science in Physics}{Department of Physics}
+%\Degree{Master of Science in Physics}{}
%\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
% If there is more than one supervisor, use the \Supervisor command for each.
\Supervisor{Edward C. Pickering}{Professor of Physics}
%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+%\Supervisor{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}{Graduate Officer, First Degree Department}
%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-%\SignatureBlockSize{\small}
+%\SignatureBlockSize{\small} %\SignatureBlockSize{\footnotesize}
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
diff --git a/macros/latex/contrib/mitthesis/README.md b/macros/latex/contrib/mitthesis/README.md
index 522680bcdc..736c8139c8 100644
--- a/macros/latex/contrib/mitthesis/README.md
+++ b/macros/latex/contrib/mitthesis/README.md
@@ -1,7 +1,7 @@
#mitthesis --- A LaTeX template for MIT theses#
- v1.01 dated 2023/06/19.
+ v1.02 dated 2023/06/23.
####Overview####
This class provides a LaTeX template for MIT theses formatted according to
@@ -55,6 +55,10 @@
---
####Change log####
+ v1.02 (23 June 2023):
+ - Bug fixes: triple major counter, \SignatureBlockSize
+ - Code revisions for cover page and abstract pages: spacing, linebreaking, and user command options
+
v1.01 (19 June 2023): Changes to file structure and naming
v1.00 (17 June 2023): Initial release
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf
index a62d47b95d..87814f209e 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/No_cc_license.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf
index da94bd7549..dd5c7a11da 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_one_degree.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf
index 3c75c6cc8a..9dd38df179 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdf
new file mode 100644
index 0000000000..4e9832bb38
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/One_author_two_degrees_from_one_department.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf
index a6fe3a5628..32fdc98d14 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_one_degree.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf
index 0cc08b8d13..41053554ee 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/Two_authors_two_degrees.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex
new file mode 100644
index 0000000000..7158893a8e
--- /dev/null
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/One_author_two_degrees_from_one_department.tex
@@ -0,0 +1,143 @@
+% !TEX encoding = UTF-8 Unicode
+% !BIB TS-program = biber
+% !BIB program = biber
+
+% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
+
+% Documentation: https://ctan.org/pkg/mitthesis
+
+%% Don't modify the \DocumentMetadata command unless you know what it does.
+%% If this command throws an "undefined" error, your latex system is out of date: try commenting this command out.
+\DocumentMetadata
+{
+ pdfstandard = a-2b,
+ pdfversion = 1.7,
+ lang = en-US,
+% debug = {xmp-export}, % output xmpi file to directly examine metadata
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[]{mitthesis}
+%
+% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [lineno] provides line numbers, as for editing
+% option [mydesign] loads titlesec, enumitem, caption, subcaption - you may edit the mydesign.tex file as you like it.
+% option [fontset] is a keyvalue which can be:
+% pdftex or unicode engines: defaultfonts, libertine, lucida
+% pdftex only: fira-newtxsf, newtx, newtx-sans-text
+% unicode engines (luatex): heros-stix2, stix2, termes, termes-stix2
+% if no key value is given, fonts default to CMR (pdftex) or LMR (unicode), i.e., "the latex font".
+% You can edit the fontset files or you can write your own, myfonts.tex, and do [fontset=myfonts].
+% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
+
+
+%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\def\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+
+\hypersetup{%
+%
+% Be sure to change the following to your own information! <======== !!!
+%
+ pdftitle={MIT thesis template},
+ pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
+ pdfauthor={\YourName},
+ pdfauthortitle={Professor of Mechanical Engineering},
+ pdfcaptionwriter={\YourName},
+% pdfcaptionwriter={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
+ pdfurl={https://lienhard.mit.edu},
+ pdfcontactemail={lienhard@mit.edu},
+ pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
+ pdfcontactcity={Cambridge, MA},
+ pdfcontactpostcode={02139},
+ pdfcontactcountry={USA},
+ pdfcontacturl={https://lienhard.mit.edu},
+%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
+%
+ colorlinks=true,
+ linkcolor=blue,
+ citecolor=blue,
+ urlcolor=blue,
+ filecolor=red,
+% anchorcolor=yellow,% not all pdf viewers recognize this field (Firefox does)
+% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
+%
+ pdfborder={0 0 0},
+ bookmarksnumbered=true,
+ bookmarksopen=true,
+ bookmarksopenlevel=1,
+% pdfpagemode=UseNone,% this option means don't open bookmarks panel
+ pdfpagelayout=SinglePage,
+ pdfdisplaydoctitle=true,
+ pdfstartview=Fit,
+ pdfnewwindow=true,
+%
+ pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},% definitions made by class file, don't change
+ pdflicenseurl={\CCurl},% definition made by class file, don't change
+}
+
+%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\begin{document}
+
+
+%%% edit the following commands to match your thesis %%%%%%%%%%
+
+\title{The Atomic Theory as Applied To Gases, with Some Experiments on the Viscosity of Air}
+
+% \Author{Author full name}{Author department}[Author's first PREVIOUS degree][Author's second PREVIOUS degree][...
+% Note that third, fourth, fifth, and sixth arguments are optional [] and may be omitted
+
+% note on names: most of the following names are made up; Joseph H. Keenan was a 20th century thermodynamicist at MIT.
+
+\Author{Jinsoo Kim}{Department of Mechanical Engineering}%[B.S. Physics, MIT, 1876]
+%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
+
+% Use once for each degree fulfilled by thesis
+\Degree{Bachelor of Science in Mechanical Engineering}{Department of Mechanical Engineering}
+\Degree{Master of Science in Mechanical Engineering}{}% <=== NOTE BLANK ARGUMENT!! <======== !!!!! <========== !!!!!
+
+% If there is more than one supervisor, use the \Supervisor command for each.
+\Supervisor{Joseph H. Keenan}{Professor of Mechanical Engineering}
+%\Supervisor{Secunda Castor}{Department of Mechanical Engineering}
+
+% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
+% If more than one department, use more than once
+\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, Department of Mechanical Engineering}
+%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+
+% If your title page is overflowing (from too many names, degrees, etc.), you can scale
+% down the Signature block at the bottom with this command, or use another creative solution...
+%\SignatureBlockSize{\small}
+
+% Usage: \DegreeDate{Month}{year}
+% Valid degree months are September, February, or June.
+\DegreeDate{June}{1876}
+
+% Date that final thesis is submitted to department
+\ThesisDate{May 18, 1876}
+
+
+%%%%%% Choose whether to have a CREATIVE COMMONS License %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% If you are using a cc license, put details of your cc license here.
+% Omit this command if you are not using a cc license.
+%
+\CClicense{CC BY-NC-ND 4.0}{https://creativecommons.org/licenses/by-nc-nd/4.0/}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%% Titlepage
+\maketitle
+ \cleardoublepage% for two-sided printing, this puts abstract on a right-hand (odd) page, possibly inserting a blank page
+ % if the the class option [twoside] is omitted, the command just begins a new page
+
+% The abstract environment creates all the required headers and footnote.
+% You only need to add the text of the abstract itself in the file abstract.tex
+\begin{abstract}
+ \input{abstract.tex}% in this case, use \input rather than \include because you are inside an environment
+\end{abstract}
+
+\end{document}
diff --git a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
index ecbc7998bb..c967973f36 100644
--- a/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
+++ b/macros/latex/contrib/mitthesis/examples/cover_page_samples/latex_sources/Two_authors_two_degrees.tex
@@ -93,7 +93,7 @@
% note on names: most of the following names are made up; Silas Holman was a professor at MIT in the 19th century.
\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876]
-\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
+\Author{Aadhya Acharya}{Department of Research}[B.S. Physics, Indian Institute of Science, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020]
% Use once for each degree fulfilled by thesis
\Degree{Bachelor of Science in Physics}{Department of Physics}
@@ -105,12 +105,13 @@
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Graduate Officer, First Degree Department}
-\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Second Degree Department}
+\Acceptor{Primus Castor}{Graduate Officer, First Degree Department}{}
+\Acceptor{Tertius Castor}{Graduate Officer, Second Degree Department}{}
% If your title page is overflowing (from too many names, degrees, etc.), you can scale
% down the Signature block at the bottom with this command, or use another creative solution...
-\SignatureBlockSize{\small}
+
+\SignatureBlockSize{\small}% could do \footnotesize here if desired!
% Usage: \DegreeDate{Month}{year}
% Valid degree months are September, February, or June.
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf
index 8e7bfb658b..fef6586b08 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Defaultfonts.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
index b0ef64f09c..4278312d94 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Fira_Newtxsf.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf
index be6b61f387..efb798a418 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Heros-Stix2.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf
index 1386a6dd90..03f6191af5 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Libertine.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf
index 1fa067f258..8401fc8eee 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Lucida.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf
index e06e4593c2..8feac0397d 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx-sans-text.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf
index 25068af4e5..689846eaf6 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Newtx.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf
index 644c1847a8..65ab2b2f1d 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Stix2.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf
index 214db239aa..b032e4e8e9 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Termes-Stix2.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf b/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf
index 07a2ea28b2..c772045a6d 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/Termes.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
index 0d763ceadc..42148dbcb3 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Defaultfonts.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=defaultfonts,mydesign]{mitthesis}
+\documentclass[fontset=defaultfonts]{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
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
index 4dda829043..21a5827913 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Fira_Newtxsf.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=fira-newtxsf,mydesign]{mitthesis}
+\documentclass[fontset=fira-newtxsf]{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
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
index 78b5cb85b4..d8b5ab1eee 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Heros-Stix2.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=heros-stix2,mydesign]{mitthesis}
+\documentclass[fontset=heros-stix2]{mitthesis}
%
% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
% option [lineno] provides line numbers, as for editing
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex
index 864cac6b7c..a238dca346 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Libertine.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=libertine,mydesign]{mitthesis}
+\documentclass[fontset=libertine]{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
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex
index 96810ffc4a..63f0ca4d01 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Lucida.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=lucida,mydesign]{mitthesis}
+\documentclass[fontset=lucida]{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
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
index 013dd138d5..f4ef5fb7eb 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx-sans-text.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=newtx-sans-text,mydesign]{mitthesis}
+\documentclass[fontset=newtx-sans-text]{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
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex
index 03964967c9..f000774474 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Newtx.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=newtx,mydesign]{mitthesis}
+\documentclass[fontset=newtx]{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
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex
index 93566f9925..2226971f3f 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Stix2.tex
@@ -19,8 +19,8 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=stix2,mydesign]{mitthesis}
-%
+\documentclass[fontset=stix2]{mitthesis}
+
% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
% option [lineno] provides line numbers, as for editing
% option [mydesign] loads titlesec, enumitem, caption, subcaption - you may edit the mydesign.tex file as you like it.
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
index ee8efc6205..33e372943c 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes-Stix2.tex
@@ -19,7 +19,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=termes-stix2,mydesign]{mitthesis}
+\documentclass[fontset=termes-stix2]{mitthesis}
%
% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
% option [lineno] provides line numbers, as for editing
diff --git a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex
index 5d1857b244..3eed29fa3b 100644
--- a/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex
+++ b/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex
@@ -1,3 +1,4 @@
+% !TEX TS-program = LuaLaTeX
% !TEX encoding = UTF-8 Unicode
% !BIB TS-program = biber
% !BIB program = biber
@@ -19,7 +20,7 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=termes,mydesign]{mitthesis}
+\documentclass[fontset=termes]{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
diff --git a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf
index 14e6648dd5..7f82212ea0 100644
--- a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf
+++ b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
index bf4e76b29c..0601e9e0c9 100644
--- a/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
+++ b/macros/latex/contrib/mitthesis/mitthesis-doc/mitthesis-doc.tex
@@ -1,7 +1,7 @@
% !TEX TS-program = lualatex
% !TEX encoding = UTF-8 Unicode
-% Version date: 19 June 2023
+% Version date: 23 June 2023
\DocumentMetadata
{
@@ -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 changed the required format several times, especially as electronic thesis submission became 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 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.
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.
@@ -253,26 +253,25 @@ Various fields and commands must be changed to your own information in the pream
In the \verb|\hypersetup{..}| command, change the sample file to match your own information (name, title, keywords, etc.). These commands generate metadata that are incorporated into the pdf file.
-If your title page overflows (from too many authors, degrees, etc.), you can scale down the signature block at the bottom by issuing this command: \verb|\SignatureBlockSize{\small}|.
-
-The remaining commands are listed below.
+The commands that define the title page are as follow.
\begin{itemize}
\item \verb|\title{the title of your thesis}|
\item \verb|\Author{author full name}{author department}[1st PREVIOUS degree][2nd...| \linebreak
Note that third, fourth, fifth, and sixth arguments are optional [..] and may be omitted. Use once for each author.
-\item \verb|\Degree{name of degree}{department giving degree}|. Use once for each degree fulfilled by thesis
+\item \verb|\Degree{name of degree}{department giving degree}|. Use once for each degree fulfilled by thesis. If the thesis satisfies two degrees from one department, leave the department argument blank for the \textit{second} degree: \verb|\Degree{2nd degree name}{}|
\item \verb|\Supervisor{supervisor name}{supervisor department}|. Use once for each supervisor.
-\item \verb|\Acceptor{acceptor name}{acceptor title}{thesis related position}|. Professor who accepts theses for your department (e.g., the Graduate Officer). Use once for each department.
+\item \verb|\Acceptor{acceptor name}{acceptor title}{thesis related position}|. Professor who accepts theses for your department (e.g., the Graduate Officer). Use once for each department.
\item \verb|\DegreeDate{Month}{year}|. Date degree is awarded (February, June, or September).
\item \verb|\ThesisDate{date}|. Date that your final thesis is submitted to the department.
-
\end{itemize}
+\paragraph{Overflowing title page.} If your title page overflows (from too many authors, degrees, etc.), you can scale down the signature block at the bottom by issuing this command: \verb|\SignatureBlockSize{\small}|. You may also compress the acceptor fields by putting the position into the 2\textsuperscript{nd} argument and leaving the 3\textsuperscript{rd} argument blank:\verb|\Acceptor{acceptor name}{acceptor title and thesis related position}{}|.
+
\subsection*{Copyright license}
If you wish to make your thesis available under a Creative Commons License, issue the following command between
@@ -334,10 +333,10 @@ libertine & yes & yes & serif & serif & in \TeX\ Live for \pdfTeX. For unico
\linebreak \url{https://github.com/alerque/libertinus} \\
lucida & yes & yes & serif & serif & the lucida fonts are available from the \TeX\ User's Group,
\url{https://tug.org/store/lucida} \\[2em]
-heros-stix2 & no & yes & sans & serif & \url{http://www.gust.org.pl/projects/e-foundry/tex-gyre} \linebreak\url{https://github.com/stipub/stixfonts} \linebreak both fonts are free \\
+heros-stix2 & no & yes & sans & serif & \url{http://www.gust.org.pl/projects/e-foundry/tex-gyre} \linebreak\url{https://github.com/stipub/stixfonts} \linebreak fonts are free \\
stix2 & no & yes & serif & serif & \url{https://github.com/stipub/stixfonts}, fonts are free\\
termes & no & yes & serif & serif & \url{http://www.gust.org.pl/projects/e-foundry/tex-gyre} fonts are free\\
-termes-stix2 & no & yes & serif & serif & \url{http://www.gust.org.pl/projects/e-foundry/tex-gyre} \linebreak\url{https://github.com/stipub/stixfonts}\linebreak both fonts are free\\
+termes-stix2 & no & yes & serif & serif & \url{http://www.gust.org.pl/projects/e-foundry/tex-gyre} \linebreak\url{https://github.com/stipub/stixfonts}\linebreak fonts are free\\
\midrule
\multicolumn{5}{l}{Typewriter (monospaced) fonts are also loaded for unicode} & Inconsolata (sans serif): \url{https://ctan.org/tex-archive/fonts/inconsolata} Cursor (serif): \url{http://www.gust.org.pl/projects/e-foundry/tex-gyre} \\
\bottomrule
@@ -374,7 +373,7 @@ doi & support for hyperlinking DOIs & hyperlink a doi number: \verb|\doi{..}
etoolbox & extend or modify other macros & can use in preamble if needed \\
iftex & check which \LaTeX\ engine is running& macros to check engine \\
ifthen & streamlined conditionals & can use in preamble if needed \\
-geometry & set page size and margins & ---\\
+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\\
hyperxmp & fallback if no \verb|\DocumentMetadata{..}|& ---\\
@@ -410,8 +409,8 @@ Specialized packages for many disciplines can be found in \hrefurl{https://ctan.
When selecting a package to use, check that it is currently maintained (with relatively recent updates), and compare it to other packages that perform similar functions. Some packages are better than others, and some obsolete packages remain online.
\section*{Nomenclature}
-An optional nomenclature environment is provided by the class. This environment can support either chapter-by-chapter nomenclature (at the section level) or a single nomenclature for the entire thesis (at the chapter level). The environment has three optional arguments: [1] adjust space between symbol and definition; [2] name (heading) of the nomenclature list; and [3] level, which can be ``section'' or ``chapter'' depending on whether you
-have one nomenclature list for whole thesis or one for each chapter.
+An optional nomenclature environment is provided by the class. This environment can support either chapter-by-chapter nomenclature (at the section level) or a single nomenclature for the entire thesis (at the chapter level). The environment has three optional arguments: [1] adjust space between symbol and definition; [2] name (heading) of the nomenclature list; and [3] level, which can be ``chapter'' or ``section'' depending on whether you
+have one nomenclature list for whole thesis or one for each chapter (default = section).
For example, the following code
\begin{center}
diff --git a/macros/latex/contrib/mitthesis/mitthesis.cls b/macros/latex/contrib/mitthesis/mitthesis.cls
index 0ae6709283..1a59a39d14 100644
--- a/macros/latex/contrib/mitthesis/mitthesis.cls
+++ b/macros/latex/contrib/mitthesis/mitthesis.cls
@@ -7,8 +7,8 @@
%% MIT Libraries' requirements as of 2023.
%%
%% This file's version and date:
- \def\versionno{1.01}
- \def\versiondate{2023/06/19\space}
+ \def\versionno{1.02}
+ \def\versiondate{2023/06/23\space}
%%
%% Author: John H. Lienhard, V
%% Department of Mechanical Engineering
@@ -348,7 +348,7 @@
\newcounter{authorno}
\setcounter{authorno}{0}
-\NewDocumentCommand\@AuthorBlock{}{%
+\NewDocumentCommand\@AuthorBlock{}{% Revised 2023/06/23
\setcounter{authorno}{1}%
\ifnum\value{authorcnt}=0
\ClassError{\ClassName}{Missing author! You must issue the \Author{name}{department} command}{%
@@ -358,18 +358,18 @@
\whiledo{\value{authorno}<\value{authorcnt}}{%
\ignorespaces\csname aut@\theauthorno\endcsname\par
\ifcsundef{prevdegree@\theauthorno}{\relax}{\normalsize\csname prevdegree@\theauthorno\endcsname}%
- \ifcsundef{secondprevdegree@\theauthorno}{\relax}{\\ \normalsize\csname secondprevdegree@\theauthorno\endcsname}%
- \ifcsundef{thirdprevdegree@\theauthorno}{\relax}{\\ \normalsize\csname thirdprevdegree@\theauthorno\endcsname}%
- \ifcsundef{fourthprevdegree@\theauthorno}{\relax}{\\ \normalsize\csname fourthprevdegree@\theauthorno\endcsname}%
+ \ifcsundef{secondprevdegree@\theauthorno}{\relax}{\linebreak\normalsize\csname secondprevdegree@\theauthorno\endcsname}%
+ \ifcsundef{thirdprevdegree@\theauthorno}{\relax}{\linebreak\normalsize\csname thirdprevdegree@\theauthorno\endcsname}%
+ \ifcsundef{fourthprevdegree@\theauthorno}{\relax}{\linebreak\normalsize\csname fourthprevdegree@\theauthorno\endcsname}%
\par and\par
\addtocounter{authorno}{1}%
}%
\ignorespaces\csname aut@\theauthorno\endcsname
\ifcsundef{prevdegree@\theauthorno}{\relax}{\par\normalsize\csname prevdegree@\theauthorno\endcsname}%
- \ifcsundef{secondprevdegree@\theauthorno}{\relax}{\\ \normalsize\csname secondprevdegree@\theauthorno\endcsname}%
- \ifcsundef{thirdprevdegree@\theauthorno}{\relax}{\\ \normalsize\csname thirdprevdegree@\theauthorno\endcsname}%
- \ifcsundef{fourthprevdegree@\theauthorno}{\relax}{\\ \normalsize\csname fourthprevdegree@\theauthorno\endcsname}%
- \\[1em]%
+ \ifcsundef{secondprevdegree@\theauthorno}{\relax}{\linebreak \normalsize\csname secondprevdegree@\theauthorno\endcsname}%
+ \ifcsundef{thirdprevdegree@\theauthorno}{\relax}{\linebreak \normalsize\csname thirdprevdegree@\theauthorno\endcsname}%
+ \ifcsundef{fourthprevdegree@\theauthorno}{\relax}{\linebreak \normalsize\csname fourthprevdegree@\theauthorno\endcsname}%
+ \par\medskip
}%
}
@@ -391,8 +391,9 @@
\newcounter{degcnt}
\setcounter{degcnt}{0}
-
-\NewDocumentCommand\Degree{mm}{%
+\newcounter{depflag}
+\setcounter{depflag}{0}
+\NewDocumentCommand\Degree{mm}{% Revised 2023/06/23
\ifblank{#1}{%
\ClassError{\ClassName}{Missing degree name, check for blank \Degree{name}{department} command}{%
Check for blank name \Degree{name}{department} command.}%
@@ -401,34 +402,39 @@
\expandafter\xdef\csname deg@\thedegcnt\endcsname{\ignorespaces#1}%
\expandafter\xdef\csname degdep@\thedegcnt\endcsname{\ignorespaces#2}%
}%
- \ifblank{#2}{\ClassError{\ClassName}{Missing degree department, check for blank in \Degree{name}{department} command}{%
- Check for blank department \Degree{name}{department} command.}}{}%
+ \ifblank{#2}{%
+ \setcounter{depflag}{\value{degcnt}}%
+ \ClassWarning{\ClassName}{Missing degree department for Degree command number \thedegcnt. Assuming to be a duplicate of previous department}}{}%
}% defines \deg@degcnt as Name #1 and \degdep@degcnt as associated dept.
\newcounter{degno}
\newcounter{depno}
-
-\NewDocumentCommand\@DegreeBlock{}{%
+\NewDocumentCommand\@DegreeBlock{}{% extensive revision 2023/06/23
\ifnum\value{degcnt}=0
\ClassError{\ClassName}{Missing degree! You must issue the \Degree{name}{department} command}{%
You MUST issue the \Degree{name}{department} command after \begin{document} and before \maketitle. You do want the degree, don't you?}%
\fi
\setcounter{degno}{1}
\setcounter{depno}{1}
- Submitted to the%
+ \newcommand*\PrevDept{\csname degdep@\thedepno\endcsname}
+ \newcommand*\CurrDept{}
+ Submitted to the \mbox{\PrevDept}%
\whiledo{\value{depno}<\value{degcnt}}{%
- \space\csname degdep@\thedegno\endcsname{} and the%
\addtocounter{depno}{1}%
+ \renewcommand*\CurrDept{\csname degdep@\thedepno\endcsname}%
+ \ifnum\value{depflag}=\value{depno}\relax\else
+ \space and the\linebreak
+ \mbox{\CurrDept}%
+ \fi%
}%
- \space\csname degdep@\thedepno\endcsname\space
- in partial fulfillment of the requirements for the\space
- \ifnum\value{degcnt}>1 degrees\else degree\fi\space of%
- \par
+ \linebreak \mbox{in partial fulfillment of the requirements for the\space
+ \ifnum\value{degcnt}>1 degrees\else degree\fi\space of}%
+ \par\medskip
\whiledo{\value{degno}<\value{degcnt}}{%
\MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par and\par
\addtocounter{degno}{1}%
}%
- \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par
+ \MakeUppercase{\ignorespaces\csname deg@\thedegno\endcsname}\par\medskip
}
\newcounter{supcnt}
@@ -453,9 +459,10 @@
\setcounter{acccnt}{0}
\newcounter{accno}
\setcounter{accno}{0}
+\newif\ifmit@noacctitle\mit@noacctitlefalse % Revised 2023/06/23
\NewDocumentCommand\Acceptor{mmm}{%
\ifblank{#1}{%
- \ClassWarning{\ClassName}{Missing acceptor name, check for blank \Acceptor{name}{department} command}%
+ \ClassWarning{\ClassName}{Missing acceptor name, check for blank in \Acceptor{name}{department}{title} command}%
}{%
\addtocounter{acccnt}{1}%
\expandafter\xdef\csname acc@\theacccnt\endcsname{#1}%
@@ -463,15 +470,18 @@
\expandafter\xdef\csname acctitle@\theacccnt\endcsname{#3}%
}%
\ifblank{#2}{\ClassWarning{\ClassName}{Missing acceptor department, check for blank in \Acceptor{name}{department}{title} command.}}{}%
- \ifblank{#3}{\ClassWarning{\ClassName}{Missing acceptor title, check for blank in \Acceptor{name}{department}{title} command.}}{}%
+ \ifblank{#3}{%
+ \mit@noacctitletrue
+ \ClassWarning{\ClassName}{Missing acceptor title (blank in \Acceptor{name}{department}{title} command). Perhaps you are trying to save vertical space? You can put the acceptor title into department field instead. For consistency, I will omit titles of ALL acceptors.}%
+ }{}%
}% defines \acc@acccnt as Name #1, \accdep@accccnt as associated dept, and \acctitle@acccnt as title of acceptor
-\def\@SigSize{\relax}
-\NewDocumentCommand\SignatureBlockSize{m}{\let\@SigSize\ignorespaces#1}
+\newcommand*\@SigSize{\relax}
+\NewDocumentCommand\SignatureBlockSize{m}{\renewcommand\@SigSize{\ignorespaces#1}}% revised 2023/06/23
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\NewDocumentCommand\@SetSignatureBlock{}{%
+\NewDocumentCommand\@SetSignatureBlock{}{% Revised 2023/06/23
\ifnum\value{supcnt}=0
\ClassError{\ClassName}{Missing supervisor! You must issue the \Supervisor{name}{department} command}{%
You MUST issue the \Supervisor{name}{department} command after \begin{document} and before \maketitle.}%
@@ -491,33 +501,37 @@
\hspace{1.35in}\=\hspace{1in}\kill
\whiledo{\value{authorno}<\value{authorcnt}}{% starting with authorno = 0 ensures we reach authorcnt with +1
\addtocounter{authorno}{1}%
- Authored by: \> \csname aut@\theauthorno\endcsname\ignorespaces \\
- \> \csname autdep@\theauthorno\endcsname\ignorespaces \\
+ Authored by: \> \csname aut@\theauthorno\endcsname\\% remove \ignorespaces x9, 2023/06/23
+ \> \csname autdep@\theauthorno\endcsname\\
\> \@ThesisDate \\[1em]
}% end whiledo
\whiledo{\value{supno}<\value{supcnt}}{%
\addtocounter{supno}{1}%
- Certified by: \> \csname sup@\thesupno\endcsname\ignorespaces \\
- \> \csname supdep@\thesupno\endcsname\ignorespaces, Thesis Supervisor\\[1em]
+ Certified by: \> \csname sup@\thesupno\endcsname\\
+ \> \csname supdep@\thesupno\endcsname, Thesis Supervisor\\[1em]
}% end whiledo
\whiledo{\value{accno}<\value{acccnt}}{%
\addtocounter{accno}{1}%
- Accepted by: \> \csname acc@\theaccno\endcsname\ignorespaces \\
- \> \csname accdep@\theaccno\endcsname\ignorespaces \\
- \> \csname acctitle@\theaccno\endcsname\ignorespaces \\[1em]
+ Accepted by: \> \csname acc@\theaccno\endcsname\\
+ \> \csname accdep@\theaccno\endcsname
+ \ifmit@noacctitle\else %<=== 2023/06/23
+ \\
+ \> \csname acctitle@\theaccno\endcsname
+ \fi
+ \\[1em]
}% end whiledo
\end{tabbing}
}
-\NewDocumentCommand\@SetAbstractSupervisorBlock{}{%
+\NewDocumentCommand\@SetAbstractSupervisorBlock{}{% revised 2023/06/23
\setcounter{supno}{1}
-% \\[1em]% dislikes a trailing blank line in abstract
+ \setlength{\parindent}{0pt}
\par\bigskip\noindent
\whiledo{\value{supno}<\value{supcnt}}{%
- Thesis supervisor: \csname sup@\thesupno\endcsname\ignorespaces\\
- Title: \csname supdep@\thesupno\endcsname\ignorespaces\\[1em]
+ Thesis supervisor: \csname sup@\thesupno\endcsname\par
+ Title: \csname supdep@\thesupno\endcsname\par\medskip
\addtocounter{supno}{1}%
}% end whiledo
- Thesis supervisor: \csname sup@\thesupno\endcsname\ignorespaces\\
+ Thesis supervisor: \csname sup@\thesupno\endcsname\par
Title: \csname supdep@\thesupno\endcsname\ignorespaces
}
@@ -544,7 +558,7 @@
\fi
%
\ifmit@cclicense
- \def\CopyrightLicense{This work is licensed under a \CClicensetext\ license.\par\MITpermission}
+ \def\CopyrightLicense{This work is licensed under a \mbox{\CClicensetext} license.\par\MITpermission}% add mbox 2023/06/23
\typeout{^^JUsing Creative Commons License \CCname^^J}
\def\PDFRightsText{This work is licensed under a \CCname\ license. \MITpermission}% for use in metadata
\else
@@ -561,7 +575,6 @@
\thispagestyle{empty}%
\phantomsection\addcontentsline{toc}{chapter}{\protect\textbf{Title page}}%
{\centering\vbox to \vsize{% vbox to prevent signature block from breaking across page. Remove if necessary.
- %\ifmit@lineno\internallinenumbers\fi % lineno does not work in tabbing environment, as in signature block
\setlength{\parskip}{0.5\baselineskip plus 2pt minus 2pt}\setlength{\parindent}{0pt}%
{\Large\textbf{\@title}\par}%
\@AuthorBlock
@@ -577,7 +590,7 @@
\par
\copyright\space\@DegreeYear\space\@CopyrightAuthor. \CopyrightLicense
\par
- \vskip 1.5\baselineskip
+ \vskip\baselineskip
%
\@SetSignatureBlock
\vfill
diff --git a/macros/latex/contrib/rorlink/README.md b/macros/latex/contrib/rorlink/README.md
index 763408ceae..543a10375f 100644
--- a/macros/latex/contrib/rorlink/README.md
+++ b/macros/latex/contrib/rorlink/README.md
@@ -1,12 +1,16 @@
# *RORLINK* – A LaTeX Package for Linking ROR's
+*by Florian Lukas, florian.lukas@dainst.de*
+
This repo provides a LaTeX package to automatically create an inline [ROR](https://ror.org/)-symbol which links to a given ROR-institution.
The code is derived mainly from the [Orcidlink package](https://github.com/duetosymmetry/orcidlink-LaTeX-command) by Leo Stein, which itself rests on the [Tex.SE answer](https://tex.stackexchange.com/questions/445563/ieeetran-how-to-include-orcid-in-tex-pdf-with-pdflatex/445583#445583) by the user Milo. My edits are only minor changes; especially the addition of the svg-path for the ROR symbol.
## Installation
-To use the package just copy the `rorlink.sty` file into your current LaTeX working directory. You also can copy it directly into your `texmf` tree. This may need **root** privileges.
+The package is official available on [CTAN](https://www.ctan.org/pkg/rorlink). It can be easily donwloaded there.
+
+Or copy the `rorlink.sty` file from GitLab into your current LaTeX working directory. You also can copy it directly into your `texmf` tree. This may need **root** privileges.
## Usage
diff --git a/macros/latex/contrib/rorlink/rorlink.dtx b/macros/latex/contrib/rorlink/rorlink.dtx
index 4e169fd189..2a5daca2ef 100644
--- a/macros/latex/contrib/rorlink/rorlink.dtx
+++ b/macros/latex/contrib/rorlink/rorlink.dtx
@@ -3,7 +3,7 @@
% Copyright (C) 2023 by Florian Lukas <florian.lukas@dainst.de>
% ---------------------------------------------------------------------------
% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
@@ -26,13 +26,14 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{rorlink}
%<*package>
- [2023/06/15 1.0.0 Linked ROR logo macro package]
+ [2023/06/23 1.1.0 Linked ROR logo macro package]
%</package>
%
%<*driver>
\documentclass{ltxdoc}
\usepackage{rorlink}[2023/06/15]
\usepackage{orcidlink}
+\usepackage{xurl}
\EnableCrossrefs
\CodelineIndex
\RecordChanges
@@ -44,7 +45,7 @@
%</driver>
% \fi
%
-% \CheckSum{31}
+% \CheckSum{62}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -64,6 +65,7 @@
%
%
% \changes{1.0.0}{2023/06/15}{Build documentation and sty}
+% \changes{1.1.0}{2023/06/23}{Updated command syntax and implementation of optional arguments for a black and white logo}
%
% \DoNotIndex{\newcommand,\newenvironment}
%
@@ -98,13 +100,24 @@
%
%Furthermore, it can be included into larger macros; for instance, to create an author section with all necessary informations of the contributors:
%
-%\includegraphics[width=0.7\textwidth]{example_authorsection.png}
%
-% \section{Required Packages}
+%
+%\section{Optional Arguments}
+%
+%There are two possibilities of using an optional argument |blackwhite|
+%
+%\DescribeMacro{\usepackage[blackwhite]{rorlink}}\par
+%The option |blackwhite| can be set globally in the praeambel. Then every ROR link will appear in black and white only.
+%
+%\DescribeMacro{\rorlink[blackwhite]\marg{ror-link}}\par
+%The option |blackwhite| can be set as argument if you use the |\rorlink| macro inline. Then only the current symbol will appear in black and white.
+%
+%\section{Required Packages}
%
%\begin{description}
% \item[hyperref] Needed to use the symbol as a link to the particular ROR webpage.
% \item[tikz] Is used to draw the ROR symbol using the svg-path method and process the image, when the |\rorlink| command is called.
+% \item[etoolbox] For the conditioning of the optional argument uses in inline commands.
%\end{description}
%
% \StopEventually{}
@@ -115,15 +128,28 @@
%<*package>
% \fi
%
-%% The code is derived mainly from the orcidlink package https://github.com/duetosymmetry/orcidlink-LaTeX-command
+%% Required packages
% \begin{macrocode}
\RequirePackage{hyperref}
\RequirePackage{tikz}
+\RequirePackage{xparse}
+\RequirePackage{etoolbox}
+% \end{macrocode}
+%% Set standard color of the ROR institution
+% \begin{macrocode}
+\definecolor{rorlogocol}{HTML}{53BAA1}
+% \end{macrocode}
+%% Set global option |blackwhite| for depicting the logo only in black and white.
+% \begin{macrocode}
+\DeclareOption{blackwhite}{\definecolor{rorlogocol}{HTML}{000000}}
+\DeclareOption*{\PackageWarning{rorlink}{Unknown option -- \CurrentOption --}}
\ProcessOptions\relax
+% \end{macrocode}
+%% Load tikz library for processing svg-paths.
+% \begin{macrocode}
\usetikzlibrary{svg.path}
-\definecolor{rorlogocol}{HTML}{53BAA1}
% \end{macrocode}
-%% The original svg-path received from the file https://raw.githubusercontent.com/ror-community/ror-logos/main/ror-icon-rgb.svg
+%% The original svg-path received from the file \url{https://raw.githubusercontent.com/ror-community/ror-logos/main/ror-icon-rgb.svg}
% \begin{macrocode}
\tikzset{
rorlogo/.pic={
@@ -136,25 +162,42 @@
}
% \end{macrocode}
%
-% \begin{macro}{\@OrigHeightRecipROR}
+%
%% The original height of the svg file is 119.27pt. The macro here uses 1/119.27 as unit.
% \begin{macrocode}
\newcommand{\@OrigHeightRecipROR}{0.008384338}
% \end{macrocode}
-% \end{macro}
+%
%
-%% The logo is adjusted to the used font size
+%% The logo is adjusted to the used font size and an optional option |blackwhite| for depicting the logo in only black and white colors is set.
% \begin{macrocode}
\newlength{\@curXheightROR}
-\DeclareRobustCommand\rorlink[1]{%
-\texorpdfstring{%
-\setlength{\@curXheightROR}{\fontcharht\font`X}%
-\href{#1}{\XeTeXLinkBox{\mbox{%
-\begin{tikzpicture}[yscale=-\@OrigHeightRecipROR*\@curXheightROR,
-xscale=\@OrigHeightRecipROR*\@curXheightROR,transform shape]
-\pic{rorlogo};
-\end{tikzpicture}%
-}}}}{}}
+\DeclareDocumentCommand\rorlink{om}{%
+ \IfNoValueTF{#1}{%
+ \texorpdfstring{%
+ \setlength{\@curXheightROR}{\fontcharht\font`X}%
+ \href{#2}{\XeTeXLinkBox{\mbox{%
+ \begin{tikzpicture}[yscale=-\@OrigHeightRecipROR*\@curXheightROR,%
+ xscale=\@OrigHeightRecipROR*\@curXheightROR,transform shape]%
+ \pic{rorlogo};%
+ \end{tikzpicture}%
+ }}}}{}%
+ }{%
+ \ifstrequal{#1}{blackwhite}{%
+ \begingroup%
+ \definecolor{rorlogocol}{HTML}{000000}
+ \texorpdfstring{%
+ \setlength{\@curXheightROR}{\fontcharht\font`X}%
+ \href{#2}{\XeTeXLinkBox{\mbox{%
+ \begin{tikzpicture}[yscale=-\@OrigHeightRecipROR*\@curXheightROR,%
+ xscale=\@OrigHeightRecipROR*\@curXheightROR,transform shape]%
+ \pic{rorlogo};%
+ \end{tikzpicture}%
+ }}}}{}%
+ \endgroup%
+ }{\PackageWarning{rorlink}{The defined optional argument is unknown, thus, set to blank.}{\rorlink{#2}}}%
+ }%
+}%
\endinput% \end{macrocode}
%
diff --git a/macros/latex/contrib/rorlink/rorlink.ins b/macros/latex/contrib/rorlink/rorlink.ins
index dab31c558e..bb08b231c7 100644
--- a/macros/latex/contrib/rorlink/rorlink.ins
+++ b/macros/latex/contrib/rorlink/rorlink.ins
@@ -1,7 +1,7 @@
%% Copyright (C) 2023 by Florian Lukas <florian.lukas@dainst.de>
%% --------------------------------------------------------------------------
%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
+%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
@@ -28,7 +28,7 @@ This is a generated file.
Copyright (C) 2023 by Florian Lukas <florian.lukas@dainst.de>
--------------------------------------------------------------------------
This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
+conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
diff --git a/macros/latex/contrib/rorlink/rorlink.pdf b/macros/latex/contrib/rorlink/rorlink.pdf
index 072caf63bb..9b9aa8d60a 100644
--- a/macros/latex/contrib/rorlink/rorlink.pdf
+++ b/macros/latex/contrib/rorlink/rorlink.pdf
Binary files differ