3ec0071fe2b466f68575c24601c8ac612b09950b
[drexel-thesis.git] / drexel-thesis.dtx
1 % \def\fileversion{0.14}
2 % \def\filedate{2010/09/21}
3 % \iffalse meta-comment
4 %<*driver>
5 \ProvidesFile{drexel-thesis.dtx}
6 \documentclass{ltxdoc}
7 %</driver>
8 %<*class|driver>
9 \def\fileversion{0.14}
10 \def\filedate{2010/09/21}
11 %</class|driver>
12 %
13 % Copyright (C) 2010-2012  C.Y. Ip
14 %                          Christopher D. Cera
15 %                          Christopher S. Dahn
16 %                          Daniel J. Cross
17 %                          David T. McWherter
18 %                          Evan Sultanik
19 %                          Jeff Arahamson
20 %                          Mitchell Peabody
21 %                          R. Rojas, E
22 %                          Robert Bernecky
23 %                          T. Tsankov
24 %                          Vincent A. Cicirello
25 %                          W. Trevor King
26 % -------------------------------------------------------
27
28 % This file may be distributed and/or modified under the
29 % conditions of the LaTeX Project Public License, either version 1.3
30 % of this license or (at your option) any later version.
31 % The latest version of this license is in:
32 %
33 %    http://www.latex-project.org/lppl.txt
34 %
35 % and version 1.3 or later is part of all distributions of LaTeX 
36 % version 2003/12/01 or later.
37 %
38 % Docstrip formatting initially based on Scott Pakin's
39 % dtxtut/cskeleton.dtx
40 %   http://www.ctan.org/tex-archive/info/dtxtut/
41 %
42 % \fi
43 %
44 % \iffalse meta-comment
45 %<class>\NeedsTeXFormat{LaTeX2e}
46 %<class>\ProvidesClass{drexel-thesis}
47 %<class> [\filedate\ \fileversion\ Drexel Thesis]
48 %
49 % Code for the .ini driver, see \S 2.1 ``The driver file'' of doc.dtx.
50 %<*driver>
51 \usepackage[colorlinks=true,]{hyperref}
52 \hypersetup{pdfauthor={W. Trevor King et al.}}
53 \hypersetup{pdftitle={drexel-thesis \fileversion\ documentation}}
54 %</driver>
55 % Include some useful commands from |xkeyval|'s |<preamble>|.
56 %<*driver>
57 \usepackage{xcolor}
58 \usepackage{listings}
59 \lstnewenvironment{command}{%
60   \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},%
61     xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
62 \lstnewenvironment{example}{%
63   \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,%
64     backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,%
65     xrightmargin=\fboxsep,gobble=1}}{}
66 %</driver>
67 % Define a quick and dirty version of |xkeyval|'s |\DescribeOptions|.
68 %<*driver>
69 \newenvironment{option}[1]{\begin{macro}{#1}}
70                           {\end{macro}}
71 %</driver>
72 % Some commonly used abbreviations from |classes.dtx|.
73 %<*driver>
74 \newcommand*{\Lopt}[1]{\textsf {#1}}
75 \newcommand*{\file}[1]{\texttt {#1}}
76 \newcommand*{\Lcount}[1]{\textsl {\small#1}}
77 \newcommand*{\pstyle}[1]{\textsl {#1}}
78 %</driver>
79 % Provide easy access to the @ character.  Note that this, like the
80 % short-verbatim markers ||, does not work in |\changes| sections
81 % because of the way they are cached to the glossary file.  If you
82 % find a way to make them work there, let me know :).
83 %<*driver>
84 \newcommand*{\textat}{\makeatletter @ \makeatother}
85 %</driver>
86 %<*driver>
87 \makeatletter
88 \def\DescribeOption#1{\leavevmode\@bsphack
89               \marginpar{\raggedleft\PrintDescribeOption{#1}}%
90               \SpecialOptionIndex{#1}\@esphack\ignorespaces}
91 \def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ }
92 \def\SpecialOptionIndex#1{\@bsphack
93     \index{#1\actualchar{\protect\ttfamily#1}
94            (option)\encapchar usage}%
95     \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
96            usage}\@esphack}
97 \def\DescribeOptions#1{\leavevmode\@bsphack
98   \marginpar{\raggedleft\strut\emph{options}%
99   \@for\@tempa:=#1\do{%
100     \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
101   }}\@esphack\ignorespaces}
102 \makeatother
103 %</driver>
104 %<*driver>
105 \EnableCrossrefs
106 \RecordChanges
107 \EnableCrossrefs         
108 \begin{document}
109   \DocInput{drexel-thesis.dtx}
110 \end{document}
111 %</driver>
112 % \fi
113 %
114 % \CheckSum{0}
115 %
116 % \CharacterTable
117 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
118 %   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
119 %   Digits        \0\1\2\3\4\5\6\7\8\9
120 %   Exclamation   \!     Double quote  \"     Hash (number) \#
121 %   Dollar        \$     Percent       \%     Ampersand     \&
122 %   Acute accent  \'     Left paren    \(     Right paren   \)
123 %   Asterisk      \*     Plus          \+     Comma         \,
124 %   Minus         \-     Point         \.     Solidus       \/
125 %   Colon         \:     Semicolon     \;     Less than     \<
126 %   Equals        \=     Greater than  \>     Question mark \?
127 %   Commercial at \@     Left bracket  \[     Backslash     \\
128 %   Right bracket \]     Circumflex    \^     Underscore    \_
129 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
130 %   Right brace   \}     Tilde         \~}
131 %
132 %
133 % \changes{0.1}{2006/01/18}{Rewrite by Daniel J.~Cross}
134 % \changes{0.2}{2010/01/09}{W.~Trevor King transitioned from thesis.cls
135 %   to drexel-thesis.dtx and did a good deal of reorganizing.}
136 % \changes{0.3}{2010/01/13}{W.~Trevor King merged drexelthesis.cls
137 %   developed in the Comp.~Sci.~Department by Jeff Abrahamson,
138 %   Evan Sultanik, C.Y.~Ip, Christopher S.~Dahn, Christopher D.~Cera,
139 %   Mitchell Peabody, David T.~McWherter, and Vincent A.~Cicirello.
140 %   Based on the University of Toronto Thesis \LaTeXe\ Class.  Also
141 %   greatly improved the documentation by incorperating bits of
142 %   the base/*.dtx files.}
143 % \changes{0.4}{2010/02/23}{W.~Trevor King repositioned hyperref
144 %   inclusion for proper hyperref overriding.  The previous
145 %   implementation couldn't handle \cs{label} for \cs{paragraph} and
146 %   some other section levels.  The page number for the reference was
147 %   correct, but the link went to the label's parent chapter.}
148 % \changes{0.5}{2010/03/03}{W.~Trevor King use hypcap for better
149 %   caption hyperlink anchor placement.}
150 % \changes{0.6}{2010/03/11}{W.~Trevor King fixed \cs{if@final}
151 %   handling.  Previous versions used it more like a hypothetical
152 %   \cs{if@finalspace}.  Also adjusted theindex to use a
153 %   \cs{listed@schapter}.}
154 % \changes{0.10}{2010/05/21}{W.~Trevor King added \cs{DUT*}
155 %   aliases for all public macros and environments and renamed
156 %   \cs{defmonth} and \cs{defyear} to \cs{DUTmonth} and \cs{DUTyear}
157 %   for consistency with the new aliases.}
158 % \changes{0.13}{2010/07/28}{W.~Trevor King cleaned up TOC/LOT/LOF code.}
159 % \changes{0.14}{2010/09/21}{Evan Sultanik added the
160 %   \texttt{approvalform} option for including a \LaTeX\ version of
161 %   the T-1 thesis form.}
162 %
163 % \MakeShortVerb{\|}
164 % \newcommand{\pkg}[1]{\textsf{#1}}
165 % \newcommand{\cls}[1]{\textsf{#1}}
166 % ^^A\newcommand{\BibTeX}{{\scshape Bib}\TeX}
167
168 % \title{The \textsf{drexel-thesis} class\thanks{This document
169 %   corresponds to \textsf{drexel-thesis}~\fileversion, dated \filedate.}}
170 % \author{W.~Trevor King \\\texttt{wking@drexel.edu}
171 %         \and Daniel J.~Cross \and T.~Tsankov \and R.~Rojas. \and Evan A.~Sultanik}
172 % \date{\filedate}
173 %
174 % \maketitle
175 %
176 %
177 % \section{Introduction}
178 %
179 % This package defines a \LaTeX\ thesis class for Drexel University
180 % conforming to the
181 % \href{http://www.library.drexel.edu/files/services_documents/thesismanual.pdf}
182 %   {Drexel University Thesis Manual version 2009/06/01}.
183 %
184 % \section{Usage}
185 %
186 % To write a thesis, you load the Drexel thesis definitions by loading
187 % the \pkg{drexel-thesis} class at the beginning of your
188 % \LaTeX\ document with the |\documentclass| command.  For example,
189 % \begin{example}
190 %   \documentclass{drexel-thesis}
191 % \end{example}
192 %
193 % For \href{http://www.lyx.org/}{LyX} users, we include a LyX template
194 % (\file{drexel-thesis.layout}, originally by John K. Parejko) so that
195 % the previews generated in LyX are similar to those generated by the
196 % actual \cls{drexel-thesis} class.
197 %
198 %
199 % \subsection{Options}
200 %
201 % \DescribeOptions{final,draft}
202 % The default option (selected if not options are passed) is
203 % \Lopt{final} mode, which has all the proper formatting and spacing
204 % for your final product. The other main option is \Lopt{draft} mode,
205 % which reduces all the spacing in the document, so might be helpful
206 % when printing out drafts (saves paper).
207 %
208 % \Lopt{final} mode corresponds to (with Thesis Manual chapter and
209 % verse) \\
210 % \begin{tabular}{r p{0.8\textwidth}}
211 %   \Lopt{oneside} & 1.5 Library Submission Information, Print
212 %     Version: ``All copies must be: \ldots Typed/printed on only one
213 %     side of the page (not double-sided).'' \\
214 %   \Lopt{finalspace} & Assorted single, double, and triple spacing
215 %   directives. \\
216 %   \Lopt{dottedtoc} & From the example on p17. \\
217 %   \Lopt{nodraftwatermark} & Clear any earlier watermark options.
218 % \end{tabular}
219 %
220 % \Lopt{draft} mode corresponds to \\
221 % \begin{tabular}{r p{0.8\textwidth}}
222 %   \Lopt{twoside} & Save space. \\
223 %   \Lopt{draftspace} & Save space. \\
224 %   \Lopt{dottedtoc} & Might as well be consistent with \Lopt{final}. \\
225 %   \Lopt{xdraftwatermark} & It's good to have a timestamp.
226 % \end{tabular}
227 %
228 % \DescribeOption{subfig}
229 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/}{\pkg{subfig}}
230 % makes it easy to include and caption multi-part figures.  However,
231 % getting \pkg{subfig} to cooperate with \pkg{floatrow} and
232 % \pkg{tocloft} can be tricky.  If you want to use \pkg{subfig}, just
233 % pass the \Lopt{subfig} option to \cls{drexel-thesis}, and all the
234 % pesky details will be taken care of.  See \S
235 % \ref{sec:better-example} for an example.
236 %
237 % \DescribeOption{finalspace}
238 % Loosen spacing.
239 %
240 % \DescribeOption{draftspace}
241 % Tighten spacing.
242 %
243 % \DescribeOptions{dottedtoc,boldtoc,
244 %                  dottedpart,boldpart,
245 %                  dottedchapter,boldchapter}
246 % These options change how the relevant table of contents lines are
247 % printed.  \LaTeX\ defaults to bold but not dots.  The \Lopt{*toc}
248 % options set all of the types.  For example, \Lopt{boldtoc} is
249 % equivalent to \Lopt{boldchapter,boldpart}.
250 %
251 % \DescribeOption{indenttoc}
252 % The example table of contents in the Manual p17 does not indent
253 % section entries, etc., so neither does \cls{drexel-thesis}.  If you
254 % \emph{do} want pretty, indented TOCs, like the \LaTeX\ defaults pass
255 % \Lopt{indenttoc} to \cls{drexel-thesis}.
256 %
257 % \DescribeOption{blackref}
258 % \Lopt{blackref} colors all \pkg{hyperref} links black, so they won't
259 % stand out in your printed document.
260 %
261 % \DescribeOption{draftwatermark}
262 % \Lopt{draftwatermark} adds ``DRAFT \meta{date}'' watermarks to each
263 % page.  A useful way to remember that the version you're looking at
264 % is not final.  Also helps reviewers tell you what version they're
265 % correcting.  Requires the \pkg{draftmark} package, which allows you
266 % to override the default watermark style if it is not to your liking
267 % (\S~\ref{sec:draftmark}).
268 %
269 % \DescribeOption{xdraftwatermark}
270 % \Lopt{xdraftwatermark} is also similar to \Lopt{draftwatermark} but
271 % depends on the possibly more common \pkg{xcolor}, \pkg{eso-pic}, and
272 % \pkg{graphicx}.
273 %
274 % \DescribeOption{nodraftwatermark}
275 % \Lopt{nodraftwatermark} clears any earlier watermark options.  For
276 % example
277 % \begin{example}
278 %   \documentclass[draft,nodraftwatermark]{drexel-thesis}
279 % \end{example}
280 % will format your thesis in \Lopt{draft} mode but without a watermark.
281 % On the other hand,
282 % \begin{example}
283 %   \documentclass[draftmark,final]{drexel-thesis}
284 % \end{example}
285 % will also format your thesis without a watermark, because
286 % \Lopt{final} sets \Lopt{nodraftwatermark} internally.
287 %
288 % \DescribeOption{indentfirst}
289 % \Lopt{indentfirst} indents the first paragraph after sections etc.
290 %
291 % \DescribeOption{approvalform}
292 % \Lopt{approvalform} includes a copy of the
293 % \href{http://www.drexel.edu/graduatestudies/forms/Thesis_Approval_Form.pdf}{%
294 %   T-1} approval form as the first page of your thesis/dissertation.
295 % This form is bound to the front of every thesis/dissertation by the
296 % library.  The version that is generated by this option is typeset in
297 % \LaTeX\ with the same margins, fonts, etc.~as the rest of
298 % your document.  The title of your dissertation and your name are
299 % automatically entered.
300 %
301 % \DescribeOption{daring}
302 % \Lopt{daring} breaks the official thesis rules in pursuit of a nicer
303 % layout.
304 %
305 %
306 % \subsubsection{Interesting \cls{book} options}
307
308 % \DescribeOption{oneside}
309 % Setup output for one-sided printing.
310 %
311 % \DescribeOption{twoside}
312 % Setup output for two-sided printing.
313 %
314 % \DescribeOption{leqno}
315 % \Lopt{leqno} places the numbering of formulae on the left hand side
316 % instead of the right.
317 %
318 % \DescribeOption{fleqn}
319 % \Lopt{fleqn} typesets displayed formulae left-aligned instead of
320 % centered.
321 %
322 %
323 % \subsection{Macros}
324 %
325 % To help deal with name collisions, all \cls{drexel-thesis} macros
326 % have ``secret'' aliases.  For example, |\author| can also be used as
327 % |\DUTauthor|.  This is useful if one of your packages clobbers a
328 % \cls{drexel-thesis} macro, but you still want to use the original.
329 % \begin{example}
330 %   \documentclass{drexel-thesis}
331 %   \renewcommand{\author}[1]{I'm forgetting about your author! Muahahaha!}
332 %   \DUTauthor{Your Name Here}
333 %   ...
334 % \end{example}
335 %
336 % \begin{command}
337 %   `\cs{author}\marg{name}'
338 % \end{command}
339 % \DescribeMacro{\author}
340 % \DescribeMacro{\DUTauthor}
341 % Use this macro to set your full name to \meta{name}, including
342 % your middle initial or name.  For example
343 % \begin{example}
344 %   \name{Richard P. Feynman}
345 % \end{example}
346 % See the Manual \S 3.1 p8.
347 %
348 % \begin{command}
349 %   `\cs{title}\marg{title}'
350 % \end{command}
351 % \DescribeMacro{\title}
352 % \DescribeMacro{\DUTtitle}
353 % Use this macro to set your thesis title to \meta{name}.  For example
354 % \begin{example}
355 %   \title{A New Approach to Quantum Theory}
356 % \end{example}
357 % See the Manual p16.
358 %
359 % \begin{command}
360 %   `\cs{advisor}\marg{name}'
361 % \end{command}
362 % \DescribeMacro{\advisor}
363 % \DescribeMacro{\DUTadvisor}
364 % Use this macro to set your advisor's name to \meta{name}.  For
365 % example
366 % \begin{example}
367 %   \advisor{John A. Wheeler, Ph.D.}
368 % \end{example}
369 % You can set multiple advisors, if appropriate, by calling |\advisor|
370 % multiple times.
371 % \begin{example}
372 %   \advisor{John A. Wheeler, Ph.D.}
373 %   \advisor{Advisor 2}
374 % \end{example}
375 % See the Manual \S 3.1 p8.
376 %
377 % \begin{command}
378 %   `\cs{DUTmonth}\marg{month}'
379 %   `\cs{DUTyear}\marg{year}'
380 % \end{command}
381 % \DescribeMacro{\DUTmonth}
382 % \DescribeMacro{\DUTyear}
383 % Use these macros to set the month with \meta{month} (spelled out)
384 % and year with \meta{year} (four digits) of your thesis defense.  For
385 % example
386 % \begin{example}
387 %   \DUTmonth{June}
388 %   \DUTyear{1942}
389 % \end{example}
390 % See the Manual \S 3.1 p8.
391 % There are no non-|DUT| versions of these commands to avoid
392 % collisions with the plain \TeX\ |\month| and |\year| (see the
393 % \href{http://www.tug.org/utilities/plain/cseq.html#month-rp}{month}
394 % and
395 % \href{http://www.tug.org/utilities/plain/cseq.html#year-rp}{year}
396 % entries in the HTML version of David Bausum's \emph{TeX Reference
397 % Manual}).
398 %
399 % \begin{command}
400 %   `\cs{degree}\marg{degree}'
401 % \end{command}
402 % \DescribeMacro{\degree}
403 % \DescribeMacro{\DUTdegree}
404 % Set your target degree with \meta{degree}.  From the Manual \S 3.1
405 % p8.
406 % \begin{quote}
407 %   Write out the name of the degree for which you are a candidate.
408 %   All Ph.D.\ candidates must use |Doctor of Philosophy|.  All
409 %   Master's degree candidates should use the precise degree name
410 %   (e.g., |Master of Science in Mechanical Engineering|).
411 % \end{quote}
412 % So, for a Ph.D candidate,
413 % \begin{example}
414 %   \degree{Doctor of Philosophy}
415 % \end{example}
416 %
417 % \begin{command}
418 %   `\cs{copyrighttext}\marg{text}'
419 % \end{command}
420 % \DescribeMacro{\copyrighttext}
421 % \DescribeMacro{\DUTcopyrighttext}
422 % Use this macro to set the copyright text to \meta{text}.
423 % The default value is ``All Rights Reserved.''.
424 % \begin{example}
425 %   \copyrighttext{Released to the Public Domain.}
426 % \end{example}
427 % See the Manual \S 3.2 p9.
428 %
429 % \begin{command}
430 %   `\cs{copyrighttextCCBYSA}'
431 % \end{command}
432 % \DescribeMacro{\copyrighttextCCBYSA}
433 % \DescribeMacro{\DUTcopyrighttextCCBYSA}
434 % There are a number of predefined copyright messages for ease of use \\
435 % \begin{tabular}{l l}
436 %   |\copyrighttextCCBYSA| &
437 %     Creative Commons Attribution-ShareAlike License Version 3.0.\\
438 % \end{tabular}
439 %
440 % \begin{command}
441 %   `\cs{tableofcontents}'
442 % \end{command}
443 % \DescribeMacro{\tableofcontents}
444 % \DescribeMacro{\DUTtableofcontents}
445 % Write the table of contents (Manual \S 3.5 p9).  You can control the
446 % verbosity by setting |\tocdepth| according to the following table
447 % (\href{http://www.image.ufl.edu/help/latex/intext.shtml}{source}). \\
448 % \begin{tabular}{l l l}
449 %   Depth in document & Section Command & Depth for |\secnumdepth| Command \\
450 %   -1 & |\part| & 1 \\
451 %    0 & |\chapter| & 2 \\
452 %    1 & |\section| & 3 \\
453 %    2 & |\subsection| & 4 \\
454 %    3 & |\subsubsection| & 5 \\
455 %    4 & |\paragraph| & 6 \\
456 %    5 & |\subparagraph| & 7
457 % \end{tabular} \\
458 % For example, to expose everything down to and including the
459 % |\subsection| level, you would add
460 % \begin{example}
461 %   \setcounter{tocdepth}{2}
462 % \end{example}
463 % to your preamble (the section before |\begin{document}|, not the
464 % |preamble| environment discussed below).
465 %
466 % Note that the Manual \S 3.5 p9 requires ``List chapter titles and at
467 % least the first and second order subdivisions.'', which corresponds
468 % to a |\tocdepth| of at least 2.
469 %
470 % \begin{command}
471 %   `\cs{listoftables}'
472 % \end{command}
473 % \DescribeMacro{\listoftables}
474 % \DescribeMacro{\DUTlistoftables}
475 % Write the List of Tables page (Manual \S 3.6 p10).
476 % Skip if you have no tables in your thesis.
477 %
478 % \begin{command}
479 %   `\cs{listoffigures}'
480 % \end{command}
481 % \DescribeMacro{\listoffigures}
482 % \DescribeMacro{\DUTlistoffigures}
483 % Write the List of Figures page (Manual \S 3.7 p10).
484 % Skip if you have no figures in your thesis.
485 %
486 % \begin{command}
487 %   `\cs{blanklines}\marg{num}'
488 % \end{command}
489 % \DescribeMacro{\blanklines}
490 % \DescribeMacro{\DUTblanklines}
491 % Insert \meta{num} blank lines.  For example
492 % \begin{example}
493 %   \blanklines{2}
494 % \end{example}
495 % The skipped lines are always \emph{single spaced} lines, regardless
496 % of the current line spacing in the environment calling this macro.
497 %
498 % \begin{command}
499 %   `\cs{iffinal}\marg{final-mode-action}\marg{draft-mode-action}'
500 % \end{command}
501 % \DescribeMacro{\iffinal}
502 % \DescribeMacro{\DUTiffinal}
503 % Include \Lopt{final}- or \Lopt{draft}-specific code.
504 % \begin{example}
505 %   We're in \iffinal{final}{draft} mode!
506 % \end{example}
507 %
508 % \begin{command}
509 %   `\cs{ifdraftwatermark}\marg{draftwatermark-mode-action}\marg{other-action}'
510 % \end{command}
511 % \DescribeMacro{\ifdraftwatermark}
512 % \DescribeMacro{\DUTifdraftwatermark}
513 % Include \Lopt{draftwatermark}-specific code (e.g. |\draftmarksetup|,
514 % \S~\ref{sec:draftmark})..
515 % \begin{example}
516 %   We \ifdraftwatermark{are}{aren't} in draftwatermark mode!
517 % \end{example}
518 %
519 % \begin{command}
520 %   `\cs{ifdaring}\marg{daring-action}\marg{wimpy-action}'
521 % \end{command}
522 % \DescribeMacro{\ifdaring}
523 % \DescribeMacro{\DUTifdaring}
524 % Include \Lopt{daring}-specific code, with wimpy fallbacks.
525 % \begin{example}
526 %   \ifdaring{\singlespacing Muahahahaha!}{mumble mumble}.
527 % \end{example}
528 %
529 % \begin{command}
530 %   `\cs{drexellogobw}'
531 % \end{command}
532 % \DescribeMacro{\drexellogobw}
533 % Draws a black-and-white official vector Drexel logo.  The image is
534 % exactly 1~inch wide and 1.016~inches tall.  This is accomplished
535 % using the \pkg{tikz} package (\S~\ref{sec:tikz}).  You can enclose
536 % this command in a |\scalebox| to alter its size.
537 %
538 %
539 % \subsection{Environments}
540 %
541 % To help deal with name collisions, all \cls{drexel-thesis}
542 % environments have ``secret'' aliases.  For example, |preamble| can
543 % also be used as |DUTpreamble|.  This is useful if one of your
544 % packages clobbers a \cls{drexel-thesis} environment, but you still
545 % want to use the original.
546 % \begin{example}
547 %   \documentclass{drexel-thesis}
548 %   \renewenvironment{preamble}{%
549 %     What preamble?\begingroup\color{white}}{\endgroup}
550 %   \begin{document}
551 %   \begin{DUTpreamble}
552 %   Thwarted again, evil one!
553 %   ...
554 % \end{example}
555 %
556 %
557 % \DescribeEnv{preamble}
558 % \DescribeEnv{DUTpreamble}
559 % Generalize the |\frontmatter| for the thesis, setting up page
560 % numbering, including the title page, copyright page etc.  The
561 % |preamble| environment should contain the following elements
562 % (in order, see the Manual p8)
563 % \begin{itemize}
564 %   \item |dedication| environment (optional)
565 %   \item |acknowledgments| environment (optional)
566 %   \item |\tableofcontents|
567 %   \item |\listoftables|
568 %   \item |\listoffigures|
569 %   \item |abstract| environment
570 % \end{itemize}
571 % This will take care of everything from the title page (Manual \S 3.1),
572 % up through the blank page before the text (Manual \S 3.9).
573 %
574 % \DescribeEnv{dedications}
575 % \DescribeEnv{DUTdedications}
576 % Set the dedications text.
577 % Highlights from the Manual \S 3.3 p9:
578 % \begin{quote}
579 %   The |Dedications| page is optional.
580 % \end{quote}
581 %
582 % \DescribeEnv{acknowledgments}
583 % \DescribeEnv{DUTacknowledgments}
584 % Set the acknowledgments text.
585 % Highlights from the Manual \S 3.4 p9:
586 % \begin{quote}
587 %   The |Acknowledgments| page is optional, but most theses do
588 %   include a brief statement of thanks or recognition of any special
589 %   assistance.
590 % \end{quote}
591 %
592 % \DescribeEnv{abstract}
593 % \DescribeEnv{DUTabstract}
594 % Set the thesis abstract text.  In the Thesis Manual, see \S 3.8
595 % Abstract (p10) for details, p20 for an example.
596 %
597 % Highlights from the Manual:
598 % \begin{quote}
599 %   The abstract is a summary that allows readers to determine the
600 %   value of reading the full thesis.  It should include a statement
601 %   of the problem, an outline of procedures or methods, and a summary
602 %   of results and conclusions.
603 % \end{quote}
604 % \begin{itemize}
605 %   \item Word limits: 600 for a Master's thesis, 350 for a Ph.D.\ thesis.
606 % \end{itemize}
607 %
608 % \DescribeEnv{thesis}
609 % \DescribeEnv{DUTthesis}
610 % Set the thesis text.  In the Thesis Manual, see \S 3.10 Thesis (p11)
611 % for details.
612 %
613 % Highlights from the Manual:
614 % \begin{quote}
615 %   Divide the text into its major parts/chapters/subsections.  No
616 %   fixed arrangement is necessary.  The major parts may contain such
617 %   subjects as introduction, general argument, description of
618 %   experimental procedures, research methods, discussion, summary,
619 %   conclusions, recommendations, and other pertinent topics that are
620 %   necessary for a complete understanding on the part of a
621 %   sophisticated or professional reader.
622 % \end{quote}
623 %
624 % \DescribeEnv{vita}
625 % \DescribeEnv{DUTvita}
626 % Set the thesis vita text (Ph.D.\ only).  See the Manual \S 3.15 p12,
627 % ``Vita'', for details.
628 %
629 % Highlights from the Manual:
630 % \begin{quote}
631 %   The Vita is a biography of the student written in the third person
632 %   in either essay or outline form.  It should include the full name,
633 %   place and date of birth (optional), country of citizenship
634 %   (optional), institutions attended, degrees and honors received,
635 %   titles of publications, teaching and professional experience, and
636 %   other pertinent data.  The Vita must be one page or less.
637 % \end{quote}
638 %
639 %
640 % \subsection{Hints}
641 %
642 %
643 % \subsubsection{Package installation}
644 % \label{sec:dependencies}
645 %
646 % All the packages this class depends on must be installed somewhere
647 % in your texmf tree (they probably already are).  If not, you will
648 % recieve warning messages on compilation such as
649 % \begin{example}
650 %   ! LaTeX Error: File `missing-package.sty' not found.
651 % \end{example}
652 % You should then install the missing package(s) using your operating
653 % systems package manager, or grab the missing package from
654 % \href{http://www.ctan.org/}{CTAN}, and install them following TODO.
655 %
656 %
657 % \subsubsection{Tables and Figures}
658 %
659 % \pkg{drexel-thesis} loads
660 % \href{http://www.ctan.org/tex-archive/macros/latex/required/graphics/}{\pkg{graphicx}}
661 % to define the |\includegraphics| macro,
662 % \href{http://www.ctan.org/tex-archive/macros/latex/required/caption/}{\pkg{caption}}
663 % for pretty caption formatting,
664 % \href{http://www.ctan.org/tex-archive/macros/latex/required/floatrow/}{\pkg{floatrow}}
665 % for placing captions, and
666 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/}{\pkg{hypcap}}
667 % for placing caption anchors.
668 %
669 % Simple float definitions will look like
670 % \begin{example}
671 %   \begin{table}
672 %      \caption{Some caption text}
673 %      \begin{tabular}{...}
674 %        ...
675 %      \end{tabular}
676 %   \end{table}
677 % \end{example}
678 % or
679 % \begin{example}
680 %   \begin{float}
681 %      \includegraphics{...}
682 %      \caption{Some caption text}
683 %   \end{float}
684 % \end{example}
685 % For more useful float information, see the examples in \S
686 % \ref{sec:better-example-part} and the
687 % \href{http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions}
688 %   {\LaTeX\ wikibook page}.
689 %
690 %
691 % \subsubsection{Citations}
692 %
693 % I highly recommend using \BibTeX\ and
694 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/}{\pkg{natbib}}.
695 % See \S \ref{sec:better-example} for a simple example.
696 %
697 % Suggested options:\\
698 % \begin{tabular}{r p{0.8\textwidth}}
699 %   |super| & selects citations in superscript mode. \\
700 %   |sort&compress| & automatically sorts and compresses compound
701 %     citations (|\pcite{a,b,...}|).
702 % \end{tabular}
703 %
704 %
705 % \subsubsection{References}
706 %
707 % Easier cross referencing with
708 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/cleveref/}{\pkg{cleveref}}.
709 % Is a wonderful tool for easy, consistent crosslinking via |\cref|,
710 % |\Cref|, etc..  The manual is also very good.
711 % Note that if you use |\part|s in your document, you need to tell
712 % \pkg{cleveref} how to deal with them:
713 % \begin{example}
714 %   \usepackage{cleveref}
715 %   \crefname{part}{part}{parts}
716 % \end{example}
717 %
718 %
719 % \subsubsection{Hyperlinks}
720 %
721 % \cls{drexel-thesis} loads
722 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/}{%
723 %   \pkg{hyperref}}.
724 % with the options:\\
725 % \begin{tabular}{r p{0.8\textwidth}}
726 %   |colorlinks| & color the link letters instead of drawing colored boxes. \\
727 % \end{tabular}
728 %
729 % The default \pkg{hyperref} colors can be a bit jarring.  Feel free
730 % to use \Lopt{blackref} or override them yourself:
731 % \begin{example}
732 %   \usepackage{xcolor}
733 %   \definecolor{dark-gray}{gray}{0.3}
734 %   \hypersetup{citecolor=dark-gray}
735 % \end{example}
736 % See
737 % \href{http://mirror.ctan.org/macros/latex/contrib/hyperref/doc/manual.pdf}{%
738 %   the hyperref manual} (\S 3.4 Extension options)
739 % for a list of |*color| options.
740 %
741 % If running with a pdftex-based driver, |\author|, |\title|, and
742 % |\degree| automatically set |pdfauthor|, |pdftitle|, and
743 % |pdfsubject| respectively.  You can use the |\hypersetup| macro to
744 % set options overriding these defaults.
745 %
746 %
747 % \subsubsection{Developing large \LaTeX\ documents}
748 %
749 % A thesis may take a while to compile, especially if it contains
750 % lots of images, etc..  One way to save time, is to use |\includeonly|
751 % when including chapter \file{*.tex} files (see
752 % \href{http://en.wikibooks.org/wiki/TeX/includeonly}{the \TeX\ Wikibook}).
753 % Usage would be something like
754 % \begin{example}
755 % \documentclass{drexel-thesis}
756 % ...
757 % \includeonly{chapter2.tex,chapter3.tex}
758 % \begin{document}
759 % ...
760 % \begin{thesis}
761 % \include{chapter1.tex}
762 % \include{chapter2.tex}
763 % \include{chapter3.tex}
764 % \include{chapter4.tex}
765 % \end{thesis}
766 % ...
767 % \end{document}
768 % \end{example}
769 % which would only compile chapters two and three.  Don't confuse the
770 % similar commands |\include| and |\input|.  The more fundamental
771 % |\input| just inserts the file contents at that point, while
772 % |\include|
773 % \begin{itemize}
774 %   \item may only be used after |\begin{document}|
775 %   \item acts like |\clearpage \input{} \clearpage|
776 %   \item will not crash on nonexistent files
777 % \end{itemize}
778 %
779 %
780 % \StopEventually{\pagebreak\PrintChanges}
781 %
782 %
783 % \subsubsection{Passing options to packages used by \textsf{drexel-thesis}}
784 %
785 %
786 % \cls{drexel-thesis} uses a number of \LaTeX\ packages internally to
787 % format your thesis.  Sometimes you also want to use these packages
788 % directly, but \cls{drexel-thesis} is not passing them the option(s)
789 % you need.  The way to deal with these issues is
790 % \href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=optionclash}{%
791 %  \cs{PassOptionsToPackage}}.
792 % \begin{command}
793 %   `\cs{PassOptionsToPackage}\marg{option,...}\marg{package}'
794 % \end{command}
795 % For example, if you need to pass \Lopt{table} to \pkg{xcolor}, use:
796 % \begin{example}
797 % \PassOptionToPackage{table}{xcolor}
798 % \documentclass{drexel-thesis}
799 % \end{example}
800 % Note that you need to call \cs{PassOptionsToPackage} before the
801 % target package is imported via \cs{documentclass}.
802 %
803 %
804 % \section{Implementation}
805 %    \begin{macrocode}
806 %<*class>
807 %    \end{macrocode}
808 %
809 % For simplicity, we'll derive everything from the standard \cls{book}
810 % class.
811 %
812 %
813 % \subsection{Option Processing}
814 %
815 % Include
816 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/xkeyval/}{\pkg{xkeyval}}
817 % for easier option parsing.  If the package is not installed on your system,
818 % see \S \ref{sec:dependencies} for installation instructions.
819 %    \begin{macrocode}
820 \RequirePackage{xkeyval}
821 %    \end{macrocode}
822 %
823 % Define some booleans to store option states
824 %    \begin{macrocode}
825 \newif\if@mainmatter \@mainmattertrue
826 \newif\if@DUT@subfigopt
827 \newif\if@dottedchapter 
828 \newif\if@boldchapter
829 \newif\if@boldpart
830 \newif\if@dottedpart
831 \newif\if@indenttoc
832 \newif\if@blackref
833 \newif\if@draftwatermark
834 \newif\if@xdraftwatermark
835 \newif\if@indentfirst
836 \newif\if@final
837 \newif\if@daring
838 \newif\if@approvalform
839 %    \end{macrocode}
840 %
841 % \begin{macro}{\iffinal}
842 % \begin{macro}{\DUTiffinal}
843 % Setup a user-friendly means for including \Lopt{final}- or
844 % \Lopt{draft}-specific code.
845 % \changes{0.7}{2010/03/14}{W.~Trevor King added iffinal macro.}
846 % \changes{0.15}{2011/04/22}{W.~Trevor King added DUTiffinal macro.}
847 %    \begin{macrocode}
848 \newcommand\iffinal[2]{\if@final #1\else #2\fi}
849 \let\DUTiffinal\iffinal
850 %    \end{macrocode}
851 % \end{macro}
852 % \end{macro}
853 %
854 % \begin{macro}{\ifdraftwatermark}
855 % \begin{macro}{\DUTifdraftwatermark}
856 % Setup a user-friendly means for including
857 % \Lopt{draftwatermark}-specific code (e.g. |\draftmarksetup|,
858 % \S~\ref{sec:draftmark}).
859 % \changes{0.15}{2011/04/22}{W.~Trevor King added ifdraftwatermark macro.}
860 % \changes{0.15}{2011/04/22}{W.~Trevor King added DUTifdraftwatermark macro.}
861 %    \begin{macrocode}
862 \newcommand\ifdraftwatermark[2]{\if@draftwatermark #1\else #2\fi}
863 \let\DUTifdraftwatermark\ifdraftwatermark
864 %    \end{macrocode}
865 % \end{macro}
866 % \end{macro}
867 %
868 % \begin{macro}{\ifdaring}
869 % \begin{macro}{\DUTifdaring}
870 % Setup a user-friendly means for including \Lopt{daring}-specific
871 % code.
872 % \changes{0.11}{2010/06/04}{W.~Trevor King added ifdaring macro.}
873 % \changes{0.15}{2011/04/22}{W.~Trevor King added DUTifdaring macro.}
874 %    \begin{macrocode}
875 \newcommand\ifdaring[2]{\if@daring #1\else #2\fi}
876 \let\DUTifdaring\ifdaring
877 %    \end{macrocode}
878 % \end{macro}
879 % \end{macro}
880 %
881 % \begin{macro}{\DUT@makeapprovalform}
882 % Typesets the T-1 thesis/dissertation approval form.
883 % \changes{0.14}{2010/09/21}{Evan Sultanik added macro.}
884 %    \begin{macrocode}
885 \newcommand\DUT@makeapprovalform{
886   \thispagestyle{empty}
887   \begingroup
888   \newlength{\tempskipa}
889   \newlength{\tempskipb}
890 %    \end{macrocode}
891 % Don't indent paragraphs on this page.
892 %    \begin{macrocode}
893   \parindent \z@
894 %    \end{macrocode}
895 % Setup $\mbox{tempskipa} = \mbox{logo width} + \mbox{4pt}$ and
896 % $\mbox{tempskipb} = \mbox{textwidth} - \mbox{tempskipa} -
897 % \mbox{4pt}$.  The first |pt| ensures the logo will fit in the left
898 % column; the second provides some buffer space between the minipages.
899 %    \begin{macrocode}
900   \settowidth{\tempskipa}{\drexellogobw}
901   \addtolength{\tempskipa}{1em}
902   \setlength{\tempskipb}{\textwidth}
903   \addtolength{\tempskipb}{-\tempskipa}
904   \addtolength{\tempskipb}{-1em}
905 %    \end{macrocode}
906 % Add the logo and form title in columns.  Each column is in a minipage.
907 %    \begin{macrocode}
908   \begin{minipage}[c]{\tempskipa}
909 %    \end{macrocode}
910 % |\raisebox| drops the logo so that the image is centered on the baseline.
911 %    \begin{macrocode}
912     \raisebox{-0.5\height}{\drexellogobw}
913   \end{minipage}
914   \hfill
915   \begin{minipage}[c]{\tempskipb}
916 %    \end{macrocode}
917 % Unlike |\newline| or |\\|, |\linebreak| justifies the current line
918 % before requesting a newline.
919 %    \begin{macrocode}
920     \textbf{\Huge Office of Graduate Studies} \linebreak
921     \vskip 0.1\baselineskip
922 %    \end{macrocode}
923 % The original form lacks the spaces around the slash (|/|), but
924 % \LaTeX's font and kerning make the second line more compact in our
925 % version.  Allowing stretchy spaces around the slash helps the second
926 % line look more balanced.
927 %    \begin{macrocode}
928     \textbf{\LARGE Dissertation / Thesis Approval Form} \linebreak
929   \end{minipage}
930
931   \vskip 2\baselineskip
932
933   This form is for use by all doctoral and master's students with a
934   dissertation/thesis requirement.  Please print clearly as the
935   library will bind a copy of this form with each copy of the
936   dissertation/thesis.  All doctoral dissertations must conform to
937   university format requirements, which is the responsibility of the
938   student and supervising professor.  Students should obtain a copy of
939   the Thesis Manual located on the library website.
940
941   \vspace*{\fill}
942 %    \end{macrocode}
943 % Setup $\mbox{tempskipb} = \mbox{left column width}$ and
944 % $\mbox{tempskipa} = \mbox{textwidth} - \mbox{tempskipb} -
945 % \mbox{4em}$.  The |4em| provides some buffer space between the
946 % columns.
947 %    \begin{macrocode}
948   \settowidth{\tempskipb}{Dissertation/Thesis Title:}
949   \setlength{\tempskipa}{\textwidth}
950   \addtolength{\tempskipa}{-\tempskipb}
951   \addtolength{\tempskipa}{-4em}
952 %    \end{macrocode}
953 % Double space the student-contolled section to allow plenty of space
954 % for hand-written entries.
955 %    \begin{macrocode}
956   \begin{spacing}{2}
957     \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} l p{\tempskipa}}
958       \textbf{Dissertation/Thesis Title:} & \@DUT@title \\
959       \textbf{Author:} & \@DUT@author
960     \end{tabular*}
961
962     \vspace*{\fill}
963
964     \begin{center}
965       \textbf{This dissertation/thesis is hereby accepted and approved.}
966     \end{center}
967
968     \vspace*{\fill}
969
970     \textbf{Signatures:} \\
971     Examining Committee \\
972 %    \end{macrocode}
973 % The left most column is left blank and the stretchy space between
974 % columns indents the middle column.  I think this looks bad, but
975 % that's how Drexel's version of the T-1 form looks.
976 %    \begin{macrocode}
977     \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} p{0pt} l p{\tempskipa}}
978       & Chair            & \hrulefill \\
979       & Members          & \hrulefill \\
980       &                  & \hrulefill \\
981       &                  & \hrulefill \\
982       &                  & \hrulefill \\
983       &                  & \hrulefill \\
984       & Academic Advisor & \hrulefill \\
985       & Department Head  & \hrulefill
986     \end{tabular*}
987
988     \vspace*{\fill}
989   \end{spacing}
990
991   \begin{center}\scriptsize
992     Office of Graduate Studies
993     $\bullet$ 3141 Chestnut St.
994     $\bullet$ Randell Hall 240
995     $\bullet$ Philadelphia, PA 19104 \\
996     \textbf{Tel.}: 215-895-0366
997     $\bullet$ \textbf{Fax}: 215-895-0495
998     $\bullet$ \textbf{Email}:
999       \href{mailto:graduate@drexel.edu}{graduate@drexel.edu}
1000     $\bullet$ \textbf{Web}:
1001       \href{http://www.drexel.edu/provost/graduatestudies/}{%
1002                    www.drexel.edu/provost/graduatestudies}
1003   \end{center}
1004   \endgroup
1005   \pagebreak
1006 }
1007 %    \end{macrocode}
1008 % \end{macro}
1009 %
1010 % \begin{macro}{\drexellogobw}
1011 % Draws a vector art official black-and-white Drexel logo.  The image
1012 % is exactly 1~inch wide and 1.016~inches tall.
1013 % \changes{0.14}{2010/09/21}{Evan Sultanik added macro.}
1014 %    \begin{macrocode}
1015 \newcommand\drexellogobw{
1016   \begin{tikzpicture}[y=0.8pt, x=0.8pt,yscale=-1, inner sep=0pt, outer sep=0pt]
1017   \begin{scope}[cm={{1.25,0.0,0.0,-1.25,(-332.5,550.73629)}},]
1018     \path[fill=black,nonzero rule] (266.0000,367.4100) -- (338.0000,367.4100) --
1019       (338.0000,440.5890) -- (266.0000,440.5890) -- (266.0000,367.4100) -- cycle;
1020     \path[fill=white,nonzero rule] (269.3171,377.0107) -- (334.8469,377.0107) --
1021       (334.8469,438.7106) -- (269.3171,438.7106) -- (269.3171,377.0107) -- cycle;
1022     \path[fill=black,nonzero rule] (330.2168,398.2540) .. controls
1023       (328.9195,397.9603) and (327.1082,397.5687) .. (326.0555,397.4220) --
1024       (326.0555,396.7855) .. controls (327.6468,396.6388) and (327.6956,396.6388) ..
1025       (327.6956,395.1942) -- (327.6956,383.2000) .. controls (327.6956,381.8537) and
1026       (327.5489,381.7070) .. (326.0313,381.5600) -- (326.0313,380.8747) --
1027       (331.9060,380.8747) -- (331.9060,381.5600) .. controls (330.3147,381.7070) and
1028       (330.2168,381.8537) .. (330.2168,383.2000) -- (330.2168,398.2540) --
1029       cycle(319.4750,387.8511) .. controls (319.6711,389.6870) and
1030       (320.6989,390.8372) .. (321.7273,390.8372) .. controls (322.8042,390.8372) and
1031       (323.5629,389.5642) .. (323.5629,388.5852) .. controls (323.5629,388.0466) and
1032       (323.4650,387.8999) .. (323.1225,387.8999) -- (319.4750,387.8511) --
1033       cycle(325.6436,383.5183) .. controls (324.6889,382.7839) and
1034       (323.9057,382.4902) .. (323.0734,382.4902) .. controls (321.2375,382.4902) and
1035       (319.3037,383.7632) .. (319.3528,386.8472) .. controls (322.0207,386.9454) and
1036       (325.1787,387.1900) .. (325.5215,387.2391) .. controls (325.9865,387.3367) and
1037       (326.0352,387.3858) .. (326.0352,388.2915) .. controls (326.0352,390.0540) and
1038       (324.4443,391.7920) .. (322.3881,391.7920) .. controls (319.1570,391.7920) and
1039       (316.8805,388.7813) .. (316.9296,385.7212) .. controls (316.9784,382.8575) and
1040       (318.8630,380.5809) .. (322.0698,380.5809) .. controls (322.7551,380.5809) and
1041       (324.5910,381.0704) .. (325.9865,383.1021) -- (325.6436,383.5183) --
1042       cycle(312.6069,391.4983) -- (312.6069,390.8130) -- (313.2434,390.7393) ..
1043       controls (313.7084,390.6659) and (313.5859,390.3968) .. (313.2188,389.7848) ..
1044       controls (312.8518,389.1729) and (312.4111,388.5118) .. (311.9216,387.8265) --
1045       (310.5019,389.9561) .. controls (310.1836,390.4210) and (310.2327,390.6659) ..
1046       (310.6485,390.7147) -- (311.2851,390.8129) -- (311.2851,391.4982) --
1047       (305.8754,391.4982) -- (305.8754,390.8129) .. controls (307.1972,390.6659) and
1048       (307.3684,390.5680) .. (308.1762,389.3195) -- (310.4527,385.7948) .. controls
1049       (309.6938,384.7667) and (308.9839,383.8365) .. (308.4211,383.1021) .. controls
1050       (307.3930,381.7803) and (307.0259,381.7557) .. (305.6304,381.5599) --
1051       (305.6304,380.8746) -- (310.2327,380.8746) -- (310.2327,381.5599) --
1052       (309.5225,381.6824) .. controls (309.1309,381.7557) and (309.0576,381.9027) ..
1053       (309.4492,382.5635) .. controls (309.9142,383.3470) and (310.4528,384.1547) ..
1054       (310.9914,384.9379) -- (312.5824,382.5147) .. controls (312.9006,382.0252) and
1055       (312.8761,381.7069) .. (312.4353,381.6581) -- (311.7258,381.5599) --
1056       (311.7258,380.8746) -- (317.5271,380.8746) -- (317.5271,381.5599) .. controls
1057       (316.2053,381.7069) and (315.8867,381.8048) .. (314.9323,383.2491) --
1058       (312.4599,386.9942) .. controls (313.3168,388.1693) and (314.0021,389.0259) ..
1059       (314.2715,389.3683) .. controls (315.2997,390.6168) and (315.5934,390.6659) ..
1060       (317.1355,390.8129) -- (317.1355,391.4982) -- (312.6069,391.4982) --
1061       cycle(299.3927,387.8511) .. controls (299.5885,389.6870) and
1062       (300.6166,390.8372) .. (301.6447,390.8372) .. controls (302.7220,390.8372) and
1063       (303.4806,389.5642) .. (303.4806,388.5852) .. controls (303.4806,388.0466) and
1064       (303.3827,387.8999) .. (303.0402,387.8999) -- (299.3927,387.8511) --
1065       cycle(305.5614,383.5183) .. controls (304.6066,382.7839) and
1066       (303.8234,382.4902) .. (302.9911,382.4902) .. controls (301.1552,382.4902) and
1067       (299.2215,383.7632) .. (299.2706,386.8472) .. controls (301.9384,386.9454) and
1068       (305.0961,387.1900) .. (305.4389,387.2391) .. controls (305.9039,387.3367) and
1069       (305.9530,387.3858) .. (305.9530,388.2915) .. controls (305.9530,390.0540) and
1070       (304.3617,391.7920) .. (302.3058,391.7920) .. controls (299.0745,391.7920) and
1071       (296.7982,388.7813) .. (296.8470,385.7212) .. controls (296.8961,382.8575) and
1072       (298.7808,380.5809) .. (301.9876,380.5809) .. controls (302.6729,380.5809) and
1073       (304.5087,381.0704) .. (305.9039,383.1021) -- (305.5614,383.5183) --
1074       cycle(292.7087,391.8408) .. controls (291.4360,391.4492) and
1075       (289.8205,391.1067) .. (288.6211,390.9109) -- (288.6211,390.3477) .. controls
1076       (290.1387,390.2007) and (290.1875,390.1519) .. (290.1875,388.6585) --
1077       (290.1875,383.2000) .. controls (290.1875,381.8537) and (290.0408,381.7070) ..
1078       (288.5965,381.5600) -- (288.5965,380.8747) -- (294.6428,380.8747) --
1079       (294.6428,381.5600) .. controls (292.8557,381.7070) and (292.7087,381.8537) ..
1080       (292.7087,383.2000) -- (292.7087,388.1448) .. controls (293.2476,389.2217) and
1081       (293.8105,389.5154) .. (294.2266,389.5154) .. controls (294.6182,389.5154) and
1082       (295.0098,389.3196) .. (295.3526,388.9771) .. controls (295.4993,388.8301) and
1083       (295.7930,388.7813) .. (296.0625,388.8789) .. controls (296.6253,389.0993) and
1084       (297.0660,389.8091) .. (297.0660,390.4211) .. controls (297.0660,391.1067) and
1085       (296.4298,391.8408) .. (295.5484,391.8408) .. controls (294.3487,391.8408) and
1086       (293.3697,390.2986) .. (292.7823,389.3684) -- (292.7086,389.3684) --
1087       (292.7086,391.8408) -- cycle(276.3892,394.4356) .. controls
1088       (276.3892,395.0721) and (276.3892,395.5125) .. (276.5362,395.6350) .. controls
1089       (276.6829,395.7574) and (277.3194,395.8553) .. (278.1272,395.8553) .. controls
1090       (282.0438,395.8553) and (284.6874,394.0440) .. (284.6874,388.8055) .. controls
1091       (284.6874,384.7422) and (282.5821,381.8782) .. (278.5188,381.8782) .. controls
1092       (276.6341,381.8782) and (276.3892,382.3435) .. (276.3892,384.5952) --
1093       (276.3892,394.4356) -- cycle(271.6405,396.7855) -- (271.6405,396.0999) ..
1094       controls (273.4518,395.9532) and (273.6476,395.7574) .. (273.6476,393.1138) --
1095       (273.6476,384.5464) .. controls (273.6476,381.9028) and (273.4518,381.7070) ..
1096       (271.4447,381.5599) -- (271.4447,380.8746) -- (277.4419,380.8746) .. controls
1097       (283.1695,380.8746) and (287.8206,383.5183) .. (287.8206,389.5399) .. controls
1098       (287.8206,391.6941) and (286.8903,393.5054) .. (285.7643,394.6314) .. controls
1099       (284.1488,396.1981) and (281.6522,396.7855) .. (278.9104,396.7855) --
1100       (271.6405,396.7855);
1101     \path[fill=white,nonzero rule] (277.1649,373.9784) -- (277.1649,371.3099) ..
1102       controls (277.1649,370.4792) and (277.1239,369.7235) .. (276.0893,369.7235) ..
1103       controls (275.0546,369.7235) and (275.0137,370.4792) .. (275.0137,371.3099) --
1104       (275.0137,373.9784) -- (273.9584,373.9784) -- (273.9584,370.9013) .. controls
1105       (273.9584,369.5942) and (274.8978,368.9613) .. (276.0893,368.9613) .. controls
1106       (277.2808,368.9613) and (278.2201,369.5942) .. (278.2201,370.9013) --
1107       (278.2201,373.9784) -- (277.1649,373.9784);
1108     \path[fill=white,nonzero rule] (285.3943,369.0631) -- (285.3943,373.9784) --
1109       (284.4072,373.9784) -- (284.4072,370.1253) -- (284.3933,370.1119) --
1110       (282.5215,373.9785) -- (280.9557,373.9785) -- (280.9557,369.0632) --
1111       (281.9429,369.0632) -- (281.9429,373.1344) -- (281.9563,373.1482) --
1112       (283.8966,369.0632) -- (285.3943,369.0632);
1113     \path[fill=white,nonzero rule] (287.9938,369.0631) -- (289.0489,369.0631) --
1114       (289.0489,373.9783) -- (287.9938,373.9783) -- (287.9938,369.0631) -- cycle;
1115     \path[fill=white,nonzero rule] (293.1186,369.0631) -- (294.2692,369.0631) --
1116       (296.0802,373.9784) -- (295.0383,373.9784) -- (293.7518,370.1047) --
1117       (293.7380,370.1047) -- (292.4581,373.9784) -- (291.3076,373.9784) --
1118       (293.1186,369.0631);
1119     \path[fill=white,nonzero rule] (298.3125,369.0631) -- (301.6824,369.0631) --
1120       (301.6824,369.8804) -- (299.3678,369.8804) -- (299.3678,371.1940) --
1121       (301.4647,371.1940) -- (301.4647,372.0109) -- (299.3678,372.0109) --
1122       (299.3678,373.1615) -- (301.6078,373.1615) -- (301.6078,373.9784) --
1123       (298.3125,373.9784) -- (298.3125,369.0631);
1124     \path[fill=white,nonzero rule] (305.3086,373.1615) -- (306.1936,373.1615) ..
1125       controls (306.6566,373.1545) and (306.9291,372.9710) .. (306.9291,372.5352) ..
1126       controls (306.9291,372.0997) and (306.6566,371.8682) .. (306.1936,371.8613) --
1127       (305.3086,371.8613) -- (305.3086,373.1615) -- cycle(305.3086,371.0444) --
1128       (306.4251,371.0444) .. controls (306.7722,371.0306) and (306.8403,370.6564) ..
1129       (306.8675,370.3840) .. controls (306.9153,369.9413) and (306.9631,369.4989) ..
1130       (307.0515,369.0631) -- (308.2158,369.0631) .. controls (308.0181,369.3356) and
1131       (307.9771,369.9141) .. (307.9297,370.2275) .. controls (307.8413,370.9082) and
1132       (307.8413,371.4052) .. (307.0309,371.4936) -- (307.0309,371.5074) .. controls
1133       (307.6369,371.6368) and (308.0521,372.0588) .. (308.0521,372.6986) .. controls
1134       (308.0521,373.6995) and (307.1877,373.9719) .. (306.3436,373.9785) --
1135       (304.2533,373.9785) -- (304.2533,369.0632) -- (305.3086,369.0632) --
1136       (305.3086,371.0444);
1137     \path[fill=white,nonzero rule] (314.2601,372.5761) .. controls
1138       (314.2601,373.5633) and (313.5181,374.0806) .. (312.5650,374.0806) .. controls
1139       (311.5572,374.0806) and (310.5225,373.5836) .. (310.5225,372.4605) .. controls
1140       (310.5225,371.5889) and (311.4619,371.2759) .. (312.1495,371.1056) .. controls
1141       (312.5719,370.9969) and (313.2729,370.9560) .. (313.2729,370.3771) .. controls
1142       (313.2729,369.8529) and (312.7146,369.7235) .. (312.2926,369.7235) .. controls
1143       (311.7412,369.7235) and (311.4282,370.0912) .. (311.4691,370.6358) --
1144       (310.3932,370.6358) .. controls (310.3592,369.3968) and (311.1558,368.9613) ..
1145       (312.2792,368.9613) .. controls (313.3341,368.9613) and (314.3963,369.3834) ..
1146       (314.3963,370.6017) .. controls (314.3963,371.5889) and (313.2935,371.8001) ..
1147       (312.5447,371.9906) .. controls (312.1227,372.0928) and (311.6459,372.1540) ..
1148       (311.6459,372.6851) .. controls (311.6459,373.1140) and (312.0408,373.3184) ..
1149       (312.4288,373.3184) .. controls (312.9393,373.3184) and (313.2048,373.0731) ..
1150       (313.2457,372.5761) -- (314.2601,372.5761);
1151     \path[fill=white,nonzero rule] (316.8870,369.0631) -- (317.9422,369.0631) --
1152       (317.9422,373.9783) -- (316.8870,373.9783) -- (316.8870,369.0631) -- cycle;
1153     \path[fill=white,nonzero rule] (320.2146,373.1615) -- (321.6782,373.1615) --
1154       (321.6782,369.0631) -- (322.7335,369.0631) -- (322.7335,373.1615) --
1155       (324.1971,373.1615) -- (324.1971,373.9784) -- (320.2146,373.9784) --
1156       (320.2146,373.1615);
1157     \path[fill=white,nonzero rule] (327.7961,369.0631) -- (328.8511,369.0631) --
1158       (328.8511,370.6701) -- (330.5056,373.9784) -- (329.4231,373.9784) --
1159       (328.3881,371.7251) -- (327.3741,373.9784) -- (326.1417,373.9784) --
1160       (327.7961,370.6701) -- (327.7961,369.0631);
1161     \path[fill=black,nonzero rule] (317.2675,431.5469) .. controls
1162       (316.1860,431.3992) and (315.2214,430.7506) .. (314.6366,429.7477) .. controls
1163       (314.1108,428.7739) and (313.9058,427.3581) .. (314.6661,426.4142) .. controls
1164       (315.0459,425.9718) and (315.5138,425.6179) .. (316.0986,425.5884) .. controls
1165       (317.6768,425.7655) and (318.7000,427.4174) .. (320.2199,427.8005) .. controls
1166       (321.2140,428.1250) and (322.0325,427.5647) .. (322.7342,427.0042) .. controls
1167       (323.2604,426.6797) and (323.9912,426.7681) .. (324.4882,427.0926) .. controls
1168       (322.8511,425.7652) and (321.7401,423.7889) .. (321.5650,421.6357) .. controls
1169       (321.3308,422.6386) and (320.7169,423.7299) .. (319.7232,424.0839) .. controls
1170       (318.6126,424.4971) and (317.6480,423.8183) .. (316.8877,423.0810) .. controls
1171       (316.1864,422.3436) and (315.8940,421.3997) .. (315.5138,420.5146) .. controls
1172       (316.0400,420.9868) and (316.6834,421.6063) .. (317.4725,421.7536) .. controls
1173       (318.4665,422.0486) and (319.4020,421.7241) .. (320.1911,421.1344) .. controls
1174       (320.4540,420.8689) and (320.7759,420.6328) .. (320.8927,420.2199) .. controls
1175       (319.8990,419.5415) and (319.5772,418.3909) .. (319.6358,417.1814) .. controls
1176       (319.3142,418.1254) and (318.9636,419.2760) .. (317.8818,419.6889) .. controls
1177       (317.1801,419.9839) and (316.3032,419.8955) .. (315.7479,419.3054) .. controls
1178       (315.2800,418.8038) and (315.2509,418.0075) .. (315.3678,417.3291) .. controls
1179       (315.8062,415.4120) and (317.5602,414.2909) .. (319.2265,413.7304) .. controls
1180       (320.9514,413.1109) and (322.5299,411.5180) .. (322.7345,409.6304) .. controls
1181       (322.9978,409.6893) and (323.4362,409.8956) .. (323.6700,409.6006) .. controls
1182       (323.9329,410.4856) and (324.3422,411.6362) .. (325.3945,411.9309) .. controls
1183       (326.1545,412.2262) and (326.9439,411.9309) .. (327.5287,411.4001) .. controls
1184       (328.1426,410.7217) and (328.4350,409.8366) .. (328.2595,408.8927) .. controls
1185       (328.1717,408.5093) and (327.9962,408.1553) .. (327.7625,407.8308) .. controls
1186       (327.8502,408.2732) and (327.9088,408.9814) .. (327.6164,409.3943) .. controls
1187       (327.3823,409.7188) and (327.0316,409.9548) .. (326.6515,409.9548) .. controls
1188       (326.3594,409.9843) and (326.1548,409.8075) .. (326.0084,409.5714) .. controls
1189       (325.6869,408.1258) and (327.4995,407.7424) .. (327.5578,406.3856) .. controls
1190       (327.5873,405.6482) and (327.2949,404.9695) .. (326.6518,404.6453) .. controls
1191       (325.9505,404.3503) and (325.1902,404.6155) .. (324.6932,405.1466) .. controls
1192       (324.4303,405.3824) and (324.2256,405.6777) .. (324.1087,405.9724) .. controls
1193       (324.6346,405.7072) and (325.5995,405.4416) .. (326.1548,405.9433) .. controls
1194       (326.4180,406.1790) and (326.5346,406.4740) .. (326.5346,406.8280) .. controls
1195       (326.5932,407.3591) and (326.1839,407.8014) .. (325.8333,408.0964) .. controls
1196       (325.5114,408.3325) and (325.1607,408.4798) .. (324.7515,408.5388) .. controls
1197       (324.9856,408.0669) and (324.9564,407.4180) .. (324.6346,407.0051) .. controls
1198       (324.1087,406.2677) and (323.1733,406.3264) .. (322.3547,406.4151) .. controls
1199       (321.4779,404.2030) and (319.0516,403.0230) .. (316.8884,402.4330) --
1200       (315.3098,402.3151) .. controls (316.3039,401.6956) and (317.3562,401.2234) ..
1201       (318.4086,400.7222) .. controls (318.9639,401.7251) and (319.7530,402.8458) ..
1202       (320.9517,403.0819) .. controls (321.8285,403.1998) and (322.6471,402.9048) ..
1203       (323.1441,402.1969) .. controls (323.5534,401.4595) and (323.8163,400.4566) ..
1204       (323.4657,399.6011) -- (323.0855,398.8932) .. controls (323.2610,399.5421) and
1205       (323.0563,400.3682) .. (322.5011,400.8695) .. controls (322.2087,401.1056) and
1206       (321.8285,401.2234) .. (321.4484,401.1645) .. controls (321.0977,401.1056) and
1207       (320.7471,400.8695) .. (320.6302,400.5156) .. controls (320.2500,398.7753) and
1208       (322.8226,398.7458) .. (322.5302,396.9761) .. controls (322.4719,396.5039) and
1209       (322.2673,396.1205) .. (321.8580,395.7961) .. controls (321.2444,395.2948) and
1210       (320.1331,395.2358) .. (319.4026,395.6192) .. controls (318.9348,395.7961) and
1211       (318.5255,396.1795) .. (318.1457,396.5039) .. controls (317.5609,396.1795) and
1212       (316.6546,396.1503) .. (316.1284,396.6221) .. controls (315.3393,397.2711) and
1213       (315.1930,398.2147) .. (314.9592,399.1292) .. controls (311.7435,400.3977) and
1214       (308.7325,402.2561) .. (306.2186,404.9698) .. controls (304.4354,406.8872) and
1215       (303.6460,409.5125) .. (304.0553,412.1968) .. controls (304.4646,414.6744) and
1216       (304.2305,417.5357) .. (302.0966,419.0108) .. controls (301.1026,419.5415) and
1217       (299.8161,419.8071) .. (298.7055,419.3647) .. controls (297.5945,418.8929) and
1218       (296.8346,417.6539) .. (296.8054,416.4150) .. controls (296.8640,414.2026) and
1219       (298.0919,412.3444) .. (299.0860,410.4565) .. controls (300.0214,408.2146) and
1220       (299.6121,405.4122) .. (297.8581,403.7607) .. controls (296.4842,402.0793) and
1221       (294.5259,401.5780) .. (293.0057,400.1914) .. controls (292.8010,399.9848) and
1222       (292.7136,399.6606) .. (292.8305,399.3951) .. controls (293.3275,398.7462) and
1223       (294.2921,398.7462) .. (295.1107,398.8051) .. controls (296.8644,399.1296) and
1224       (298.1796,400.4570) .. (299.8459,400.9288) .. controls (300.8986,401.0764) and
1225       (301.9215,400.7225) .. (302.4771,399.8080) .. controls (302.6817,399.4246) and
1226       (302.8569,398.9230) .. (302.7109,398.4511) .. controls (302.5648,397.9790) and
1227       (302.2138,397.5367) .. (301.8046,397.3300) .. controls (301.5416,397.2122) and
1228       (301.1615,397.2416) .. (300.8691,397.2711) .. controls (301.2201,397.3893) and
1229       (301.6585,397.6546) .. (301.7754,398.1264) .. controls (301.8631,398.5101) and
1230       (301.7463,398.9230) .. (301.4830,399.2180) .. controls (301.1615,399.5130) and
1231       (300.8108,399.6607) .. (300.3724,399.6607) .. controls (300.6353,399.3359) and
1232       (300.8691,398.8935) .. (300.8108,398.3919) .. controls (300.6939,397.6251) and
1233       (300.1678,396.8877) .. (299.4075,396.6811) .. controls (299.0277,396.5633) and
1234       (298.6475,396.7106) .. (298.3260,396.9172) .. controls (298.0339,397.1533) and
1235       (297.9167,397.4188) .. (297.7707,397.7138) .. controls (297.9753,397.5072) and
1236       (298.2383,397.3599) .. (298.5306,397.3893) .. controls (298.9399,397.4482) and
1237       (299.2323,397.6840) .. (299.3783,398.0678) .. controls (299.4661,398.3330) and
1238       (299.4661,398.6873) .. (299.3197,398.9230) .. controls (299.1446,399.1885) and
1239       (298.8522,399.3657) .. (298.5015,399.2769) .. controls (297.3906,398.9230) and
1240       (297.1568,397.3599) .. (296.0167,397.0056) .. controls (294.5551,396.8877) and
1241       (293.0057,397.0649) .. (291.4858,396.9761) -- (286.8671,396.8582) .. controls
1242       (286.6042,396.9466) and (286.2824,397.0056) .. (286.1655,397.3009) .. controls
1243       (285.6393,398.1856) and (286.9549,399.1885) .. (285.8439,399.8673) .. controls
1244       (283.0376,401.7843) and (279.9097,403.7017) .. (278.0679,406.8283) .. controls
1245       (276.4017,409.6307) and (274.9692,413.8490) .. (277.0735,416.9166) .. controls
1246       (278.1845,418.5095) and (280.0263,419.4535) .. (282.0432,419.0995) .. controls
1247       (283.6508,418.8929) and (284.9956,417.5656) .. (285.4049,416.0316) --
1248       (285.4927,415.5005) .. controls (284.8787,416.5921) and (283.8850,417.6834) ..
1249       (282.6277,418.0963) .. controls (282.7449,417.7718) and (282.6863,417.3000) ..
1250       (282.6280,416.9461) .. controls (282.3942,417.4771) and (281.7509,417.9490) ..
1251       (281.1664,418.1556) .. controls (281.4293,417.6834) and (281.7220,417.1229) ..
1252       (281.6340,416.5037) .. controls (281.2247,416.9755) and (280.6111,417.4474) ..
1253       (279.9386,417.2705) .. controls (280.4647,416.8282) and (280.9326,416.3560) ..
1254       (281.1373,415.6776) .. controls (280.6697,415.9726) and (279.9680,416.2676) ..
1255       (279.3246,416.0021) .. controls (279.8803,415.6482) and (280.8743,415.3531) ..
1256       (280.8743,414.4386) .. controls (280.5819,414.6453) and (280.1727,414.7337) ..
1257       (279.8217,414.6453) -- (279.3832,414.4386) .. controls (279.8217,414.2618) and
1258       (280.4356,414.1145) .. (280.7571,413.6424) -- (281.0204,413.1705) .. controls
1259       (280.4064,413.2294) and (279.7634,413.1407) .. (279.3246,412.6689) .. controls
1260       (279.9972,412.5510) and (280.6988,412.4626) .. (281.1373,411.8432) .. controls
1261       (280.5525,411.6955) and (279.9386,411.3710) .. (279.7339,410.7221) .. controls
1262       (280.2896,411.0171) and (281.1373,411.0171) .. (281.6634,410.5747) .. controls
1263       (281.0204,410.2208) and (280.3478,409.5423) .. (280.5233,408.6868) .. controls
1264       (281.0790,409.1291) and (281.8681,409.5129) .. (282.6283,409.1586) .. controls
1265       (281.8098,408.8047) and (281.2836,407.9789) .. (281.2541,407.1528) --
1266       (281.2836,406.9171) .. controls (281.8681,407.5955) and (282.6284,408.0378) ..
1267       (283.5344,407.8610) .. controls (282.7453,407.4773) and (282.3943,406.6810) ..
1268       (282.4820,405.7959) .. controls (282.6284,405.8846) and (282.7453,406.0910) ..
1269       (282.9208,406.2092) .. controls (283.4761,406.5631) and (284.0314,406.9171) ..
1270       (284.6745,406.9465) .. controls (284.2360,406.3565) and (283.6221,405.5893) ..
1271       (283.8854,404.7341) .. controls (284.2946,405.5013) and (285.0546,406.3270) ..
1272       (285.9314,406.4154) .. controls (285.4930,405.8254) and (285.3470,405.0881) ..
1273       (285.3470,404.3212) .. controls (285.9609,405.1765) and (286.8669,406.1794) ..
1274       (287.8901,406.5631) .. controls (287.5391,405.9141) and (287.2176,404.8225) ..
1275       (287.5977,404.0262) .. controls (287.8901,404.9997) and (288.5040,406.0026) ..
1276       (289.2348,406.6512) .. controls (289.0885,405.8254) and (289.3517,405.0586) ..
1277       (289.9948,404.4980) -- (290.0534,404.5569) .. controls (290.0239,405.6191) and
1278       (290.4332,406.5333) .. (290.9594,407.3299) .. controls (290.8425,406.6220) and
1279       (291.2517,405.9730) .. (291.8657,405.6188) -- (292.1289,405.5009) .. controls
1280       (291.8365,406.2386) and (291.6319,407.0938) .. (291.7779,408.0083) .. controls
1281       (292.3041,407.4478) and (293.0644,406.7693) .. (293.9117,406.8872) .. controls
1282       (292.6551,408.0083) and (291.3978,409.2473) .. (290.8716,410.8104) .. controls
1283       (291.3686,410.2797) and (292.1577,409.9254) .. (293.0054,409.9847) .. controls
1284       (291.4272,411.1054) and (289.9948,413.0523) .. (289.8484,415.0876) .. controls
1285       (290.1994,414.2618) and (290.9885,413.6125) .. (291.8071,413.3178) .. controls
1286       (290.6961,414.9697) and (289.5269,416.8868) .. (290.1405,419.1286) .. controls
1287       (290.2868,418.0668) and (290.9008,416.8868) .. (292.0117,416.5626) .. controls
1288       (291.3978,417.7129) and (290.5792,418.8929) .. (290.7544,420.3676) .. controls
1289       (290.8127,421.2821) and (291.1051,422.1671) .. (291.6312,422.9045) .. controls
1290       (291.2514,422.0784) and (291.1928,420.7808) .. (291.9528,420.0137) --
1291       (292.0114,419.9548) .. controls (291.7776,422.2556) and (292.6544,424.5269) ..
1292       (294.6422,425.5888) -- (295.4022,426.0016) .. controls (294.7883,425.2050) and
1293       (294.3793,424.3498) .. (294.3793,423.3171) .. controls (295.2558,425.2050) and
1294       (297.0976,427.0635) .. (299.4364,426.9456) .. controls (299.7870,426.9751) and
1295       (300.1086,426.9158) .. (300.4301,426.8569) .. controls (299.4655,426.4146) and
1296       (298.2668,425.6769) .. (298.1499,424.4677) .. controls (299.7284,425.9129) and
1297       (301.9503,426.7096) .. (304.1133,425.9129) .. controls (304.6103,425.7063) and
1298       (305.1656,425.4411) .. (305.4872,425.0279) .. controls (304.7272,425.4411) and
1299       (303.8504,425.1166) .. (303.2070,424.7034) .. controls (302.9149,424.4972) and
1300       (302.5056,424.2021) .. (302.3888,423.8482) .. controls (303.8795,424.4088) and
1301       (306.1597,424.7922) .. (307.3289,423.2877) -- (308.0598,422.1374) .. controls
1302       (307.2707,422.6685) and (306.3352,423.1108) .. (305.3120,422.9046) .. controls
1303       (305.1365,422.8453) and (304.9610,422.7569) .. (304.7858,422.6092) .. controls
1304       (306.4226,422.5503) and (308.0306,421.7537) .. (308.7028,420.2200) --
1305       (308.9075,419.3055) .. controls (308.4982,420.1021) and (307.6505,420.8984) ..
1306       (306.6859,420.9279) .. controls (307.2412,420.3382) and (308.0892,419.7482) ..
1307       (308.3521,418.9221) .. controls (308.9078,417.6831) and (309.0538,416.1789) ..
1308       (310.3985,415.4121) .. controls (310.9247,415.1466) and (311.4800,414.9694) ..
1309       (312.0648,414.8810) .. controls (310.0479,415.7068) and (309.3171,418.1258) ..
1310       (309.1707,420.2495) .. controls (309.6677,419.6303) and (310.3108,419.0694) ..
1311       (311.0125,418.7748) .. controls (310.6615,419.2171) and (310.3108,419.5121) ..
1312       (309.9307,419.9839) .. controls (308.7614,421.4001) and (308.0598,423.2582) ..
1313       (308.4982,425.1461) .. controls (308.8197,426.3553) and (309.6383,427.3582) ..
1314       (310.4274,428.3611) .. controls (309.7846,427.1224) and (309.6674,425.3233) ..
1315       (310.4569,424.1137) .. controls (310.8367,423.5237) and (311.3632,423.0221) ..
1316       (311.8893,422.6387) .. controls (310.8661,423.9955) and (310.3982,426.0013) ..
1317       (311.0122,427.7419) .. controls (311.8890,430.1312) and (314.3444,431.3993) ..
1318       (316.7123,431.5764) -- (317.2676,431.5469);
1319     \path[fill=white,nonzero rule] (314.4906,424.9100) .. controls
1320       (314.8707,424.6150) and (315.4260,424.4378) .. (315.9231,424.6444) .. controls
1321       (316.0109,424.6739) and (316.0986,424.7328) .. (316.2155,424.7623) .. controls
1322       (315.7770,424.2905) and (315.3091,423.3171) .. (314.4906,423.5237) .. controls
1323       (313.7892,424.0544) and (314.0522,425.1461) .. (313.9936,425.9424) .. controls
1324       (314.0231,425.5295) and (314.1982,425.2050) .. (314.4906,424.9100);
1325     \path[fill=white,nonzero rule] (312.1524,410.9578) .. controls
1326       (312.7372,411.0167) and (313.2634,411.4001) .. (313.5849,411.8723) .. controls
1327       (313.9356,410.8101) and (314.4621,409.1880) .. (313.5849,408.1851) .. controls
1328       (313.3220,407.9196) and (313.0005,407.8014) .. (312.6203,407.8014) .. controls
1329       (311.1587,407.8901) and (310.5157,409.4238) .. (310.1060,410.6627) .. controls
1330       (309.8140,411.5183) and (309.8140,412.4623) .. (309.6968,413.4062) .. controls
1331       (310.1355,412.3735) and (310.8663,410.9283) .. (312.1524,410.9578);
1332     \path[fill=white,nonzero rule] (320.8934,398.4803) .. controls
1333       (321.1563,398.2147) and (321.3023,397.9200) .. (321.2440,397.5363) .. controls
1334       (321.2440,397.2122) and (320.9517,396.8874) .. (320.6887,396.7695) .. controls
1335       (320.0748,396.5039) and (319.3440,396.7106) .. (318.8178,397.0056) .. controls
1336       (319.3145,397.5068) and (319.6072,398.0969) .. (319.6947,398.7458) .. controls
1337       (320.1331,398.8047) and (320.5424,398.7163) .. (320.8934,398.4803);
1338     \path[fill=white,nonzero rule] (322.0034,426.5913) .. controls
1339       (322.0616,426.2668) and (321.8865,426.0013) .. (321.6232,425.8834) .. controls
1340       (321.1848,425.7652) and (320.6000,425.7652) .. (320.2785,426.1195) .. controls
1341       (320.1324,426.3258) and (320.0447,426.6208) .. (320.2199,426.8274) .. controls
1342       (320.6586,427.3581) and (321.6818,427.2403) .. (322.0034,426.5913);
1343     \path[fill=white,nonzero rule] (317.0930,398.3624) .. controls
1344       (317.0639,398.0968) and (316.8592,397.8611) .. (316.5963,397.8018) .. controls
1345       (316.2453,397.7723) and (316.1575,398.0968) .. (316.0701,398.3624) --
1346       (316.0406,398.7753) -- (317.0929,398.3624);
1347     \path[fill=white,nonzero rule] (323.3484,407.8309) .. controls
1348       (323.3193,407.3590) and (322.9977,407.1524) .. (322.5885,407.0051) .. controls
1349       (322.7345,407.4474) and (322.7640,407.9785) .. (322.7057,408.4504) .. controls
1350       (322.9686,408.3325) and (323.2315,408.1259) .. (323.3484,407.8309);
1351   \end{scope}
1352   \end{tikzpicture}
1353 }
1354 %    \end{macrocode}
1355 % \end{macro}
1356 %
1357 % \begin{option}{subfig}
1358 % Set \Lopt{subfig} flag
1359 %    \begin{macrocode}
1360 \DeclareOptionX{subfig}{\@DUT@subfigopttrue}
1361 %    \end{macrocode}
1362 % \end{option}
1363 %
1364 % \begin{option}{finalspace}
1365 %    \begin{macrocode}
1366 \DeclareOptionX{finalspace}{
1367   \setlength\overfullrule{0pt}
1368   \def\@DUT@toc@sep{1} % content page separation (# blanklines between entries)
1369   \def\@ssp{1} % single space
1370   \def\@dsp{2} % double space
1371   \def\@tsp{3} % triple space
1372 }
1373 %    \end{macrocode}
1374 % \end{option}
1375 % \begin{option}{draftspace}
1376 %    \begin{macrocode}
1377 \DeclareOptionX{draftspace}{
1378   \setlength\overfullrule{5pt}
1379   \def\DUT@toc@sep{0} % content page separation (# blanklines between entries)
1380   \def\@ssp{1} % single space
1381   \def\@dsp{1} % double space
1382   \def\@tsp{2} % triple space
1383 %    \end{macrocode}
1384 %  Don't force chapters onto right-hand pages.
1385 %    \begin{macrocode}
1386   \PassOptionsToClass{openany}{book}
1387 }
1388 %    \end{macrocode}
1389 % \end{option}
1390 %
1391 % \begin{option}{dottedpart}
1392 %    \begin{macrocode}
1393 \DeclareOptionX{dottedpart}{\@dottedparttrue}
1394 %    \end{macrocode}
1395 % \end{option}
1396 % \begin{option}{dottedchapter}
1397 %    \begin{macrocode}
1398 \DeclareOptionX{dottedchapter}{\@dottedchaptertrue}
1399 %    \end{macrocode}1
1400 % \end{option}
1401 % \begin{option}{boldpart}
1402 %    \begin{macrocode}
1403 \DeclareOptionX{boldpart}{\@boldparttrue}
1404 %    \end{macrocode}
1405 % \end{option}
1406 % \begin{option}{boldchapter}
1407 %    \begin{macrocode}
1408 \DeclareOptionX{boldchapter}{\@boldchaptertrue}
1409 %    \end{macrocode}
1410 % \end{option}
1411 % \begin{option}{dottedtoc}
1412 %    \begin{macrocode}
1413 \DeclareOptionX{dottedtoc}{
1414   \setkeys{drexel-thesis.cls}{dottedpart}
1415   \setkeys{drexel-thesis.cls}{dottedchapter}
1416 }
1417 %    \end{macrocode}
1418 % \end{option}
1419 % \begin{option}{boldtoc}
1420 %    \begin{macrocode}
1421 \DeclareOptionX{boldtoc}{
1422   \setkeys{drexel-thesis.cls}{boldpart}
1423   \setkeys{drexel-thesis.cls}{boldchapter}
1424 }
1425 %    \end{macrocode}
1426 % \end{option}
1427 %
1428 % \begin{option}{indenttoc}
1429 % Set \Lopt{indenttoc} flag
1430 %    \begin{macrocode}
1431 \DeclareOptionX{indenttoc}{\@indenttoctrue}
1432 %    \end{macrocode}
1433 % \end{option}
1434 %
1435 % \begin{option}{blackref}
1436 % Set \Lopt{blackref} flag
1437 % \changes{0.13}{2010/06/17}{W.~Trevor King added blackref option.}
1438 %    \begin{macrocode}
1439 \DeclareOptionX{blackref}{\@blackreftrue}
1440 %    \end{macrocode}
1441 % \end{option}
1442 %
1443 % \begin{option}{draftwatermark}
1444 % Set \Lopt{draftwatermark} flag
1445 %    \begin{macrocode}
1446 \DeclareOptionX{draftwatermark}{%
1447   \@draftwatermarktrue
1448   \@xdraftwatermarkfalse}
1449 %    \end{macrocode}
1450 % \end{option}
1451 %
1452 % \begin{option}{xdraftwatermark}
1453 % Set \Lopt{xdraftwatermark} flag
1454 % \changes{0.15}{2011/04/22}{W.~Trevor King renamed mydraftwatermark
1455 %   to xdraftwatermark.}
1456 %    \begin{macrocode}
1457 \DeclareOptionX{xdraftwatermark}{% 
1458   \@draftwatermarkfalse
1459   \@xdraftwatermarktrue}
1460 %    \end{macrocode}
1461 % \end{option}
1462 %
1463 % \begin{option}{nodraftwatermark}
1464 % Clear \Lopt{draftwatermark} and \Lopt{xdraftwatermark} flags
1465 % \changes{0.15}{2011/04/22}{W.~Trevor King added nodraftwatermark option.}
1466 %    \begin{macrocode}
1467  \DeclareOptionX{nodraftwatermark}{% 
1468   \@draftwatermarkfalse
1469   \@xdraftwatermarkfalse}
1470 %    \end{macrocode}
1471 % \end{option}
1472 %
1473 % \begin{option}{indentfirst}
1474 % Set \Lopt{indentfirst} flag
1475 %    \begin{macrocode}
1476 \DeclareOptionX{indentfirst}{\@indentfirsttrue}
1477 %    \end{macrocode}
1478 % \end{option}
1479 %
1480 % Define the book options that \Lopt{final} and \Lopt{draft} need to
1481 % access.
1482 % \begin{option}{oneside}
1483 %    \begin{macrocode}
1484 \DeclareOptionX{oneside}{\PassOptionsToClass{oneside}{book}}
1485 %    \end{macrocode}
1486 % \end{option}
1487 %
1488 % \begin{option}{twoside}
1489 %    \begin{macrocode}
1490 \DeclareOptionX{twoside}{\PassOptionsToClass{twoside}{book}}
1491 %    \end{macrocode}
1492 % \end{option}
1493 %
1494 % \begin{option}{final}
1495 %    \begin{macrocode}
1496 \DeclareOptionX{final}{
1497   \@finaltrue
1498   \setkeys{drexel-thesis.cls}{oneside}
1499   \setkeys{drexel-thesis.cls}{finalspace}
1500   \setkeys{drexel-thesis.cls}{dottedtoc}
1501 }
1502 %    \end{macrocode}
1503 % \end{option}
1504 %
1505 % \begin{option}{draft}
1506 %    \begin{macrocode}
1507 \DeclareOptionX{draft}{
1508   \@finalfalse
1509   \setkeys{drexel-thesis.cls}{twoside}
1510   \setkeys{drexel-thesis.cls}{draftspace}
1511   \setkeys{drexel-thesis.cls}{dottedtoc}
1512   \setkeys{drexel-thesis.cls}{xdraftwatermark}
1513 }
1514 %    \end{macrocode}
1515 % \end{option}
1516 %
1517 % \begin{option}{daring}
1518 %    \begin{macrocode}
1519 \DeclareOptionX{daring}{
1520   \@daringtrue
1521 }
1522 %    \end{macrocode}
1523 % \end{option}
1524 %
1525 % \begin{option}{approvalform}
1526 %    \begin{macrocode}
1527 \DeclareOptionX{approvalform}{
1528   \@approvalformtrue
1529 }
1530 %    \end{macrocode}
1531 % \end{option}
1532 %
1533 % Use the default \cls{book} implementation for any remaining options
1534 % including \Lopt{oneside}, \Lopt{twoside}, \Lopt{leqno}, \Lopt{fleqn},
1535 % \ldots.
1536 %    \begin{macrocode}
1537 \DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{book}}
1538 %    \end{macrocode}
1539 %
1540 % Execute the default options
1541 %    \begin{macrocode}
1542 \ExecuteOptionsX{final}
1543 %    \end{macrocode}
1544 %
1545 % Process options and load the book class
1546 %    \begin{macrocode}
1547 \ProcessOptionsX\relax
1548 \LoadClass{book}
1549 %    \end{macrocode}
1550 %
1551 %
1552 % \subsection{Internal package includes}
1553 %
1554 %
1555 % Include some other packages we'll need.  If the package is not
1556 % installed on your system, see \S \ref{sec:dependencies} for
1557 % installation instructions.
1558 %
1559 % For many packages, we want the same functionality for both
1560 % \Lopt{final} and \Lopt{draft} modes.  We pass \Lopt{final} to most
1561 % of those packages to override a possible \Lopt{draft} option passed
1562 % to \pkg{drexel-thesis}.
1563 %
1564 %
1565 % \subsubsection{\pkg{setspace}}
1566 %
1567 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/setspace/}{\pkg{setspace}}
1568 % for double spacing.
1569 %    \begin{macrocode}
1570 \RequirePackage{setspace}
1571 %    \end{macrocode}
1572 %
1573 %
1574 % \subsubsection{\pkg{calc}}
1575 %
1576 % \href{http://www.ctan.org/tex-archive/macros/latex/required/tools/}{\pkg{calc}}
1577 % for |\set@lines@length| macro (page
1578 %   \pageref{sec:implement-line-spacing}).
1579 %    \begin{macrocode}
1580 \RequirePackage{calc}
1581 %    \end{macrocode}
1582 %
1583 %
1584 % \subsubsection{\pkg{graphicx}}
1585 %
1586 % \href{http://www.ctan.org/tex-archive/macros/latex/required/graphics/}{\pkg{graphicx}}
1587 % for |\includegraphics|.  Not strictly necessary, but I can't imagine
1588 % a thesis without figures.
1589 %    \begin{macrocode}
1590 \RequirePackage[final]{graphicx}
1591 %    \end{macrocode}
1592 %
1593 % We include the graphicx package now so we can
1594 % pass \Lopt{final}, because some later packages include it with no options,
1595 % and a \Lopt{final} include after that produces errors like
1596 % \begin{example}
1597 %   l.104 \RequirePackage
1598 %                        [final]{ifpdf}
1599 %   The package graphicx has already been loaded with options:
1600 %     []
1601 %   There has now been an attempt to load it with options
1602 %     [final]
1603 % \end{example}
1604 %
1605 %
1606 % \subsubsection{\pkg{draftmark}}
1607 % \label{sec:draftmark}
1608 %
1609 % The Comp.~Sci.\ class used
1610 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/draftcopy/}{\pkg{draftcopy}}
1611 % to add their watermarks, but as of the current 2002/02/25 v2.16, it
1612 % uses postscript specials, and so doesn't work with pdf\LaTeX.
1613 % Instead we use the recent (catalogued 2009/11/03)
1614 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/draftmark/}{\pkg{draftmark}}
1615 % which unfortunately has a number of apparently non-standard dependencies
1616 % (\href{http://www.ctan.org/tex-archive/macros/latex/contrib/etextools/}{\pkg{etextools}},
1617 %  \href{http://www.ctan.org/tex-archive/macros/latex/contrib/etoolbox/}{\pkg{etoolbox}},
1618 %  \href{http://www.ctan.org/tex-archive/macros/latex/contrib/lastpage/}{\pkg{lastpage}},
1619 %  \href{http://www.ctan.org/tex-archive/macros/latex/contrib/ltxnew/}{\pkg{ltxnew}},
1620 %  \href{http://www.ctan.org/tex-archive/macros/latex/contrib/pagerange/}{\pkg{pagerange}},
1621 %  \href{http://www.ctan.org/tex-archive/macros/latex/contrib/xifthen/}{\pkg{xifthen}},
1622 %  if only I had the space to install |texlive-latexextra| |:p|).
1623 % The output is, however, very flexible, and it \emph{does} work with
1624 % both \LaTeX\ and pdf\LaTeX.  If you don't like the default watermark,
1625 % you can also adjust the particulars with |\draftmarksetup|.
1626 %    \begin{macrocode}
1627 \if@draftwatermark
1628   \RequirePackage[draft,allpages,mark={DRAFT \today},
1629                   fontsize=2cm,grayness=0.9]{draftmark}
1630 \fi
1631 %    \end{macrocode}
1632 %
1633 % Travis Hoppe went for a more discrete watermark in the lower right
1634 % corner with something along the lines of:
1635 % \begin{example}
1636 %   \ifdraftwatermark{
1637 %     \draftmarksetup{angle=0,fontsize=24pt,color=red!45!blue!25,
1638 %                     xcoord=80,ycoord=-129,mark={DRAFT\\[12pt] \today}}
1639 %   }{}
1640 % \end{example}
1641 %
1642 % Here is Evan's alternative implementation.  This will not look right
1643 % as a DVI, but it'll look fine once rendered to either a PS or PDF.
1644 %    \begin{macrocode}
1645 \if@xdraftwatermark
1646 %    \end{macrocode}
1647 % Use \pkg{eso-pic} for |\AddToShipoutPicture|.
1648 %    \begin{macrocode}
1649   \RequirePackage{eso-pic}
1650 %    \end{macrocode}
1651 % Use \pkg{xcolor} for |\definecolor|.
1652 %    \begin{macrocode}
1653   \RequirePackage{xcolor}
1654   \definecolor{watermark}{rgb}{0.9,0.9,0.9}
1655 %    \end{macrocode}
1656 % Set the font explicitly to avoid being effected by the last text on
1657 % the page having some strange font.  |\sffamily| sets a sans serif
1658 % font.
1659 %    \begin{macrocode}
1660   \newcommand{\watermarkfont}{%
1661     \color{watermark}}%\fontfamily{phv}\selectfont\sffamily}
1662   \newcommand{\watermark}{%
1663     \rule{4.25in}{0pt}\raisebox{5.5in}{%
1664       \makebox[0pt]{%
1665 %    \end{macrocode}
1666 % |\rotatebox| and |\resizebox| from \pkg{graphicx}.
1667 %    \begin{macrocode}
1668         \rotatebox[origin=c]{45}{%
1669           \resizebox{!}{1.5in}{%
1670             {\watermarkfont DRAFT}%
1671     }}}}
1672     \raisebox{4.2in}{%
1673       \makebox[0pt]{%
1674         \rotatebox[origin=c]{45}{%
1675           \resizebox{!}{.6in}{%
1676             {\watermarkfont \qquad\today}%
1677     }}}}}
1678   \AddToShipoutPicture{\watermark{}}
1679 \fi
1680 %    \end{macrocode}
1681 %
1682 %
1683 % \subsubsection{\pkg{indentfirst}}
1684 %
1685 % Indent the first paragraph after sections etc.\ with
1686 % \href{http://www.ctan.org/tex-archive/macros/latex/required/tools/}{\pkg{indentfirst}}.
1687 %    \begin{macrocode}
1688 \if@indentfirst
1689   \RequirePackage{indentfirst}
1690 \fi
1691 %    \end{macrocode}
1692 %
1693 %
1694 % \subsubsection{\pkg{geometry}}
1695 %
1696 % Setup page margins with
1697 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/geometry/}{\pkg{geometry}}.
1698 % From the Manual p5:
1699 % \begin{itemize}
1700 %   \item The left margin must be at least 1 1/2'' (1.5 inches)
1701 %   throughout the document.
1702 %   \item All other margins (top, bottom, and right) must be at least 1''.
1703 % \end{itemize}
1704 % And from the Manual \S 1.5 p4, Print Version:
1705 % \begin{quote}
1706 %   The paper size must be 8 1/2'' x 11''.
1707 % \end{quote}
1708 %    \begin{macrocode}
1709 \RequirePackage[letterpaper,margin=1in,bindingoffset=0.5in]{geometry}
1710 %    \end{macrocode}
1711 % Note that we include the \pkg{geometry} package after loading \cls{book} to
1712 % override the margin manipulation that takes place in \cls{book}.
1713 %
1714 %
1715 % \subsubsection{\pkg{tocloft}}
1716 %
1717 % Typeset the table of contents, etc., with
1718 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/tocloft/}{\pkg{tocloft}}.
1719 %    \begin{macrocode}
1720 \if@DUT@subfigopt
1721   \RequirePackage[subfigure]{tocloft}
1722 \else
1723   \RequirePackage{tocloft}
1724 \fi
1725 %    \end{macrocode}
1726 % The \Lopt{subfigure} option sets up \pkg{tocloft} for
1727 % \pkg{subfig}/\pkg{subfigure} compatibility. See the
1728 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/tocloft/tocloft.pdf}{%
1729 %   \pkg{tocloft} manual \S 2.1}
1730 % for details.
1731 %
1732 % The configuration of \pkg{tocloft} takes place in \S
1733 % \ref{sec:implement-toc}, \S \ref{sec:implement-lof}, and \S
1734 % \ref{sec:implement-lot}.
1735 %
1736 %
1737 % \subsubsection{\pkg{caption}}
1738 %
1739 % Get nice caption formatting with
1740 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/caption/}{\pkg{caption}}.
1741 % From the Manual p5:
1742 % \begin{itemize}
1743 %   \item The left margin must be at least 1 1/2'' (1.5 inches)
1744 %   throughout the document.
1745 %   \item All other margins (top, bottom, and right) must be at least 1''.
1746 % \end{itemize}
1747 %    \begin{macrocode}
1748 \RequirePackage[margin=10pt,labelfont=bf,labelsep=colon]{caption}
1749 %    \end{macrocode}
1750 % You can change these settings if you like using |\captionsetup|.
1751 %
1752 %
1753 % \subsubsection{\pkg{floatrow}}
1754 % \label{sec:floatrow}
1755 %
1756 % Enforce caption placement with
1757 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/floatrow/}{\pkg{floatrow}}.
1758 % From the Manual \S 2.3 p6, ``Tables and Figures'', 
1759 % \begin{quote}
1760 %   \begin{itemize}
1761 %     \item Place figure captions below figures.
1762 %     \item Place table captions above tables.
1763 %   \end{itemize}
1764 % \end{quote}
1765 %    \begin{macrocode}
1766 \RequirePackage{floatrow}
1767 \floatsetup[table]{style=plaintop}
1768 \floatsetup{captionskip=10pt}
1769 \floatsetup[table]{captionskip=10pt}
1770 %    \end{macrocode}
1771 % Use \pkg{fr-subfig} for \pkg{floatrow}/\pkg{subfig} compatibility.
1772 % See the \pkg{floatrow} documentation (Sec.~7.1, ``The \pkg{subfig}
1773 % package'') and \pkg{subfig} documentation (Sec.~4.3,
1774 % ``\pkg{FloatRow} Package'') for details.
1775 %    \begin{macrocode}
1776 \if@DUT@subfigopt
1777   \RequirePackage{fr-subfig}
1778 \fi
1779 %    \end{macrocode}
1780 % We set up the three-line surrounding spaces in \S
1781 % \ref{sec:implement-floats}.
1782 %
1783 % You can change these settings using |\floatsetup|, but you probably
1784 % won't need to.
1785 %
1786 %
1787 % \subsubsection{\pkg{subfig}}
1788 % \label{sec:subfig}
1789 %
1790 % Allow multi-part figures with
1791 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/}{\pkg{subfig}}.
1792 %    \begin{macrocode}
1793 \if@DUT@subfigopt
1794   \RequirePackage{subfig}
1795 \fi
1796 %    \end{macrocode}
1797 %
1798 %
1799 % \subsubsection{\pkg{fancyhdr}}
1800 % \label{sec:fancyhdr}
1801 %
1802 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/}{\pkg{fancyhdr}}
1803 % for correct page numbering and fancy headers.
1804 % From the Manual \S 2.3 p5, ``Pagination''
1805 % \begin{quote}
1806 %   Place page numbers in the upper right-hand corner of the page,
1807 %   3/4'' from the top.
1808 % \end{quote}
1809 %    \begin{macrocode}
1810 \RequirePackage{fancyhdr}
1811 %    \end{macrocode}
1812 % Setup the standard |fancy| format.
1813 %    \begin{macrocode}
1814 \pagestyle{fancy}
1815 \fancyhf{}
1816 %    \end{macrocode}
1817 % Turn off the header rule by setting its width to $0$.
1818 %    \begin{macrocode}
1819 \renewcommand{\headrulewidth}{0pt}
1820 %    \end{macrocode}
1821 % 0.4 pt is \pkg{fancyhdr}'s default |\headrulewidth|, so we'll
1822 % recycle the value.
1823 %    \begin{macrocode}
1824 \renewcommand{\footrulewidth}{0.4pt}
1825 %    \end{macrocode}
1826 % |\leftmark| is the higher level mark, see |\chaptermark| below.
1827 % |\rightmark| is the lower level mark, see |\sectionmark| below.
1828 % We put the lower level mark to the outside because it changes more
1829 % often.  Page numbers also go on the outside.
1830 %    \begin{macrocode}
1831 \fancyfoot[RE,LO]{\scshape\leftmark}
1832 \fancyfoot[LE,RO]{\scshape\rightmark}
1833 \fancyhead[LE,RO]{\thepage}
1834 %    \end{macrocode}
1835 % Override the |plain| format (for part pages, etc.).
1836 %    \begin{macrocode}
1837 \fancypagestyle{plain}{
1838   \fancyhf{}
1839   \renewcommand{\footrulewidth}{0pt}
1840   \fancyhead[LE,RO]{\thepage}
1841 }
1842 %    \end{macrocode}
1843 % Keep the |empty| format at its default.
1844 %    \begin{macrocode}
1845 \fancypagestyle{empty}{
1846   \fancyhf{}
1847   \renewcommand{\footrulewidth}{0pt}
1848 }
1849 %    \end{macrocode}
1850 %
1851 % Note that the chapter/section footer is not required.  You can
1852 % remove the footer text and rule entirely with.
1853 % \begin{example}
1854 %   \renewcommand{\footrulewidth}{0pt}
1855 %   \fancyfoot[RE,LO]{}
1856 %   \fancyfoot[LE,RO]{}
1857 % \end{example}
1858 %
1859 %
1860 % \subsubsection{\pkg{ifpdf}}
1861 %
1862 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/}{\pkg{ifpdf}}
1863 % for detecting PDF drivers.  We use it to configure \pkg{hyperref} below.
1864 %    \begin{macrocode}
1865 \RequirePackage{ifpdf}
1866 %    \end{macrocode}
1867
1868 % \subsubsection{\pkg{hyperref}}
1869 % \label{sec:hyperref}
1870 %
1871 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/}{\pkg{hyperref}}
1872 % for hyperlinks.  Not strictly necessary, but I can't imagine a
1873 % thesis without it.  We actually include this later (\S
1874 % \ref{sec:hyperref-inclusion}), because \pkg{hyperref} sticks its
1875 % fingers into \emph{everything} and we want it to use our versions of
1876 % some macros (e.g., |\@sect|) but not others (e.g., |thebibliography|).
1877 %
1878 %
1879 % \subsubsection{\pkg{hypcap}}
1880 % \label{sec:hypcap}
1881 %
1882 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/}{\pkg{hypcap}}
1883 % for placing caption hyperlink anchors.  Must be included after
1884 % \pkg{hypercap}, so the actual inclusion is in \S
1885 % \ref{sec:hypcap-inclusion}).
1886 %
1887 %
1888 % \subsubsection{\pkg{tikz}}
1889 % \label{sec:tikz}
1890 %
1891 % \href{http://sourceforge.net/projects/pgf/}{\pkg{tikz}}
1892 % for vector drawing natively in \TeX.  This package is currently only
1893 % required for the \Lopt{approvalform} option (it is used in drawing
1894 % the Drexel logo on the approval form).
1895 %    \begin{macrocode}
1896 \if@approvalform\RequirePackage{tikz}\fi
1897 %    \end{macrocode}
1898 %
1899 %
1900 % \subsection{\LaTeX\ overrides and extensions}
1901 %
1902 % Here we change the behavior of a bunch of macros and environments
1903 % from \file{latex.ltx} (generated by \file{format.ins} in
1904 % \href{http://www.ctan.org/tex-archive/macros/latex/base/}{\pkg{base}}).
1905 % We'll copy in their original notes along with their code, following
1906 % the relevant documentation an order given in \file{format.ins} and
1907 % the associated \file{*.dtx} files.
1908 %
1909 %
1910 % \subsubsection{\file{ltsect.dtx}}
1911 %
1912 % \begin{macro}{\title}
1913 % \begin{macro}{\DUTtitle}
1914 % \begin{macro}{\@DUT@title}
1915 % |\title| for use in |\maketitle|. If not given |\maketitle| will
1916 % produce a warning message (\file{ltsect.dtx}, L117).
1917 %
1918 % We extend |\title| to set \pkg{hyperref}'s |pdftitle|.
1919 % (\file{ltsect.dtx}, L117).
1920 %    \begin{macrocode}
1921 \renewcommand{\title}[1]{
1922   \gdef\@DUT@title{#1}
1923   \ifpdf \hypersetup{pdftitle={\@DUT@title}} \fi
1924 }
1925 \let\DUTtitle\title
1926 \def\@DUT@title{\@latex@error{No \noexpand\title given}\@ehc}
1927 %    \end{macrocode}
1928 % \end{macro}
1929 % \end{macro}
1930 % \end{macro}
1931 %
1932 % \begin{macro}{\author}
1933 % \begin{macro}{\DUTauthor}
1934 % \begin{macro}{\@DUT@author}
1935 % |\author| for use in |\maketitle|.  If not given |\maketitle| will
1936 % produce a warning message (\file{ltsect.dtx}, L129).
1937 %
1938 % We extend |\author| to set \pkg{hyperref}'s |pdfauthor| if we're
1939 % writing a PDF to avoid using |\AtBeginDocument| or some such.
1940 % (\file{ltsect.dtx}, L129).
1941 %    \begin{macrocode}
1942 \renewcommand{\author}[1]{
1943   \gdef\@DUT@author{#1}
1944   \ifpdf \hypersetup{pdfauthor={\protect\@DUT@author}} \fi
1945 }
1946 \let\DUTauthor\author
1947 \def\@DUT@author{\@latex@error{No \noexpand\author given}\@ehc}
1948 %    \end{macrocode}
1949 % \end{macro}
1950 % \end{macro}
1951 % \end{macro}
1952 %
1953 % In a similar vein, we some additional meta-info macros.
1954 %
1955 %  \begin{macro}{\DUTmonth}
1956 %  \begin{macro}{\@DUT@month}
1957 % |\DUTmonth| (defense month) for use in |\maketitle|.  If not given
1958 % |\maketitle| will produce an error message.
1959 %    \begin{macrocode}
1960 \def\DUTmonth#1{\gdef\@DUT@month{#1}}
1961 \def\@DUT@month{\@latex@error{No \noexpand\DUTmonth given}\@ehc}
1962 %    \end{macrocode}
1963 %  \end{macro}
1964 %  \end{macro}
1965 %
1966 %  \begin{macro}{\DUTyear}
1967 %  \begin{macro}{\@DUT@year}
1968 % |\DUTyear| (defense year) for use in |\maketitle|.  If not given
1969 % |\maketitle| will produce an error message.
1970 %    \begin{macrocode}
1971 \def\DUTyear#1{\gdef\@DUT@year{#1}}
1972 \def\@DUT@year{\@latex@error{No \noexpand\DUTyear given}\@ehc}
1973 %    \end{macrocode}
1974 %  \end{macro}
1975 %  \end{macro}
1976 %
1977 %  \begin{macro}{\degree}
1978 %  \begin{macro}{\DUTdegree}
1979 %  \begin{macro}{\@DUT@degree}
1980 % |\degree| for use in |\maketitle|.  If not given |\maketitle| will
1981 % produce an error message.
1982 %    \begin{macrocode}
1983 \def\degree#1{\gdef\@DUT@degree{#1}
1984   \ifpdf \hypersetup{pdfsubject={\@DUT@degree}} \fi}
1985 \let\DUTdegree\degree
1986 \def\@DUT@degree{\@latex@error{No \noexpand\degree given}\@ehc}
1987 %    \end{macrocode}
1988 %  \end{macro}
1989 %  \end{macro}
1990 %  \end{macro}
1991 %
1992 %  \begin{macro}{\copyrighttext}
1993 %  \begin{macro}{\DUTcopyrighttext}
1994 %  \begin{macro}{\@copyrighttext}
1995 % |\copyrighttext| for use in |\@DUT@makecopyright|.  There are a
1996 % number of blurbs predefined in \S \ref{sec:implement-copyright}.
1997 %    \begin{macrocode}
1998 \def\copyrighttext#1{\gdef\@DUT@copyrighttext{#1}}
1999 \let\DUTcopyrighttext\copyrighttext
2000 \def\@DUT@copyrighttext{All Rights Reserved.}
2001 %    \end{macrocode}
2002 %  \end{macro}
2003 %  \end{macro}
2004 %  \end{macro}
2005 %
2006 %  \begin{macro}{\advisor}
2007 %  \begin{macro}{\DUTadvisor}
2008 %  \begin{macro}{\@DUT@advisor}
2009 % |\advisor| stores advisor names, and |\@DUT@advisor| prints them out
2010 % nicely for the |abstract| environment.  If no advisors are given
2011 % |\@DUT@advisor| will produce an error message.  We get a bit fancier
2012 % here to support multiple advisors.
2013 %    \begin{macrocode}
2014 \newcounter{@DUT@advisors}
2015 \setcounter{@DUT@advisors}{0}
2016 %    \end{macrocode}
2017 % Store a new advisor name.
2018 %    \begin{macrocode}
2019 \newcommand\advisor[1]{%
2020   \ifx
2021 %    \end{macrocode}
2022 % If |#1| is |\empty|, this call is a no-op.
2023 %    \begin{macrocode}
2024     \empty{#1}
2025   \else
2026 %    \end{macrocode}
2027 % Save the advisors to |\@DUT@advisor@a|, |\@DUT@advisor@b|, \ldots.
2028 % |\alph{|\Lcount{COUNTER}|}| (\file{ltcounts.dtx}, L319) prints the
2029 %   value of \Lcount{COUNTER} as a lowercase letter: $1 =$~a, $2 =$~
2030 %   b, etc.
2031 %    \begin{macrocode}
2032     \stepcounter{@DUT@advisors}
2033     \expandafter\gdef\csname @DUT@advisor@\alph{@DUT@advisors}\endcsname{#1}
2034   \fi}
2035 %    \end{macrocode}
2036 % Format and print a list of advisor names.
2037 %    \begin{macrocode}
2038 \newcommand\@DUT@advisor{%
2039   \ifnum\c@@DUT@advisors=0%
2040     \@latex@error{No \noexpand\advisor given}\@ehc%
2041   \else%
2042 %    \end{macrocode}
2043 % Start a group so the scratch counter \Lcount{count\textat} is restored
2044 % afterwards\footnote{See the discussion in
2045 %   \href{http://www.ctan.org/tex-archive/macros/latex/contrib/localloc/}{%
2046 %     \pkg{localloc}}
2047 %   for some points on counter allocation.}.
2048 %    \begin{macrocode}
2049     \begingroup%
2050 %    \end{macrocode}
2051 % Because \Lcount{count\textat} is a \TeX\ counter register not
2052 % wrapped by \LaTeX's counter sugar, we don't use \LaTeX's
2053 % |\setcounter| to set \Lcount{count\textat} to one.
2054 %    \begin{macrocode}
2055       \count@\@ne
2056 %    \end{macrocode}
2057 % Print the first advisor, using \TeX's |\@alph| macro instead of
2058 % \LaTeX's |\alph|.
2059 %    \begin{macrocode}
2060 %    \begin{macrocode}
2061       \csname @DUT@advisor@\@alph\count@\endcsname\relax%
2062 %    \end{macrocode}
2063 % For any remaining advisors\ldots
2064 %    \begin{macrocode}
2065       \loop\ifnum\count@<\c@@DUT@advisors%
2066 %    \end{macrocode}
2067 % Advance \Lcount{count\textat} using \TeX's |\advance| macro instead
2068 % of \LaTeX's |\stepcounter|.
2069 %    \begin{macrocode}
2070         \advance\count@\@ne
2071 %    \end{macrocode}
2072 % Print the connecting text.
2073 %    \begin{macrocode}
2074         \ifnum\count@=\c@@DUT@advisors%
2075           \ifnum\c@@DUT@advisors=2%
2076 %    \end{macrocode}
2077 % The next advisor if the last of two.
2078 %    \begin{macrocode}
2079             {\ and\ }%
2080           \else%
2081 %    \end{macrocode}
2082 % The next advisor if the last of many.
2083 %    \begin{macrocode}
2084             {, and\ }%
2085           \fi%
2086         \else%
2087 %    \end{macrocode}
2088 % The next advisor is not the last.
2089 %    \begin{macrocode}
2090           {,\ }%
2091         \fi%
2092 %    \end{macrocode}
2093 % Print the advisor's name.
2094 %    \begin{macrocode}
2095         \csname @DUT@advisor@\@alph\count@\endcsname\relax%
2096       \repeat%
2097     \endgroup%
2098   \fi}
2099 %    \end{macrocode}
2100 %  \end{macro}
2101 %  \end{macro}
2102 %  \end{macro}
2103 %
2104 % \paragraph{baselineskip}
2105 % \label{sec:implement-line-spacing}
2106 %
2107 % \begin{macro}{\@DUT@baselineskip}
2108 % Since we'll be messing with the spacing, save the single-spaced
2109 % baseline.
2110 %   \changes{0.3}{2010/01/13}{Use \cs{setlength} to store the value at
2111 %     the default font.  The previous version used \cs{let}, which
2112 %     made \cs{DUT@baselineskip} a synonym for \cs{baselineskip} that
2113 %     changed with font size.}
2114 %    \begin{macrocode}
2115 \newlength\@DUT@baselineskip
2116 \setlength\@DUT@baselineskip\baselineskip
2117 %    \end{macrocode}
2118 % \end{macro}
2119 %
2120 % \begin{command}
2121 %   `\cs{set@lines@length}\marg{length}\marg{N}'
2122 % \end{command}
2123 % \begin{macro}{\set@lines@length}
2124 % Many specifications in the Manual refer to ``\meta{N} blank lines''.
2125 % |\set@lines@length| allows you to set a length to a given number of
2126 % lines, protecting against external |spacing| environments.  It
2127 % requires \pkg{calc} for the multiplication.
2128 %    \begin{macrocode}
2129 \newcommand{\set@lines@length}[2]{%
2130   \setlength{#1}{\@DUT@baselineskip * {#2}}}
2131 %    \end{macrocode}
2132 % \end{macro}
2133 %
2134 %
2135 % Fix |\@ssect| and |\@sect| from \file{latex.ltx} to give single
2136 % spaced headings.
2137 %
2138 % \begin{macro}{\@sect}
2139 % Pseudocode for the |\@sect| command
2140 % \begin{example}
2141 % \@sect{NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}[ARG1]{ARG2}
2142 %           ==
2143 %   BEGIN
2144 %    IF LEVEL > \c@secnumdepth
2145 %      THEN \@svsec :=L null
2146 %      ELSE \refstepcounter{NAME}
2147 %           \@svsec :=L BEGIN \@seccntformat{#1}\relax END
2148 %    FI
2149 %    IF AFTERSKIP > 0
2150 %      THEN \begingroup
2151 %              STYLE
2152 %              \@hangfrom{\hskip INDENT\@svsec}
2153 %              {\interlinepenalty 10000 ARG2\par}
2154 %           \endgroup
2155 %           \NAMEmark{ARG1}
2156 %           \addcontentsline{toc}{NAME}
2157 %              { IF  LEVEL > \c@secnumdepth
2158 %                  ELSE \protect\numberline{\theNAME}  FI
2159 %                ARG1 }
2160 %      ELSE \@svsechd == BEGIN  STYLE
2161 %                               \hskip INDENT\@svsec
2162 %                               ARG2
2163 %                               \NAMEmark{ARG1}
2164 %                               \addcontentsline{toc}{NAME}
2165 %                                  { IF  LEVEL > \c@secnumdepth
2166 %                                      ELSE 
2167 %                                        \protect\numberline{\theNAME}
2168 %                                      FI
2169 %                                    ARG1 }
2170 %                        END
2171 %    FI
2172 %    \@xsect{AFTERSKIP}
2173 % END
2174 % \end{example}
2175 % (\file{ltsect.dtx}, L295).
2176 %    \begin{macrocode}
2177 \def\@sect#1#2#3#4#5#6[#7]#8{%
2178   \ifnum #2>\c@secnumdepth
2179     \let\@svsec\@empty
2180   \else
2181     \refstepcounter{#1}%
2182     \protected@edef\@svsec{\@seccntformat{#1}\relax}%
2183   \fi
2184   \@tempskipa #5\relax
2185   \ifdim \@tempskipa>\z@
2186     \begingroup
2187 %    \end{macrocode}
2188 % Here we deviate from \file{ltsect.dtx} to ensure single spacing for
2189 % the section title.
2190 %    \begin{macrocode}
2191       \setstretch{\@ssp}%
2192       #6{%
2193         \@hangfrom{\hskip #3\relax\@svsec}%
2194           \interlinepenalty \@M #8\@@par}%
2195     \endgroup
2196     \csname #1mark\endcsname{#7}%
2197     \addcontentsline{toc}{#1}{%
2198       \ifnum #2>\c@secnumdepth \else
2199         \protect\numberline{\csname the#1\endcsname}%
2200       \fi
2201       #7}%
2202   \else
2203     \def\@svsechd{%
2204       #6{\hskip #3\relax
2205       \@svsec #8}%
2206       \csname #1mark\endcsname{#7}%
2207       \addcontentsline{toc}{#1}{%
2208         \ifnum #2>\c@secnumdepth \else
2209           \protect\numberline{\csname the#1\endcsname}%
2210         \fi
2211         #7}}%
2212   \fi
2213   \@xsect{#5}}
2214 %    \end{macrocode}
2215 % \end{macro}
2216 %
2217 % \begin{macro}{\@ssect}
2218 % Pseudocode for the |\@ssect| command
2219 % \begin{example}
2220 % \@ssect{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}{ARG} ==
2221 %   BEGIN
2222 %    IF AFTERSKIP > 0
2223 %      THEN \begingroup
2224 %             STYLE
2225 %             \@hangfrom{\hskip INDENT}{\interlinepenalty 10000 ARG\par}
2226 %           \endgroup
2227 %      ELSE \@svsechd == BEGIN STYLE
2228 %                              \hskip INDENT
2229 %                              ARG
2230 %                        END
2231 %    FI
2232 %    \@xsect{AFTERSKIP}
2233 %   END
2234 % \end{example}
2235 % (\file{ltsect.dtx}, L521).
2236 %    \begin{macrocode}
2237 \def\@ssect#1#2#3#4#5{%
2238   \@tempskipa #3\relax
2239   \ifdim \@tempskipa>\z@
2240     \begingroup
2241 %    \end{macrocode}
2242 % Here we deviate from \file{ltsect.dtx} to ensure single spacing for
2243 % the section title.
2244 %    \begin{macrocode}
2245       \setstretch{\@ssp}%
2246       #4{%
2247         \@hangfrom{\hskip #1}%
2248           \interlinepenalty \@M #5\@@par}%
2249     \endgroup
2250   \else
2251     \def\@svsechd{#4{\hskip #1\relax #5}}%
2252   \fi
2253   \@xsect{#3}}
2254 %    \end{macrocode}
2255 % \end{macro}
2256 %
2257 %
2258 % \subsubsection{\file{ltbibl.dtx}}
2259 %
2260 % \DescribeMacro{\bibliography}
2261 % \DescribeEnv{thebibliography}
2262 % A bibliography is created by the |thebibliography| environment, which
2263 % generates a title such as ``Bibliography'', and a list of entries.
2264 % The \BibTeX\ program will create a file containing such an
2265 % environment, which will be read in by the |\bibliography| command.
2266 % With \BibTeX, the following commands will be used.
2267 %
2268 % The document class must define the thebibliography environment.  This
2269 % environment has a single argument, which is the widest bibliography
2270 % label-- e.g., if the [Knuth67] is the widest entry, then this
2271 % argument will be Knuth67.  The |\thebibliography| command must begin
2272 % a list  environment, which the |\endthebibliography| command ends.
2273 %
2274 % \begin{macro}{\bibliography}
2275 % |\bibliography|\marg{file1,file2,\ldots,filen} : specifies
2276 %   the bibdata files.  Writes a |\bibdata| entry on the |.aux| file
2277 %   and tries to read in |mainfile.bbl|.
2278 %
2279 % We don't need to change it, but it explains why we need to override
2280 % |thebibliography| even when we don't use it directly.
2281 % (\file{ltbibl.dtx}, L284).
2282 %    \begin{macrocode}
2283 %\def\bibliography#1{%
2284 %  \if@filesw
2285 %    \immediate\write\@auxout{\string\bibdata{#1}}%
2286 %  \fi
2287 %  \@input@{\jobname.bbl}
2288 %}
2289 %    \end{macrocode}
2290 % \end{macro}
2291 %
2292 %
2293 % \subsubsection{\file{ltoutput.dtx}}
2294 %
2295 % \begin{macro}{\@DUT@clearpage}
2296 % \begin{macro}{\@DUT@cleardoublepage}
2297 % Versions of |\clear*page| that only work when |\if@final| is true
2298 % (\file{ltoutput.dtx}, L877 and L904).
2299 %    \begin{macrocode}
2300 \newcommand\@DUT@clearpage{\if@final \clearpage \fi}
2301 \newcommand\@DUT@cleardoublepage{\if@final \cleardoublepage \fi}
2302 %    \end{macrocode}
2303 % \end{macro}
2304 % \end{macro}
2305 %
2306 % \begin{macro}{\@DUT@blankpage}
2307 % Add a useful extension to insert a blank page without numbering.
2308 % In draft mode, this macro is a no-op.
2309 %    \begin{macrocode}
2310 \newcommand\@DUT@blankpage{%
2311   \if@final
2312     \@DUT@clearpage
2313     \thispagestyle{empty}
2314     \hphantom{0}
2315     \@DUT@clearpage
2316   \else\fi
2317 }
2318 %    \end{macrocode}
2319 % \end{macro}
2320 %
2321 %
2322 % \begin{command}
2323 %   `\cs{blanklines}\marg{N}'
2324 %   `\cs{blanklines*}\marg{N}'
2325 % \end{command}
2326 % \begin{macro}{\blanklines}
2327 % Insert \meta{N} blank lines.  The starred forms use |\vspace|, which
2328 % inserts space even at the start and end of pages.  The |p| forms
2329 % add a trailing |\par|.  \emph{I'm still trying to get this part working
2330 % cleanly\ldots}
2331 %    \begin{macrocode}
2332 \newlength\@DUT@blanklines@length
2333 \newcommand{\@blanklines@setup}[1]{%
2334   \set@lines@length{\@DUT@blanklines@length}{#1}%
2335   %\typeout{BLANKLINES -- #1}%
2336   %\showthe\@DUT@blanklines@length
2337 }
2338 \newcommand{\blanklines}{\@ifstar\@sblanklines\@blanklines}
2339 \newcommand{\@blanklines}[1]{%
2340   \@blanklines@setup{#1}%
2341   \vspace{\@DUT@blanklines@length}}
2342 \newcommand{\@sblanklines}[1]{%
2343   \@blanklines@setup{#1}%
2344   \vspace*{\@DUT@blanklines@length}}
2345 \newcommand{\blanklinesp}{\@ifstar\@sblanklines\@blanklines}
2346 \newcommand{\@blanklinesp}[1]{%
2347   \@blanklines@setup{#1}%
2348   \vspace{\@DUT@blanklines@length}\par}
2349 \newcommand{\@sblanklinesp}[1]{%
2350   \@blanklines@setup{#1}%
2351   \vspace*{\@DUT@blanklines@length}\par}
2352 %    \end{macrocode}
2353 % \end{macro}
2354 %
2355 %
2356 % \subsection{\pkg{hyperref} inclusion}
2357 % \label{sec:hyperref-inclusion}
2358 %
2359 % This is the awkward \pkg{hyperref} inclusion.  See \S
2360 % \ref{sec:hyperref} for an explanation of why we stash it here.
2361 %    \begin{macrocode}
2362 \RequirePackage[final]{hyperref}
2363 %    \end{macrocode}
2364 % Nobody likes the default colored boxes.  Color the text itself.
2365 %    \begin{macrocode}
2366 \hypersetup{colorlinks}
2367 %    \end{macrocode}
2368 % If \Lopt{blackref} is set, set all \pkg{hyperref} colors to black.
2369 %    \begin{macrocode}
2370 \if@blackref
2371   \hypersetup{linkcolor=black}
2372   \hypersetup{anchorcolor=black}
2373   \hypersetup{citecolor=black}
2374   \hypersetup{filecolor=black}
2375   \hypersetup{menucolor=black}
2376   \hypersetup{runcolor=black}
2377   \hypersetup{urlcolor=black}
2378 \fi
2379 %    \end{macrocode}
2380 %
2381 % \subsubsection{\pkg{hypcap}}
2382 % \label{sec:hypcap-inclusion}
2383 %
2384 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/}{\pkg{hypcap}}
2385 % for placing caption hyperlink anchors.  Not strictly necessary, but
2386 % we're using \pkg{hyperref}, and the poor link targets are annoying.
2387 %    \begin{macrocode}
2388 \RequirePackage[all]{hypcap}
2389 %    \end{macrocode}
2390 % \Lopt{all} redefines the figure and table environments to
2391 % place the anchor at the start of the float.
2392 %
2393 %
2394 % \subsection{\cls{book} overrides and extensions}
2395 %
2396 % Here we change the behavior of a bunch of macros and environments from
2397 % \cls{book} (generated by \file{classes.ins} from \file{classes.dtx}) in
2398 % \href{http://www.ctan.org/tex-archive/macros/latex/base/}{\pkg{base}}).
2399 % We'll copy in their original notes along with their code, following
2400 % the relevant documentation an order given in \file{classes.dtx}.
2401 %
2402 %
2403 % \subsubsection{Floats on a text page}
2404 % \label{sec:implement-floats}
2405 %
2406 % \begin{macro}{\floatsep}
2407 % \begin{macro}{\textfloatsep}
2408 % When a floating object is placed on a page with text, these
2409 % parameters control the separation between the float and the other
2410 % objects on the page.
2411 %
2412 % |\floatsep| is the space between adjacent floats that are moved
2413 % to the top or bottom of the text page.
2414 %
2415 % |\textfloatsep| is the space between the main text and floats
2416 % at the top or bottom of the page.
2417 %
2418 % |\intextsep| is the space between in-text floats and the text.  We
2419 % don't bother overriding this one, because we've handled it with
2420 % \pkg{floatrow} in \S \ref{sec:floatrow}.
2421 %
2422 % From the Manual \S 2.3 p6, ``Tables and Figures''
2423 % \begin{quote}
2424 %   Insert at least 3 single-spaced lines of space above table
2425 %   captions and figures and below figure captions, tables, and other
2426 %   graphics.
2427 % \end{quote}
2428 % (\file{classes.dtx}, L1426)
2429 %    \begin{macrocode}
2430 \set@lines@length{\floatsep}{\@ssp}
2431 \set@lines@length{\textfloatsep}{\@tsp}
2432 %    \end{macrocode}
2433 % \end{macro}
2434 % \end{macro}
2435 %
2436 %
2437 % \subsubsection{The title}
2438 %
2439 % \begin{macro}{\maketitle}
2440 % Automate the creation of the title page.
2441 % From Manual \S 3.1 p8, ``Title Page'', and the example on p16.
2442 % \begin{itemize}
2443 %   \item This page is counted but not numbered (it counts as page i,
2444 %   but should not have a page number).  TODO: How is this implemented?
2445 % \end{itemize}
2446 % Our definition simplifies \cls{book}'s by ignoring footnotes.
2447 % (\file{classes.dtx}, L1796)
2448 %    \begin{macrocode}
2449 \newcommand\@DUT@maketitle{
2450   \begin{@DUT@titlepage}%
2451 %    \end{macrocode}
2452 % Add some bookmarks if we're using pdf\LaTeX.  The |frontmatter|
2453 % bookmark is set at the \emph{part} level (-1) to hold all bookmarks
2454 % from the |preamble| environment, since those entries are all
2455 % chapters.
2456 % \changes{0.8}{2010/05/20}{W.~Trevor King replaced Frontmatter with
2457 %   Front Matter and Titlepage with Title Page for consistency with
2458 %   \LaTeX's book class.}
2459 %    \begin{macrocode}
2460     \ifpdf
2461       \pdfbookmark[-1]{Front Matter}{Front Matter}
2462       \pdfbookmark[0]{Title Page}{Title Page}
2463     \fi
2464 %    \end{macrocode}
2465 % Add some stretchy space to center the title vertically if we're not
2466 % in draft mode.
2467 %    \begin{macrocode}
2468     \if@final \vspace*{\fill} \fi
2469 %    \end{macrocode}
2470 % Here is the title text itself.
2471 %    \begin{macrocode}
2472     \begin{center}%
2473       {\setstretch{\@tsp} \bfseries \@DUT@title \par}%
2474 %    \end{macrocode}
2475 % We want two blank lines (triple spacing) between the title and the
2476 % remaining material, so add three but don't end the paragraph.
2477 %    \begin{macrocode}
2478       \blanklines{\@tsp}%
2479       \setstretch{\@dsp}%
2480       A Thesis\\
2481       Submitted to the Faculty\\
2482       of\\
2483       Drexel University\\
2484       by\\
2485       \@DUT@author\\
2486       in partial fulfillment of the\\
2487       requirements for the degree\\
2488       of\\
2489       \@DUT@degree\\
2490       \@DUT@month\ \@DUT@year
2491     \end{center}\par
2492 %    \end{macrocode}
2493 % Some more stretchy space for the bottom if we're not in draft mode.
2494 %    \begin{macrocode}
2495 %    \end{macrocode}
2496 % Add some stretchy space to center the title vertically if we're not
2497 % in draft mode.
2498 %    \begin{macrocode}
2499     \if@final \vspace*{\fill} \fi
2500   \end{@DUT@titlepage}%
2501 %    \end{macrocode}
2502 % And that's it.  We reset the footnote counter for the rest of the
2503 % document and save space by freeing the memory associated with the
2504 % |\maketitle| and |\and| macros (by setting them equal to |\relax|).
2505 %    \begin{macrocode}
2506   \setcounter{footnote}{0}%
2507   \global\let\maketitle\relax
2508   \global\let\and\relax
2509 }
2510 %    \end{macrocode}
2511 % \end{macro}
2512 %
2513 %
2514 % \subsubsection{Copyright pages}
2515 % \label{sec:implement-copyright}
2516 %
2517 % \begin{macro}{\@DUT@makecopyright}
2518 % The Manual allows for the selection of different copyrights, so we
2519 % define a base macro that generates a proper copyright page
2520 % containing |\@copyrighttext|, which the user can set with
2521 % |\copyrighttext|.
2522 % From Manual \S 3.2 p9, ``Copyright Page''.
2523 % \begin{itemize}
2524 %   \item Include a copyright page with the following information: a
2525 %   copyright notice, full legal name of author, and date of
2526 %   publication on file.
2527 %   \item This page is neither counted nor numbered.
2528 % \end{itemize}
2529 % In final mode, we start off on a new page and center the blurb.
2530 % In draft mode, we dive right into the text.
2531 %    \begin{macrocode}
2532 \newcommand\@DUT@makecopyright{%
2533   \@DUT@clearpage
2534 %    \end{macrocode}
2535 % If we're using pdf\LaTeX, add a bookmark.
2536 %    \begin{macrocode}
2537   \ifpdf \pdfbookmark[0]{Copyright Page}{Copyright Page} \fi
2538   \if@final \vspace*{\fill} \fi
2539   \begin{center}
2540     \copyright~Copyright \@DUT@year\\
2541     \@DUT@author.  \@DUT@copyrighttext
2542   \end{center}
2543   \if@final \vspace*{\fill} \else \blanklinesp{2} \fi
2544 %    \end{macrocode}
2545 % Turn off page numbering for this page.
2546 %    \begin{macrocode}
2547   \thispagestyle{empty}
2548 }
2549 %    \end{macrocode}
2550 % \end{macro}
2551 %
2552 % \begin{macro}{\copyrighttextCCBYSA}
2553 % \begin{macro}{\DUTcopyrighttextCCBYSA}
2554 % The Creative Commons Attribution-ShareAlike License.
2555 % \changes{0.4}{2010/02/23}{W.~Trevor King renamed from
2556 %   \cs{copyrighttextCC}, and made specific to Creative Commons
2557 %   Attribution-ShareAlike Version 3.0.}
2558 %    \begin{macrocode}
2559 \newcommand\copyrighttextCCBYSA{
2560   \begin{quote}
2561     This work is licensed under the terms of the Creative Commons
2562     Attribution-ShareAlike license Version 3.0.  The license is
2563     available at \\
2564     \url{http://creativecommons.org/licenses/by-sa/3.0/}.
2565   \end{quote}
2566 }
2567 \let\DUTcopyrighttextCCBYSA\copyrighttextCCBYSA
2568 %    \end{macrocode}
2569 % \end{macro}
2570 % \end{macro}
2571 %
2572 %
2573 % \subsubsection{Mark commands}
2574 %
2575 % Default initializations of |\*mark| commands.  These commands
2576 % are used in the definition of the page styles.
2577 %
2578 % \begin{macro}{\chaptermark}
2579 % Setup colon rather than period separated chapter marks.
2580 % (\file{classes.dtx}, L2053)
2581 %    \begin{macrocode}
2582 \renewcommand\chaptermark[1]{%
2583   \markboth {%
2584     \ifnum \c@secnumdepth >\m@ne
2585       \if@mainmatter
2586         \@chapapp\ \thechapter: \ %
2587       \fi
2588     \fi
2589     #1}{}}
2590 %    \end{macrocode}
2591 % \end{macro}
2592 %
2593 % \begin{macro}{\schaptermark}
2594 % Setup unnumbered chapter marks for \pkg{fancyhdr}.
2595 %    \begin{macrocode}
2596 \newcommand\schaptermark[1]{\markboth{#1}{}}
2597 %    \end{macrocode}
2598 % \end{macro}
2599 %
2600 % \begin{macro}{\sectionmark}
2601 % Setup space rather than period separated section marks.
2602 % (\file{classes.dtx}, L2054)
2603 %    \begin{macrocode}
2604 \renewcommand{\sectionmark}[1]{%
2605   \markright {%
2606     \ifnum \c@secnumdepth >\z@
2607       \thesection \ %
2608     \fi
2609     #1}}
2610 %    \end{macrocode}
2611 % \end{macro}
2612 %
2613 %
2614 % \subsubsection{Front Matter, Main Matter, and Back Matter}
2615 %
2616 % A book contains these three (logical) sections. The switch
2617 % |\@mainmatter| is true if and only if we are processing main
2618 % matter\footnote{%
2619 %   \href{http://en.wikipedia.org/wiki/Book_design}{Wikipedia}
2620 %   suggests \emph{body matter} for the main content, but
2621 %   \href{http://mirror.ctan.org/macros/latex/base/classes.dtx}{\LaTeX's
2622 %   \cls{book}} uses \emph{Main Matter}.  We're a \LaTeX\ class, so
2623 %   we'll stick with ``main matter'' for consistency.
2624 % }.  When this switch is false, the
2625 % |\chapter| command does not print chapter numbers.
2626 %
2627 % \begin{macro}{\mainmatter}
2628 % This command clears the page (in final mode), starts arabic page
2629 % numbering and turns on chapter numbering.  Since this restarts the
2630 % page numbering from 1, it should also ensure that a recto page is
2631 % used.
2632 %
2633 % We replace \cls{book}'s |\clear*page| calls with |\@DUT@clearpage| calls.
2634 % (\file{classes.dtx}, L2211)
2635 %    \begin{macrocode}
2636 \renewcommand\mainmatter{%
2637   \@DUT@cleardoublepage
2638   \@mainmattertrue
2639   \pagenumbering{arabic}}
2640 %    \end{macrocode}
2641 % \end{macro}
2642 %
2643 %
2644 % \subsubsection{Parts}
2645 %
2646 % \begin{macro}{\part}
2647 % The command to start a new part of our document.
2648 %
2649 % We start a new (righthand) page and use the \pstyle{plain}
2650 % pagestyle, replacing \cls{book}'s |\clear*page| calls with
2651 % |\@DUT@clearpage| calls and dropping twopage code.
2652 % (\file{classes.dtx}, L2249)
2653 %    \begin{macrocode}
2654 \renewcommand\part{%
2655   \if@openright
2656     \@DUT@cleardoublepage
2657   \else
2658     \@DUT@clearpage
2659   \fi
2660   \thispagestyle{plain}%
2661   \@tempswafalse
2662 %    \end{macrocode}
2663 % Add some stretchy space for vertical centering if we're in final mode.
2664 %    \begin{macrocode}
2665   \if@final \null\vfil \fi
2666 %    \end{macrocode}
2667 % Here we use |\secdef| to indicate which commands to use to make
2668 % the actual heading.
2669 %    \begin{macrocode}
2670   \secdef\@part\@spart}
2671 %    \end{macrocode}
2672 % \end{macro}
2673 %
2674 % \begin{macro}{\@part}
2675 % This macro does the actual formatting of the title of the part.  We
2676 % replace \cls{book}'s |\Huge| with |\large|, and make use of
2677 % |\numberline| for consistent spacing.
2678 %
2679 % When \Lcount{secnumdepth} is larger than $-2$, we have a numbered
2680 % part, otherwise it is unnumbered.
2681 % (\file{classes.dtx}, L2310)
2682 %    \begin{macrocode}
2683 \def\@part[#1]#2{%
2684     \ifnum \c@secnumdepth >-2\relax
2685       \refstepcounter{part}%
2686       \addcontentsline{toc}{part}%
2687         {\protect\numberline{\thepart}#1}%
2688     \else
2689       \addcontentsline{toc}{part}{#1}%
2690     \fi
2691 %    \end{macrocode}
2692 % We empty the mark registers and center the title on the page.
2693 % Also we prevent breaking between lines and reset the font.
2694 %    \begin{macrocode}
2695     \markboth{}{}%
2696     {\centering
2697      \interlinepenalty \@M
2698      \normalfont
2699 %    \end{macrocode}
2700 % When this is a numbered part we have to print the number.
2701 %    \begin{macrocode}
2702      \ifnum \c@secnumdepth >-2\relax
2703        \large\bfseries \partname\nobreakspace\thepart
2704        \par
2705 %    \end{macrocode}
2706 % We leave some space before we print the title and leave the
2707 % finishing up to |\@endpart|.
2708 %    \begin{macrocode}
2709        \vskip 20\p@
2710      \fi
2711      \large \bfseries #2\par}%
2712     \@endpart}
2713 %    \end{macrocode}
2714 % \end{macro}
2715 %
2716 % \begin{macro}{\@spart}
2717 % This macro does the actual formatting of the title of the part
2718 % when the star form of the user command was used. In this case we
2719 % \emph{never} print a number. Otherwise the formatting is the
2720 % same.
2721 % (\file{classes.dtx}, L2402)
2722 %    \begin{macrocode}
2723 \def\@spart#1{%
2724     {\centering
2725      \interlinepenalty \@M
2726      \normalfont
2727      \large \bfseries #1\par}%
2728     \@endpart}
2729 %    \end{macrocode}
2730 % \end{macro}
2731 %
2732 % \begin{macro}{\@endpart}
2733 % This macro finishes the part page, for both |\@part| and |\@spart|.
2734 % We drop \cls{book}'s twoside handling.
2735 % If |\if@final| is true, we fill the current page.
2736 % (\file{classes.dtx}, L2435)
2737 %    \begin{macrocode}
2738 \def\@endpart{
2739   \if@final \vfil\newpage \fi
2740 %    \end{macrocode}
2741 % Then, when we are in twosided mode and the chapters are supposed to
2742 % be on the right hand sides, we produce a completely blank page.  We
2743 % don't need to check |\if@final| here, because \Lopt{draftspace} set
2744 % |\@openrighttrue|.
2745 %    \begin{macrocode}
2746   \if@twoside
2747     \if@openright
2748       \null
2749       \thispagestyle{empty}%
2750       \newpage
2751     \fi
2752   \fi}
2753 %    \end{macrocode}
2754 % \end{macro}
2755 %
2756 %
2757 % \subsubsection{Chapters}
2758 % \label{sec:implement-chapters}
2759 %
2760 % \begin{macro}{\chapter}
2761 % \cls{book} always starts a chapter on a new page, but we don't want
2762 % to do that if we're in draft mode.
2763 % (\file{classes.dtx}, L2472).
2764 %    \begin{macrocode}
2765 \renewcommand\chapter{%
2766   \if@openright\@DUT@cleardoublepage\else\@DUT@clearpage\fi
2767   \thispagestyle{plain}%
2768 %    \end{macrocode}
2769 % Then we prevent floats from appearing at the top of this page
2770 % because it looks weird to see a floating object above a chapter
2771 % title.
2772 %    \begin{macrocode}
2773   \global\@topnum\z@
2774 %    \end{macrocode}
2775 % Then we suppress the indentation of the first paragraph by
2776 % setting the switch |\@afterindent| to false. We use |\secdef|
2777 % to specify the macros to use for actually setting the chapter
2778 % title.
2779 %    \begin{macrocode}
2780   \@afterindentfalse
2781   \secdef\@chapter\@schapter}
2782 %    \end{macrocode}
2783 % \end{macro}
2784 %
2785 % \begin{macro}{\listed@schapter}
2786 % |\chapter| declares numbered chapters, which are listed in the table
2787 % of contents.
2788 % |\chapter*| declares unnumbered chapters, which are \emph{not}
2789 % listed in the TOC.
2790 % |\listed@schapter| declares an unnumbered chapter that \emph{is}
2791 % listed in the TOC.
2792 %    \begin{macrocode}
2793 \newcommand\listed@schapter[1]{%
2794   \if@openright\@DUT@cleardoublepage\else\@DUT@clearpage\fi
2795   \thispagestyle{plain}%
2796   \global\@topnum\z@
2797   \phantomsection
2798   \addcontentsline{toc}{chapter}{#1}
2799   \@afterindentfalse
2800   \@schapter{#1}}
2801 %    \end{macrocode}
2802 % \end{macro}
2803 %
2804 % \begin{macro}{\@chapter}
2805 % This macro is called when we have a numbered chapter. When
2806 % \Lcount{secnumdepth} is larger than $-1$ and |\@mainmatter| is true,
2807 % we display the chapter number.
2808 % We drop \cls{book}'s \Lopt{twocolumn} code. 
2809 % (\file{classes.dtx}, L2496).
2810 %    \begin{macrocode}
2811 \def\@chapter[#1]#2{
2812 %    \end{macrocode}
2813 % Inform the user that a new chapter is about to be typeset by writing
2814 % a message to the terminal.
2815 % \changes{0.9}{2010/05/21}{W.~Trevor King disabled the label macro
2816 % for typeout.}
2817 % Some users place |\label| in their chapter argument:
2818 % \begin{example}
2819 %   \chapter{Bla bla\label{x}}
2820 % \end{example}
2821 % rather than after (as recommended by
2822 % \href{http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing#Sections}%
2823 %   {the \LaTeX\ Wikibook} and
2824 % \href{http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf}%
2825 %   {The Not So Short Introduction to \LaTeXe\ (\S 2.8, p36)}):
2826 % \begin{example}
2827 %   \chapter{Bla bla}
2828 %   \label{x}
2829 % \end{example}
2830 % The embedded |\label| chokes |\typeout| so we temporarily redefine
2831 % |\label| to just gobble its contents.  |\@DUT@label| stores the
2832 % original definition.
2833 %    \begin{macrocode}
2834   \let\@DUT@label=\label%
2835   \renewcommand{\label}[1]{}%
2836   \typeout{\@chapapp\space\thechapter. #1}%
2837 %    \end{macrocode}
2838 % Restore |\label| to its previous glory.
2839 %    \begin{macrocode}
2840   \let\label=\@DUT@label%
2841 %    \end{macrocode}
2842 % Now we can get on with the real work.
2843 %    \begin{macrocode}
2844   \ifnum \c@secnumdepth >\m@ne
2845     \if@mainmatter
2846       \refstepcounter{chapter}%
2847       \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}%
2848     \else
2849       \addcontentsline{toc}{chapter}{#1}%
2850     \fi
2851   \else
2852     \addcontentsline{toc}{chapter}{#1}%
2853   \fi
2854 %    \end{macrocode}
2855 % After having written an entry to the table of contents we store
2856 % the (alternative) title of this chapter with |\chaptermark|.
2857 %    \begin{macrocode}
2858   \chaptermark{#1}%
2859 %    \end{macrocode}
2860 % For nicer lists of figures and tables, we could add some white space
2861 % to separate the chapters.  However, nice lists $\neq$~Manual
2862 % specifications.
2863 %    \begin{macrocode}
2864 %  \addtocontents{lof}{\protect\addvspace{10\p@}}%
2865 %  \addtocontents{lot}{\protect\addvspace{10\p@}}%
2866 %    \end{macrocode}
2867 % Then we call upon |\@makechapterhead| to format the actual chapter
2868 % title.  |\@afterheading| which takes care of suppressing the
2869 % indentation.
2870 %    \begin{macrocode}
2871   \@makechapterhead{#2}%
2872   \@afterheading}
2873 %    \end{macrocode}
2874 % \end{macro}
2875 %
2876 % \begin{macro}{\@makechapterhead}
2877 % The |\@chapter| macro uses |\@makechapterhead|\meta{text} to format
2878 % the heading of the chapter.
2879 % From the Manual \S 3.11 p11.
2880 % \begin{quote}
2881 %   Chapter headings must be bold and centered.
2882 %   The chapter number and title must be on the same line, separated
2883 %   by a colon or period, as shown in the example below:
2884 %   \begin{center}
2885 %     CHAPTER 1: INTRODUCTION
2886 %   \end{center}
2887 %   Headings must not be larger than 12 points.
2888 %   Headings must be single spaced.
2889 % \end{quote}
2890 % \cls{book} sets |\@chapapp| and |\thechapter| (e.g., ``Chapter 5'')
2891 % on a line above the chapter title, but that doesn't match the
2892 % Manual's specification.
2893 %
2894 % We begin by leaving some white space. The we open a group in which
2895 % we have a paragraph indent of 0pt, and in which we have the text set
2896 % ragged right. We also reset the font.
2897 % (\file{classes.dtx}, L2540).
2898 %    \begin{macrocode}
2899 \def\@makechapterhead#1{%
2900 %    \end{macro}
2901 % Adding even a \vspace*{0\p@} here seems to increase the vertical
2902 % space above the chapter heading by two lines.  I'm not sure why.
2903 % Workaround is to pass the ``value of blanklines you want minus two''
2904 % to |\blanklines*|.  HACK!
2905 %    \begin{macro}
2906   \blanklines*{-1}% HACK!
2907   {\parindent \z@ \raggedright \normalfont
2908 %    \end{macrocode}
2909 % Ensure single spacing.
2910 %    \begin{macrocode}
2911     \setstretch{\@ssp}%
2912 %    \end{macrocode}
2913 % Prevent a pagebreak from occuring in the middle of or after the title.
2914 %    \begin{macrocode}
2915     \interlinepenalty\@M
2916 %    \end{macrocode}
2917 % Check whether the number of the chapter has to be printed.
2918 %    \begin{macrocode}
2919     \ifnum \c@secnumdepth >\m@ne
2920 %    \end{macrocode}
2921 % Check whether there \emph{is} a number to be printed.
2922 %    \begin{macrocode}
2923       \if@mainmatter
2924 %    \end{macrocode}
2925 % Setup a ``Chapter \#: Title'' heading.
2926 %    \begin{macrocode}
2927         \center \large \bfseries \@chapapp{} \thechapter: #1\par\nobreak
2928       \else
2929 %    \end{macrocode}
2930 % Setup a ``Title'' heading.
2931 %    \begin{macrocode}
2932         \center \large \bfseries #1\par\nobreak
2933       \fi
2934     \else
2935       \center \large \bfseries #1\par\nobreak
2936     \fi
2937 %    \end{macrocode}
2938 % Put a little space before the chapter body.  We use four blank lines
2939 % to comply with the Manual \S 3.13 p12
2940 % \begin{quote}
2941 %   Begin the list of sources four spaces below the heading.
2942 % \end{quote}
2943 %    \begin{macrocode}
2944     \blanklines{4}
2945   }
2946 }
2947 %    \end{macrocode}
2948 % \end{macro}
2949 %
2950 % \begin{macro}{\@schapter}
2951 % This macro is called when we have an unnumbered chapter.  We drop
2952 % \file{classes.dtx}'s \Lopt{twocolumn} code and set marks for
2953 % \pkg{fancyhdr}.
2954 % (\file{classes.dtx}, L2582).
2955 %    \begin{macrocode}
2956 \def\@schapter#1{
2957 %    \end{macrocode}
2958 % Inform the user that a new chapter is about to be typeset by writing
2959 % a message to the terminal.
2960 %    \begin{macrocode}
2961   \typeout{\@chapapp\space #1}%
2962   \schaptermark{#1}%
2963   \@makeschapterhead{#1}%
2964   \@afterheading}
2965 %    \end{macrocode}
2966 % \end{macro}
2967 %
2968 % \begin{macro}{\@makeschapterhead}
2969 % The macro above uses |\@makeschapterhead|\meta{text} to format
2970 % the heading of the chapter. It is similar to |\@makechapterhead|
2971 % except that it never has to print a chapter number.
2972 % (\file{classes.dtx}, L2595).
2973 %    \begin{macrocode}
2974 \def\@makeschapterhead#1{%
2975   \blanklines*{-1}% HACK!
2976   {\parindent \z@ \raggedright \normalfont
2977     \setstretch{\@ssp}%
2978     \interlinepenalty\@M
2979     \center \large \bfseries  #1\par\nobreak
2980     \blanklines{4}%
2981   }
2982 }
2983 %    \end{macrocode}
2984 % \end{macro}
2985 %
2986 %
2987 % \subsubsection{Lower level headings}
2988 %
2989 % \begin{macro}{\section}
2990 % Setup section headings in |\large| rather than \cls{book}'s
2991 % |\Large|.
2992 % (\file{classes.dtx}, L2623).
2993 %    \begin{macrocode}
2994 \renewcommand\section{%
2995   \@startsection {section}{1}{\z@}%
2996     {-3.5ex \@plus -1ex \@minus -.2ex}%
2997     {2.3ex \@plus.2ex}%
2998     {\normalfont\large\bfseries}}
2999 %    \end{macrocode}
3000 % \end{macro}
3001 %
3002 %
3003 % \subsubsection{Defining new environments}
3004 %
3005 % We don't override any of \cls{book}'s environments, but this is
3006 % where \file{classes.dtx} defines its environments (L2996), so we'll put
3007 % ours here too.
3008 %
3009 % \begin{environment}{preamble}
3010 % \begin{environment}{DUTpreamble}
3011 %    \begin{macrocode}
3012 \newenvironment{preamble}{%
3013   \cleardoublepage
3014   \@mainmatterfalse
3015   \pagenumbering{roman}
3016   \if@approvalform
3017     \ifpdf
3018       \pdfbookmark[-1]{Approval Form}{Approval Form}
3019     \fi
3020     \DUT@makeapprovalform
3021   \fi
3022 %    \end{macrocode}
3023 % From Manual \S 3.1 p8, ``Title Page''.
3024 %    \begin{macrocode}
3025   \@DUT@maketitle
3026 %    \end{macrocode}
3027 % From Manual \S 3.2 p9, ``Copyright Page''.
3028 %    \begin{macrocode}
3029   \@DUT@makecopyright
3030 }{%
3031 %    \end{macrocode}
3032 % From the Manual \S 3.9, p11:
3033 % \begin{quote}
3034 %   Include a blank page (with no page number) before the first page
3035 %   of text.  The blank page is neither numbered nor counted.
3036 % \end{quote}
3037 %    \begin{macrocode}
3038   \@DUT@blankpage
3039 }
3040 %    \end{macrocode}
3041 % \LaTeX's |\newenvironment| and company work by defining |\X| and
3042 % |\endX| for the environment |X|.  We can alias the preamble
3043 % environment by saving these macros.
3044 %    \begin{macrocode}
3045 \let\DUTpreamble\preamble
3046 \let\endDUTpreamble\endpreamble
3047 %    \end{macrocode}
3048 % \end{environment}
3049 % \end{environment}
3050 %
3051 % \begin{environment}{dedications}
3052 % \begin{environment}{DUTdedications}
3053 % From the Manual \S 3.3 p9
3054 % \begin{itemize}
3055 %   \item The heading |Dedications| must appear at the top of the
3056 %   page.  The heading must be bold, centered, and without
3057 %   punctuation.
3058 %   \item This page is counted and numbered in lowercase Roman numerals.
3059 % \end{itemize}
3060 % \changes{0.12}{2010/06/17}{W.~Trevor King added \cs{par} to detach
3061 %   the single space \cs{setstretch} from the from the final
3062 %   paragraph.}
3063 %    \begin{macrocode}
3064 \newenvironment{dedications}{%
3065   \@DUT@clearpage
3066   \ifpdf
3067     \phantomsection
3068     \pdfbookmark[0]{\DUTdedicationsname}{\DUTdedicationsname}
3069   \fi
3070   \chapter*{\DUTdedicationsname}
3071   \setstretch{\@dsp}%
3072 }{%
3073   \par\setstretch{\@ssp}%
3074 }
3075 \let\DUTdedications\dedications
3076 \let\endDUTdedications\enddedications
3077 %    \end{macrocode}
3078 % \end{environment}
3079 % \end{environment}
3080 %
3081 % \begin{environment}{acknowledgments}
3082 % \begin{environment}{DUTacknowledgments}
3083 % From the Manual \S 3.4 p9
3084 % \begin{itemize}
3085 %   \item The heading |Acknowledgments| must appear at the top of the
3086 %   page.  The heading must be bold, centered, and without
3087 %   punctuation.
3088 %   \item This page is counted and numbered in lowercase Roman numerals.
3089 % \end{itemize}
3090 % \changes{0.12}{2010/06/17}{W.~Trevor King added \cs{par} to detach
3091 %   the single space \cs{setstretch} from the from the final
3092 %   paragraph.}
3093 %    \begin{macrocode}
3094 \newenvironment{acknowledgments}{%
3095   \@DUT@clearpage
3096   \ifpdf
3097     \phantomsection
3098     \pdfbookmark[0]{\DUTacknowledgmentsname}{\DUTacknowledgmentsname}
3099   \fi
3100   \chapter*{\acknowledgmentsname}
3101   \setstretch{\@dsp}%
3102 }{%
3103   \par\setstretch{\@ssp}%
3104 }
3105 %    \end{macrocode}
3106 \let\DUTacknowledgments\acknowledgments
3107 \let\endDUTacknowledgments\endacknowledgments
3108 % \end{environment}
3109 % \end{environment}
3110 %
3111 % \begin{environment}{abstract}
3112 % \begin{environment}{DUTabstract}
3113 %    \begin{macrocode}
3114 \newenvironment{abstract}{%
3115   \listed@schapter{\abstractname}%
3116 %    \end{macrocode}
3117 % Suck up some blank space to position the rest of the header right
3118 % under the chapter title.
3119 %    \begin{macrocode}
3120   \blanklines{-4}%
3121 %    \end{macrocode}
3122 % From the Manual \S 3.9 p10
3123 % \begin{quote}
3124 %   \begin{itemize}
3125 %     \item The following heading must be centered at the top of the page
3126 %       \begin{center}
3127 %         Abstract \\
3128 %         Full Title of Dissertation or Thesis \\
3129 %         Author's Name as it appears on the Dissertation or Thesis
3130 %       \end{center}
3131 %       In the example on p20, they list the advisor's name after the
3132 %       author, but that is not specified in the text on p10.
3133 %     \item The text begins four lines below this heading.
3134 %   \end{itemize}
3135 % \end{quote}
3136 % On p20
3137 % \begin{quote}
3138 %   \begin{itemize}
3139 %     \item These pages are numbered using lowercase Roman numerals.
3140 %     \item Note that the heading is single spaced, but the abstract
3141 %       is double spaced.
3142 %   \end{itemize}
3143 % \end{quote}
3144 % \changes{0.12}{2010/06/17}{W.~Trevor King added \cs{par} to detach
3145 %   the single space \cs{setstretch} from the from the final
3146 %   paragraph.}
3147 %    \begin{macrocode}
3148     \begin{center}
3149       \setstretch{\@ssp}%
3150       \@DUT@title\\
3151       \@DUT@author\\
3152 %    \end{macrocode}
3153 % If you're feeling daring, break the rules and add ``Advisor(s):'' to
3154 % set off your list of advisor names.
3155 % \changes{0.11}{2010/06/04}{W.~Trevor King added ``Advisor(s):'' for
3156 %   daring users.}
3157 %    \begin{macrocode}
3158       \ifdaring{%
3159         \ifnum\c@@DUT@advisors=\@ne%
3160         Advisor:
3161         \else%
3162         Advisors:
3163         \fi}{}
3164       \@DUT@advisor\\
3165     \end{center}
3166   \blanklines{4}%
3167   \setstretch{\@dsp}%
3168   \@nobreaktrue
3169   \@afterindentfalse
3170   \@afterheading
3171 }{%
3172   \par\setstretch{\@ssp}%
3173 }
3174 \let\DUTabstract\abstract
3175 \let\endDUTabstract\endabstract
3176 %    \end{macrocode}
3177 % \end{environment}
3178 % \end{environment}
3179 %
3180 % \begin{environment}{thesis}
3181 % \begin{environment}{DUTthesis}
3182 % From the Manual \S 3.10 p11
3183 % \begin{itemize}
3184 %   \item The pages are counted and numbered in Arabic numerals.
3185 % \end{itemize}
3186 % \changes{0.8}{2010/05/20}{W.~Trevor King replaced Backmatter with
3187 %   Back Matter for consistency with \LaTeX's book class.}
3188 %    \begin{macrocode}
3189 \newenvironment{thesis}{%
3190   \mainmatter
3191   \setstretch{\@dsp}%
3192 }{%
3193   \setstretch{\@ssp}%
3194   \@DUT@clearpage
3195   \ifpdf
3196     \phantomsection
3197     \pdfbookmark[-1]{Back Matter}{Back Matter}
3198   \fi
3199 }
3200 \let\DUTthesis\thesis
3201 \let\endDUTthesis\endthesis
3202 %    \end{macrocode}
3203 % \end{environment}
3204 % \end{environment}
3205 %
3206 % \paragraph{Vita}
3207 % \label{sec:implement-vita}
3208
3209 % \begin{environment}{vita}
3210 % \begin{environment}{DUTvita}
3211 % From the Manual \S 3.15 p13
3212 % \begin{itemize}
3213 %   \item The heading |Vita| must appear at the top of the page.  The
3214 %   heading must be bold, centered, and without punctuation.
3215 %   \item The Vita text should begin four spaces below the heading.
3216 %   \item List the Vita separately in the Table of Contents.
3217 %   \item The page is counted and numbered in Arabic numerals.
3218 % \end{itemize}
3219 % \changes{0.12}{2010/06/17}{W.~Trevor King added \cs{par} to detach
3220 %   the single space \cs{setstretch} from the from the final
3221 %   paragraph.}
3222 %    \begin{macrocode}
3223 \newenvironment{vita}{%
3224   \listed@schapter{\vitaname}
3225   \setstretch{\@dsp}%
3226 }{%
3227   \par\setstretch{\@ssp}%
3228 }
3229 \let\DUTvita\vita
3230 \let\endDUTvita\endvita
3231 %    \end{macrocode}
3232 % \end{environment}
3233 % \end{environment}
3234 %
3235 %
3236 % \subsubsection{Titlepage}
3237 %
3238 % \begin{environment}{titlepage}
3239 % In the normal environments, the titlepage environment does nothing
3240 % but start and end a page, and inhibit page numbers.  We inhibit the
3241 % paging in draft mode, since it seems silly to waste a whole page on
3242 % the title.  We also drop the \Lopt{twocolumn} code.
3243 % (\file{classes.dtx}, L3111)
3244 %    \begin{macrocode}
3245 \renewenvironment{titlepage}%
3246   {\thispagestyle{empty}%
3247     \setcounter{page}\z@}%
3248   {\if@final \newpage \else \blanklinesp{2} \par \fi}
3249 \let\@DUT@titlepage\titlepage
3250 \let\end@DUT@titlepage\endtitlepage
3251 %    \end{macrocode}
3252 % \end{environment}
3253 %
3254 %
3255 % \subsubsection{Appendix}
3256 % \label{sec:implement-appendix}
3257 %
3258 % \begin{macro}{\appendix}
3259 % \begin{macro}{\DUTappendix}
3260 % The |\appendix| command is not really an environment, it is a
3261 % macro that makes some changes in the way things are done.
3262 %
3263 % In the article document class the |\appendix| command must do the
3264 % following:
3265 % \begin{itemize}
3266 %   \item reset the section and subsection counters to zero,
3267 %   \item redefine |\thesection| to produce alphabetic appendix
3268 %         numbers. This redefinition is done globally to ensure that it 
3269 %         survives even if |\appendix| is issued within an environment such
3270 %         as |multicols|.
3271 % \end{itemize}
3272 %
3273 % In addition to \cls{book}'s (or \pkg{hyperref}'s) activity, we
3274 % fiddle with the \pkg{tocloft} chapter settings add switch to global
3275 % double-spacing.
3276 % (\file{classes.dtx}, L3177)
3277 %    \begin{macrocode}
3278 \let\@DUT@appendix\appendix
3279 \renewcommand\appendix{%
3280   \@DUT@appendix%
3281 %    \end{macrocode}
3282 % Setup TOC entries like
3283 % \begin{center}
3284 %   Appendix A: Chapter Title
3285 % \end{center}
3286 % We don't need to worry about the |vita| environment (page
3287 % \pageref{sec:implement-vita}), because it is a |\listed@schapter|,
3288 % and therefore lacks a |\numberline| section in its \file{*.toc}
3289 % entry.
3290 %
3291 % We increase |numwidth| to 6.5em to make room for |Appendix~| before
3292 % the chapter number/letter, and add a colon after it.
3293 %
3294 % The |\protect| calls get the macros into \file{*.toc} unexpanded, so
3295 % they function correctly when \LaTeX\ parses \file{*.toc}.
3296 %    \begin{macrocode}
3297   \addtocontents{toc}{%
3298     \protect\cftsetindents{chapter}{0pt}{6.5em}
3299     \protect\renewcommand{\protect\cftchappresnum}{\protect\appendixname~}
3300     \protect\renewcommand{\protect\cftchapaftersnum}{:}}
3301 %    \end{macrocode}
3302 % We also turn on double spacing by default, since we're no longer
3303 % wrapped in the |thesis| environment.
3304 %    \begin{macrocode}
3305   \setstretch{\@dsp}%
3306 }
3307 \let\DUTappendix\appendix
3308 %    \end{macrocode}
3309 % \end{macro}
3310 % \end{macro}
3311 %
3312 %
3313 % \subsubsection{Table of Contents}
3314 % \label{sec:implement-toc}
3315 %
3316 % From Manual \S 3.5 p9, ``Table of Contents'', and the example on p17.
3317 % \begin{quote}
3318 %   \begin{itemize}
3319 %     \item Do not list any sections that precede the
3320 %     |Table of Contents| (e.g., |Dedications|, |Acknowledgments|).  Do
3321 %     not list the |Table of Contents| itself.
3322 %     \item These pages are counted and numbered in lowercase Roman numerals.
3323 %   \end{itemize}
3324 % \end{quote}
3325 %
3326 % \begin{macro}{\cfttoctitlefont}
3327 % Take advantange of \pkg{tocloft}'s TOC title code.
3328 % (\file{tocloft.dtx}, L1501)
3329 % \begin{example}
3330 %   \cfttoctitlefont\contentsname}{\cftaftertoctitle}
3331 % \end{example}
3332 % by setting it equal to something ending in |\chapter*|.  That way
3333 % \LaTeX parses the whole thing as
3334 % \begin{example}
3335 %   ...\chapter*\contentsname}{\cftaftertoctitle}
3336 % \end{example}
3337 % which will set up the TOC page correctly.
3338 %    \begin{macrocode}
3339 \renewcommand\cfttoctitlefont{%
3340 %    \end{macrocode}
3341 % Start a new page in \Lopt{final} mode
3342 %    \begin{macrocode}
3343   \@DUT@clearpage
3344 %    \end{macrocode}
3345 % Add a bookmark if we're using pdf\LaTeX.
3346 %    \begin{macrocode}
3347   \ifpdf
3348     \phantomsection
3349     \pdfbookmark[0]{\contentsname}{\contentsname}
3350   \fi
3351 %    \end{macrocode}
3352 % |\chapter*| to gobble and format the next token (|\contentsname|).
3353 %    \begin{macrocode}
3354   \chapter*}
3355 %    \end{macrocode}
3356 % \end{macro}
3357 %
3358 % \begin{macro}{\aftertoctitleskip}
3359 % Don't add any extra space after the title (the chapter will take
3360 % care of that).
3361 %    \begin{macrocode}
3362 \setlength\cftaftertoctitleskip{0pt}
3363 %    \end{macrocode}
3364 % \end{macro}
3365 %
3366 % \begin{macro}{\l@DUT@toc@sep}
3367 % Define a length for TOC/LOF/LOT spacing.
3368 % \changes{0.13}{2010/07/28}{Renamed from \cs{l@cont@sep}.}
3369 %    \begin{macrocode}
3370 \newlength\l@DUT@toc@sep
3371 \set@lines@length{\l@DUT@toc@sep}{\@DUT@toc@sep}
3372 %    \end{macrocode}
3373 % \end{macro}
3374 %
3375 % \begin{macro}{\DUT@toc@high@font}
3376 % Define a font for high level (part, chapter) entries.
3377 % \changes{0.13}{2010/07/28}{Renamed from \cs{@cont@font}.}
3378 %    \begin{macrocode}
3379 \newcommand{\DUT@toc@high@font}{\normalsize\scshape}
3380 %    \end{macrocode}
3381 % \end{macro}
3382 %
3383 % \begin{macro}{\DUT@toc@low@font}
3384 % Define a font for low level (section, table, figure) entries.
3385 % \changes{0.13}{2010/07/28}{Macro added.}
3386 %    \begin{macrocode}
3387 \newcommand{\DUT@toc@low@font}{\normalfont}
3388 %    \end{macrocode}
3389 % \end{macro}
3390 %
3391 % \begin{macro}{\DUT@toc@page@font}
3392 % Define a font for page numbers.
3393 % \changes{0.13}{2010/07/28}{Macro added.}
3394 %    \begin{macrocode}
3395 \newcommand{\DUT@toc@page@font}{\normalfont}
3396 %    \end{macrocode}
3397 % \end{macro}
3398 %
3399 % \begin{macro}{\cftbeforepartskip}
3400 % \begin{macro}{\cftpartfont}
3401 % \begin{macro}{\cftpartleader}
3402 % \begin{macro}{\cftpartdotsep}
3403 % \begin{macro}{\cftpartpagefont}
3404 % Setup parts.  See the \pkg{tocloft} manual for a description of the
3405 % commands.
3406 %    \begin{macrocode}
3407 \setlength\cftbeforepartskip{\l@DUT@toc@sep}
3408 \cftsetindents{part}{0pt}{3em}
3409 \if@boldpart   \renewcommand{\cftpartfont}{\bfseries\DUT@toc@high@font}
3410 \else          \renewcommand{\cftpartfont}{\DUT@toc@high@font}
3411 \renewcommand{\cftpartleader}{\cftdotfill{\cftpartdotsep}}
3412 \if@dottedpart \renewcommand{\cftpartdotsep}{\cftdotsep}
3413 \else          \renewcommand{\cftpartdotsep}{\cftnodots} \fi
3414 \renewcommand{\cftpartpagefont}{\DUT@toc@page@font}
3415 %    \end{macrocode}
3416 % \end{macro}
3417 % \end{macro}
3418 % \end{macro}
3419 % \end{macro}
3420 % \end{macro}
3421 %
3422 % \begin{macro}{\cftbeforechapskip}
3423 % \begin{macro}{\cftchapaftersnum}
3424 % \begin{macro}{\cftchapfont}
3425 % \begin{macro}{\cftchapleader}
3426 % \begin{macro}{\cftchapdotsep}
3427 % \begin{macro}{\cftchappagefont}
3428 % Setup chapters and appendicies.  Some of these settings are adjusted
3429 % for appendicies in particular by |\appendix|
3430 % (Sec.~\ref{sec:implement-appendix}).
3431 %    \begin{macrocode}
3432 \setlength\cftbeforechapskip{\l@DUT@toc@sep}
3433 \cftsetindents{chapter}{0pt}{1.5em}
3434 \renewcommand{\cftchapaftersnum}{.}
3435 \if@boldchapter   \renewcommand{\cftchapfont}{\bfseries\DUT@toc@high@font}
3436 \else             \renewcommand{\cftchapfont}{\DUT@toc@high@font} \fi
3437 \renewcommand{\cftchapleader}{\cftdotfill{\cftchapdotsep}}
3438 \if@dottedchapter \renewcommand{\cftchapdotsep}{\cftdotsep}
3439 \else             \renewcommand{\cftchapdotsep}{\cftnodots} \fi
3440 \renewcommand{\cftchappagefont}{\DUT@toc@page@font}
3441 %    \end{macrocode}
3442 % \end{macro}
3443 % \end{macro}
3444 % \end{macro}
3445 % \end{macro}
3446 % \end{macro}
3447 % \end{macro}
3448 %
3449 % \begin{macro}{\cftbeforesecskip}
3450 % \begin{macro}{\cftsecfont}
3451 % \begin{macro}{\cftpagefont}
3452 % \begin{macro}{\cftbeforesubsecskip}
3453 % \begin{macro}{\cftsubsecfont}
3454 % \begin{macro}{\cftsubsecpagefont}
3455 % \begin{macro}{\cftbeforesubsubsecskip}
3456 % \begin{macro}{\cftsubsubsecfont}
3457 % \begin{macro}{\cftsubsubsecpagefont}
3458 % Setup sections, subsections, etc.
3459 % \changes{0.13}{2010/07/28}{Added \cs{cft*pagefont} definitions and
3460 %   switch \cs{cft*font} from hardcoded \cs{normalsize} to
3461 %   \cs{DUT@toc@low@font}.}
3462 %    \begin{macrocode}
3463 %\cftsetindents{chap}{0pt}{1.5em}
3464 \setlength\cftbeforesecskip{\l@DUT@toc@sep}
3465 \cftsetindents{section}{0pt}{3em}
3466 \renewcommand{\cftsecfont}{\DUT@toc@low@font}
3467 \renewcommand{\cftsecpagefont}{\DUT@toc@page@font}
3468 \setlength\cftbeforesubsecskip{\l@DUT@toc@sep}
3469 \cftsetindents{subsection}{0pt}{4.5em}
3470 \renewcommand{\cftsubsecfont}{\DUT@toc@low@font}
3471 \renewcommand{\cftsubsecpagefont}{\DUT@toc@page@font}
3472 \setlength\cftbeforesubsubsecskip{\l@DUT@toc@sep}
3473 \cftsetindents{subsubsection}{0pt}{6em}
3474 \renewcommand{\cftsubsubsecfont}{\DUT@toc@low@font}
3475 \renewcommand{\cftsubsubsecpagefont}{\DUT@toc@page@font}
3476 %    \end{macrocode}
3477 % \end{macro}
3478 % \end{macro}
3479 % \end{macro}
3480 % \end{macro}
3481 % \end{macro}
3482 % \end{macro}
3483 % \end{macro}
3484 % \end{macro}
3485 % \end{macro}
3486 %
3487 % The default indents above are all |0pt|.  If \Lopt{indenttoc} was
3488 % given, override this, restoring the \pkg{tocloft} defaults, see the
3489 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/tocloft/tocloft.pdf}{%
3490 %   \pkg{tocloft} manual, Table 1}.
3491 %    \begin{macrocode}
3492 \if@indenttoc
3493   \cftsetindents{chapter}{0pt}{1.5em}
3494   \cftsetindents{section}{1.5em}{2.3em}
3495   \cftsetindents{subsection}{3.8em}{3.2em}
3496   \cftsetindents{subsubsection}{7.0em}{4.1em}
3497 \fi
3498 %    \end{macrocode}
3499 %
3500 %
3501 % \subsubsection{List of figures}
3502 % \label{sec:implement-lof}
3503 %
3504 % From the Manual \S 3.7 p10
3505 % \begin{quote}
3506 %   \begin{itemize}
3507 %     \item The heading |List of Figures| must appear at the top of
3508 %       the first page.
3509 %     \item The heading must be bold, centered, and without
3510 %       punctuation.  List figure captions exactly as they appear
3511 %       below the figures in the text.
3512 %     \item Single space each entry, but double-space between entries.
3513 %     \item Separate figure captions from page numbers with
3514 %       right-justified tabs and dot leaders.
3515 %     \item Do not use periods to separate captions and page numbers.
3516 %     \item These pages are counted and numbered in lowercase Roman
3517 %     numerals.
3518 %   \end{itemize}
3519 % \end{quote}
3520 %
3521 % \begin{macro}{\cftloftitlefont}
3522 % Much like our |\cfttoctitlefont|, but the list of figures gets
3523 % listed in the TOC.
3524 %    \begin{macrocode}
3525 \renewcommand\cftloftitlefont{\listed@schapter}
3526 %    \end{macrocode}
3527 % \end{macro}
3528 %
3529 % \begin{macro}{\afterloftitleskip}
3530 % Don't add any extra space after the title (the chapter will take
3531 % care of that).  Actually we make a one-line correction so the first
3532 % line matches the first line in the TOC.  HACK!
3533 %    \begin{macrocode}
3534 \setlength\cftafterloftitleskip{-12pt}
3535 %    \end{macrocode}
3536 % \end{macro}
3537 %
3538 % \begin{macro}{\cftbeforefigskip}
3539 % \begin{macro}{\cftfigindent}
3540 % \begin{macro}{\cftfigfont}
3541 % \begin{macro}{\cftfigpagefont}
3542 % Setup figure entries.
3543 % \changes{0.13}{2010/07/28}{Added \cs{cftfigpagefont} definition and
3544 %   switch \cs{cftfigfont} from hardcoded \cs{normalsize}
3545 %   \cs{singlespace} to \cs{DUT@toc@low@font}.  The \cs{singlespace}
3546 %   portion appears to be unnecessary, and it was causing post-number
3547 %   linebreak issues with latex (pdflatex always worked).}
3548 %    \begin{macrocode}
3549 \setlength{\cftbeforefigskip}{\l@DUT@toc@sep}
3550 \setlength{\cftfigindent}{0pt}
3551 \renewcommand{\cftfigfont}{\DUT@toc@low@font}
3552 \renewcommand{\cftfigpagefont}{\DUT@toc@page@font}
3553 %    \end{macrocode}
3554 % \end{macro}
3555 % \end{macro}
3556 % \end{macro}
3557 % \end{macro}
3558 %
3559 %
3560 % \subsubsection{List of tables}
3561 % \label{sec:implement-lot}
3562 %
3563 % From the Manual \S 3.6 p10
3564 % \begin{quote}
3565 %   \begin{itemize}
3566 %     \item The heading |List of Tables| must appear at the top of the
3567 %       first page.
3568 %     \item The heading must be bold, centered, and without
3569 %       punctuation.
3570 %     \item List table captions exactly as they appear above the
3571 %       tables in the text.
3572 %     \item Single space each entry, but double-space between entries.
3573 %     \item Separate table captions from page numbers with
3574 %       right-justified tabs and dot leaders.
3575 %     \item Do not use periods to separate captions and page numbers.
3576 %       These pages are counted and numbered in lowercase Roman
3577 %       numerals.
3578 %   \end{itemize}
3579 % \end{quote}
3580 %
3581 % \begin{macro}{\cftlottitlefont}
3582 % Much like our |\cfttoctitlefont|, but the list of tables gets
3583 % listed in the TOC.
3584 %    \begin{macrocode}
3585 \renewcommand\cftlottitlefont{\listed@schapter}
3586 %    \end{macrocode}
3587 % \end{macro}
3588 %
3589 % \begin{macro}{\afterlottitleskip}
3590 % Don't add any extra space after the title (the chapter will take
3591 % care of that).  Actually we make a one-line correction so the first
3592 % line matches the first line in the TOC.  HACK!
3593 %    \begin{macrocode}
3594 \setlength\cftafterlottitleskip{-12pt}
3595 %    \end{macrocode}
3596 % \end{macro}
3597 %
3598 % \begin{macro}{\cftbeforetabskip}
3599 % \begin{macro}{\cfttabindent}
3600 % \begin{macro}{\cfttabfont}
3601 % \begin{macro}{\cfttabpagefont}
3602 % Setup table entries.
3603 % \changes{0.13}{2010/07/28}{Added \cs{cfttabpagefont} definition and
3604 %   switch \cs{cftfabfont} from hardcoded \cs{normalsize}
3605 %   \cs{singlespace} to \cs{DUT@toc@low@font}.  The \cs{singlespace}
3606 %   portion appears to be unnecessary, and it was causing post-number
3607 %   linebreak issues with latex (pdflatex always worked).}
3608 %    \begin{macrocode}
3609 \setlength{\cfttabindent}{0pt}
3610 \setlength{\cftbeforetabskip}{\l@DUT@toc@sep}
3611 \renewcommand{\cfttabfont}{\DUT@toc@low@font}
3612 \renewcommand{\cfttabpagefont}{\DUT@toc@page@font}
3613 %    \end{macrocode}
3614 % \end{macro}
3615 % \end{macro}
3616 % \end{macro}
3617 % \end{macro}
3618 %
3619 %
3620 % \subsubsection{Bibliography}
3621 %
3622 % \begin{environment}{thebibliography}
3623 % The |thebibliography| environment is a list environment.  To save the
3624 % use of an extra counter, it should use |enumiv| as the item
3625 % counter. 
3626 % Instead of using |\item|, items in the bibliography are produced by
3627 % the following commands:\\
3628 %   |\bibitem|\marg{name} : Produces a numbered entry cited as
3629 %   \meta{name}.\\
3630 %   |\bibitem|\oarg{label}\marg{name} : Produces an entry labeled by
3631 %   \meta{Label} and cited by \meta{name}.
3632 %
3633 % Override \cls{book}'s version, adding a line to the table of
3634 % contents.  We split out the section-creation code into
3635 % |\bib@heading| for \pkg{natbib} compatibility.
3636 % (\file{classes.dtx}, L4063).
3637 %    \begin{macrocode}
3638 \renewenvironment{thebibliography}[1]
3639      {\bib@heading%
3640       \list{\@biblabel{\@arabic\c@enumiv}}%
3641            {\settowidth\labelwidth{\@biblabel{#1}}%
3642             \leftmargin\labelwidth
3643             \advance\leftmargin\labelsep
3644             \@openbib@code
3645             \usecounter{enumiv}%
3646             \let\p@enumiv\@empty
3647             \renewcommand\theenumiv{\@arabic\c@enumiv}}%
3648 %    \end{macrocode}
3649 % Because it's hard to do line breaks in bibliographies.
3650 %    \begin{macrocode}
3651       \sloppy
3652 %    \end{macrocode}
3653 %    This is setting the normal (non-infinite) value of
3654 %    |\clubpenalty| for the whole of this environment,
3655 %    so we must reset its stored value also.  (Why is there a |%| after
3656 %    the second 4000 below?)
3657 %    \begin{macrocode}
3658       \clubpenalty4000
3659       \@clubpenalty \clubpenalty
3660       \widowpenalty4000%
3661 %    \end{macrocode}
3662 % Cause a `.' (period) not to produce an end-of-sentence space.
3663 %    \begin{macrocode}
3664       \sfcode`\.\@m}
3665 %    \end{macrocode}
3666 % Warn if an empty `thebibliography' environment is found.
3667 %    \begin{macrocode}
3668      {\def\@noitemerr
3669        {\@latex@warning{Empty `thebibliography' environment}}%
3670       \endlist}
3671 %    \end{macrocode}
3672 % \end{environment}
3673 %
3674 % \begin{macro}{\bib@heading}
3675 % \pkg{natbib} messes with |thebibliography|.  We setup |\bib@heading|
3676 % so we will still get our table of contents entry.
3677 %    \begin{macrocode}
3678 \newcommand{\bib@heading}{%
3679   \listed@schapter{\bibname}%
3680 }
3681 %    \end{macrocode}
3682 % \end{macro}
3683 %
3684 %
3685 % \subsubsection{Index}
3686 %
3687 % \begin{environment}{theindex}
3688 % The environment |theindex| can be used for indices. It makes an
3689 % index with two columns, with each entry a separate paragraph. At
3690 % the user level the commands |\item|, |\subitem| and |\subsubitem|
3691 % are used to produce index entries of various levels. When a new
3692 % letter of the alphabet is encountered an amount of |\indexspace|
3693 % white space can be added.
3694 %
3695 % Override \cls{book}'s version, adding a line to the table of
3696 % contents.  We split out the section-creation code into
3697 % |\bib@heading| for \pkg{natbib} compatibility.
3698 % (\file{classes.dtx}, L4107).
3699 %    \begin{macrocode}
3700 \renewenvironment{theindex}
3701                {\if@twocolumn
3702                   \@restonecolfalse
3703                 \else
3704                   \@restonecoltrue
3705                 \fi
3706 %    \end{macrocode}
3707 % Here we add our TOC entry, and setup two columns by hand
3708 % to avoid the |\clearpage| in \LaTeX's default |\twocolumn|.
3709 %    \begin{macrocode}
3710   \listed@schapter{\indexname}
3711   \global\columnwidth\textwidth
3712   \global\advance\columnwidth-\columnsep
3713   \global\divide\columnwidth\tw@
3714   \global\hsize\columnwidth
3715   \global\linewidth\columnwidth
3716   \global\@twocolumntrue
3717   \global\@firstcolumntrue
3718   \col@number \tw@
3719 %    \end{macrocode}
3720 %    Parameter changes to |\columnseprule| and |\columnsep| have to be
3721 %    done after |\twocolumn| has acted. Otherwise they can affect the
3722 %    last page before the index.
3723 %    \begin{macrocode}
3724                 \parindent\z@
3725                 \parskip\z@ \@plus .3\p@\relax
3726                 \columnseprule \z@
3727                 \columnsep 35\p@
3728                 \let\item\@idxitem}
3729 %    \end{macrocode}
3730 %    When the document continues after the index and it was a one
3731 %    column document we have to switch back to one column after the
3732 %    index.
3733 %    \begin{macrocode}
3734                {\if@restonecol\onecolumn\else\@DUT@clearpage\fi}
3735 %    \end{macrocode}
3736 % \end{environment}
3737 %
3738 %
3739 % \subsubsection{Words}
3740 % \label{sec:words}
3741 %
3742 % Set the official names of the various sections encountered.  Some of
3743 % these are not defined in \file{classes.dtx} but are close analogs of
3744 % those that are.
3745 %
3746 % \begin{macro}{\dedicationsname}
3747 % From the Manual \S 3.3 p9, ``The heading |Dedications| must appear at
3748 % the top of the page.''
3749 %    \begin{macrocode}
3750 \newcommand\dedicationsname{Dedications}
3751 \let\DUTdedicationsname\dedicationsname
3752 %    \end{macrocode}
3753 % \end{macro}
3754 %
3755 % \begin{macro}{\acknowledgmentsname}
3756 % From the Manual \S 3.4 p9, ``The heading |Acknowledgments| must appear
3757 % at the top of the page.''
3758 %    \begin{macrocode}
3759 \newcommand\acknowledgmentsname{Acknowledgments}
3760 \let\DUTacknowledgmentsname\acknowledgmentsname
3761 %    \end{macrocode}
3762 % \end{macro}
3763 %
3764 % \begin{macro}{\contentsname}
3765 % From the Manual \S 3.5 p9, ``The heading |Table of Contents| must
3766 % appear at the top of the page.''  (\file{classes.dtx}, L4331)
3767 %    \begin{macrocode}
3768 \renewcommand\contentsname{Table of Contents}
3769 \let\DUTcontentsname\contentsname
3770 %    \end{macrocode}
3771 % \end{macro}
3772 %
3773 % \begin{macro}{\listtablename}
3774 % From the Manual \S 3.6 p10, ``The heading |List of Tables| must appear
3775 % at the top of the page.''  (\file{classes.dtx}, L4333)
3776 %    \begin{macrocode}
3777 \renewcommand\listtablename{List of Tables}
3778 \let\DUTlisttablename\listtablename
3779 %    \end{macrocode}
3780 % \end{macro}
3781 %
3782 % \begin{macro}{\listfigurename}
3783 % From the Manual \S 3.7 p10, ``The heading |List of Figures| must appear
3784 % at the top of the page.''  (\file{classes.dtx}, L4332)
3785 %    \begin{macrocode}
3786 \renewcommand\listfigurename{List of Figures}
3787 \let\DUTlistfigurename\listfigurename
3788 %    \end{macrocode}
3789 % \end{macro}
3790 %
3791 % \begin{macro}{\abstractname}
3792 % From the Manual \S 3.8 p10, ``The following heading must be centered at
3793 % the top of the first page: |Abstract|\ldots.''
3794 % (\file{classes.dtx}, L4367)
3795 %    \begin{macrocode}
3796 \newcommand\abstractname{Abstract}
3797 \let\DUTabstractname\abstractname
3798 %    \end{macrocode}
3799 % \end{macro}
3800 %
3801 % \begin{macro}{\bibname}
3802 % From the Manual \S 3.13 p12, ``The heading |Bibliography| (or
3803 % |List of References|) must appear at the top of first page.''
3804 % (\file{classes.dtx}, L4344)
3805 %    \begin{macrocode}
3806 \renewcommand\bibname{Bibliography}
3807 \let\DUTbibname\bibname
3808 %    \end{macrocode}
3809 % \end{macro}
3810 %
3811 % \begin{macro}{\appendixname}
3812 % From the Manual \S 3.14 p12, ``Number the appendicies consecutively
3813 % either alphabetically or numerically (|Appendix A|, |Appendix B|\ldots
3814 % or |Appendix 1|, |Appendix 2|\ldots).''
3815 % (\file{classes.dtx}, L4366)
3816 %    \begin{macrocode}
3817 \renewcommand\appendixname{Appendix}
3818 \let\DUTappendixname\appendixname
3819 %    \end{macrocode}
3820 % \end{macro}
3821 %
3822 % \begin{macro}{\vitaname}
3823 % From the Manual \S 3.15 p13, ``The heading |Vita| must appear at the
3824 % top of the page.''
3825 %    \begin{macrocode}
3826 \newcommand\vitaname{Vita}
3827 \let\DUTvitaname\vitaname
3828 %    \end{macrocode}
3829 % \end{macro}
3830 %
3831 % \begin{macro}{\DUTnames}
3832 % Some packages (e.g.,
3833 %   \href{http://www.ctan.org/tex-archive/macros/latex/required/babel/}{%
3834 %     \pkg{babel}})
3835 % mess with our |\*name| values and we have to restore them.
3836 \newcommand{\DUTnames}{%
3837   \gdef\dedicationsname{\DUTdedicationsname}%
3838   \gdef\contentsname{\DUTcontentsname}%
3839   \gdef\listtablename{\DUTlisttablename}%
3840   \gdef\listfigurename{\DUTlistfigurename}%
3841   \gdef\bibname{\DUTbibname}%
3842   \gdef\appendixname{\DUTappendixname}%
3843   \gdef\vitaname{\DUTvitaname}%
3844 }
3845 % \end{macro}
3846 %
3847 %
3848 % \subsection{Remaining details}
3849 %
3850 %
3851 % \subsubsection{Terminal blank page}
3852 %
3853 % Add a terminal blank page (when |\if@final| is true)
3854 % From the Manual \S 3.16 p13
3855 % \begin{quote}
3856 %   Include a blank page (with no page number) at the end of the
3857 %   thesis or dissertation.  The blank page is neither counted nor
3858 %   numbered.
3859 % \end{quote}
3860 %    \begin{macrocode}
3861 \AtEndDocument{\@DUT@blankpage}
3862 %    \end{macrocode}
3863 %
3864 %
3865 %    \begin{macrocode}
3866 %</class>
3867 %    \end{macrocode}
3868 %
3869 %
3870 % \section{Examples}
3871 %
3872 %
3873 % \subsubsection{Template}
3874 %
3875 %    \begin{macrocode}
3876 %<*template>
3877 % See drexel-thesis.pdf for details.
3878 \documentclass{drexel-thesis}
3879
3880 %% Enter the appropriate information here
3881 \author{}    % Fullname
3882 \title{}     % Title Of Thesis
3883 \DUTmonth{}  % Name of the month of you defense
3884 \DUTyear{}   % Year you are defending
3885 \degree{}    % Your target degree, spelled out
3886 \advisor{}   % Advisor's full name, degree
3887 \copyrighttext{} % If not "All Rights Reserved."
3888
3889 %% unsrt style give references in order of citation
3890 \bibliographystyle{unsrt}
3891
3892 \begin{document}
3893 \begin{preamble}
3894
3895 \begin{dedications} % OPTIONAL
3896 %% Type dedications here
3897 \end{dedications}
3898
3899 \begin{acknowledgments} % OPTIONAL
3900 %% Type acknowledgments here
3901 \end{acknowledgments}
3902
3903 \tableofcontents
3904 \listoftables  % If you have tables
3905 \listoffigures % If you have figures
3906
3907 \begin{abstract}
3908 %% Type abstract here
3909 \end{abstract}
3910 \end{preamble}
3911
3912 \begin{thesis}
3913 %% If your thesis does not use \part{}s, you may want to add a
3914 %% part-level PDF bookmark to set the main matter of from the front
3915 %% matter.
3916 %%\pdfbookmark[-1]{Main Matter}{Main Matter}
3917
3918 %% Use include statements to include your main thesis code
3919 %% from seperate files.
3920 %%\include{part1}
3921 %%...
3922 \end{thesis}
3923
3924 \bibliography{references} % Include references.bib BibTeX
3925
3926 \appendix % If you have appendices
3927 %% include files with your appendicies (if any) here
3928 %%\include{appendixA}
3929 %%...
3930
3931 \begin{vita} % Ph.D. only.
3932 %%Vita text.
3933 \end{vita}
3934
3935 \end{document}
3936 %</template>
3937 %    \end{macrocode}
3938 %
3939 %
3940 % \subsection{A better example}
3941 % \label{sec:better-example}
3942 %
3943 % \subsubsection{Main}
3944 %
3945 %    \begin{macrocode}
3946 %<*example|example-draft>
3947 %% See drexel-thesis.pdf for details.
3948 %<example>\documentclass[subfig,blackref,approvalform]{drexel-thesis}
3949 %<example-draft>\documentclass[draft,subfig]{drexel-thesis}
3950
3951 %% Enter the appropriate information here
3952 \author{Johny Henry}
3953 \title{Inadequacies of Steam-Driven Boring Machines}
3954 \DUTmonth{July}
3955 \DUTyear{1872}
3956 \degree{Doctor of Philosophy}
3957 \advisor{Collis Potter Huntington, R.R.D.}
3958 \advisor{Advisor 2, Ph.D.}
3959 \advisor{Advisor 3, Ph.D.}
3960 \copyrighttext{\copyrighttextCCBYSA}
3961
3962 \usepackage[super,sort&compress]{natbib} % fancy citation extensions
3963 \bibliographystyle{unsrtnat}
3964
3965 \usepackage{fancyvrb} % nicer verbatim handling
3966 \DefineShortVerb{\|}  % \verb+TEXT+  ->  |TEXT|
3967
3968 %    \end{macrocode}
3969 % Sometimes other packages clobber \cls{drexel-thesis}'s macros and
3970 % environments.  It's ok though, the originals are all aliased to
3971 % |\DUT*|.  We'll just have to use |DUTpreamble| instead.
3972 %    \begin{macrocode}
3973 \renewenvironment{preamble}{% look, we're clobbering an environment!
3974   What preamble?\begingroup\color{white}}{\endgroup}
3975
3976 %    \end{macrocode}
3977 % Use
3978 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/blindtext/}%
3979 %   {\pkg{blindtext}}
3980 % for dummy text creation.  \pkg{blindtext} requires
3981 % \href{http://www.ctan.org/tex-archive/macros/latex/required/babel/}%
3982 %   {\pkg{babel}}.
3983 %    \begin{macrocode}
3984 \usepackage[english]{babel} % English blindtext
3985 \usepackage{blindtext} % macros for producing dummy output
3986 %    \end{macrocode}
3987 % \pkg{babel} messes with some of our words (\S \ref{sec:words}), so
3988 % we have to reset them.  See the
3989 % \href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=latexwords}{\TeX\ FAQ}
3990 % for details.
3991 %    \begin{macrocode}
3992 \addto\captionsenglish{\DUTnames}
3993
3994 \begin{document}
3995 \begin{DUTpreamble} % "DUT" because original preamble was clobbered.
3996
3997 \begin{dedications}
3998 We're in \iffinal{final}{draft} mode!
3999
4000 \Blindtext[3]
4001 \end{dedications}
4002
4003 \begin{acknowledgments}
4004 \Blindtext[3]
4005 \end{acknowledgments}
4006
4007 \tableofcontents
4008 \listoftables
4009 \listoffigures
4010
4011 \begin{abstract}
4012 \Blindtext[3]
4013 \end{abstract}
4014 \end{DUTpreamble}
4015
4016 \begin{thesis}
4017 \include{example-1}
4018 \end{thesis}
4019
4020 \bibliography{example-ref}
4021
4022 \appendix
4023 \include{example-a}
4024
4025 \begin{vita}
4026 \Blindtext[3]
4027 \end{vita}
4028
4029 \end{document}
4030 %</example|example-draft>
4031 %    \end{macrocode}
4032 %
4033 %
4034 % \subsubsection{Part}
4035 % \label{sec:better-example-part}
4036 %
4037 %    \begin{macrocode}
4038 %<*example-part>
4039 \part{A Part Heading}
4040 \chapter{A Chapter Heading}
4041 \section{A Section Heading}
4042 The following sectioning commands are available:
4043 \begin{quote}
4044  part \\
4045  chapter \\
4046  section \\
4047  subsection \\ 
4048  subsubsection \\ 
4049  paragraph \\ 
4050  subparagraph 
4051 \end{quote}
4052
4053 \subsection{natbib}
4054 You can cite your references with |natbib|'s |\citet| and |\citep|
4055 macros.  See
4056 \href{http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/}
4057 {the natbib manual} for details.
4058
4059 Here we have a text citation \citet{rief97} followed by a
4060 parenthetical citation\citep{rief97}.
4061
4062 \subsubsection{Tables and Figures}
4063 \Blindtext[2]
4064 \begin{table}
4065   \begin{center}
4066   \begin{tabular}{r@{.}l r@{.}l r@{.}l}
4067     \multicolumn{2}{c}{Time (s)} &
4068       \multicolumn{2}{c}{John Henry (m)} &
4069       \multicolumn{2}{c}{Steam drill (m)} \\
4070     0&0 & 0&0 & 0&0 \\
4071     10&0 & 4&3 & 3&75 \\
4072     30&0 & 11&9 & 10&1 \\
4073     \ldots
4074   \end{tabular}
4075   \caption{A table float.} % low caption allowed with floatrow
4076 %% Note the strange |r@{.}l| notation in the |\tabular| column
4077 %% definition.  This allows for numbers aligned at the decimal point
4078 %% (see \href{http://www.stat.unipg.it/tex-man/ltx-68.html}{here}).
4079 %%
4080 %% |\multicolumn{num_cols}{alignment}{contents}| allows the headings
4081 %% to span the pre- and post-decimal columns.
4082   \end{center}
4083 \end{table}
4084 \Blindtext[2]
4085 \begin{figure}
4086   \caption{A figure float. \blindtext} % high caption allowed with floatrow
4087   \begin{center}
4088     \includegraphics[width=0.4\textwidth]{drexel-logo}
4089   \end{center}
4090 \end{figure}
4091 \Blindtext[3]
4092 \begin{figure}
4093   \begin{center}
4094     \subfloat[][]{%
4095       \includegraphics[width=0.2\textwidth]{drexel-logo}%
4096       \label{fig:sub-a}}
4097     \subfloat[][]{%
4098       \includegraphics[width=0.2\textwidth]{drexel-logo}%
4099       \label{fig:sub-b}}
4100     \caption{(a) One subfig float. (b) Another subfig float.%
4101       \label{fig:both}}
4102   \end{center}
4103 \end{figure}
4104 You can reference the subfig floats individually (\ref{fig:sub-a}) or
4105 together (\ref{fig:both}).
4106
4107 \Blindtext[3]
4108
4109 \part{Another Part}
4110 \chapter{Another Chapter}
4111 \Blindtext[5]
4112 \chapter{A Long Title Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla
4113 Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla}
4114 \Blindtext[5]
4115 %</example-part>
4116 %    \end{macrocode}
4117 %
4118 %
4119 % \subsubsection{\BibTeX}
4120 %
4121 % What goes into the \BibTeX\ file |example-ref.bib|?
4122 % For more information, check out this 
4123 % \href{http://cmtw.harvard.edu/Documentation/TeX/Bibtex/Example.html}{basic tutorial}.
4124 % If you want to get deeper, take a look at
4125 % \href{http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/}{Tame the BeaST}.
4126 % Other resources:
4127 % \href{http://www.andy-roberts.net/misc/latex/latextutorial3.html}{how the process works},
4128 %   \href{http://newton.ex.ac.uk/tex/pack/bibtex/btxdoc/node6.html}{entry types},
4129 %   \href{http://newton.ex.ac.uk/tex/pack/bibtex/btxdoc/node7.html}{fields},
4130 %   \href{http://en.wikipedia.org/wiki/BibTeX}{entries and fields},
4131 %   \href{http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html}{assorted style examples}, and
4132 %   \href{http://liinwww.ira.uka.de/bibliography/Bib.Format.html}{assorted \BibTeX tools}.
4133 %
4134 % Here is an example \BibTeX\ file to get you started.  We define
4135 % strings for the publishers, journals, and authors to avoid
4136 % duplication, minimize the risk of typos, etc.
4137 %
4138 %    \begin{macrocode}
4139 %<*example-bibtex-refs>
4140 %% Publishers
4141 @String{APS = "American Physical Society"}
4142
4143 %% Journals
4144 @String{SCI = "Science"}
4145
4146 %% Authors
4147 @String{MRief = "Rief, Matthias"}
4148 @String{MGautel = "Gautel, Mathias"}
4149 @String{FOesterhelt = "Oesterhelt, Filipp"}
4150 @String{JFernandez = "Fernandez, Julio M."}
4151 @String{HGaub = "Gaub, Hermann E."}
4152
4153 %% Articles
4154 @Article{rief97,
4155   author = MRief #" and "# MGautel #" and "# FOesterhelt #" and "#
4156            JFernandez #" and "# HGaub,
4157   title = "Reversible Unfolding of Individual Titin Immunoglobulin
4158            Domains by {AFM}",
4159   journal = SCI,
4160   volume =  276,
4161   number =  5315,
4162   pages =   "1109--1112",
4163   year =    1997,
4164   doi =     "10.1126/science.276.5315.1109",
4165   URL =     "http://www.sciencemag.org/cgi/content/abstract/276/5315/1109",
4166   eprint =  "http://www.sciencemag.org/cgi/reprint/276/5315/1109.pdf",
4167   mynote = "Seminal paper for force spectroscopy on Titin. Cited by
4168            Dietz '04 (ref 9) as an example of how unfolding large
4169            proteins is easily interpreted (vs.\ confusing unfolding in
4170            bulk), but Titin is a rather simple example of that, because
4171            of its globular-chain structure.",
4172 }
4173 %% ...
4174 %</example-bibtex-refs>
4175 %    \end{macrocode}
4176 %
4177 %
4178 % \subsubsection{Appendix}
4179 %
4180 %    \begin{macrocode}
4181 %<*example-appendix>
4182 \chapter{Some Appendix Heading}
4183 \Blindtext[5]
4184 \chapter{Another Appendix Heading}
4185 \Blindtext[5]
4186 %</example-appendix>
4187 %    \end{macrocode}
4188 %
4189 %
4190 % \section{Known bugs and issues}
4191 %
4192 %
4193 % \subsection{Hacks}
4194 %
4195 % \begin{itemize}
4196 %   \item |\vspace*{0\p@}| space between page top and chapter
4197 %     headings (|\@makechapterhead| and |\@makeschapterhead|,
4198 %     Sec.~\ref{sec:implement-chapters}).
4199 %   \item Extra space under LOT and LOF titles compared to TOC.
4200 %     (Secs.~\ref{sec:implement-lof} and \ref{sec:implement-lot}).
4201 % \end{itemize}
4202 %
4203 %
4204 % \subsection{Bugs}
4205 %
4206 % \begin{itemize}
4207 %   \item Different space between chapter heading and section heading,
4208 %     vs.\ chapter heading and text.  Compare \emph{A Chapter Heading}
4209 %     and \emph{Another Chapter} in \file{example.pdf}.  This is a
4210 %     problem (although with opposite order) in the \cls{book} class
4211 %     itself.  For example, compile
4212 %     \begin{example}
4213 %\documentclass{book}
4214 %\begin{document}
4215 %\chapter{Chapter with text}
4216 %Bla bla bla.
4217 %\chapter{Chapter with section}
4218 %\section{Section}
4219 %Bla bla bla.
4220 %\end{document}
4221 %     \end{example}
4222 %   \item Footer overlap if chapter/section names are particularly long.
4223 %     See \emph{Section in long-titled chapter} in \file{example.pdf}.
4224 %     Workaround: turn off sections in the footer:
4225 %     \begin{example}
4226 %       \fancyfoot[RE,LO]{\scshape\leftmark}
4227 %       \fancyfoot[LE,RO]{}
4228 %     \end{example}
4229 %     For more header or footer manipulation ideas, see \S \ref{sec:fancyhdr}.
4230 % \end{itemize}
4231 %
4232 %
4233 % \Finale
4234 \endinput