Changes made for LaTeX.to to the Dissertate template (NYU 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,154 @@ \def\pdTwoName#1{\gdef\@pdTwoName{#1}} \def\pdTwoSchool#1{\gdef\@pdTwoSchool{#1}} \def\pdTwoYear#1{\gdef\@pdTwoYear{#1}} +% School name and location +\university{New York University} +\universitycity{New York} +\universitystate{New York} + +% School color found from university's graphic identity site: +% http://www.nyu.edu/employees/resources-and-services/media-and-communications/styleguide.html +\definecolor{SchoolColor}{rgb}{0.3412, 0.0235, 0.5490} % purple +\definecolor{chaptergrey}{rgb}{0.2600, 0.0200, 0.4600} % dialed back a little +\definecolor{midgrey}{rgb}{0.4, 0.4, 0.4} + +\hypersetup{ + colorlinks, + citecolor=SchoolColor, + filecolor=black, + linkcolor=black, + urlcolor=SchoolColor, +} + +% Formatting guidelines found in: +% http://gsas.nyu.edu/docs/IO/4474/formattingguide.pdf + +\renewcommand{\frontmatter}{ + \pagenumbering{roman} + \input{frontmatter/personalize} + \maketitle + \copyrightpage + \frontispiece + \dedicationpage + \acknowledgments + \preface + \abstractpage + \tableofcontents + + % figure listing - required if you have any figures + \listoffigures + \phantomsection + \addcontentsline{toc}{chapter}{List of figures} + + % table listing - required if you have any tables + \listoftables + \phantomsection + \addcontentsline{toc}{chapter}{List of tables} + + % appendix listing - required only if you have two or more appendices + % \newpage + % \thispagestyle{empty} + % \phantomsection + % \addcontentsline{toc}{chapter}{List of appendices} + % \chapter*{List of appendices} + % \contentsline {chapter}{Appendix A}{\pageref{AppendixA}}{} + + \newpage + \setcounter{page}{1} + \pagenumbering{arabic} +} + +\renewcommand{\maketitle}{ + \thispagestyle{empty} + \vspace*{\fill} + \vspace{100pt} + \begin{center} + \Huge \textcolor{midgrey}{\thetitle} \normalsize \\ + \vspace{25pt} + by \\ + \vspace{15pt} + \theauthor\\ + \vspace{135pt} + \textsc{a dissertation submitted in partial fulfillment\\ + of the requirements for the degree of \\ + \vspace{8pt} + \@degree \\ + \@department \\ + \@university \\ + \vspace{10pt} + \@degreemonth, \@degreeyear} + \end{center} + \vspace*{\fill} +} + +\newcommand{\copyrightpage}{ + \newpage + \thispagestyle{empty} + \vspace*{25pt} + \begin{center} + \scshape \noindent \small \copyright \ \small \theauthor \\ + all rights reserved, \@degreeyear + \end{center} + \newpage + \rm +} + +\newcommand{\frontispiece}{ + \newpage + \thispagestyle{empty} + \vspace*{\fill} + \begin{center} + \includegraphics[width=45pt]{resources/NYUlogo.eps} + \end{center} + \vspace*{\fill} +} + +\newcommand{\dedicationpage}{ + \phantomsection + \addcontentsline{toc}{chapter}{Dedication} + \newpage + \setcounter{page}{4} + \vspace*{\fill} + \scshape \noindent \input{frontmatter/dedication} + \vspace*{\fill} + \newpage + \rm +} + +\newcommand{\acknowledgments}{ + \phantomsection + \addcontentsline{toc}{chapter}{Acknowledgments} + \chapter*{Acknowledgments} + \noindent + \input{frontmatter/thanks} + \vspace*{\fill} \newpage +} + +\newcommand{\preface}{ + \phantomsection + \addcontentsline{toc}{chapter}{Preface} + \chapter*{Preface} + \input{frontmatter/preface} +} + +\newcommand{\abstractpage}{ + \phantomsection + \addcontentsline{toc}{chapter}{Abstract} + \chapter*{Abstract} + \input{frontmatter/abstract} +} + + +\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 NYU style file, assets/schools/NYU/style.sty in the repository, is added at the end, unchanged. This is how the repository's own build script (scripts/build) makes the NYU 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.