Changes made for LaTeX.to to the Dissertate template (Princeton version) Template page: https://latex.to/templates/github/dissertate/ Repository: https://github.com/suchow/Dissertate Commit: 2e92853c603cc9c8f56598dea26c5a0bce0f440b Author: Jordan Suchow License: AGPL 3.0, see LICENSE Changes from the original (a/) to this copy (b/): --- a/Dissertate.cls +++ b/Dissertate.cls @@ -1,3 +1,4 @@ +% Modified for the LaTeX.to template catalogue on 28 September 2026, not the original file. The changes are listed in changes.txt. % ------------------------------------------------------------------- % @LaTeX-class-file{ % filename = "Dissertate.cls", @@ -90,7 +91,7 @@ \setmonofont[Scale=MatchLowercase]{Source Code Pro} \RequirePackage[labelfont={bf,sf,footnotesize,singlespacing}, textfont={sf,footnotesize,singlespacing}, - justification={justified,RaggedRight}, + justification=RaggedRight, singlelinecheck=false, margin=0pt, figurewithin=chapter, @@ -179,3 +180,119 @@ \def\pdTwoName#1{\gdef\@pdTwoName{#1}} \def\pdTwoSchool#1{\gdef\@pdTwoSchool{#1}} \def\pdTwoYear#1{\gdef\@pdTwoYear{#1}} +% School name and location +\university{Princeton University} +\universitycity{Princeton} +\universitystate{New Jersey} + +% School color found from university's graphic identity site: +% http://www.princeton.edu/communications/services/image/graphic/color +\definecolor{SchoolColor}{rgb}{0.9608, 0.5020, 0.1451} +\definecolor{chaptergrey}{rgb}{0.9608, 0.5020, 0.1451} + +\hypersetup{ + colorlinks, + citecolor=SchoolColor, + filecolor=black, + linkcolor=black, + urlcolor=SchoolColor, +} + +% Formatting guidelines found in: +% http://www.princeton.edu/~mudd/thesis/MuddDissertationRequirements.pdf +\renewcommand{\frontmatter}{ + \input{frontmatter/personalize} + \maketitle + \copyrightpage + \abstractpage + \tableofcontents + % \listoffigures % optional + \dedicationpage + \acknowledgments +} + +\renewcommand{\maketitle}{ + \thispagestyle{empty} + \vspace*{\fill} + \vspace{75pt} + \begin{center} + \Huge \textcolor{SchoolColor}{\thetitle} \normalsize \\ + \vspace{100pt} + \textsc{\theauthor}\\ + \vspace{50pt} + \sc + a dissertation\\ + presented to the faculty\\ + of princeton university\\ + in candidacy for the degree\\ + of \@degree\\ + + \vspace{35pt} + recommended for acceptance\\ + by the Department of\\ + \@department\\ + \vspace{25pt} + Adviser: \@advisor \\ + \vspace{15pt} + \@degreemonth\ \@degreeyear + \rm + \end{center} + \vspace*{\fill} +} + +\newcommand{\copyrightpage}{ + \newpage + \thispagestyle{empty} + \vspace*{25pt} + \begin{center} + \scshape \noindent \small \copyright \ \small Copyright by \theauthor, \@degreeyear. All rights reserved. + \end{center} + \newpage + \rm +} + +\newcommand{\abstractpage}{ + \phantomsection + \addcontentsline{toc}{chapter}{Abstract} + \newpage + \pagenumbering{roman} + \setcounter{page}{3} + \pagestyle{fancy} + \renewcommand{\headrulewidth}{0.0pt} + \vspace*{35pt} + \begin{center} + \scshape Abstract \\ \rm + \end{center} + \input{frontmatter/abstract} + \vspace*{\fill} + \newpage \lhead{} \rhead{} + \cfoot{\thepage} +} + +\newcommand{\dedicationpage}{ + \newpage \thispagestyle{fancy} \vspace*{\fill} + \scshape \noindent \input{frontmatter/dedication} + \vspace*{\fill} \newpage \rm +} + +\newcommand{\acknowledgments}{ + \chapter*{Acknowledgments} + \noindent + \input{frontmatter/thanks} + \vspace*{\fill} \newpage + \setcounter{page}{1} + \pagenumbering{arabic} +} + +\renewcommand{\backmatter}{ + \begin{appendices} + \include{chapters/appendixA} + \end{appendices} + \input{endmatter/personalize} + \clearpage + \bibliography{references} + \addcontentsline{toc}{chapter}{References} + \bibliographystyle{apalike2} + \include{endmatter/colophon} +} + --- a/endmatter/colophon.tex +++ b/endmatter/colophon.tex @@ -1,17 +1,18 @@ %!TEX root = ../dissertation.tex +% Modified for the LaTeX.to template catalogue on 28 September 2026, not the original file. The changes are listed in changes.txt. \newpage % If you do want an image in the colophon: -\begin{figure} - \vspace{20pt} - \centering - \hspace*{-32pt} - \includegraphics[width=0.42\textwidth]{endmatter/colophon.png} -\end{figure} +% \begin{figure} +% \vspace{20pt} +% \centering +% \hspace*{-32pt} +% \includegraphics[width=0.42\textwidth]{endmatter/colophon.png} +% \end{figure} % If you don't want an image in the colophon: -% \vspace*{200pt} +\vspace*{200pt} \begin{center} -\parbox{200pt}{\lettrine[lines=3,slope=-2pt,nindent=-4pt]{\textcolor{SchoolColor}{T}}{his thesis was typeset} using \LaTeX, originally developed by Leslie Lamport and based on Donald Knuth's \TeX. The body text is set in 11 point Egenolff-Berner Garamond, a revival of Claude Garamont's humanist typeface. The above illustration, \textit{Science Experiment 02}, was created by Ben Schlitter and released under \href{http://creativecommons.org/licenses/by-nc-nd/3.0/}{\textsc{cc by-nc-nd 3.0}}. A template that can be used to format a PhD dissertation with this look \textit{\&} feel has been released under the permissive \textsc{agpl} license, and can be found online at \href{https://github.com/suchow/Dissertate}{github.com/suchow/Dissertate} or from its lead author, Jordan Suchow, at \href{mailto:suchow@post.harvard.edu}{suchow@post.harvard.edu}.} +\parbox{200pt}{\lettrine[lines=3,slope=-2pt,nindent=-4pt]{\textcolor{SchoolColor}{T}}{his thesis was typeset} using \LaTeX, originally developed by Leslie Lamport and based on Donald Knuth's \TeX. The body text is set in 11 point Egenolff-Berner Garamond, a revival of Claude Garamont's humanist typeface. A template that can be used to format a PhD dissertation with this look \textit{\&} feel has been released under the permissive \textsc{agpl} license, and can be found online at \href{https://github.com/suchow/Dissertate}{github.com/suchow/Dissertate} or from its lead author, Jordan Suchow, at \href{mailto:suchow@post.harvard.edu}{suchow@post.harvard.edu}.} \end{center} Why each change was made, in the order of the diff: - Dissertate.cls: the first line is added. The GNU Affero General Public License asks a changed work to say that it was changed and when, and the line points to the list of the changes, which is this file. - Dissertate.cls: the caption package is loaded with justification=RaggedRight instead of justification={justified,RaggedRight}. Since 2020 the caption package takes one name there and stops the compile with "Undefined justification" on the pair. Older versions read the pair as a list whose last name won, so the captions are set ragged right as they always were. - Dissertate.cls: the Princeton style file, assets/schools/Princeton/style.sty in the repository, is added at the end, unchanged. This is how the repository's own build script (scripts/build) makes the Princeton template from the class that all schools share. - endmatter/colophon.tex: the second line is added, for the same reason as the first line of Dissertate.cls. - endmatter/colophon.tex: the figure is commented out. It shows the illustration Science Experiment 02 by Ben Schlitter, which the colophon gives as CC BY-NC-ND 3.0, a license for noncommercial use only, so colophon.png is not shipped here. To show a picture of your own, add it to the endmatter folder, name it in the \includegraphics line, remove the percent signs of the six lines and put one before \vspace*{200pt}. - endmatter/colophon.tex: the \vspace*{200pt} line is enabled, the file's own alternative for a colophon without an image. - endmatter/colophon.tex: the sentence that credits the illustration is removed, since the illustration is not shown.