TemplateThesesthesisphysicshumanities
Oxford Thesis (OxThesis)
Oxford thesis in the popular OxThesis style, driven by the vendored ociamthesis class with chapter-opening quotations and Oxford-format frontmatter.
MIT (ociamthesis.cls, OxThesis)
Loading PDF preview…
This workspace is set up as an Oxford thesis in the OxThesis style: title page with a crest placeholder, abstract, acknowledgments, and two starter chapters with an opening quotation. Tell me your topic, college, and degree and I will fill in the frontmatter and start drafting with you.
What’s inside
- Starter files
main.tex2.2 KB
\documentclass[a4paper,twoside]{ociamthesis} \usepackage{tikz} % University crest placeholder: replace with your college's crest graphic, % or delete the two title-page \crest lines in ociamthesis.cls usage. \renewcommand{\crest}{% \begin{tikzpicture} \draw[thick] (0,0) circle (1.6cm); \node[align=center,font=\small] at (0,0) {University\\crest}; \end{tikzpicture}} \title{A Suitably Impressive Thesis Title} \author{Your Name} \college{Your College} \degree{Doctor of Philosophy} \degreedate{Trinity 2026} \begin{document} \setlength{\textbaselineskip}{22pt plus2pt} \setlength{\frontmatterbaselineskip}{17pt plus1pt minus1pt} \setlength{\baselineskip}{\textbaselineskip} \begin{romanpages} \maketitle \begin{acknowledgements} Thank the people and funding sources that made the work possible. Replace this placeholder with your own acknowledgments. \end{acknowledgements} \begin{abstract} Replace this paragraph with the abstract of your thesis. The OxThesis class sets the Oxford-style title page, frontmatter, and chapter openings with quotations. \end{abstract} \flushbottom \tableofcontents \end{romanpages} \flushbottom \begin{savequote}[8cm] An expert is a person who has made all the mistakes that can be made in a very narrow field. \qauthor{--- Niels Bohr} \end{savequote} \chapter{Introduction} State the problem the thesis addresses and why it matters. Each chapter can open with a quotation in the margin column via the \texttt{savequote} environment. Citations use bibtex~\cite{berlin1953}. A display equation: \begin{equation} i\hbar\,\frac{\partial\psi}{\partial t} = \hat{H}\psi . \end{equation} \chapter{Literature Review} A small table set with booktabs (loaded by the class): \begin{table}[ht] \centering \begin{tabular}{lrr} \toprule Study & Year & Sample \\ \midrule Alpha & 2019 & 240 \\ Beta & 2023 & 512 \\ \bottomrule \end{tabular} \caption{Prior work at a glance.} \label{tab:prior} \end{table} To continue, replace these chapters with your own material, or ask the agent in the chat alongside this document to draft chapters or restructure the thesis for you. \setlength{\baselineskip}{14pt} \bibliographystyle{unsrt} \bibliography{references} \end{document}- Libraries and docs
ociamthesis.cls13 KB
% ociamthesis % % Originally by Keith A. Gillow (gillow@maths.ox.ac.uk), 1997 % Modified by Sam Evans (sam@samuelevansresearch.org), 2007 % Modified by John McManigle (john@oxfordechoes.com), 2015 % % This version Copyright (c) 2015-2017 John McManigle % % Broad permissions are granted to use, modify, and distribute this software % as specified in the MIT License included in this distribution's LICENSE file. % % %-------------------------- identification --------------------- \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ociamthesis}[2015/04/30 Oxford thesis class] %-------------------------- initial code ----------------------- % JEM: Defaults to one-side, but passing 'twoside' should set everything up for that \LoadClass[openright,12pt]{report} \newif\ifmc@nobind \mc@nobindfalse \DeclareOption{nobind}{\mc@nobindtrue} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} \ProcessOptions\relax \setlength{\parskip}{0pt plus 1pt} \setlength{\parfillskip}{0pt plus .7\textwidth} % JEM: Lengths for single spacing (ie separate abstract, captions), front matter (abstract, % acknowledgements, table of contents, etc), and main body text. \newlength{\singlebaselineskip} \newlength{\frontmatterbaselineskip} \newlength{\textbaselineskip} \setlength{\singlebaselineskip}{\baselineskip} \setlength{\frontmatterbaselineskip}{17pt plus1pt minus1pt} \setlength{\textbaselineskip}{22pt plus2pt} \newcommand{\submittedtext}{{A thesis submitted for the degree of}} \usepackage{varwidth} \newcommand{\originalitytext}{% \rule[-2mm]{1pt}{7mm}\hspace{-1pt}% \rule[-2mm]{7mm}{1pt}\hspace{-1pt}% \rule[-2mm]{1pt}{7mm}\hspace{-7mm}% \rule[5mm]{7mm}{1pt}\hspace{1em}% \begin{varwidth}{\textwidth}I hereby certify that this is entirely\\my own work unless otherwise stated.\end{varwidth}} % % DECLARATIONS % % These macros are used to declare arguments needed for the % construction of the title page and other preamble. % The year and term the degree will be officially conferred \def\degreedate#1{\gdef\@degreedate{#1}} % The full (unabbreviated) name of the degree \def\degree#1{\gdef\@degree{#1}} % The name of your Oxford college (eg Christ Church, Pembroke) \def\college#1{\gdef\@college{#1}} % Your candidate number (ie for master's submissions) \def\candidateno#1{\gdef\@candidateno{#1}} % Your word count (for master's submissions) \def\wordcount#1{\gdef\@wordcount{#1}} \newif\ifmasterssubmission % adds candidate number and word count in place of name and college \masterssubmissionfalse % % CRESTS % \def\crest{{\includegraphics{figures/beltcrest.pdf}}} % % Define text area of page and margin offsets % \ifmc@nobind \usepackage[includehead,hmargin={3.1cm, 3.1cm}, vmargin={2.5cm,2.7cm}, headsep=.8cm,footskip=1.2cm]{geometry} \else \usepackage[includehead,hmargin={3.6cm, 2.6cm}, vmargin={2.5cm,2.7cm}, headsep=.8cm,footskip=1.2cm]{geometry} \fi \usepackage{xcolor} \usepackage{graphicx} \usepackage{fancyhdr} \setlength{\headheight}{15pt} \fancyhf{} % clear the header and footers \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\thechapter. #1}{\thechapter. #1}} \renewcommand{\sectionmark}[1]{\markright{\thesection. #1}} \renewcommand{\headrulewidth}{0pt} \fancyhead[LO]{\emph{\leftmark}} \fancyhead[RE]{\emph{\rightmark}} \fancyhead[RO,LE]{\emph{\thepage}} \fancypagestyle{plain}{\fancyhf{}\fancyfoot[C]{\emph{\thepage}}} % JEM fix header on cleared pages for openright \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else \hbox{} \fancyhead[RE,LO]{} \newpage \if@twocolumn\hbox{}\newpage \fi \fancyhead[LO]{\emph{\leftmark}} \fancyhead[RE]{\emph{\rightmark}} \fi\fi} \usepackage{microtype} \usepackage{nicefrac} \usepackage{amsmath} \usepackage{amssymb} \usepackage{textcomp} \usepackage{longtable} % Allows tables to span multiple pages (this package must be called before hyperref) \usepackage[font=small,labelfont=bf]{caption} % Nicer captions \usepackage{multicol,multirow,array} % Used to make multiple columns for the indices and for creating columns that span multiple rows in tables \usepackage{rotating} % To allow tables in landscape mode \usepackage{booktabs} % For better looking tables \usepackage{pdfpages} % Allows multi-page pdfs to be inserted as graphics \usepackage{xfrac} %\usepackage{enumerate} % Allows different numbering styles for Lists % to use: % \begin{enumerate}[x] % \item text % \end{enumerate} % where x is: % A uppercase letters (as produced by \Alph) % a lowercase letters (as produced by \alph) % I uppercase roman numerals (as produced by \Roman) % i lowercase roman numerals (as produced by \roman) % 1 arabic numbers (as produced by \arabic) % JEM the following package allows changing spacing in lists (for acknowledgements) \usepackage{enumitem} % JEM the following allows table columns aligned by decimal point \usepackage{dcolumn} \newcolumntype{d}[3]{D{.}{\cdot}{#1} } \usepackage{appendix} % For helping format appendicies \usepackage{notoccite} % To format the bibliography \usepackage[colorlinks=false,pdfpagelabels]{hyperref} % for linking between references, figures, TOC, etc in the pdf document \usepackage[nohints,tight]{minitoc} \setcounter{minitocdepth}{2} % Generates mini tables of contents per chapter % JEM: The following fixes minitoc to not be multiple-spaced. \let\oldmtc@verse\mtc@verse \renewcommand{\mtc@verse}[1]{\oldmtc@verse{#1}\setlength{\baselineskip}{\z@}} % % Environments % % This macro define an environment for front matter that is always % single column even in a double-column document. \newenvironment{alwayssingle}{% \@restonecolfalse \if@twocolumn\@restonecoltrue\onecolumn \else\if@openright\cleardoublepage\else\clearpage\fi \fi}% {\if@restonecol\twocolumn \else\newpage\thispagestyle{empty}\fi} %define title page layout \renewcommand{\maketitle}{% \begin{alwayssingle}\null \renewcommand{\footnotesize}{\small} \renewcommand{\footnoterule}{\relax} \thispagestyle{empty} \ifmasterssubmission \begin{center} \vspace*{-3ex} { \LARGE {\bfseries {\@title}} \par} {\large \vspace*{25mm} {\crest \par} \vspace*{20mm}} {{\Large Candidate no.\ \@candidateno} \par} {\large \vspace*{1ex} {Word count: {\@wordcount} \par} \vspace*{4ex} {{\submittedtext} \par} \vspace*{1ex} {\it {\@degree} \par} \vspace*{6ex} {{\originalitytext} \par} \vspace*{2ex} {\@degreedate}} \end{center} \else \begin{center} { \LARGE {\bfseries {\@title}} \par} {\large \vspace*{30mm} {\crest \par} \vspace*{25mm}} {{\Large \@author} \par} {\large \vspace*{1ex} {{\@college} \par} \vspace*{1ex} {University of Oxford \par} \vspace*{20mm} {{\submittedtext} \par} \vspace*{1ex} {\it {\@degree} \par} \vspace*{2ex} {\@degreedate}} \end{center} \fi \vfill\null \end{alwayssingle}} % DEDICATION % % The dedication environment makes sure the dedication gets its % own page and is set out in verse format. \newenvironment{dedication} {\begin{alwayssingle} \thispagestyle{empty} \vspace*{\fill} \begin{center}} {\end{center}\vspace*{\fill}\vspace*{\fill} \end{alwayssingle}} % ACKNOWLEDGEMENTS % % The acknowledgements environment puts a large, bold, centered % "Acknowledgements" label at the top of the page. The acknowledgements % themselves appear in a quote environment, i.e. tabbed in at both sides, and % on its own page. \newenvironment{acknowledgements}% { \begin{alwayssingle}\chapter*{Acknowledgements} \thispagestyle{empty} \pagestyle{empty} \setlength{\baselineskip}{\frontmatterbaselineskip} } {\end{alwayssingle}} %ABSTRACT % %The abstract environment puts a large, bold, centered "Abstract" label at %the top of the page. The abstract itself appears in a quote environment, %i.e. tabbed in at both sides, and on its own page. \renewenvironment{abstract}% { \begin{alwayssingle}\chapter*{Abstract} \thispagestyle{empty} \pagestyle{empty} \setlength{\baselineskip}{\frontmatterbaselineskip}} {\end{alwayssingle}} %The abstractseparate environment is for running of a page with the abstract %on including title and author etc as required to be handed in separately \newenvironment{abstractseparate} {\newgeometry{margin=3.3cm}\thispagestyle{empty}\begin{alwayssingle} \begin{center} {\Large \bfseries \@title \par} \ifmasterssubmission {{\large \vspace*{3ex} Candidate no.\ \@candidateno} \par} \else {{\large \vspace*{2ex} \@author} \par} \fi {\large \vspace*{1ex} \ifmasterssubmission {Thesis word count: {\@wordcount} \par} \else {{\@college} \par} {University of Oxford \par} \fi \vspace*{1ex} {{\it \submittedtext} \par} {\it {\@degree} \par} \vspace*{2ex} {\@degreedate} \par} \vfill {\Large \bfseries Abstract} \end{center} \vspace{1ex} \setlength{\baselineskip}{\z@}} {\vfill\end{alwayssingle}\restoregeometry} %ROMANPAGES % % The romanpages environment set the page numbering to lowercase roman one % for the contents and figures lists. It also resets % page-numbering for the remainder of the dissertation (arabic, starting at 1). % % Edited by JEM \newenvironment{romanpages} {\cleardoublepage\setlength{\baselineskip}{\frontmatterbaselineskip}\setcounter{page}{1}\renewcommand{\thepage}{\roman{page}}} {\cleardoublepage\setcounter{page}{1}\renewcommand{\thepage}{\arabic{page}}} %Figure placement on page % %This is to help prevent too many figures on their own pages. I got it from: % http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont \renewcommand{\topfraction}{0.85} \renewcommand{\textfraction}{0.1} \renewcommand{\floatpagefraction}{0.75} % JEM: VERSE, QUOTATION, and QUOTE must be single-spaced. % These rename the internal commands for the \begin{...} and % \end{...} environment commands. \let\@ldquote=\quote \let\@ldendquote=\endquote \renewenvironment{quote} {\@ldquote\setlength{\baselineskip}{\singlebaselineskip}} {\@ldendquote} \let\@ldqttn=\quotation \let\@ldendqttn=\endquotation \renewenvironment{quotation} {\@ldqttn\setlength{\baselineskip}{\singlebaselineskip}} {\@ldendqttn} \let\@ldverse=\verse \let\@ldendverse=\endverse \renewenvironment{verse} {\@ldverse\setlength{\baselineskip}{\singlebaselineskip}} {\@ldendverse} % JEM: Stuff for List of Abbreviations (or Glossary or other list) \usepackage{calc} \newcommand{\t@cfill}{\cleaders\hbox{$\m@th \mkern\@dotsep mu . \mkern\@dotsep mu$}\hfill} \newcommand{\abbrl@bel}[1]{\makebox[\labelwidth][l]{\textbf{#1}\ \t@cfill}} \newenvironment{mclistof}[2]{% \chapter*{#1}% \addcontentsline{toc}{chapter}{#1} \begin{list}{}% {\renewcommand{\makelabel}{\abbrl@bel}% \setlength{\labelwidth}{#2}% \setlength{\leftmargin}{\labelwidth+\labelsep}% \setlength{\itemsep}{0pt}% \markboth{#1}{#1}% }} {\end{list}\mtcaddchapter} \usepackage[grey,utopia]{quotchap} % To put nice quotes at the beginning of the chapters \usepackage[nottoc]{tocbibind} % Used for inserting the Bibliography, List of Figures, indices, etc into the table of contents. % JEM: Allow flexible spacing after figures, to reduce other stretching \setlength{\textfloatsep}{20pt plus15pt minus4pt} % JEM: Fix paragraph spacing within quotes for multi-par quotes \renewenvironment{savequote}[1][10cm]{% \begin{lrbox}{\@quotebox} \begin{minipage}[t]{#1}\footnotesize\slshape% \setlength{\parskip}{6pt}}{% \unskip\end{minipage}\end{lrbox} \global\setbox\@quotebox\copy\@quotebox \global\let\@printcites\@iprintcites \ignorespacesafterend} \renewcommand{\qauthor}[1]{\par {\raggedleft\upshape #1\qquad\hbox{}\par}\bigskip} % JEM: All of this is so that headers in these sections aren't uppercase \let\@ldtoc\tableofcontents \renewcommand*\tableofcontents{{% \renewcommand*\MakeUppercase[1]{##1}\@ldtoc}} \let\@ldlof\listoffigures \renewcommand*\listoffigures{{% \renewcommand*\MakeUppercase[1]{##1}\@ldlof}} \let\@ldlot\listoftables \renewcommand*\listoftables{{% \renewcommand*\MakeUppercase[1]{##1}\@ldlot}} \let\@ldbib\bibliography \renewcommand*\bibliography[1]{{% \renewcommand*\MakeUppercase[1]{##1}\@ldbib{#1}}} % JEM: for crazy multi character set quotes and Unicode and all \usepackage{lmodern} \usepackage[LGR,TS1,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[greek,latin,english]{babel} \usepackage{csquotes} \hyphenpenalty=500 \def\longs{{\fontencoding{TS1}\selectfont s}} % JEM: for highlighting corrections \newlength{\mccurrentbaselineskip} \newlength{\mccurrentparskip} \newlength{\mccurrentparindent} \newif\ifcorrections \newif\ifm@csection \m@csectionfalse \correctionsfalse \colorlet{shadecolor}{blue!20} \usepackage{framed} \OuterFrameSep=-9pt \newenvironment{mccorrection} {\ifcorrections\if@nobreak\m@csectiontrue\fi\begin{shaded}\ifm@csection\noindent\ignorespaces\fi\fi} {\ifcorrections\end{shaded}\m@csectionfalse\ifx\@captype\@undefined\@nobreakfalse\fi\fi} \usepackage{soul} \sethlcolor{shadecolor} \newcommand{\mccorrect}[1]{\ifcorrections\hl{#1}\else#1\fi} % JEM: adjust start-of-chapter spacing \renewcommand{\chapterheadstartvskip}{\vspace*{40pt}} \renewcommand{\chapterheadendvskip}{\vspace{30pt}} % JEM: combine all of the commands you run before appendices start \newcommand{\startappendices} {\appendix\adjustmtc\noappendicestocpagenum\addappheadtotoc\appendixpage}references.bib194 B
@book{berlin1953, author = {Berlin, Isaiah}, title = {The Hedgehog and the Fox: An Essay on Tolstoy's View of History}, publisher = {Weidenfeld \& Nicolson}, year = {1953} }main.pdfprebuilt · 217 KBReplaced by the first recompile.
Binary file, seeded as-is.
main.synctex.gzprebuilt · 11 KBReplaced by the first recompile.
Binary file, seeded as-is.