| 1 |
% ======================================================================== |
| 2 |
% Copyright (c) 2006-2008 The University of Washington |
| 3 |
% |
| 4 |
% Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
% you may not use this file except in compliance with the License. |
| 6 |
% You may obtain a copy of the License at |
| 7 |
% |
| 8 |
% http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
% |
| 10 |
% Unless required by applicable law or agreed to in writing, software |
| 11 |
% distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
% See the License for the specific language governing permissions and |
| 14 |
% limitations under the License. |
| 15 |
% ======================================================================== |
| 16 |
% |
| 17 |
|
| 18 |
% Documentation for UW thesis document style for LaTeX |
| 19 |
% by Jim Fox |
| 20 |
% [email protected] |
| 21 |
% |
| 22 |
% Revised for version 2008/04/15 of uwthesis.cls |
| 23 |
% |
| 24 |
% This document is contained in a single file ONLY because |
| 25 |
% I wanted to be able to distribute it easily. A real thesis ought |
| 26 |
% to be contained on many files (e.g., one for each chapter, at least). |
| 27 |
% |
| 28 |
% To help you identify the files and sections in this large file |
| 29 |
% I use the string '==========' to identify new files. |
| 30 |
% |
| 31 |
% To help you ignore the unusual things I do with this sample document |
| 32 |
% I try to use the notation |
| 33 |
% |
| 34 |
% % --- sample stuff only ----- |
| 35 |
% special stuff for my document, but you don't need it in your thesis |
| 36 |
% % --- end-of-sample-stuff --- |
| 37 |
|
| 38 |
|
| 39 |
% Printed in twoside style now that that's allowed |
| 40 |
% |
| 41 |
|
| 42 |
\documentclass [11pt, twoside] {uwthesis} |
| 43 |
|
| 44 |
% |
| 45 |
% The following line would print the thesis in a postscript font |
| 46 |
|
| 47 |
% \usepackage{newcent} |
| 48 |
|
| 49 |
\setcounter{tocdepth}{1} % Print the chapter and sections to the toc |
| 50 |
|
| 51 |
|
| 52 |
% ========== Local defs and mods |
| 53 |
% |
| 54 |
|
| 55 |
% --- sample stuff only ----- |
| 56 |
% These format the sample code in this document |
| 57 |
|
| 58 |
\usepackage{alltt} % |
| 59 |
\newenvironment{demo} |
| 60 |
{\begin{alltt}\leftskip3em |
| 61 |
\def\\{\ttfamily\char`\\}% |
| 62 |
\def\{{\ttfamily\char`\{}% |
| 63 |
\def\}{\ttfamily\char`\}}} |
| 64 |
{\end{alltt}} |
| 65 |
|
| 66 |
% metafont font. If logo not available, use the second form |
| 67 |
% |
| 68 |
% \font\mffont=logosl10 scaled\magstep1 |
| 69 |
\let\mffont=\sf |
| 70 |
% --- end-of-sample-stuff --- |
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
\begin{document} |
| 76 |
|
| 77 |
% ========== Preliminary pages |
| 78 |
% |
| 79 |
|
| 80 |
\prelimpages |
| 81 |
|
| 82 |
% |
| 83 |
% ----- title page |
| 84 |
% |
| 85 |
\Title{The Suitability of the \LaTeX\ Text Formatter\\ |
| 86 |
for Thesis Preparation by Technical and\\ |
| 87 |
Non-technical Degree Candidates} |
| 88 |
\Author{Jim Fox} |
| 89 |
\Year{2008} |
| 90 |
\Program{UW Technology Services} |
| 91 |
% \titlepage |
| 92 |
|
| 93 |
% --- sample stuff only ----- |
| 94 |
% unusual footnote not found in a real thesis |
| 95 |
{\Degreetext{A dissertation% |
| 96 |
\footnote[2]{an egocentric imitation, actually} |
| 97 |
submitted in partial fulfillment of\\ |
| 98 |
the requirements for the degree of} |
| 99 |
\def\thefootnote{\fnsymbol{footnote}} |
| 100 |
\let\footnoterule\relax |
| 101 |
\titlepage |
| 102 |
} |
| 103 |
\setcounter{footnote}{0} |
| 104 |
% --- end-of-sample-stuff --- |
| 105 |
|
| 106 |
% |
| 107 |
% ----- signature page (put real names in these) |
| 108 |
% |
| 109 |
|
| 110 |
\Chair{Name of Chairperson}{Professor}{Chair's department} |
| 111 |
|
| 112 |
\Signature{Name of Committee member} |
| 113 |
\Signature{Name of Committee member} |
| 114 |
\Signature{etc} |
| 115 |
\signaturepage |
| 116 |
|
| 117 |
|
| 118 |
% ----- quoteslip |
| 119 |
% |
| 120 |
|
| 121 |
% --- sample stuff only ----- |
| 122 |
\setcounter{page}{-1} |
| 123 |
\quoteslip{% |
| 124 |
Extensive copying of this demonstration thesis, |
| 125 |
including its input files and macro package, |
| 126 |
is allowable for scholarly purposes, consistent with ``fair use'' as |
| 127 |
prescribed in the U.S. Copyright Law. |
| 128 |
Requests for copying or reproduction of this thesis |
| 129 |
may be avoided by a simple connection to the author's web site at |
| 130 |
|
| 131 |
\begin{center} |
| 132 |
\texttt{http://staff.washington.edu/fox/tex/uwthesis.html} |
| 133 |
\end{center} |
| 134 |
|
| 135 |
\noindent |
| 136 |
where all the necessary files and documentation |
| 137 |
may be found. |
| 138 |
} |
| 139 |
% --- end-of-sample-stuff --- |
| 140 |
|
| 141 |
% These are the real quote slips (choose one) |
| 142 |
|
| 143 |
% \thesisquoteslip |
| 144 |
|
| 145 |
% \doctoralquoteslip |
| 146 |
|
| 147 |
% \doctoralabstractquoteslip |
| 148 |
|
| 149 |
|
| 150 |
% |
| 151 |
% ----- abstract |
| 152 |
% |
| 153 |
|
| 154 |
|
| 155 |
\setcounter{page}{-1} |
| 156 |
\abstract{% |
| 157 |
This sample dissertation is an aid to students who are attempting |
| 158 |
to format their theses with \LaTeX, a sophisticated |
| 159 |
text formatter widely available at the University of Washington |
| 160 |
and other institutions of higher learning. |
| 161 |
|
| 162 |
\begin{itemize} |
| 163 |
\item It describes the use of a specialized |
| 164 |
macro package developed specifically for thesis production |
| 165 |
at the University. |
| 166 |
The macros customize \LaTeX\ for the correct thesis style, |
| 167 |
allowing the student to concentrate on the substance of |
| 168 |
his or her text.% |
| 169 |
\footnote{See Appendix A to obtain the source to this |
| 170 |
thesis and the style file.} |
| 171 |
\item It demonstrates the solutions to a variety of |
| 172 |
formatting challenges found in thesis production. |
| 173 |
\item It serves as a template for a real dissertation. |
| 174 |
\end{itemize} |
| 175 |
} |
| 176 |
|
| 177 |
% |
| 178 |
% ----- contents & etc. |
| 179 |
% |
| 180 |
\tableofcontents |
| 181 |
\listoffigures |
| 182 |
%\listoftables % I have no tables |
| 183 |
|
| 184 |
% |
| 185 |
% ----- glossary |
| 186 |
% |
| 187 |
\chapter*{Glossary} % starred form omits the `chapter x' |
| 188 |
\addcontentsline{toc}{chapter}{Glossary} |
| 189 |
\thispagestyle{plain} |
| 190 |
% |
| 191 |
\begin{glossary} |
| 192 |
\item[argument] replacement text which customizes a \LaTeX\ macro for |
| 193 |
each particular usage. |
| 194 |
\item[back-up] a copy of a file to be used when catastrophe strikes |
| 195 |
the original. People who make no back-ups deserve |
| 196 |
no sympathy. |
| 197 |
\item[class] a set of macros that combine for a single |
| 198 |
purpose. This thesis package constitute a class. |
| 199 |
\item[control sequence] the normal form of a command to \LaTeX. |
| 200 |
\item[delimiter] something, often a character, that indicates |
| 201 |
the beginning and ending of an argument. |
| 202 |
More generally, a delimiter is a field separator. |
| 203 |
\item[document class] a file of macros that tailors \LaTeX\ for |
| 204 |
a particular document. The macros described by this thesis |
| 205 |
constitute a document class. |
| 206 |
\item[document option] a macro or file of macros |
| 207 |
that further modifies \LaTeX\ for |
| 208 |
a particular document. The option {\tt[chapternotes]} |
| 209 |
constitutes a document option. |
| 210 |
\item[figure] illustrated material, including graphs, |
| 211 |
diagrams, drawings and photographs. |
| 212 |
\item[font] a character set (the alphabet plus digits |
| 213 |
and special symbols) of a particular size and style. A couple of fonts |
| 214 |
used in this thesis are twelve point roman and {\sl twelve point roman |
| 215 |
slanted}. |
| 216 |
\item[footnote] a note placed at the bottom of a page, end of a chapter, |
| 217 |
or end of a thesis that comments on or cites a reference |
| 218 |
for a designated part of the text. |
| 219 |
\item[formatter] (as opposed to a word-processor) arranges printed |
| 220 |
material according to instructions embedded in the text. |
| 221 |
A word-processor, on the other hand, is normally controlled |
| 222 |
by keyboard strokes that move text about on a display. |
| 223 |
\item[\LaTeX] simply the ultimate in computerized typesetting. |
| 224 |
\item[macro] a complex control sequence composed of |
| 225 |
other control sequences. |
| 226 |
\item[pica] a unit of length. One pica is twelve points and |
| 227 |
six picas is about an inch. |
| 228 |
\item[point] a unit of length. 72.27 points equals one inch. |
| 229 |
\item[roman] a conventional printing typestyle using serifs. |
| 230 |
the decorations on the ends of letter strokes. |
| 231 |
This thesis is set in roman type. |
| 232 |
\item[rule] a straight printed line; e.g., \hrulefill. |
| 233 |
\item[serif] the decoration at the ends of letter strokes. |
| 234 |
\item[table] information placed in a columnar arrangement. |
| 235 |
\item[thesis] either a master's thesis or a doctoral dissertation. |
| 236 |
This document also refers to itself as a thesis, although it |
| 237 |
really is not one. |
| 238 |
|
| 239 |
\end{glossary} |
| 240 |
|
| 241 |
% |
| 242 |
% ----- acknowledgments |
| 243 |
% |
| 244 |
\acknowledgments{% \vskip2pc |
| 245 |
% {\narrower\noindent |
| 246 |
The author wishes to express sincere appreciation to |
| 247 |
University of Washington, where he has had the opportunity |
| 248 |
to work with the \TeX\ formatting system, |
| 249 |
and to the author of \TeX, Donald Knuth, {\it il miglior fabbro}. |
| 250 |
% \par} |
| 251 |
} |
| 252 |
|
| 253 |
% |
| 254 |
% ----- dedication |
| 255 |
% |
| 256 |
\dedication{\begin{center}to my dear wife, Joanna\end{center}} |
| 257 |
|
| 258 |
% |
| 259 |
% end of the preliminary pages |
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
% |
| 264 |
% ========== Text pages |
| 265 |
% |
| 266 |
|
| 267 |
\textpages |
| 268 |
|
| 269 |
% ========== Chapter 1 |
| 270 |
|
| 271 |
\chapter {Introduction} |
| 272 |
|
| 273 |
The utility of a clean, professionally prepared thesis is well |
| 274 |
documented% |
| 275 |
\footnote{See, for example, |
| 276 |
W.~Shakespeare\cite{Hamlet} for a recent discussion.} |
| 277 |
but, until recently, a degree candidate had no recourse but |
| 278 |
to submit his or her thesis to a typist for completion. |
| 279 |
Revisions were difficult and time consuming, and even at its best the |
| 280 |
resultant thesis still looked typed. |
| 281 |
The advent of computerized typesetting has revolutionized |
| 282 |
thesis preparation, and \TeX\ in particular brings to the |
| 283 |
university student the power and flexibility of an |
| 284 |
`industrial-strength' typesetter. |
| 285 |
|
| 286 |
|
| 287 |
\TeX\ is a flexible, |
| 288 |
complete, and professional typesetting system. |
| 289 |
It has been programmed to produce |
| 290 |
the same document on all machines, so |
| 291 |
a suitable printer can always be found for the final copy |
| 292 |
while drafts are made on more conventional and inexpensive printers. |
| 293 |
The `suitable' standard is a 300 dot-per-inch laser printer, |
| 294 |
which is excellent for thesis production. Many such laser printers |
| 295 |
are available about the campus. |
| 296 |
|
| 297 |
\section{The Purpose of This Sample Thesis} |
| 298 |
|
| 299 |
This sample is both a demonstration of the quality and |
| 300 |
propriety of a \LaTeX\footnote{We mean the \LaTeXe\ version |
| 301 |
of \LaTeX. Earlier versions, now called \LaTeX2.10 were much |
| 302 |
different.} formatted thesis, and is |
| 303 |
documentation for the preparation of a thesis. |
| 304 |
It has made extensive use of a custom class file |
| 305 |
developed specifically for this purpose |
| 306 |
at the University of Washington. Chapter~II discusses |
| 307 |
\TeX\ and \LaTeX. |
| 308 |
Chapter III describes the additional macros and functions |
| 309 |
provided by the custom thesis class file. Finally, Chapter IV discusses |
| 310 |
some special problems due to the inherent differences among the various |
| 311 |
computers and printers that support \LaTeX. |
| 312 |
|
| 313 |
It is |
| 314 |
impossible to predict all the formatting problems one will encounter |
| 315 |
and there will be problems that are best handled |
| 316 |
by a specialist. |
| 317 |
The Graduate School may be able to help you find help. |
| 318 |
Some departments may also be able to provide \LaTeX\ assistance. |
| 319 |
|
| 320 |
|
| 321 |
\section{Conventions and Notations} |
| 322 |
|
| 323 |
In this thesis the typist |
| 324 |
refers to the user of \LaTeX---the one who |
| 325 |
makes formatting decisions and chooses the appropriate |
| 326 |
formatting commands. |
| 327 |
He or she will most often be the degree candidate. |
| 328 |
|
| 329 |
This document deals with \LaTeX\ typesetting commands and their |
| 330 |
functions. Wherever possible the conventions used to display |
| 331 |
text entered by the typist and the resulting formatted output |
| 332 |
are the same as those used by the \TeX books. |
| 333 |
Therefore, {\tt typewriter type} is used to indicate text |
| 334 |
as typed by the computer |
| 335 |
or entered by the typist. |
| 336 |
It is quite the opposite of {\it italics,} which indicates |
| 337 |
a category rather than exact text. For example, |
| 338 |
{\tt alpha} and {\tt beta} might each be an example of a {\it label}. |
| 339 |
|
| 340 |
|
| 341 |
\section{Nota bene} |
| 342 |
|
| 343 |
This sample thesis was produced by the \LaTeX\ document class it describes |
| 344 |
and is acceptable to the Graduate School% |
| 345 |
\cite{SP}. |
| 346 |
However, the use of this package does not guarantee acceptability |
| 347 |
of a particular thesis. |
| 348 |
|
| 349 |
|
| 350 |
% ========== Chapter 2 |
| 351 |
|
| 352 |
\chapter{A Brief \\ Description of \protect\TeX} |
| 353 |
|
| 354 |
The \TeX\ formatting program is the creation of |
| 355 |
Donald Knuth of Stanford University. |
| 356 |
It has been implemented on nearly every general purpose computer and |
| 357 |
produces exactly\footnote{``Exactly'' specifically excludes the |
| 358 |
inherent variety in print devices.} |
| 359 |
the same copy on all machines. |
| 360 |
|
| 361 |
\section{What is it; why is it spelled that way; |
| 362 |
and what do |
| 363 |
really long section titles look like in the text and in the |
| 364 |
Table of Contents?} |
| 365 |
|
| 366 |
\TeX\ is a formatter. A document's format is controlled |
| 367 |
by commands embedded in the text. |
| 368 |
% The peculiar look to the names indicate that \TeX\ is also |
| 369 |
% a typesetting program. Each character and rule on the page |
| 370 |
% is precisely positioned. |
| 371 |
\LaTeX\ is a special version of \TeX---preloaded |
| 372 |
with a voluminous set of macros that simplify most |
| 373 |
formatting tasks. |
| 374 |
|
| 375 |
\TeX\ uses {\it control sequences} to control |
| 376 |
the formatting of a document. These control sequences are usually |
| 377 |
words or groups of letters prefaced with the backslash character |
| 378 |
({\tt\char'134}). |
| 379 |
For example, |
| 380 |
Figure \ref{start-2} shows the text that printed the beginning |
| 381 |
of this chapter. Note the control sequence \verb"\chapter" that |
| 382 |
instructed \TeX\ to start a new chapter, print the title, and |
| 383 |
make an entry in the table of contents. It is an example |
| 384 |
of a macro defined by the \LaTeX\ macro package. |
| 385 |
The control sequence \verb"\TeX", which prints the word \TeX, |
| 386 |
is a standard macro from the {\it\TeX book}. |
| 387 |
The short control sequence \verb"\\" in the title instructed \TeX\ to |
| 388 |
break the title line at that point. |
| 389 |
This capability is an example of an extension to \LaTeX\ |
| 390 |
provided by the uwthesis document class. |
| 391 |
|
| 392 |
\begin{figure} |
| 393 |
\begin{demo} |
| 394 |
\\chapter\{A Brief\\\\Description of \\TeX\} |
| 395 |
|
| 396 |
The \\TeX\\ formatting program is the creation of |
| 397 |
Donald Knuth of Stanford University. |
| 398 |
\end{demo} |
| 399 |
\label{start-2} |
| 400 |
\caption{The beginning of the Chapter II text} |
| 401 |
\end{figure} |
| 402 |
|
| 403 |
Most of the time \TeX\ is simply building paragraphs from |
| 404 |
text in your source files. No control sequences are involved. |
| 405 |
New paragraphs are indicated by a blank line in the |
| 406 |
input file. |
| 407 |
Hyphenation is performed automatically. |
| 408 |
|
| 409 |
\section{\TeX books} |
| 410 |
|
| 411 |
The primary reference for \LaTeX\ is Lamport's second edition |
| 412 |
of the \textit{\LaTeX\ User's Guide}\cite{Lbook}. |
| 413 |
It is easily read and should be sufficient for thesis formatting. |
| 414 |
See also the \textsl{\LaTeX\ Companion}\cite{companion} for descriptions |
| 415 |
of many add-on macro packages. |
| 416 |
|
| 417 |
Although unnecessary for thesis writers, the \textsl{\TeX book} |
| 418 |
is the primary reference for \TeX sperts worldwide. |
| 419 |
|
| 420 |
\section{Mathematics} |
| 421 |
|
| 422 |
The thesis class does not expand on \TeX's |
| 423 |
or \LaTeX's |
| 424 |
comprehensive treatment of mathematical equation printing.% |
| 425 |
\label{c2note}\footnote{% |
| 426 |
% a long footnote indeed. |
| 427 |
Although many \TeX-formatted documents contain no |
| 428 |
mathematics except the page numbers, it seems appropriate |
| 429 |
that this paper, which is in some sense about \TeX, |
| 430 |
ought to demonstrate an equation or two. Here then, is a statement |
| 431 |
of the {\it Nonsense Theorem}. |
| 432 |
|
| 433 |
\smallskip |
| 434 |
\def\RR{{\cal R\kern-.15em R}} |
| 435 |
{\narrower\hangindent\parindent Assume a universe $E$ and a symmetric function |
| 436 |
$\$$ defined on $E$, such that for each $\$^{yy}$ there exists a |
| 437 |
$\$^{\overline{yy}}$, where $\$^{yy} = \$^{\overline{yy}}$. |
| 438 |
For each element $i$ of $E$ define |
| 439 |
${\cal S}(i)=\sum_i \$^{yy}+\$^{\overline{yy}}+0$. |
| 440 |
Then if $\RR$ is that subset of $E$ where $1+1=3$, |
| 441 |
for each $i$ |
| 442 |
$$\lim_{\$\to\infty}\int {\cal S}di = |
| 443 |
\cases{0,&if $i\not\in\RR$;\cr |
| 444 |
\infty,&if $i\in\RR$.\cr}$$ |
| 445 |
\par}} % end of the footnote |
| 446 |
% |
| 447 |
The {\it\TeX book}\cite{book}, {\it \LaTeX\ User's Guide}\cite{Lbook}, |
| 448 |
and {\it The \LaTeX\ Companion}\cite{companion} |
| 449 |
thoroughly cover this topic. |
| 450 |
|
| 451 |
|
| 452 |
\section{Languages other than English} |
| 453 |
|
| 454 |
Most \LaTeX\ implementations at the University are tailored |
| 455 |
for the English language. However, \LaTeX\ will format many |
| 456 |
other languages. |
| 457 |
Consult your department or contact the |
| 458 |
Center for Advanced Research Technology in the Arts and Humanities (CARTAH), |
| 459 |
\smallskip |
| 460 |
\begin{center} |
| 461 |
{\tt [email protected]}, |
| 462 |
\end{center} |
| 463 |
\smallskip |
| 464 |
for assistance with non-English formatting. |
| 465 |
|
| 466 |
Unusual characters can be defined via the |
| 467 |
font maker \hbox{\mffont METAFONT} (documented by Knuth\cite{Metafont}). |
| 468 |
The definitions are not trivial. |
| 469 |
Students who attempt to print a thesis with |
| 470 |
custom fonts may soon proclaim, |
| 471 |
|
| 472 |
% note. This is not the correct way to print Greek |
| 473 |
\medskip |
| 474 |
\begin{center} |
| 475 |
``$\mathaccent"7027\alpha\pi o\kern1pt\theta\alpha\nu\epsilon\hat\iota\nu$ |
| 476 |
\ $\theta\acute\epsilon\lambda\omega$.'' |
| 477 |
|
| 478 |
\end{center} |
| 479 |
|
| 480 |
% ========== Chapter 3 |
| 481 |
|
| 482 |
\chapter{The Thesis Unformatted} |
| 483 |
|
| 484 |
This chapter describes the uwthesis class (\texttt{uwthesis.cls}, |
| 485 |
version dated 2008/04/15) |
| 486 |
in detail |
| 487 |
and shows how it was used to format the thesis. |
| 488 |
A working knowledge of Lamport's \LaTeX\ manual\cite{Lbook} is assumed. |
| 489 |
|
| 490 |
\section{The Control File} |
| 491 |
|
| 492 |
The source to this sample thesis is contained in a single file |
| 493 |
only because ease of distribution was a concern. |
| 494 |
You should not do this. Your task will be much easier if you |
| 495 |
break your thesis into several files: a file for the preliminary pages, |
| 496 |
a file for each chapter, one for the glossary, and one for each |
| 497 |
appendix. Then use a control file to tie them all together. |
| 498 |
This way you can edit and format parts of your thesis much more |
| 499 |
efficiently. |
| 500 |
|
| 501 |
Figure~\ref{control-file} shows a control file that |
| 502 |
might have produced this thesis. |
| 503 |
It sets the document style, with options and parameters, |
| 504 |
and formats the various parts of the thesis---% |
| 505 |
but contains no text of its own. |
| 506 |
|
| 507 |
|
| 508 |
% control file caption and figure |
| 509 |
% |
| 510 |
\begin{figure}[p] |
| 511 |
\begin{leftfullpage} |
| 512 |
\caption[A thesis control file]% |
| 513 |
{\narrower A thesis control file ({\tt thesis.tex}). |
| 514 |
This file is the input to \LaTeX\ that will produce a |
| 515 |
thesis. It contains no text, only commands which |
| 516 |
direct the formatting of the thesis. |
| 517 |
This is also an example of a `facing page' caption. It is guaranteed |
| 518 |
to appear on a lefthand page, facing the figure contents on the right. |
| 519 |
See the text.} |
| 520 |
\label{control-file} |
| 521 |
\end{leftfullpage} |
| 522 |
\end{figure} |
| 523 |
% |
| 524 |
\begin{figure}[p] |
| 525 |
% |
| 526 |
\begin{fullpage} |
| 527 |
\footnotesize |
| 528 |
\begin{verbatim} |
| 529 |
% LaTeX thesis control file |
| 530 |
|
| 531 |
\documentclass[11pt,twoside]{uwthesis} |
| 532 |
|
| 533 |
\begin{document} |
| 534 |
|
| 535 |
% preliminary pages |
| 536 |
% |
| 537 |
\prelimpages |
| 538 |
\include{prelim} |
| 539 |
|
| 540 |
% text pages |
| 541 |
% |
| 542 |
\textpages |
| 543 |
\include{chap1} |
| 544 |
\include{chap2} |
| 545 |
\include{chap3} |
| 546 |
\include{chap4} |
| 547 |
|
| 548 |
% bibliography |
| 549 |
% |
| 550 |
\bibliographystyle{plain} |
| 551 |
\bibliography{thesis} |
| 552 |
|
| 553 |
% appendices |
| 554 |
% |
| 555 |
\appendix |
| 556 |
\include{appxa} |
| 557 |
\include{appxb} |
| 558 |
|
| 559 |
\include{vita} |
| 560 |
\end{document} |
| 561 |
\end{verbatim} |
| 562 |
\end{fullpage} |
| 563 |
\end{figure} |
| 564 |
|
| 565 |
The first section, from the \verb"\documentclass" to |
| 566 |
the \verb"\begin\{document\}", defines the document class and options. |
| 567 |
This thesis has specified two-sided formatting, which is now |
| 568 |
allowed by the Graduate School. Two sided printing is now |
| 569 |
actually \LaTeX's default. If you want one sided printing |
| 570 |
you must specify \verb"oneside". |
| 571 |
This sample also specified a font size |
| 572 |
of 11 points. |
| 573 |
Possible font size options are: \verb"10pt", \verb"11pt", and \verb"12pt". |
| 574 |
Default is 12 points, which is the preference |
| 575 |
of the Graduate School. If you choose a smaller size be sure to |
| 576 |
check with the Graduate School for acceptability. The smaller fonts |
| 577 |
can produce very small sub and superscripts. |
| 578 |
|
| 579 |
Include most additional formatting packages with \verb"\usepackage", |
| 580 |
as describe by Lamport\cite{Lbook}. The one exception to this |
| 581 |
rule is the \verb"natbib" package. Include it with the \verb"natbib" |
| 582 |
document option. |
| 583 |
|
| 584 |
Use the \verb"\includeonly" command to format only a part of your |
| 585 |
thesis. See Lamport\cite[sec. 4.4]{Lbook} for usage and limitations. |
| 586 |
|
| 587 |
|
| 588 |
\section{The Text Pages} |
| 589 |
|
| 590 |
A chapter is a major division of the thesis. Each chapter begins |
| 591 |
on a new page and has a Table of Contents entry. |
| 592 |
|
| 593 |
\subsection{Chapters, Sections, Subsections, and Appendices} |
| 594 |
|
| 595 |
|
| 596 |
Within the chapter title use a \verb"\\" control sequence to separate lines |
| 597 |
in the printed title (recall Figure \ref{start-2}.). |
| 598 |
The \verb"\\" does not affect the Table of Contents entry. |
| 599 |
|
| 600 |
Format appendices just like chapters. |
| 601 |
The control sequence \verb"\appendix" instructs \LaTeX\ to |
| 602 |
begin using the term `Appendix' rather than `Chapter'. |
| 603 |
|
| 604 |
|
| 605 |
Sections and subsections of a chapter are specified |
| 606 |
by \verb"\section" and \verb"\subsection", respectively. |
| 607 |
In this thesis chapter and section |
| 608 |
titles are written to the table of contents. |
| 609 |
Consult Lamport\cite[pg. 176]{Lbook} to see which |
| 610 |
subdivisions of the thesis can be written to the table of contents. |
| 611 |
The \verb"\\" control sequence is not permitted in section and |
| 612 |
subsection titles. |
| 613 |
|
| 614 |
|
| 615 |
\subsection{Footnotes} |
| 616 |
|
| 617 |
\label{footnotes} |
| 618 |
Footnotes format as described in the \LaTeX\ book. You can also |
| 619 |
ask for end-of-chapter or end-of-thesis notes. |
| 620 |
The thesis class will automatically set these up if |
| 621 |
you ask for the document class option \texttt{chapternotes} |
| 622 |
or \texttt{endnotes}. |
| 623 |
|
| 624 |
If selected, chapternotes will print automatically. If you choose |
| 625 |
endnotes however you must explicitly indicate when to print the notes |
| 626 |
with the command \verb"\printendnotes". See the style guide for |
| 627 |
suitable endnote placement. |
| 628 |
|
| 629 |
\subsection{Figures and Tables} |
| 630 |
Standard \LaTeX\ figures and tables, see Lamport\cite[sec.~C.9]{Lbook}, |
| 631 |
normally provide the most convenient means to position the figure. |
| 632 |
Full page floats and facing captions are exceptions to this rule. |
| 633 |
|
| 634 |
If you want a figure or table to occupy a full page enclose the |
| 635 |
contents in a \texttt{fullpage} environment. |
| 636 |
See figures~\ref{facing-caption}. |
| 637 |
|
| 638 |
Facing page captions are described |
| 639 |
in the Style Manual\cite{SP}. They have different meanings |
| 640 |
depending on whether you are using |
| 641 |
the one-side or two-side thesis style. |
| 642 |
|
| 643 |
|
| 644 |
If you are using the two-side style, |
| 645 |
facing captions |
| 646 |
are full page captions for full page figures or tables |
| 647 |
and must face the illustration to which they refer. |
| 648 |
You must explicitly format both pages. |
| 649 |
The caption part must appear on an even page |
| 650 |
(left side) and the figure or table must |
| 651 |
come on the following odd page (right side). |
| 652 |
Enclose the float contents for the caption |
| 653 |
in a \texttt{leftfullpage} environment, |
| 654 |
and enclose the float contents for the figure or table |
| 655 |
in a \texttt{fullpage} environment. |
| 656 |
Figure~\ref{control-file}, for example, |
| 657 |
required a full page so its caption (on a facing caption page) |
| 658 |
would have been formatted as shown in figure~\ref{facing-caption}a. |
| 659 |
The first page (left side) contains the caption. The second page |
| 660 |
(right side) could be left blank. A picture or graph might be pasted onto |
| 661 |
this space. |
| 662 |
|
| 663 |
|
| 664 |
\begin{figure}[t] |
| 665 |
\footnotesize |
| 666 |
\begin{verbatim} |
| 667 |
\begin{figure}[p]% the left side caption |
| 668 |
\begin{leftfullpage} |
| 669 |
\caption{ . . . } |
| 670 |
\end{leftfullpage} |
| 671 |
\end{figure} |
| 672 |
\begin{figure}[p]% the right side space |
| 673 |
\begin{fullpage} |
| 674 |
. . . |
| 675 |
( note.. no caption here ) |
| 676 |
\end{fullpage} |
| 677 |
\end{figure} |
| 678 |
\end{verbatim} |
| 679 |
\caption(a){This text would create a |
| 680 |
double page figure in the two-side style.} |
| 681 |
\label{facing-caption} |
| 682 |
\end{figure} |
| 683 |
|
| 684 |
\begin{figure}[t] |
| 685 |
\footnotesize |
| 686 |
\begin{verbatim} |
| 687 |
\begin{figure}[p] |
| 688 |
\begin{leftfullpage} |
| 689 |
\caption{ . . . } |
| 690 |
\end{leftfullpage} |
| 691 |
\end{figure} |
| 692 |
\begin{figure}[p]% the right side space |
| 693 |
\begin{xtrafullpage} |
| 694 |
. . . |
| 695 |
( note.. no caption here ) |
| 696 |
\end{xtrafullpage} |
| 697 |
\end{figure} |
| 698 |
\end{verbatim} |
| 699 |
\caption(b)[Generating a facing caption page]{This text would create a |
| 700 |
facing caption page with the accompaning figure in the one-side style.} |
| 701 |
\end{figure} |
| 702 |
|
| 703 |
If instead you are using the one-side style, |
| 704 |
facing caption pages are still |
| 705 |
captions for full page figures or tables |
| 706 |
that appear on the left-hand page (facing the illustration on the |
| 707 |
right-hand page). |
| 708 |
However, the page number and binding offset are reversed |
| 709 |
from their normal positions. |
| 710 |
Format these captions by enclosing the float contents |
| 711 |
in a \texttt{leftfullpage} environment. |
| 712 |
Because you are printing on only one side of each sheet, you must manually |
| 713 |
turn over this caption sheet. |
| 714 |
You then have the choice of inserting a preprinted illustration or |
| 715 |
formatting one to print with the thesis. |
| 716 |
In either case no page number should appear |
| 717 |
on the illustration page, nor should the page number increment. |
| 718 |
Enclose your figure's text |
| 719 |
in an \texttt{xtrafullpage} environment, which will cause the |
| 720 |
page numbers to come out right. |
| 721 |
You can, of course, leave out the illustration and insert a preprinted |
| 722 |
copy later. |
| 723 |
Figure~\ref{facing-caption}b shows how to format a facing caption page |
| 724 |
in the one-side style. Note that, in this case, the illustration |
| 725 |
was also printed. |
| 726 |
|
| 727 |
In the two-side style the \texttt{xtrafullpage} environment acts just like the |
| 728 |
\texttt{fullpage} environment. It does not produce a numberless page. |
| 729 |
|
| 730 |
|
| 731 |
|
| 732 |
\subsection{Horizontal Figures and Tables} |
| 733 |
Figures and tables may be formatted horizontally |
| 734 |
(a.k.a.\ landscape) as long as their captions appear |
| 735 |
horizontal also. \LaTeX\ will format landscape material for you |
| 736 |
if a couple of conditions are met. You have to have a printer |
| 737 |
and printer driver that allow rotations and |
| 738 |
you have to have a couple of add-on \LaTeX\ packages. |
| 739 |
|
| 740 |
% Users of PostScript printers and Uniform Access computers |
| 741 |
% at the University of Washington will conform to both requirements, |
| 742 |
% as will users of PC\TeX\ if they use postscript. |
| 743 |
|
| 744 |
Include the \texttt{rotating} package |
| 745 |
\begin{demo} |
| 746 |
\\usepackage[figuresright]\{rotating\} |
| 747 |
\end{demo} |
| 748 |
and read the documentation that comes with the package. |
| 749 |
|
| 750 |
Figure~\ref{sideways} is an example of how a landscape |
| 751 |
table might be formatted. |
| 752 |
|
| 753 |
\begin{figure}[t] |
| 754 |
\footnotesize |
| 755 |
\begin{verbatim} |
| 756 |
\begin{sidewaystable} |
| 757 |
... |
| 758 |
\caption{ . . . } |
| 759 |
\end{sidewaystable} |
| 760 |
\end{verbatim} |
| 761 |
\caption[Generating a landscape table]{This text would create a |
| 762 |
landscape table with caption.} |
| 763 |
\label{sideways} |
| 764 |
\end{figure} |
| 765 |
|
| 766 |
|
| 767 |
|
| 768 |
\subsection{Figure and Table Captions} |
| 769 |
Most captions are formatted with the \verb"\caption" macro as described |
| 770 |
by Lamport\cite[sec. C.9]{Lbook}. |
| 771 |
The uwthesis class extends this macro to allow |
| 772 |
continued figures and tables, and to provide multiple figures and |
| 773 |
tables with the same number, e.g., 3.1a, 3.1b, etc. |
| 774 |
|
| 775 |
To format the caption for the first part of |
| 776 |
a figure or table that cannot fit |
| 777 |
onto a single page use the standard form: |
| 778 |
\begin{demo} |
| 779 |
\\caption[\textit{toc}]\{\textit{text}\} |
| 780 |
\end{demo} |
| 781 |
To format the caption for the subsequent parts of |
| 782 |
the figure or table |
| 783 |
use this caption: |
| 784 |
\begin{demo} |
| 785 |
\\caption(-)\{(continued)\} |
| 786 |
\end{demo} |
| 787 |
It will keep the same number and the text of the caption will be |
| 788 |
{\em(continued)}. |
| 789 |
|
| 790 |
To format the caption for the first part of |
| 791 |
a multi-part figure or table |
| 792 |
use the format: |
| 793 |
\begin{demo} |
| 794 |
\\caption(a)[\textit{toc}]\{\textit{text}\} |
| 795 |
\end{demo} |
| 796 |
The figure or table will be lettered (with `a') as well as numbered. |
| 797 |
To format the caption for the subsequent parts of |
| 798 |
the multi-part figure or table |
| 799 |
use the format: |
| 800 |
\begin{demo} |
| 801 |
\\caption(\textit{x})\{\textit{text}\} |
| 802 |
\end{demo} |
| 803 |
where {\em x} is {\tt b}, {\tt c}, \ldots. |
| 804 |
The parts will be lettered (with `b', `c', \ldots). |
| 805 |
|
| 806 |
\section{The Preliminary Pages} |
| 807 |
|
| 808 |
These are easy to format only because they are relatively invariant |
| 809 |
among theses. Therefore the difficulties have already been encountered |
| 810 |
and overcome by \LaTeX\ and the thesis document classes. |
| 811 |
|
| 812 |
\subsection{Title page} |
| 813 |
Define \verb"\Title", \verb"\Author", \verb"\Program", and \verb"\Year" |
| 814 |
and then print the |
| 815 |
title page with \verb"\titlepage". |
| 816 |
The title page of this thesis was printed with% |
| 817 |
\footnote{Actually, it wasn't. It included a footnote---unusual for |
| 818 |
title pages.} |
| 819 |
|
| 820 |
\begin{demo} |
| 821 |
\\Title\{The Suitability of the \\LaTeX\\ Text Formatter\\\\ |
| 822 |
for Thesis Preparation by Technical and\\\\ |
| 823 |
Non-technical Degree Candidates\} |
| 824 |
\\Author\{Jim Fox\} |
| 825 |
\\Program\{UW Technology Services\} |
| 826 |
\\Year\{1999\} |
| 827 |
\\titlepage |
| 828 |
\end{demo} |
| 829 |
|
| 830 |
You may also change other text on the title page with these |
| 831 |
macros. You will have to redefine \verb"\Degreetext", for instance, |
| 832 |
if you're writing a Master's thesis instead of a dissertation. |
| 833 |
|
| 834 |
\begin{list}{}{\itemindent\parindent\itemsep0pt |
| 835 |
\def\makelabel#1{\texttt{\char`\\#1}\hfill}} |
| 836 |
\item[Degree\char`\{{\it degree name}\char`\}] |
| 837 |
defaults to ``Doctor of Philosophy'' |
| 838 |
\item[School\char`\{{\it school name}\char`\}] defaults to |
| 839 |
``University of Washington'' |
| 840 |
\item[Degreetext\char`\{{\it degree text}\char`\}] defaults to |
| 841 |
``A dissertation submitted \ldots'' |
| 842 |
\end{list} |
| 843 |
|
| 844 |
These definitions must appear \underline{before} the \verb"\titlepage" command. |
| 845 |
|
| 846 |
\subsection{Signature page} |
| 847 |
Define \verb"\Chair" and as many \verb"\Signature" lines as |
| 848 |
you need |
| 849 |
and then print the |
| 850 |
signature page with \verb"\signaturepage". |
| 851 |
The signature page of this thesis was printed with |
| 852 |
|
| 853 |
\begin{demo} |
| 854 |
\\Chair\{Name of Chairperson\}\{title\}\{Chair's department\} |
| 855 |
|
| 856 |
\\Signature\{Name of Committee member\} |
| 857 |
\\Signature\{Name of Committee member\} |
| 858 |
\\Signature\{etc\} |
| 859 |
\\signaturepage |
| 860 |
\end{demo} |
| 861 |
|
| 862 |
You have to put in the real names. Notice the definition |
| 863 |
of \verb"\Chair" has three arguments. |
| 864 |
The second (Chair's title) and third (Chair's department) |
| 865 |
will be used on the Abstract page. |
| 866 |
|
| 867 |
If you have co-chairs just repeat the \verb"\Chair" definition. |
| 868 |
|
| 869 |
For a Master's Thesis omit the \verb"\Chair" definitions and |
| 870 |
use \verb"\thesissignaturepage". |
| 871 |
|
| 872 |
\subsection{Quote slip} |
| 873 |
Use one of the ``quoteslip'' macros to format your quote slip: |
| 874 |
|
| 875 |
\begin{itemize} |
| 876 |
\item \verb"\thesisquoteslip", for a master's thesis; |
| 877 |
\item \verb"\doctoralquoteslip", for a doctoral dissertation; or |
| 878 |
\item \verb"\doctoralabstractquoteslip", for a the `abstract only' |
| 879 |
form of the doctoral dissertation. |
| 880 |
\end{itemize} |
| 881 |
|
| 882 |
\noindent |
| 883 |
None of these macros takes an argument. They use the |
| 884 |
text suggested by the Graduate School\cite{SP}. |
| 885 |
|
| 886 |
If you need nonstandard quote slip text |
| 887 |
use the \verb"\quoteslip" macro instead. |
| 888 |
It has one argument, which is the text of your quote slip. |
| 889 |
The quote slip of this thesis was printed with |
| 890 |
\begin{demo} |
| 891 |
\\quoteslip\{Extensive copying . . . may be found.\} |
| 892 |
\end{demo} |
| 893 |
|
| 894 |
\subsection{Abstract} |
| 895 |
Print the |
| 896 |
abstract with \verb"\abstract". |
| 897 |
It has one argument, which is the text of the abstract. |
| 898 |
All the names have already been defined. |
| 899 |
The abstract of this thesis was printed with |
| 900 |
|
| 901 |
\begin{demo} |
| 902 |
\\abstract\{This sample . . . `real' dissertation.\} |
| 903 |
\end{demo} |
| 904 |
|
| 905 |
|
| 906 |
\subsection{Tables of contents} |
| 907 |
Use the standard \LaTeX\ commands to format these items. |
| 908 |
|
| 909 |
|
| 910 |
\subsection{Acknowledgments} |
| 911 |
Use the \verb"\acknowledgments" macro to format the acknowledgments page. |
| 912 |
It has one argument, which is the text of the acknowledgment. |
| 913 |
The acknowledgments of this thesis was printed with |
| 914 |
|
| 915 |
\begin{demo} |
| 916 |
\\acknowledgments\{The author wishes . . . \{\\it il miglior fabbro\}.\\par\}\} |
| 917 |
\end{demo} |
| 918 |
|
| 919 |
|
| 920 |
\subsection{Dedication} |
| 921 |
Use the \verb"\dedication" macro to format the dedication page. |
| 922 |
It has one argument, which is the text of the dedication. |
| 923 |
|
| 924 |
\subsection{Vita} |
| 925 |
Use the \verb"\vita" macro to format the curriculum vitae. |
| 926 |
It has one argument, which chronicles your life's accomplishments. |
| 927 |
|
| 928 |
Note that the Vita is not really a preliminary page. |
| 929 |
It appears at the end of your thesis, just after the appendices. |
| 930 |
|
| 931 |
|
| 932 |
%% |
| 933 |
%% \section{Customization of the Macros} |
| 934 |
%% |
| 935 |
%% Simple customization, including |
| 936 |
%% alteration of default parameters, changes to dimensions, |
| 937 |
%% paragraph indentation, and margins, are not too difficult. |
| 938 |
%% You have the choice of modifying the class file ({\tt uwthesis.cls}) |
| 939 |
%% or loading |
| 940 |
%% one or more personal style files to customize your thesis. |
| 941 |
%% The latter is usually most convenient, since you do not need |
| 942 |
%% to edit the large and complicated class file. |
| 943 |
%% |
| 944 |
|
| 945 |
|
| 946 |
|
| 947 |
% ========== Chapter 4 |
| 948 |
|
| 949 |
\chapter{Hardware Dependencies\\ |
| 950 |
({\it And Other Complications})} |
| 951 |
|
| 952 |
|
| 953 |
\TeX\ has been designed to produce exactly the same document |
| 954 |
on all computers and on all printers. {\it Exactly the same} |
| 955 |
means that the various spacings, line and page breaks, and |
| 956 |
even hyphenations will occur at the same places |
| 957 |
when the document is formatted on a variety of computers. |
| 958 |
However, there are some discrepancies that cannot |
| 959 |
be overcome. They involve the mechanics of running \TeX\ and |
| 960 |
the necessary variations in computer and |
| 961 |
output device capability. |
| 962 |
|
| 963 |
\section{Running \protect\LaTeX} |
| 964 |
|
| 965 |
Each operating system has some means for editing and storing text, |
| 966 |
starting programs, and printing program output. These |
| 967 |
are uniformly inconsistant between machines. Therefore there |
| 968 |
are no useful, generic instructions for running \LaTeX. |
| 969 |
You will have to |
| 970 |
be able to do the following on your chosen computer. |
| 971 |
|
| 972 |
\begin{itemize} |
| 973 |
\item Create, edit, and back-up text files. |
| 974 |
\item Run the \TeX\ program with \LaTeX\ format. |
| 975 |
\item Convert the device independent output |
| 976 |
to a format suitable to the selected printer. |
| 977 |
\item Print the converted file. |
| 978 |
\end{itemize} |
| 979 |
|
| 980 |
There are generally user's manuals available for each \TeX\ |
| 981 |
implementation, which explain the program's local procedures |
| 982 |
and nuances. |
| 983 |
|
| 984 |
\section{Fonts} |
| 985 |
|
| 986 |
Different printers, and different sites with identical |
| 987 |
printers, make certain sets of fonts available for their users. |
| 988 |
While these font sets are not identical, they do have a common |
| 989 |
subset---the basic roman fonts. |
| 990 |
Most sites will also provide fonts at standard magnifications |
| 991 |
(\verb"\small", \verb"\large", \verb"\Large", etc.). |
| 992 |
The Graduate School wants a larger type than is normally used |
| 993 |
for book printing. The uwthesis document class uses 11-point. |
| 994 |
|
| 995 |
The postscript font New Century Schoolbook also prints a nice thesis. |
| 996 |
Request it with: |
| 997 |
\begin{demo} |
| 998 |
\\usepackage\{newcent\} |
| 999 |
\end{demo} |
| 1000 |
|
| 1001 |
|
| 1002 |
\section{Printer Perversity} |
| 1003 |
|
| 1004 |
\begin{flushright} |
| 1005 |
\footnotesize \it |
| 1006 |
Never let anything mechanical know you are depending on it. |
| 1007 |
\end{flushright} |
| 1008 |
|
| 1009 |
\medskip |
| 1010 |
|
| 1011 |
A printer will break the day before a dissertation is due. This is |
| 1012 |
an immutable law of nature. Print your dissertation well in advance |
| 1013 |
of any deadlines. Take some time to admire your work. |
| 1014 |
|
| 1015 |
|
| 1016 |
|
| 1017 |
\printendnotes |
| 1018 |
|
| 1019 |
% |
| 1020 |
% ========== Bibliography |
| 1021 |
% |
| 1022 |
\nocite{*} % include everything in the uwthesis.bib file |
| 1023 |
\bibliographystyle{plain} |
| 1024 |
\bibliography{uwthesis} |
| 1025 |
% |
| 1026 |
% ========== Appendices |
| 1027 |
% |
| 1028 |
\appendix |
| 1029 |
\raggedbottom\sloppy |
| 1030 |
|
| 1031 |
% ========== Appendix A |
| 1032 |
|
| 1033 |
\chapter{Where to find the files} |
| 1034 |
|
| 1035 |
The uwthesis class file, {\tt uwthesis.cls}, contains the parameter settings, |
| 1036 |
macro definitions, and other \TeX nical commands which |
| 1037 |
allow \LaTeX\ to format a thesis. |
| 1038 |
The source to |
| 1039 |
the document you are reading, {\tt uwthesis.tex}, |
| 1040 |
contains many formatting examples |
| 1041 |
which you may find useful. |
| 1042 |
The bibliography database, {\tt uwthesis.bib}, contains instructions |
| 1043 |
to BibTeX to create and format the bibliography. |
| 1044 |
You can find the latest of these files in the following locations: |
| 1045 |
|
| 1046 |
\begin{itemize} |
| 1047 |
\item CTAN |
| 1048 |
\begin{description} |
| 1049 |
\item[] \verb%http://tug.ctan.org/tex-archive/macros/latex/contrib/uwthesis/% |
| 1050 |
\end{description} |
| 1051 |
|
| 1052 |
\item My page. |
| 1053 |
\begin{description} |
| 1054 |
\item[] \verb%http://staff.washington.edu/fox/tex/uwthesis.html% |
| 1055 |
\end{description} |
| 1056 |
|
| 1057 |
\end{itemize} |
| 1058 |
|
| 1059 |
\vita{Jim Fox is a Senior Software Engineer at the University of Washington. |
| 1060 |
His duties do not include maintaining this package. It is rather |
| 1061 |
an avocation which he maintains as he deems fit. |
| 1062 |
|
| 1063 |
He welcomes your comments to {\tt [email protected]}. |
| 1064 |
} |
| 1065 |
|
| 1066 |
|
| 1067 |
\end{document} |