summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex')
-rw-r--r--macros/latex/contrib/mitthesis/examples/font_samples/latex_sources/Termes.tex138
1 files changed, 57 insertions, 81 deletions
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 586c7419a9..fb2f11a35d 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,47 +1,47 @@
-% !TEX TS-program = LuaLaTeX
% !TEX encoding = UTF-8 Unicode
% !BIB TS-program = biber
% !BIB program = biber
-% This file is MIT-Thesis.tex, a template for producing MIT theses with the mitthesis class.
-% Version: 1.01, 2023/07/21
+% This file is MIT-Thesis.tex, a LaTeX template for formatting an MIT thesis with the mitthesis class.
+%
+% Version: 1.06, 2023/08/28
+%
% Author: John H. Lienhard (c) 2023. Reuse under the MIT license: https://ctan.org/license/mit
-% Documentation: https://ctan.org/pkg/mitthesis
+% Documentation is here: https://ctan.org/pkg/mitthesis
%% Don't modify the \DocumentMetadata command unless you know what it does.
%% If this command throws an "undefined" error, your latex system is out of date: try commenting this command out.
-\DocumentMetadata
-{
+\DocumentMetadata{
pdfstandard = a-2b,
pdfversion = 1.7,
lang = en-US,
-% debug = {xmp-export}, % output xmpi file to directly examine metadata
+% debug = {xmp-export}, % uncomment to output a separate xmpi file showing the metadata
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[fontset=termes]{mitthesis}
+\documentclass[fontset=termes]{mitthesis} %,fontset=libertine ,fontset=newtx-sans-text, fontset=heros-stix2, fontset=stix2
%
-% option [twoside] gives facing-page behavior for printing; omitting it will eliminate even-numbered blank pages.
+% option [twoside] gives facing-page behavior for printing; omitting twoside will eliminate even-numbered blank pages.
% option [lineno] provides line numbers, as for editing
-% option [mydesign] loads titlesec, enumitem, caption, subcaption - you may edit the mydesign.tex file as you like it.
+% option [mydesign] loads packages for color, title and list formats, margins, or captions: edit mydesign.tex to change defaults.
% option [fontset] is a keyvalue which can be:
% pdftex or unicode engines: defaultfonts, libertine, lucida
% pdftex only: fira-newtxsf, newtx, newtx-sans-text
% unicode engines (luatex): heros-stix2, stix2, termes, termes-stix2
-% if no key value is given, fonts default to CMR (pdftex) or LMR (unicode), i.e., "the latex font".
+% if no key value is given, fonts default to CMR (pdftex) or LMR (unicode), i.e., "the LaTeX font".
% You can edit the fontset files or you can write your own, myfonts.tex, and do [fontset=myfonts].
% If you are using multiple languages, load the babel package in your fontset file, before the fonts.
%%%%%%%%% Packages used in sample chapters (not otherwise required) %%%%%%%
%% Package for code listing in Appendix A.
-\usepackage{listings}
+\usepackage{listings}% documentation is here https://ctan.org/pkg/listings
%% Set chemical formulas nicely
-\usepackage[version=4]{mhchem}
+\usepackage[version=4]{mhchem}% documentation is here https://ctan.org/pkg/mhchem
-%% Latin filler used in Chapter 1, with a test for package version date
+%% Latin filler used in Chapter 1, with a test for package version date. https://ctan.org/pkg/lipsum
\usepackage{lipsum}
\IfPackageAtLeastTF{lipsum}{2021/09/20}{\setlipsum{auto-lang=false}}{}
@@ -56,15 +56,18 @@
%%%%%%%%% Representative set-up for biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[style=ext-numeric-comp,giveninits=true,maxbibnames=10,sorting=none,articlein=false,]{biblatex}
+\usepackage[style=ieee,maxbibnames=10,sorting=none]{biblatex}% style=ext-numeric-comp,articlein=false,giveninits=true
+ \DefineBibliographyStrings{english}{url= \textsc{url} , }% replaces default "[Online]. Available" by "URL"
+
-\addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <=================
+\addbibresource{mitthesis-sample.bib}%% <== change to YOUR bib file <================= CHANGE
%% These two commands enable line breaks in long URLs in the bibliography (delete if you don't want that)
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}
-% biblatex is very powerful, and you can customize most aspects the reference list and citations.
+% biblatex is very powerful, and you can customize most aspects the reference list and citations to suit your needs.
+% documentation is here: https://ctan.org/pkg/biblatex
%%%%%%%%%% Option to use natbib %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -83,16 +86,16 @@
%%%%%%%%%% Table related packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{booktabs}% better quality tables
-\usepackage{array}% additional options for table columns
+\usepackage{booktabs}% better quality tables, https://ctan.org/pkg/booktabs
+\usepackage{array}% additional options for table columns, https://ctan.org/pkg/array
-%\usepackage{tabularx}
+%\usepackage{tabularx}% https://ctan.org/pkg/tabularx
-%\usepackage{dcolumn} % alignment on decimal places
+%\usepackage{dcolumn}% alignment on decimal place, https://ctan.org/pkg/dcolumn
%\newcolumntype{d}[1]{D{.}{.}{#1}}
-%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% Option for "double spacing" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Back in the typewriter era, double spaced lines were convenient for editing with a pencil.
%% In typography, the separation between lines is called "leading", and it is usually set in
@@ -100,73 +103,51 @@
%% to change the line separation, the most attractive results will be obtained by changing the
%% leading in proportion to the the current font size, rather than just doubling the space.
-%% The setspace package provides a tool for changing line separation (use these here)
+%% The setspace package provides a tool for changing line separation (use thesetwo here)
%
-%\usepackage{setspace}
-%\setstretch{1.1}% you can choose some other value for the stretch of space between lines
+% \usepackage{setspace}% documentation at https://ctan.org/pkg/setspace
+% \setstretch{1.1}% you can choose some other value for the stretch of space between lines
%
%% Use the these commands AFTER the frontmatter
%
-%\onehalfspacing
-%\doublespacing
-%\singlespacing % will turn these effects off (you can use these anywhere in the document)
+% \onehalfspacing
+% \doublespacing
+% \singlespacing % will turn these effects off (you can use these anywhere in the document)
%% The best result may be to stay with leading selected by the typographer who set up the font.
-%%%%%%%%%%% Hyperref setting and metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*\YourName{John H. Lienhard}% <====== CHANGE TO YOUR NAME !!!
+% Most of the document metadata is created automatically.
+% The following items should be adjusted to match your work. <================= !!!!!!!!!!
\hypersetup{%
+ pdfsubject={Template for writing MIT theses with the mitthesis class},
+ % Change this to briefly state topic of your thesis
+%
+ pdfkeywords={Massachusetts Institute of Technology, MIT},
+ % Add keywords that will help search engines and libraries to find your work.
+ % Includes the name[s] of the author[s]
+ % (If you have used \DocumentMetadata, at line 15, you can just put "\CopyrightAuthor," for the names.)
%
-% Be sure to change the following to your own information! <======== !!!
-%
- pdftitle={MIT thesis template},
- pdfkeywords={\YourName, Massachusetts Institute of Technology, MIT},
- pdfauthor={\YourName},
-% pdfauthor={{John H. Lienhard, V}},% if you have a comma in your name, surround by {..}
- pdfauthortitle={Professor of Mechanical Engineering},
- pdfcaptionwriter={\YourName},
- pdfurl={https://lienhard.mit.edu},
- pdfcontactemail={lienhard@mit.edu},
- pdfcontactaddress={77 Massachusetts Avenue, Room 3-166},
- pdfcontactcity={Cambridge, MA},
- pdfcontactpostcode={02139},
- pdfcontactcountry={USA},
- pdfcontacturl={https://lienhard.mit.edu},
-%
- pdfsubject={Template for writing MIT theses with the mitthesis class},% briefly state what this document is about
-%
- colorlinks=true,
- linkcolor=Blue3,% from xcolor package
- citecolor=Blue3,% from xcolor package
- urlcolor=violet,% from xcolor package
- filecolor=red,
-% anchorcolor=yellow,% not all pdf viewers recognize this field (although Firefox does)
-% colorscheme=phelype,% overrides link, cite, url, file colors with a preset scheme, through \DocumentMetadata
+ pdfurl={},
+ % If you have a url for the thesis, put it here. Otherwise delete this.
+ % (MIT Libraries will put your thesis in DSPACE with a persistent url after you submit it.)
+%
+ pdfcontactemail={},
+ % You can put a [permanent] email address into the metadata, if you like.
+ % Otherwise delete this.
%
- pdfborder={0 0 0},
- bookmarksnumbered=true,
- bookmarksopen=true,
- bookmarksopenlevel=1,
-% pdfpagemode=UseNone,% this option means don't open bookmarks panel
- pdfpagelayout=SinglePage,
- pdfdisplaydoctitle=true,
- pdfstartview=Fit,
- pdfnewwindow=true,
+ pdfauthortitle={},
+ % If you have a title, you can include it here.
}
-\AtEndDocument{
- \hypersetup{pdfcopyright={Copyright © \DegreeYear\ by \YourName. \PDFRightsText},}% 1st and 3rd commands are defined by class file.
-}
-
-%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%% End preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
-
%%% edit the following commands to match your thesis %%%%%%%%%%
\title{The Atomic Theory as Applied To Gases, with Some Experiments on the Viscosity of Air}
@@ -178,6 +159,7 @@
\Author{Silas W. Holman}{Department of Physics}%[B.S. Physics, MIT, 1876][MBA, Ferengi School of Management, 2022]
%\Author{Luisa Hernández}{Department of Research}[B.S. Mechanical Engineering, UCLA, 2018][M.S. Stellar Interiors, Vulcan Science Academy, 2020][MBA, Ferengi School of Management, 2022]
+%\Author{Thurston Howell III}{Department of Economics}
% Use once for each degree fulfilled by thesis
% For two degrees from one department, leave the department argument blank for the second degree {}.
@@ -192,7 +174,7 @@
% Professor who formally accepts theses for your department (e.g., the Graduate Officer, Professor Sméagol,...)
% If more than one department, use more than once
-% If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.
+% **If you need to reduce vertical space, put the acceptor title in the second argument and leave the third blank {}.**
\Acceptor{Primus Castor}{Professor of Wetlands Engineering}{Undergraduate Officer, Department of Physics}
%\Acceptor{Tertius Castor}{Professor of Log Dams}{Graduate Officer, Department of Research}
%\Acceptor{Quarta Castor}{Professor of Lodge Building}{Graduate Officer, Department of Mechanical Engineering}
@@ -220,9 +202,6 @@
%%% Titlepage
\maketitle
- \cleardoublepage% for two-sided printing, this puts abstract on a right-hand (odd) page, possibly inserting a blank page
- % if the the class option [twoside] is omitted, the command just begins a new page
-
%%%%%%%%% Contents that you need to write follows %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -231,19 +210,15 @@
%%% Frontmatter (write this material in the mentioned files) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
% The abstract environment creates all the required headers and footnote.
% You only need to add the text of the abstract itself in the file abstract.tex
\begin{abstract}
\input{abstract.tex}% in this case, use \input rather than \include because you are inside an environment
\end{abstract}
- \cleardoublepage
-\include{acknowledgments.tex}%
- \cleardoublepage
+\include{acknowledgments.tex}
\include{biography.tex}% optional, see MIT Libraries https://libraries.mit.edu/distinctive-collections/thesis-specs/#format
- \cleardoublepage
%%% Table of contents and lists of stuff (delete lists you don't need, e.g., if no tables) %%%%%%%%
@@ -255,11 +230,12 @@
%%% Chapters of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% If you really feel the need to engage in "double spacing", you can start here...
+%% If you want to use "double spacing", you can start here...
\include{chapter1.tex}
%\include{chapter2.tex}
%\include{chapter3.tex}
+%\include{chapter4.tex}
%%% Appendicies of thesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -270,7 +246,7 @@
%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-{\raggedright% to avoid stretched white space and split urls; DELETE if you prefer justified text
+{ \raggedright% to avoid stretched white space and split urls; DELETE THIS if you prefer justified text
%
\printbibliography[title={References},heading=bibintoc]
}