| 1 |
\chapter{What's All This, Then?} |
| 2 |
|
| 3 |
\section{Introduction} |
| 4 |
|
| 5 |
This is the project for the \texttt{uafthesis} \LaTeX document class, the |
| 6 |
official unofficial volunteer-driven document class for theses written for the |
| 7 |
University of Alaska Fairbanks, in \LaTeX. |
| 8 |
|
| 9 |
\section{Prerequisites} |
| 10 |
|
| 11 |
Before you decide to write your thesis in \LaTeX, you should already know a |
| 12 |
little \LaTeX and feel comfortable writing and compiling a simple document, |
| 13 |
especially one with figures and tables. |
| 14 |
|
| 15 |
Additionally, you will have to use \texttt{bibtex} (or some alternative) to keep |
| 16 |
track of references. It's not particularly difficult, but chances are you will |
| 17 |
have to either learn it or give yourself a refresher. |
| 18 |
|
| 19 |
One thing you will see in this example that you may not have encountered before |
| 20 |
is the use of \textbackslash input and \textbackslash include to split the project into multiple, smaller |
| 21 |
files. The most important difference is that \textbackslash include will wrap the included |
| 22 |
file in page-breaks, while \textbackslash input may as well be a copy-paste job. |
| 23 |
|
| 24 |
Another issue that may come up is having to run \texttt{pdflatex} and |
| 25 |
\texttt{bibtex} multiple times. In order to do a full compile without anything |
| 26 |
wrong, you will have to run something like the following commands: |
| 27 |
|
| 28 |
\begin{verbatim} |
| 29 |
pdflatex example |
| 30 |
pdflatex example |
| 31 |
pdflatex example |
| 32 |
bibtex example |
| 33 |
pdflatex example |
| 34 |
pdflatex example |
| 35 |
\end{verbatim} |
| 36 |
|
| 37 |
That's right, \texttt{pdflatex} gets ran five times. A similar situation arises |
| 38 |
from the use of vanilla \texttt{latex}. This is because of how \LaTeX generates |
| 39 |
files while compiling that it uses to fill in data during subsequent |
| 40 |
run-throughs. |
| 41 |
|
| 42 |
This can be mitigated somewhat by using some sort of build system. For example, |
| 43 |
Ryan Woodard advocated using a makefile to ease the pain. Another option may |
| 44 |
be Rubber, or even the full set of commands in a shell script. There are many |
| 45 |
techniques, some more appropriate than others. \cite{buildsystems} |
| 46 |
|
| 47 |
It is also worth your time to read other theses, to get an idea of how they |
| 48 |
should be written. This may seem obvious, but I will admit that I did not, and |
| 49 |
I ended up going through many a rewrite. Also obvious: This document is |
| 50 |
\emph{not} written like a thesis. Duh. |
| 51 |
|
| 52 |
Finally, \textbf{at least skim the UAF Thesis Handbook}. \cite{handbook} It's |
| 53 |
not hard, and it will give you an idea of what to expect in terms of formatting. |
| 54 |
In particular, as \texttt{uafthesis} is a volunteer effort, \emph{there is no |
| 55 |
guarantee that the graduate school's formatting guidelines are met by this |
| 56 |
document class.} Moreover, some things (such as proper initial capitals in title |
| 57 |
headings) are on you, and not something \texttt{uafthesis} does for you. |
| 58 |
|
| 59 |
|
| 60 |
\section{Installation} |
| 61 |
|
| 62 |
Like any \LaTeX files, there are basically two ways: |
| 63 |
|
| 64 |
\begin{itemize} |
| 65 |
\item Copy \texttt{uafthesis.cls} into the same folder as your project. This is |
| 66 |
probably the easiest way. |
| 67 |
\item Set yourself up with a properly indexed \texttt{~/texmf/latex} folder, |
| 68 |
create a new folder called ``uafthesis,'' and put \texttt{uafthesis.cls} into |
| 69 |
that folder. This involves some initial effort, but if you use \LaTeX regularly |
| 70 |
it's worthwhile for holding all sorts of packages. In fact, if you are a |
| 71 |
regular \LaTeX user, you may have already done this. |
| 72 |
\end{itemize} |
| 73 |
|
| 74 |
Which method you choose is up to you. |