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