Changes made for LaTeX.to to the Dissertate template (UC Berkeley 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,156 @@ \def\pdTwoName#1{\gdef\@pdTwoName{#1}} \def\pdTwoSchool#1{\gdef\@pdTwoSchool{#1}} \def\pdTwoYear#1{\gdef\@pdTwoYear{#1}} +% School name and location +\university{University of California, Berkeley} +\universitycity{Berkeley} +\universitystate{California} + +% School color found from university's graphic identity site: +% http://brand.berkeley.edu/colors/ + +\definecolor{SchoolColor}{HTML}{003262} %berkeley blue +%\definecolor{chaptergrey}{HTML}{003262} % chapter numbers + +% \definecolor{SchoolColor}{rgb}{0,0.19608,0.3843} %berkeley blue +%\definecolor{chaptergrey}{rgb}{0,0.19608,0.3843} % chapter numbers + +% \definecolor{SchoolColor}{HTML}{FDB515} %berkeley gold +\definecolor{chaptergrey}{HTML}{FDB515} % chapter numbers + +\hypersetup{ + colorlinks, + citecolor=SchoolColor, + filecolor=black, + linkcolor=black, + urlcolor=SchoolColor, +} + +% Formatting guidelines found in: +% http://www.gsas.harvard.edu/publications/form_of_the_phd_dissertation.php +\renewcommand{\frontmatter}{ + \input{frontmatter/personalize} + \maketitle + \copyrightpage + \abstractpage + \dedicationpage + \tableofcontents + \acknowledgments + % \listoffigures % optional + \setcounter{page}{1} + \pagenumbering{arabic} +} + +\renewcommand{\maketitle}{ + \thispagestyle{empty} + \vspace*{\fill} + \vspace{10pt} + \begin{center} + \Huge \textcolor{SchoolColor}{\thetitle} \normalsize \\ + \vspace{100pt} + By\\ + \theauthor\\ + \vspace{12pt} + \textsc{A Dissertation submitted in partial satisfaction of the\\ + requirements for the degree of \\ \@degree\\ + in\\ \@department\\ in the\\ Graduate Division\\ of the\\ + \@university\\ + \vspace{50pt} + Committee in charge:\\ + \vspace{20pt} + Professor \@coadvisorOne, Co-chair\\ + Professor \@coadvisorTwo, Co-chair\\ + Professor \@committeeInternal\\ + Professor \@committeeExternal\\ + \vspace{50pt} + \@degreeterm\ \@degreeyear} + \end{center} \vspace*{\fill} +} + + +%\renewcommand{\maketitle}{ +% \thispagestyle{empty} +% \vspace*{\fill} +% \vspace{10pt} +% \begin{center} +% \Huge \textcolor{SchoolColor}{\thetitle} \normalsize \\ +% \vspace{100pt} +% By\\ +% \theauthor\\ +% \vspace{12pt} +% \textsc{A Dissertation submitted in partial satisfaction of the\\ +% requirements for the degree of \\ \@degree\\ +% in\\ \@department\\ in the\\ Graduate Division\\ of the\\ +% \@university\\ +% \vspace{50pt} +% Committee in charge:\\ +% \vspace{20pt} +% Professor \@advisor, Chair\\ +% Professor \@committeeInternalOne\\ +% Professor \@committeeInternalTwo\\ +% Professor \@committeeExternal\\ +% \vspace{50pt} +% \@degreeterm\ \@degreeyear} +% \end{center} \vspace*{\fill} +%} + +\newcommand{\copyrightpage}{ + \newpage + \thispagestyle{empty} + \vspace*{\fill} + \scshape \noindent \small \copyright \small 2015\hspace{3pt}-- \theauthor \\ + \noindent all rights reserved. + \vspace*{\fill} + \newpage + \rm +} + +\newcommand{\abstractpage}{ + \newpage + \setcounter{page}{1} + \pagenumbering{arabic} + \pagestyle{fancy} + \lhead{Co-advisors: \\\@coadvisorOne ~{\textit \&} \\\@coadvisorTwo} + \rhead{\@author\\[\baselineskip]} + \renewcommand{\headrulewidth}{0.0pt} + \vspace*{35pt} + \begin{center} + \Large \textcolor{SchoolColor}{\@title} \normalsize \\ + \vspace*{20pt} + \scshape Abstract \\ \rm + \end{center} + \input{frontmatter/abstract} + \vspace*{\fill} + \newpage \lhead{} \rhead{} + \cfoot{\thepage} +} + +\newcommand{\acknowledgments}{ + \chapter*{Acknowledgments} + \noindent + \input{frontmatter/thanks} + \vspace*{\fill} \newpage +} + +\newcommand{\dedicationpage}{ + \setcounter{page}{1} + \pagenumbering{roman} + \newpage \thispagestyle{fancy} \vspace*{\fill} + \scshape \noindent \input{frontmatter/dedication} + \vspace*{\fill} \newpage \rm +} + + +\renewcommand{\backmatter}{ + \input{endmatter/personalize} + \clearpage + \bibliography{references} + \addcontentsline{toc}{chapter}{References} + \bibliographystyle{apalike2} + \begin{appendices} + \include{chapters/appendixA} + \end{appendices} + \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 Berkeley style file, assets/schools/Berkeley/style.sty in the repository, is added at the end, unchanged. This is how the repository's own build script (scripts/build) makes the Berkeley 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.