From cd162fef9d9f3145c1e29c63439759636ba62c41 Mon Sep 17 00:00:00 2001
From: Blaise Thompson <blaise@untzag.com>
Date: Mon, 26 Feb 2018 17:08:07 -0600
Subject: 2018-02-26 17:07

---
 dissertation.tex | 134 +++++++------------------------------------------------
 1 file changed, 16 insertions(+), 118 deletions(-)

(limited to 'dissertation.tex')

diff --git a/dissertation.tex b/dissertation.tex
index 4bc47a2..8c16976 100644
--- a/dissertation.tex
+++ b/dissertation.tex
@@ -1,113 +1,11 @@
 % https://grad.wisc.edu/currentstudents/doctoralguide/
 % TODO: cool quote: God made the bulk; surfaces were invented by the devil. https://en.wikiquote.org/wiki/Wolfgang_Pauli
 
-% document
-\documentclass[11 pt, twoside, openright]{report}  % 10 to 12 pt font required
-\usepackage[letterpaper, margin=1in]{geometry}  % 1 inch margins required
-\usepackage{setspace}
-\usepackage{afterpage}
-\usepackage{color}
-\usepackage{array}
-
-% headers (required: page number in upper right, nothing else)
-\usepackage{fancyhdr}
-\fancypagestyle{plain}{
-	\fancyhf{}
-	\fancyhead[R]{\thepage}
-	\fancyfoot{}
-	\renewcommand{\headrulewidth}{0pt}
-	\renewcommand{\footrulewidth}{0pt}
-}
-\pagestyle{plain}{\rhead{\thepage}}
-
-% ensure that floats appear in the section they are defined in (http://tex.stackexchange.com/a/235312)
-\usepackage{placeins}
-\let\Oldsection\section
-\renewcommand{\section}{\FloatBarrier\Oldsection}
-\let\Oldsubsection\subsection
-\renewcommand{\subsection}{\FloatBarrier\Oldsubsection}
-\let\Oldsubsubsection\subsubsection
-\renewcommand{\subsubsection}{\FloatBarrier\Oldsubsubsection}
-
-% text
-\usepackage[utf8]{inputenc}
-\setlength\parindent{0pt}
-\setlength{\parskip}{1em}
-\usepackage{enumitem}
-\setlist{noitemsep, topsep=0pt, parsep=0pt, partopsep=0pt}
-\renewcommand{\familydefault}{\sfdefault}
-\newcommand{\RomanNumeral}[1]{\textrm{\uppercase\expandafter{\romannumeral #1\relax}}}
-\usepackage{etoolbox}
-\usepackage{tabularx}
-\AtBeginEnvironment{verse}{\singlespacing}
-\AtBeginEnvironment{tabular}{\singlespacing}
-
-% code highlighting 
-%\usepackage{minted}
-\definecolor{light-gray}{gray}{0.90}
-\newcommand{\code}[1]{\colorbox{light-gray}{\texttt{#1}}}
-
-% graphics
-\usepackage{graphics}
-\usepackage{graphicx}
-\usepackage{epsfig}
-\usepackage{epstopdf}
-\usepackage{etoc}
-\usepackage{tikz}
-
-% math
-\usepackage{amssymb}
-\usepackage{amsmath}
-\usepackage[cm]{sfmath}
-\usepackage{bm} % bold mathtype
-\DeclareMathOperator{\me}{e}
-
-% misc / ?
-\usepackage[nottoc]{tocbibind}
-\usepackage{fixltx2e}
-\usepackage{pdfpages}
-\usepackage[utf8]{inputenc}
-
-% hyperref
-\usepackage[colorlinks=true, linkcolor=black, urlcolor=blue, citecolor=black, anchorcolor=black]{hyperref}
-\usepackage[all]{hypcap}  % helps hyperref work properly
-
-% bibliography
-\usepackage[backend=biber, natbib=true, sorting=none, maxbibnames=99]{biblatex}
-\bibliography{bibliography}
-
-% glossary
-\usepackage[acronym, nopostdot, nogroupskip]{glossaries}
-\newcommand{\comma}{,\penalty \exhyphenpenalty}
-\newlength\glsnamewidth
-\setlength{\glsnamewidth}{0.3\hsize}
-\setlength{\glsdescwidth}{1\hsize}
-\newglossarystyle{myglossarystyle}{
-	\setglossarystyle{super}
-	\renewenvironment{theglossary}{
-		\tablehead{}
-		\tabletail{}
-		\begin{supertabular}{p{\glsnamewidth}p{\glsdescwidth}}}{\end{supertabular}}
-	\renewcommand{\glossentry}[2]{
-		\raggedleft
-		\glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}} &
-		\glossentrydesc{##1}\glspostdescription\space ##2\tabularnewline}}
-\renewcommand{\arraystretch}{1}
-\setglossarystyle{myglossarystyle}
-\newglossary[slg]{symbolslist}{syi}{syg}{Symbols}
-\makeglossaries
-\include{glossary}
-
-\usepackage{tocloft}
- 
-\setlength\cftparskip{0pt}
-\setlength\cftbeforechapskip{-5pt}
-\setlength\cftbeforesecskip{-7pt}
-\setlength\cftbeforesubsecskip{-10pt}
+\documentclass{dissertation}
 
 \begin{document}
 
-% pre ---------------------------------------------------------------------------------------------
+% --- preamble ------------------------------------------------------------------------------------
 
 \begin{centering}
 \thispagestyle{empty}
@@ -192,30 +90,30 @@ This dissertation is approved by the following members of the Final Oral Committ
 \include{introduction/chapter}
 
 \part{Background}
-%\include{spectroscopy/chapter}
-%\include{materials/chapter}
-%\include{mixed_domain/chapter}
+\include{spectroscopy/chapter}
+\include{materials/chapter}
+\include{mixed_domain/chapter}
 
 \part{Instrumental Development}
-%\include{software/chapter}
-%\include{instrument/chapter}
+\include{software/chapter}
+\include{instrument/chapter}
 
 \part{Applications}
-%\include{PbSe/chapter}
-%\include{MX2/chapter}
+\include{PbSe/chapter}
+\include{MX2/chapter}
 \include{PEDOT:PSS/chapter}
-%\include{pyrite/chapter}
-%\include{BiVO4/chapter}
+\include{pyrite/chapter}
+\include{BiVO4/chapter}
 
 % appendix -----------------------------------------------------------------------------------------
 
 \part{Appendix}
 \begin{appendix}
-%\include{public/chapter}
-%\include{procedures/chapter}
-%\include{hardware/chapter}
-%\include{errata/chapter}
-%\include{colophon/chapter}
+\include{public/chapter}
+\include{procedures/chapter}
+\include{hardware/chapter}
+\include{errata/chapter}
+\include{colophon/chapter}
 \end{appendix}
 
 % post --------------------------------------------------------------------------------------------
-- 
cgit v1.2.3

