summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/uw-thesis/uw-thesis.tex
blob: 2747dac4c6e3c747ab32016808b61ac0ea44513c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
% Documentation for UW thesis document style for LaTeX
%
%    for macro version 1.5, July, 1990
%
%    This document is (nearly) contained in a single file ONLY because
%    I wanted to be able to distribute it easily.  A real thesis ought
%    to be contained on many files (e.g., one for each chapter, at least).
%
%    To help you identify the files and sections in this large file
%    I use the string '==========' to identify new files.
%
%    Pages are produced in the order they should appear.  They should
%    not be reordered by the dvi printer.
%    Because I want this to print double sided---to save paper---and
%    yet continue with the GS's silly page numbering scheme, I fiddle
%    with the page numbering to get TeXrox (a xerox 4050 driver) to
%    sort the pages correctly.
 
 
\documentstyle{uw-thesis}
 
 
% ==========   Local defs and mods
%
\setcounter{tocdepth}{2}  % chapter, sections, and subsections to toc
 
\def\book{{\it\TeX book}}
 
% math accent used in greek demo in chapter 2
%
\def\apos{\mathaccent"7027 }
 
% metafont font---unfortunately, logosl10 is not everywhere
%
% \font\mffont=logosl10 scaled\magstep1
\let\mffont=\sf   % use the cheap substitute
 
% Easy verbatim in text:  "verbatim"
%
\catcode`\"=\active
\def"{\verb"}
 
% A file listing macro for the appendices
%  (use is:  \verbatimfile{filename} \end{verbatim}
%
\def\verbatimfile#1{\begin{verbatim}\footnotesize\catcode`\"=12\tt\input#1}
 
 
\begin{document}
 
% ==========   Preliminary pages
%
\prelimpages
 
% ----- title page
%
\Title{The Suitability of the \LaTeX\ Text Formatter\\
  for Thesis Preparation by Technical and\\
  Non-technical Degree Candidates}
\Author{Jim Fox}
\Year{1990}
% difficult footnote in the text
{\Degreetext{A dissertation%
  \footnote[2]{an egocentric imitation, actually}
  submitted in partial fulfillment of\\
  the requirements for the degree of}
 \def\thefootnote{\fnsymbol{footnote}}
 \let\footnoterule\relax
 \titlepage
 }
\setcounter{footnote}{0}
 
% ----- quoteslip
%
\setcounter{page}{-1}
\quoteslip{%
Extensive copying of this demonstration thesis,
including its input files and macro package,
is allowable for scholarly purposes, consistent with ``fair use'' as
prescribed in the U.S. Copyright Law.
Requests for copying or reproduction of this thesis
may be referred to University Computing Services, 3737 Brooklyn Ave NE,
Seattle, Washington 98105.
}
 
% ----- abstract
%
\Professor{{\em Professor}}
\Department{{\em Department}}
\setcounter{page}{-1}
\abstract{%
This sample dissertation is an aid to students who are attempting
to format their theses with \LaTeX, a very sophisticated
text formatter widely available at the University of Washington.
 
\begin{itemize}
\item It describes the use of a specialized
macro package developed specifically for thesis production
at the University.
The macros customize \LaTeX\ for the correct thesis style,
allowing the student to concentrate on the substance of
his or her text.
\item It demonstrates the solutions to a variety of
formatting challenges found in thesis production.%
\footnote{See Appendix A to obtain the source to this
 thesis and the style file.}
\item It serves as a template for a real dissertation.
\end{itemize}
}
 
% ----- contents & etc.
%
\tableofcontents
\listoffigures
%\listoftables  % have no tables
 
% ==========   glossary  (I usually put this on a seperate file)
%
\chapter*{Glossary}      % starred form omits the `chapter x'
\addcontentsline{toc}{chapter}{Glossary}
\thispagestyle{plain}
%
% This is not a LaTeX glossary and the code is completely
% plain.tex, but it seems to do the job.  In particular, the
% \filbreak's prevent my short glossary entries from being split
% at page boundaries.
%
\begingroup % keep definitions local
\def\G#1:{\filbreak\medskip\noindent\hang
  {\footnotesize \uppercase{#1}}:\ \ignorespaces}
%
%     glossary text items
%
\G argument: replacement text which customizes a \TeX\ macro for
each particular usage.
\G back-up: a copy of a file to be used when catastrophe strikes
the original.  People who make no back-ups deserve
no sympathy.
\G buffer:  an element of a program's memory.
A buffer's inherent finitude limits the
capacity of computer programs.
\G control sequence: the normal form of a command to \TeX.
\G delimiter: something, often a character, that indicates
the beginning and ending of an argument.
More generally, a delimiter is a field separator.
\G document style: a file of macros that tailors \LaTeX\ for
a particular document.  The macros described by this thesis
constitute a document style.
\G document style option: a macro or file of macros
that further modifies \LaTeX\ for
a particular document.  The option "[chapternotes]"
constitutes a document style option.
\G figure: illustrated material, including graphs,
diagrams, drawings and photographs.
\G font: a character set (the alphabet plus digits
and special symbols) of a particular size and style.  Some fonts
used in this thesis are: twelve point roman, {\sl twelve point roman
slanted}, and {\tentt ten point typewriter}.
\G footnote: a note placed at the bottom of a page, end of a chapter,
or end of a thesis that comments on or cites a reference
for a designated part of the text.
\G formatter: (as opposed to a word-processor) arranges printed
material according to instructions imbedded in the text.
A word-processor, on the other hand, is normally controlled
by keyboard strokes that move text about on a display.
\G \LaTeX: A version of \TeX\ that has been pre-loaded
with a very sophisticated set of macros.
\G macro:  a user-defined control sequence.
\G macro package:  a set of macros that combine for a single
purpose.  The macros of \LaTeX\
constitute a macro package.
\G parameter: an arbitrary constant.
\G pica: a unit of length.  One pica is twelve points and
six picas is about an inch.
\G point: a unit of length.  72.27 points equals one inch.
\G printer:  a machine that produces a printed page---also
referred to as an output device.
Printers for \TeX\ are almost always either laser printers or
typesetters.
\G roman:  a conventional printing typestyle. This thesis
is set in roman type.
\G rule: a straight printed line; e.g., \hrulefill.
\G table: information placed in a columnar arrangement.
\G \TeX: simply the ultimate in computerized typesetting.
\G thesis: either a master's thesis or a doctoral dissertation.
This document also refers to itself as a thesis, although it
really is not one.
 
\endgroup
\newpage
 
% ----- acknowledgments
%
\acknowledgments{\vskip2pc
  {\narrower\noindent
  The author wishes to express sincere appreciation to
  University Computing Services, where he has had the opportunity
  to work with the \TeX\ formatting system;
  to Leslie Lamport, author of the \LaTeX\ macro package;
  and to Donald Knuth, {\it il miglior fabbro}.
  \par}
}
%
% end of the preliminary pages
 
 
 
% ==========      Text pages
%
\textpages
 
% ========== Chapter 1
 
\chapter{Introduction}
 
The utility of a clean, professionally prepared thesis is well
documented\footnote{See, for example, W. Shakespeare\cite{Hamlet}
for an early treatment.}
and, until recently, a degree candidate had no recourse but
to submit his or her thesis to a typist for completion.
Revisions were difficult and time consuming, and even at its best the
resultant thesis still looked typed.
The advent of computerized typesetting has revolutionized
thesis preparation, and \TeX\ in particular brings to the
university student the power and flexibility of a
professional, `industrial-strength' typesetter.
 
 
\TeX\ is a complete and professional typesetting system.
It has been programmed to produce
the same document on all machines, so
a suitable printer can always be found for the final copy
while drafts are made on more conventional and inexpensive printers.
The `suitable' standard is a 300 dot-per-inch laser printer,
which is excellent for thesis production.
True camera-ready publication quality typesetting
is available for those who can afford such luxury.
Sources for this typesetting capability may be found in
the {\em TUGboat}\cite{TUG:h-p}.
 
\section{The Purpose of This Sample Thesis}
 
This sample is a demonstration of the quality and
propriety of a \LaTeX\ formatted thesis, and is 
documentation for the preparation of a thesis.
It has made extensive use of a specialized style file
developed specifically for the preparation
of theses at the University of Washington.  Chapter~II discusses
\LaTeX\ as described by Lamport\cite{Lbook}.
Chapter III describes the additional macros and functions
provided by the thesis document style.  Finally, Chapter IV discusses
some special problems due to the inherent differences among the various
computers and printers that support \LaTeX.
 
It must be emphasized that, although it is feasible,
and even appropriate, for a computer science graduate to format
his or her own thesis without help, non-specialists should not expect to
be able to do so.
The \TeX\ format specification
of a thesis, indeed of any `real' document, is long and complex.
Fortunately, \TeX\ provides a means to predefine new commands
and spare the typist most of the sometimes esoteric details
of the formatting language.
\LaTeX\ is an example of such a predefinition.
\LaTeX, in turn, allows the further customization by style files.
The thesis macros described herein constitute a style file.
Included in this style
are most of the structures commonly found in theses.
A student, armed with only a reading of the \LaTeX\ manual\cite{Lbook}
can follow this example and produce most of a thesis.  It is of course
impossible to predict all the formatting problems one will encounter
and there will be problems that are best handled
by a specialist.  Help is available at University
Computing Services, or can very likely be found in your own department.
 
 
Figures, tables, and
tables of contents
are all examples of otherwise
difficult areas that are simplified by the \LaTeX\ macro package,
Chapter notes are an example of a further difficulty
overcome by the thesis document style file.
One formatting challenge that will remain such is
the typesetting of mathematical equations.
These are a speciality of \TeX\ and are well treated by Knuth\cite{book}
and to a lesser extent by Lamport\cite{Lbook}.
It happens that most people involved with equations are technically
minded and should find these exercises quite enjoyable.
 
\section{Conventions and Notations}
 
In this thesis the typist
refers to the user of \LaTeX---the one who
makes formatting decisions and chooses the appropriate
formatting commands.
He or she will most often be the degree candidate.
 
This document deals with \LaTeX\ typesetting commands and their
functions.  Wherever possible the conventions used to display
text entered by the typist and the resulting formatted output
are the same as those used by the \TeX books.
Therefore, {\tt typewriter type} is used to indicate text
as typed by the computer
or entered by the typist.
It is quite the opposite of {\it italics,} which indicates
a catagory rather than exact text.  For example,
"alfa" and "beta" might each be an example of a {\it label}.
That italic type is also used for emphasis should cause
neither concern nor confusion.
 
 
\section{A Disclaimer}
 
This sample thesis was produced by the document style it describes
and is acceptable to the Graduate School%
\cite{SP}.
However, the use of this package does not guarantee acceptability
of a particular thesis,
nor does the Graduate School recommend these macros, or the \TeX\ formatter,
over any other package or formatter.
 
 
% ========== Chapter 2
 
\chapter{A Brief \\ Description of \protect\TeX}
 
The \TeX\ formatting program is the creation of
Donald Knuth of Stanford University.
It has been implemented on a wide variety of computers and
produces exactly\footnote{``Exactly'' specifically excludes the
  inherent variety in print devices.}
the same copy on all machines.
Among the popular computers that support \TeX\
are the mainframes operated by
University Computing Services,
most other mainframes about the campus, and
several microcomputers including the IBM~PC and its compatibles,%
\footnote{The university has a
site license for PC-\TeX.  It is available from the
Microcomputer Showroom at no charge
to students, faculty, and staff of the University of Washington.}
and the Apple Macintosh.\footnote{Two Macintosh \TeX s are available:
\TeX{\scriptsize TURES} from Addison-Wesley and Mac\TeX\ from
FTL Systems.
The Microcomputer Showroom has more information.}
There is also a world-wide users group
which provides computer-dependent information, classes, and a
newsletter---the {\sl TUGboat}.
 
\section{What are they; why are they spelled that way; \newfileline
and what do
really long section titles look like in the text and in the
Table of Contents?}
 
\TeX\ is a formatter.  A document's format is controlled
by commands embedded in its text.
The peculiar look to the names indicate that \TeX\ is also
a typesetting program.  Each character and rule on the page
is precisely positioned.
\LaTeX\ is a special version of \TeX---a \TeX\ preloaded
with a volumnous set of macros that simplify most
formatting tasks.
 
\TeX\ uses {\it control sequences} to control
the formatting of a document.  These control sequences are usually
words or groups of letters prefaced with the backslash character
({\tt\char'134}).
For example,
Figure \ref{start-2} shows the text that printed the beginning
of this chapter.  Note the control sequence "\chapter" that
instructed \TeX\ to start a new chapter, print the title, and
make an entry in the table of contents.  It is an example
of a macro defined by the \LaTeX\ macro package.
The control sequence "\TeX", which prints the word \TeX,
is a standard macro from the \book.
The short control sequence "\\" in the title instructed \TeX\ to
break the title line at that point.
This capability is an example of an extension to \LaTeX\
provided by the thesis document style.
 
\begin{figure}
\begin{verbatim}
   \chapter{A Brief\\Description of \TeX}
 
   The \TeX\ formatting program is the creation of
   Donald Knuth of Stanford University.
\end{verbatim}
\label{start-2}
\caption{The beginning of the Chapter II input file.}
\end{figure}
 
Most of the time \TeX\ is simply building paragraphs from
text in the input files.  No control sequences are involved.
New paragraphs are indicated by a blank line in the
input file.
Hyphenation is performed automatically, except for few
words that \TeX\ fails to hyphenate properly. A list of these
appears in the {\em TUGboat}\cite{TUG:h-l}.
 
\section{\TeX books}
 
The primary reference for \LaTeX\ is Lamport\cite{Lbook}.
It is easily read and should be sufficient for thesis formatting.
If you cannot afford that you should obtain the UCS
\LaTeX\ introduction\cite{UCS-TeX}.
 
Most students contend that the Knuth's \book\cite{book} is difficult---but
it is the complete \TeX\ reference.
Each chapter is composed of paragraphs of varying
degrees of difficulty called, in order of increasing esotery,
introductory, ``dangerous bend'',
and double ``dangerous bend''.  A reading of the introductory
sections is invaluable, even for \LaTeX\ users.
Except for mathematicians
and complex table builders, few thesis typists will encounter
the ``dangerous bend'' conditions of the \book.
 
\section{Mathematics}
 
The thesis macro style does not expand on \TeX's
or \LaTeX's
comprehensive treatment of mathematical equation printing.%
\label{c2note}\footnote{%
% a long footnote indeed.
 Although many \TeX-formatted documents contain no
 mathematics save the page numbers, it seems appropriate
 that this paper, which is in some sense {\it about} \TeX,
 ought to demonstrate an equation or two.  Here then, is a derivation
 of the {\it Nonsense Theorem}.
 
 \smallskip
 \def\RR{{\cal R\kern-.15em R}}
 {\narrower\hang Assume a universe $E$ and a symmetric function
  $\$$ defined on $E$, such that for each $\$^{yy}$ there exists a
  $\$^{\overline{yy}}$, where $\$^{yy} = \$^{\overline{yy}}$.
  For each element $i$ of $E$ define
  ${\cal S}(i)=\sum_i \$^{yy}+\$^{\overline{yy}}+0$.
  Then if $\RR$ is that subset of $E$ where $1+1=3$,
  for each $i$
  $$\lim_{\$\to\infty}\int {\cal S}di =
      \cases{0,&if $i\not\in\RR$;\cr
             \infty,&if $i\in\RR$.\cr}$$
  \par}} % end of the footnote
%
The \book\ devotes four full chapters and exactly one
hundred exercises to this problem---it is thoroughly covered.
 
 
\section{Languages other than English}
 
Many Western languages such as Spanish and French use
the same letters as does English, although they employ accent
marks more often.  \TeX\ formats text in these
languages with relative ease.
Other languages, such as Greek, Arabic, or Chinese, are much more
difficult.  Students should consult their department or contact the
Humanities and Arts Computing Center for assistance.

Characters from other languages can be defined via the
font maker \hbox{\mffont METAFONT} (documented by Knuth\cite{Metafont}).
The definitions are not trivial.
Students who attempt to print a thesis with
custom fonts may soon proclaim,
 
\medskip
\begin{center}
``$\apos\alpha\pi o\kern1pt\theta\alpha\nu\epsilon\hat\iota\nu$
\ $\theta\acute\epsilon\lambda\omega$.''
 
\end{center}
 
% ========== Chapter 3
 
\chapter{The Thesis Unformatted}
 
This chapter describes the thesis style package in detail 
and shows how it was used to format the thesis.
 
\section{The Control File}
 
The source to this sample thesis is contained in a single file
only because ease of distribution was the primary concern.
You should not do this.  Your task will be much easier if you
break your thesis into several files:  a file for the preliminary pages,
a file for each chapter,  one for the glossary, and one for each
appendix.  Then include a control file to tie them all together.
This way you can edit and format parts of your thesis much more
efficiently.
 
Figure~\ref{control-file} shows a control file that
might have produced this thesis.
It sets the document style, with options and parameters,
and formats the various parts of the thesis---%
but contains no text of its own.
 
 
%  control file figure
%
\begin{figure}[p]
%
\footnotesize
\begin{verbatim}
    % LaTeX thesis control file
 
    \documentstyle[footnotes]{thesis}
 
    \begin{document}
 
    % preliminary pages
    %
    \prelimpages
    \input prelim
 
    % text pages
    %
    \textpages
    \input chap1
    \input chap2
    \input chap3
    \input chap4
 
    % bibliography
    %
    \bibliographystyle{plain}
    \bibliography{uwthesis}
 
    % appendices
    %
    \appendix
    \input appxa
    \input appxb
 
    \end{document}
\end{verbatim}
 \caption[A thesis control file]%
   {\narrower A thesis control file ({\tt thesis.tex}).
   \smallskip
   \noindent This file is the input to \LaTeX\ that will produce a
   thesis.  It contains no text, only commands which
   direct the formatting of the thesis.\par}
\label{control-file}
\end{figure}
 
The first section defines the document style---loading both
the thesis macros, "thesis.sty",
and your specific macros, "mymac.sty".
It also sets global parameters.
This thesis has specified bottom-of-page footnote placement.
Section \ref{footnotes} more fully explains footnotes
as used by the thesis document style.
 
A partial thesis is easily formatted by inserting the comment
character ({\tt\%}) before each unwanted section.
 
 
\section{The Text Pages}
 
A chapter is a major division of the thesis.  Each chapter begins
on a new page and has a Table of Contents entry.
 
\subsection{Chapters, Sections, Subsections, and Appendices}
 
 
Within the chapter title use a "\\" control sequence to separate lines
in the printed title (recall Figure \ref{start-2}.).
The "\\" does not affect the table of contents.
 
Format appendices just like chapters.
The control sequence "\appendix" instructs \LaTeX\ to
begin using the term `appendix' rather than `chapter'.
 
 
Sections and subsections of a chapter are specified
by  "\section" and "\subsection", respectively.
In this thesis chapter, section, and subsection
titles are written to the table of contents.
Consult Lamport\cite[pg. 160]{Lbook} to see which
subdivisions of the thesis can be written to the table of contents.
The "\\" control sequence is not permitted in section and
subsection titles.
 
Very long titles, or titles with mathematics, may write table of
contents lines that are too long for some \TeX\ implementations
to handle.  You can manually shorten these lines by including
the "\newfileline" anywhere in your titles.  The control sequence
has no effect on your document---it only breaks lines in the
intermediate files.
 
\subsection{Footnotes}
 
\label{footnotes}
Specify the placement of footnotes only once---as a document style
option. Select "[footnotes]" to place the note text
at the bottoms of pages;
"[chapternotes]" to place it at the ends of chapters; and
"[endnotes]" to place it at the end of the thesis.
If you don't specify anything you get the "[footnotes]" style.
The footnote text is printed automatically
for the first style and manually for others.
Put the control sequence "\chapternotes" at the end of each chapter
to print the chapternote text
and, as you might expect, put
"\endnotes" at the end of all the chapters
to print the endnote text.
Chapternote text begins on a new page and appears in the
table of contents as a section.  Endnote text appears as
an independent chapter.
Both of these control sequences have no effect if the appropriate
option has not been selected.
 
You always use the "\footnote" control sequence to make a footnote,
even though the functionality may differ from \LaTeX\ standard.
 
 
In order to format correctly,
multiple note specifications must manually include the comma,
e.g., "\footnote{First note}$^{\!,}$\footnote{Second note}".%
       \footnote{First note}$^{\!,}$\footnote{Second note}
 
Long footnotes, or footnotes containing a lot of \TeX\ commands,
can be awkward to include with the text.
Instead, you can store them in a separate file
and read them with "\input".  This is an extension to \LaTeX.
 
 
\subsection{Figures and Tables\/\protect\footnotemark}
\footnotetext{Earlier versions of
the Style Manual also included items called ``plates'',
which were actual mounted photographs.  These are now
included in figures.\cite[pg. 16]{SP}}
 
Standard \LaTeX\ figures and tables, see Lamport\cite{Lbook},
normally provide the most convenient means to position the figure.
Facing caption pages\cite[pg. 15]{SP}
are the sole exception to this rule.
These are captions for full page figures or tables,
and appear on the left-hand page (facing the illustration on the
right-hand page).
They are formatted with a "[pf]" figure or table positoning option
which functions very similarly to "[p]" option except
that the page number and binding offset are reversed
from their normal positions.
If figure~\ref{control-file}, for example,
had required a full page its caption (on a facing caption page)
might have been formatted as shown in figure~\ref{facing-caption}.
 
\begin{figure}[ht]
\footnotesize
\begin{verbatim}
     \begin{figure}[pf]
       \vbox to\textheight{
         \vfill
         \caption{ . . . }
         \vfill
       }
     \end{figure}
\end{verbatim}
\caption[A facing caption page]{This text would create a
  facing caption page.}
\label{facing-caption}
\end{figure}
 
 
\section{The Preliminary Pages}
 
These are easy to format only because they are relatively invariant
among theses.  Therefore the difficulties have already been encountered
and overcome by \LaTeX\ and the thesis document style.
 
\subsection{Title page}
Define "\Title", "\Author", and "\Year" (current year if you omit it)
and then print the
title page with "\titlepage".
The title page of this thesis was printed with%
\footnote{Actually, it wasn't.  It included a footnote---unusual for
  title pages.}
 
\begin{verbatim}
 
   \Title{The Suitability of the \LaTeX\ Text Formatter\\
     for Thesis Preparation by Technical and\\
     Non-technical Degree Candidates}
   \Author{Jim Fox}
   \Year{1990}
   \titlepage
\end{verbatim}
 
You may also change other text on the  title page with these
macros.

"\Degree{"{\it degree name}"}" defaults to ``Doctor of Philosophy''

"\School{"{\it school name}"}" defaults to ``University of Washington''

"\Degreetext{"{\it degree text}"}" defaults to ``A dissertation submitted
   \ldots''

"\Signature{"{\it number of signature lines}"}" defaults to ``3''


\subsection{Quote slip}
Use the "\quoteslip" macro to format the quote slip.
It has one argument, which is the text of the slip.
The quote slip of this thesis was printed with
 
\begin{verbatim}
   \quoteslip{Extensive copying . . . 98105.}
\end{verbatim}
 
\subsection{Abstract}
Define "\Professor" and "\Department" and then print the
abstract with "\abstract".
It has one argument, which is the text of the abstract.
The abstract of this thesis was printed with
 
\begin{verbatim}
   \Professor{{\em Professor}}
   \Department{{\em Department}}
   \abstract{This sample . . . `real' dissertation.}
\end{verbatim}
 
 
\subsection{Tables of contents}
Use the standard \LaTeX\ commands to format these items.
 
 
\subsection{Glossary}
 
These pages contain many entries with a common syntax.
Macros should be used to promote uniformity
and make the input much less cumbersome.  In this thesis
the "\G" control sequence defined in the Glossary
obviously has such utility.
The input that produced the Glossary is shown in figure~\ref{Gloss}.
 
\begin{figure}[ht]
\footnotesize
    \begin{verbatim}
 
    % glossary
    %
    \chapter*{Glossary}
    \addcontentsline{toc}{chapter}{Glossary}
    %
    % This is not a LaTeX glossary and the code is completely
    % plain tex, but it seems to do the job.  In particular, the
    % \filbreak's prevent my short glossary entries from being split
    % at page boundaries.
    %
    \begingroup % keep definitions local
    \def\G#1:{\filbreak\medskip\noindent\hang
      {\footnotesize \uppercase{#1}}:\ \ignorespaces}
    %
    %     glossary text items
    %
    \G argument: replacement text which customizes a \TeX\ macro for
    each particular usage.
    \G back-up: a copy of a file to be used when catastrophe strikes
    the original.  People who make no back-ups deserve
    no sympathy.
                  .
                  .
                  .
 
    \G thesis: either a master's thesis or a doctoral dissertation.
    This document also refers to itself as a thesis, although it
    really is not one.
 
    \endgroup
    \newpage
\end{verbatim}
\caption{Input for the Glossary}
\label{Gloss}
\end{figure}
 
\subsection{Acknowledgments}
Use the "\acknowledgments" macro to format the acknowledgments page.
It has one argument, which is the text of the page.
The acknowledgments of this thesis was printed with
 
\begin{verbatim}
   \acknowledgments{\vskip2pc
     {\narrower\noindent
      The author wishes . . . {\it il miglior fabbro}.\par}}
\end{verbatim}
 
 
 
\section{Customization of the Macros}
 
Simple customization, including 
alteration of default parameters,  changes to dimensions,
paragraph indentation, and margins, are not too difficult.
You have the choice of modifing "thesis.sty" or loading
one or more personal style files to customize your thesis.
The latter is usually most convienent, since you do not need
a personal copy of "thesis.sty" in your directory.

Figure~\ref{control-file} demonstrated a control file that
loads a personal style file named "mystuf.sty".
 
 Appendix A shows you where to find copies of the
 "thesis.sty" style file.

 
% ========== Chapter 4
 
\chapter{Hardware Dependencies\\
  ({\it And Other Complications})}
 
 
\TeX\ has been designed to produce exactly the same document
on all computers and on all printers.  {\it Exactly the same}
means that the various spacings, line and page breaks, and
even hyphenations will occur at the same places
when the document is formatted on a variety of computers.
However, there are some discrepancies that cannot
be overcome.  They involve the mechanics of running \TeX\ and
the necessary variations in computer and
output device capability.
 
\section{Running \protect\LaTeX}
 
Each operating system has some means for editing and storing text,
starting programs, and printing program output.  These
are uniformly inconsistant between machines.  Therefore there
are no useful, generic instructions for running \LaTeX.
You will have to
be able to do the following on your chosen computer.
 
\begin{itemize}
\item Create, edit, and back-up text files.
\item Run the \TeX\ program with \LaTeX\ format.
\item Convert the device independent output
  to a format suitable to the selected printer.
\item Print the converted file.
\end{itemize}
 
There are generally user's manuals available for each \TeX\
implementation, which explain the program's local procedures
and nuances.
 
\section{Fonts}
 
Different printers, and different sites with identical
printers, make certain sets of fonts available for their users.
While these font sets are not identical, they do have a common
subset---the basic roman fonts.
Most sites will also provide fonts at standard magnifications
("\small", "\large", "\Large", etc.).
The Graduate School wants a larger type than is normally used
for book printing.  The thesis document style uses 12-point.
 
 
\section{Landscape Captions}
 
A caption must have the same orientation as the illustration
it describes\cite[pg. 15]{SP}.
In some cases this requires that the caption be printed
across the long dimension of the page.  This rotated orientation
is termed `appearing horizontally' by the Style Manual
and `landscape mode' by most printers.
Unfortunately, \TeX\ has no universal means to change page
orientation---some cutting and pasting is required.
The caption should be formatted as a blank page
(with the "[pf]" positioning option).
 
\begin{verbatim}
     \begin{figure}[pf]
     \vbox to\textheight{\vfill}
     \end{figure}
\end{verbatim}
 
After the thesis
is printed the caption can be formatted separately, possibly
with a larger "\textwidth", and glued into place.
 
\section{Printer Perversity}
 
\begin{flushright}
  \footnotesize \it
  Never let anything mechanical know you are depending on it.
\end{flushright}
 
\medskip
 
A printer will break the day before a dissertation is due.  This is
an immutable law of nature.  Print your dissertation well in advance
of any deadlines.  Take some time to admire your work.
 
%
% ==========   Bibliography
%
\nocite{*}   % include everything in the thesis.bib file
\bibliographystyle{plain}
\bibliography{thesis}
%
% ==========   Appendices
%
\appendix
\raggedbottom\sloppy
 
% ========== Appendix A
 
\chapter{Where to find the files}
 
The thesis style file, "thesis.sty", contains the parameter settings,
macro definitions, and other \TeX nical commands which
allow \LaTeX\ to format a thesis.  
The source to
this document, "thesis.tex", contains many formatting examples
which you may find useful.
The bibliography database, "thesis.bib", contains instructions
to BibTeX to create and format the bibliography.
You can find these files in at least the following locations:

\begin{itemize}
\item the standard "tex" input area on UCS mainframe computers,

\begin{description}
\item[unix:] See\ \ \ \verb%/usr/local/lib/tex/inputs/thesis.*%
\item[vms:]  See\ \ \ \verb%tex_inputs:thesis.*%
\end{description}
\item anonymous ftp to "blake.acs.washington.edu".  

  See\ \ \ \verb%pub/LaTeX/thesis.*%
\item anonymous ftp to "byron.u.washington.edu".  

  See\ \ \ \verb%pub/uw/LaTeX/thesis.*%
\end{itemize}


\end{document}