# Preparing your Ph.D. dissertation using LaTeX

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

# Preparing Your Ph.D. Dissertation Using LaTeX

The Graduate Division now requires that Ph.D. dissertations be submitted electronically as pdf files. In the Math Department, the recommended way of preparing a suitable pdf file is with LaTeX, using the ucbthesis document class.

Take careful note of the following:

• You should not use the ucthesis document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by ucbthesis.
• Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page Preparing your master's thesis using LaTeX.

In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-phd.html .

# Preparing the LaTeX File

To prepare the LaTeX file, copy the files from the sample thesis located at http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.

The document class ucbthesis is already installed on our computer network.

If you have already started your thesis using the ucbthesisnew document class, you only need to change the \documentclass line to use ucbthesis instead.

If you have been using the old ucthesis document class, then you should update your thesis to use ucbthesis instead, as follows:

• Use \documentclass{ucbthesis} instead of \documentclass{ucthesis}
• Do not use the \abstractsignature macro in your abstract
• The \prevdegrees macro will be ignored

## Diagrams

Keep in mind that when TeX produces pdf output, it handles graphics differently than it does when producing dvi output. Generally, for pdf output, graphics need to be provided in pdf format. An exception is that MetaPost output can be handled directly.

Therefore, if you normally use latex for producing drafts, sometime well in advance of the deadline you should make sure that you have no problems running pdflatex instead.

The ucbthesis package consists of the file ucbthesis.cls. This file is available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .

To install it as a document class on your home computer, download it and either put it in the same directory as your thesis files, or follow the instructions for your TeX installation on installing new LaTeX document classes.

# Steps for Final Submission

First, print the approval page. To do this, add a macro \approvalpage just after \maketitle in your LaTeX file, and run TeX as usual. You can then print just that page from xdvi, evince, or Adobe Reader (acroread) by going to that page and selecting the appropriate option on the "print" popup.

To create the final pdf version, do the following:

• Make sure that you are not invoking the \approvalpage macro.
• Make sure that you are not using the twoside option (page numbers are not allowed in the upper left-hand corner of a page).
• Instead of typing latex to create a dvi file, type pdflatex (or xelatex) instead. If you have just run latex several times to create a dvi file, then you need to type pdflatex only once; otherwise you should run pdflatex and bibtex in the same sequence as you would run latex and bibtex, respectively, when creating a dvi file.
• Check the thesis by running acroread or evince to view the resulting pdf file.
• For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".

You will also need to file the Dissertation Release Form; that form is not covered by this web page.

If you have any LaTeX-related questions about this process, email Paul Vojta at vojta@math.berkeley.edu.