Skip to Content

Sample Clinic and Thesis Reports

Our sample Clinic and thesis report gives you an example of each type of document along with lots of useful information about using LaTeX to write your thesis or Clinic report.


Source Archives

Compiled Documents

Typesetting the Document

To typeset the document, you will need to have the appropriate LaTeX class file in your TeX system's path. On the department's Linux systems, you don't have to do anything—the class files are installed in our /shared/local/texlive/texmf-local TEXMF tree.

Once you've downloaded and unpacked the source files for the sample reports, you can typeset them by running

For PostScript output

math% latex sample-type-report
math% bibtex sample-type-report
math% latex sample-type-report
math% latex sample-type-report
math% dvips sample-type-report

For PDF output

math% pdflatex sample-type-report
math% bibtex sample-type-report
math% pdflatex sample-type-report
math% pdflatex sample-type-report

(Where type is either thesis or clinic.)

If you have a graphical LaTeX editor, you can probably TeX the file by opening it and clicking on a button or choosing a menu item. In Emacs with AucTeX, you can type C-c C-c to use AucTeX's TeX support to run LaTeX or PDFLaTeX on the file.


The math Linux machines have a handy program called rubber installed. To get PostScript, run rubber -p sample-type-report; for PDF, do rubber -d sample-type-report. Rubber not only runs LaTeX or PDFLaTeX as many times as it needs to get all the references and citations filled in, but it will also run BibTeX, makeindex, dvips, and other programs to produce the final output.

man rubber has all the details.

Obtaining the Clinic and Thesis Classes

If you're working on your own machine or on a machine that's not part of our Linux cluster, you'll need to obtain the classes and install them in your TEXMF path. (If you don't know what a TEXMF path is, check the documentation for your TeX system—there's probably somewhere on your machine that the system uses to install packages and classes. If your system supports such a thing, you should use a “local TEXMF tree” or your own TEXMF tree somewhere in your home directory.)

If you can't find an appropriate place to put the hmcclinic or hmcthesis class files, you can place the unpacked contents of the archives for either class in the same directory as the unpacked sample document, and LaTeX or PDFLaTeX should be able to find the files you need there.

(Remember, you can download the latest version of the HMC Clinic Report Class or HMC Thesis Class from our LaTeX classes site.)