# 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.
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9681645631790161, "perplexity": 2866.9792721653375}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2022-49/segments/1669446709929.63/warc/CC-MAIN-20221126212945-20221127002945-00542.warc.gz"}