Skip to content

Instantly share code, notes, and snippets.

@neilernst
Created July 27, 2011 14:32
Show Gist options
  • Save neilernst/1109471 to your computer and use it in GitHub Desktop.
Save neilernst/1109471 to your computer and use it in GitHub Desktop.
Scrivner/Ut-thesis preamble
\RequirePackage[debrief,save]{silence}
% %silence filters. I use this with a custom script to pretty-print missing refs.
%\WarningFilter*{latex}{Citation `\@citeb' on page \thepage \space undefined}
\WarningFilter*{natbib}{Citation `\@citeb' on page \thepage \space undefined}
\WarningFilter*{latex}{Label}% `\@thelabel' multiply defined.}
\WarningFilter*{latex}{Reference}% `sec:ASK' on page \thepage undefined}
\documentclass[10pt,oneside]{ut-thesis} %draft
\usepackage{etex}
\makeindex
\usepackage[square,authoryear]{natbib}
\usepackage[colorinlistoftodos,textsize=tiny]{todonotes} %obeyDraft,disable
\usepackage{multirow}
\usepackage{colortbl,slashbox} % Better tables
\usepackage{subfig}
\usepackage{fixltx2e}
\usepackage{syntax} % bnf diagrams
\usepackage{lscape} % rotate large figures
\usepackage{color}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{amsmath,amssymb}
\usepackage[ruled]{algorithm2e}
\usepackage{minted} % pretty formatting
\definecolor{lightgray}{gray}{0.9}
\newcommand{\nskip}{\\\noalign{\smallskip}}
\newenvironment{contrtbl}{\vspace{3mm}\begin{singlespaced}\centering\begin{tabular}{r>{\columncolor{lightgray}}p{4in}}\hline}
{\\\hline\end{tabular}\end{singlespaced}\vspace{3mm}}
\input{pre-techne} % this contains custom environments and newcommands for my purposes.
\usepackage[allbordercolors=white,bookmarksopen]{hyperref}
\degree{Doctor of Philosophy}
\department{Computer Science}
\gradyear{2011}
\author{Neil Alexander Ernst}
\title{\mytitle}
% Title Page
\begin{document}
\begin{preliminary}
\maketitle
\clearpage
% input abstract to deal with ut requirement it be before tables.
\input{/Users/nernst/Dropbox/research/thesis/dissertation/abstract}
% Table of Contents
%todos
\listoftodos
\tableofcontents
\listoffigures % activate to include a List of Figures
\listoftables % activate to include a List of Tables
\listofalgorithms
\listoflistings
\end{preliminary} % change back to numbered pages from roman
%
% Main Content
%
% Layout settings
\setlength{\parindent}{1em}
% \mainmatter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment