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