1 % \def\fileversion{0.2}
2 % \def\filedate{2010/01/09}
3 % \iffalse meta-comment
4 %<class>\def\fileversion{0.2}
5 %<class>\def\filedate{2010/01/09}
7 % Copyright (C) 2010 W. Trevor King, Daniel J. Cross, T. Tsankov, and
9 % -------------------------------------------------------
11 % This file may be distributed and/or modified under the
12 % conditions of the LaTeX Project Public License, either version 1.3
13 % of this license or (at your option) any later version.
14 % The latest version of this license is in:
16 % http://www.latex-project.org/lppl.txt
18 % and version 1.3 or later is part of all distributions of LaTeX
19 % version 2003/12/01 or later.
21 % Based on Scott Pakin's dtxtut/cskeleton.dtx
22 % http://www.ctan.org/tex-archive/info/dtxtut/
26 % \iffalse meta-comment
28 \ProvidesFile{drexel-thesis.dtx}
30 %<class>\NeedsTeXFormat{LaTeX2e}
31 %<class>\ProvidesClass{drexel-thesis}
32 %<class> [\filedate\ \fileversion\ Drexel Thesis]
34 % Code for the .ini driver, see section "2.1 The driver file" of doc.dtx.
36 \documentclass{ltxdoc}
37 \usepackage[colorlinks=true]{hyperref}
39 % Include some useful commands from |xkeyval|'s |<preamble>|.
43 \lstnewenvironment{command}{%
44 \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},%
45 xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
46 \lstnewenvironment{example}{%
47 \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,%
48 backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,%
49 xrightmargin=\fboxsep,gobble=1}}{}
51 % \TeX's arguments aren't optional/mandatory, but they do use brackets
54 \newcommand{\bracearg}[1]{\marg{#1}}
55 \newcommand{\brackarg}[1]{\oarg{#1}}
57 % Define a quick and dirty version of |xkeyval|'s |\DescribeOptions|.
59 \newenvironment{option}[1]{\begin{macro}{#1}}
64 \def\DescribeOption#1{\leavevmode\@bsphack
65 \marginpar{\raggedleft\PrintDescribeOption{#1}}%
66 \SpecialOptionIndex{#1}\@esphack\ignorespaces}
67 \def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ }
68 \def\SpecialOptionIndex#1{\@bsphack
69 \index{#1\actualchar{\protect\ttfamily#1}
70 (option)\encapchar usage}%
71 \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
73 \def\DescribeOptions#1{\leavevmode\@bsphack
74 \marginpar{\raggedleft\strut\emph{options}%
76 \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
77 }}\@esphack\ignorespaces}
85 \DocInput{drexel-thesis.dtx}
93 % {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
94 % 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
95 % Digits \0\1\2\3\4\5\6\7\8\9
96 % Exclamation \! Double quote \" Hash (number) \#
97 % Dollar \$ Percent \% Ampersand \&
98 % Acute accent \' Left paren \( Right paren \)
99 % Asterisk \* Plus \+ Comma \,
100 % Minus \- Point \. Solidus \/
101 % Colon \: Semicolon \; Less than \<
102 % Equals \= Greater than \> Question mark \?
103 % Commercial at \@ Left bracket \[ Backslash \\
104 % Right bracket \] Circumflex \^ Underscore \_
105 % Grave accent \` Left brace \{ Vertical bar \|
106 % Right brace \} Tilde \~}
109 % \changes{0.1}{2006/01/18}{Rewrite by Daniel J.~Cross}
110 % \changes{0.2}{2010/01/09}{W.~Trevor King transitioned from thesis.cls
111 % to drexel-thesis.dtx and did a good deal of reorganizing.}
114 % \newcommand{\pkg}[1]{\textsf{#1}}
115 % \newcommand{\cls}[1]{\textsf{#1}}
116 % ^^A\newcommand{\BibTeX}{{\sc Bib}\TeX}
118 % \title{The \textsf{drexel-thesis} class\thanks{This document
119 % corresponds to \textsf{drexel-thesis}~\fileversion, dated \filedate.}}
120 % \author{W.~Trevor King \\\texttt{wking@drexel.edu}
121 % \and Daniel J.~Cross \and T.~Tsankov \and R.~Rojas.}
126 % \section{Introduction}
128 % This package defines a \LaTeX\ thesis class for Drexel University
130 % \href{http://www.library.drexel.edu/files/services_documents/thesismanual.pdf}
131 % {Drexel University Thesis Manual version 2009/06/01}.
135 % To write a thesis, you load the Drexel thesis definitions by loading
136 % the \pkg{drexel-thesis} class at the beginning of your
137 % \LaTeX\ document with the |\documentclass| command. For example,
139 % \documentclass{drexel-thesis}
142 % \subsection{Options}
144 % \DescribeOptions{final,draft}
145 % The default option (selected if not options are passed) is |final|
146 % mode, which has all the proper formatting and spacing for your final
147 % product. The other main option is |draft| mode, which reduces all
148 % the spacing in the document, so might be helpful when printing out
149 % drafts (saves paper).
151 % |final| mode corresponds to (with Thesis Manual chapter and verse)\\
152 % \begin{tabular}{r p{0.8\textwidth}}
153 % |oneside| & 1.5 Library Submission Information, Print
154 % Version: ``All copies must be: \ldots Typed/printed on only one
155 % side of the page (not double-sided).'' \\
156 % |finalspace| & Assorted single, double, and triple spacing
158 % |dottedtoc| & From the example on p17.
161 % |draft| mode corresponds to \\
162 % \begin{tabular}{r p{0.8\textwidth}}
163 % |twoside| & Save space. \\
164 % |draftspace| & Save space. \\
165 % |dottedtoc| & Might as well be consistent with |final|.
168 % \DescribeOption{finalspace}
171 % \DescribeOption{draftspace}
174 % \DescribeOptions{dottedtoc,boldtoc,
175 % dottedpart,boldpart,
176 % dottedchapter,boldchapter}
177 % These options change how the relevant TOC lines are printed
178 % \LaTeX\ defaults to bold but not dots. The |*toc| options set all
179 % of the types. For example, |boldtoc| is equivalent to
180 % |boldchapter,boldpart|.
182 % \subsubsection{Interesting \cls{book} options}
184 % \DescribeOption{oneside}
185 % Setup output for one-sided printing.
187 % \DescribeOption{twoside}
188 % Setup output for two-sided printing.
190 % \DescribeOption{leqno}
191 % |leqno| places the numbering of formulae on the left hand side
192 % instead of the right.
194 % \DescribeOption{fleqn}
195 % |fleqn| typesets displayed formulae left-aligned instead of
199 % \subsection{Macros}
202 % `\cs{author}\marg{name}'
204 % \DescribeMacro{\author}
205 % Use this macro to set your full name to \meta{name}, including
206 % your middle initial or name. For example
208 % \name{Richard P. Feynman}
210 % See the Manual 3.1 p8.
213 % `\cs{title}\marg{title}'
215 % \DescribeMacro{\title}
216 % Use this macro to set your thesis title to \meta{name}. For example
218 % \title{A New Approach to Quantum Theory}
220 % See the Manual p16.
223 % `\cs{advisor}\marg{name}'
225 % \DescribeMacro{\advisor}
226 % Use this macro to set your advisor's name to \meta{name}. For
229 % \advisor{John A. Wheeler, Ph.D.}
231 % See the Manual 3.1 p8.
234 % `\cs{defmonth}\marg{month}'
235 % `\cs{defyear}\marg{year}'
237 % \DescribeMacro{\defmonth}
238 % \DescribeMacro{\defyear}
239 % Use these macros to set the month with \meta{month} (spelled out)
240 % and year with \meta{year} (four digits) of your thesis defense. For
246 % See the Manual 3.1 p8.
247 % The |def| in |\def*| avoids collisions with the plain \TeX\
248 % |\month| and |\year| (see the
249 % \href{http://www.tug.org/utilities/plain/cseq.html#month-rp}{month}
251 % \href{http://www.tug.org/utilities/plain/cseq.html#year-rp}{year}
252 % entries in the HTML version of David Bausum's \emph{TeX Reference
256 % `\cs{degree}\marg{degree}'
258 % \DescribeMacro{\degree}
259 % Set your target degree with \meta{degree}. From the Manual 3.1 p8.
261 % Write out the name of the degree for which you are a candidate.
262 % All Ph.D.\ candidates must use |Doctor of Philosophy|. All
263 % Master's degree candidates should use the precise degree name
264 % (e.g., |Master of Science in Mechanical Engineering|).
266 % So, for a Ph.D candidate,
268 % \degree{Doctor of Philosophy}
272 % `\cs{tableofcontents}'
274 % \DescribeMacro{\tableofcontents}
275 % Write the table of contents (Manual 3.5 p9). You can control the
276 % verbosity by setting |\tocdepth| according to the following table
277 % (\href{http://www.image.ufl.edu/help/latex/intext.shtml}{source}). \\
278 % \begin{tabular}{l l l}
279 % Depth in document & Section Command & Depth for |\secnumdepth| Command \\
280 % -1 & |\part| & 1 \\
281 % 0 & |\chapter| & 2 \\
282 % 1 & |\section| & 3 \\
283 % 2 & |\subsection| & 4 \\
284 % 3 & |\subsubsection| & 5 \\
285 % 4 & |\paragraph| & 6 \\
286 % 5 & |\subparagraph| & 7
288 % For example, to expose everything down to and including the
289 % |\subsection| level, you would add
291 % \setcounter{tocdepth}{2}
293 % to your preamble (the section before |\begin{document}|, not the
294 % |preamble| environment discussed below).
296 % Note that the Manual 3.5 p9 requires ``List chapter titles and at
297 % least the first and second order subdivisions.'', which corresponds
298 % to a |\tocdepth| of at least 2.
301 % `\cs{blanklines}\marg{num}'
303 % \DescribeMacro{\blanklines}
304 % Insert \meta{num} blank lines. For example
308 % The skipped lines are always \emph{single spaced} lines, regardless
309 % of the current line spacing in the environment calling this macro.
312 % \subsection{Environments}
314 % \DescribeEnv{preamble}
315 % Generalize the |\frontmatter| for the thesis, setting up page
316 % numbering, including the title page, copyright page etc. The
317 % |preamble| environment should contain the following elements
318 % (in order, see the Manual p8)
320 % \item |dedication| environment (optional)
321 % \item |acknowledgments| environment (optional)
322 % \item |\tableofcontents|
323 % \item |\listoftables|
324 % \item |\listoffigures|
325 % \item |abstract| environment
327 % This will take care of everything from the title page (Manual 3.1),
328 % up through the blank page before the text (Manual 3.9).
330 % \DescribeEnv{dedications}
331 % Set the dedications text.
332 % Highlights from the Manual 3.3 p9:
334 % The |Dedications| page is optional.
337 % \DescribeEnv{acknowledgments}
338 % Set the acknowledgments text.
339 % Highlights from the Manual 3.4 p9:
341 % The |Acknowledgments| page is optional, but most theses do
342 % include a brief statement of thanks or recognition of any special
346 % \DescribeEnv{abstract}
347 % Set the thesis abstract text. In the Thesis Manual, see section 3.8
348 % Abstract (p10) for details, p20 for an example.
350 % Highlights from the Manual:
352 % The abstract is a summary that allows readers to determine the
353 % value of reading the full thesis. It should include a statement
354 % of the problem, an outline of procedures or methods, and a summary
355 % of results and conclusions.
358 % \item Word limits: 600 for a Master's thesis, 350 for a Ph.D.\ thesis.
361 % \DescribeEnv{thesis}
362 % Set the thesis text. In the Thesis Manual, see section 3.10 Thesis
365 % Highlights from the Manual:
367 % Divide the text into its major parts/chapters/subsections. No
368 % fixed arrangement is necessary. The major parts may contain such
369 % subjects as introduction, general argument, description of
370 % experimental procedures, research methods, discussion, summary,
371 % conclusions, recommendations, and other pertinent topics that are
372 % necessary for a complete understanding on the part of a
373 % sophisticated or professional reader.
377 % Set the thesis vita text (Ph.D.\ only). See the Manual 3.15 p12,
378 % ``Vita'', for details.
380 % Highlights from the Manual:
382 % The Vita is a biography of the student written in the third person
383 % in either essay or outline form. It should include the full name,
384 % place and date of birth (optional), country of citizenship
385 % (optional), institutions attended, degrees and honors received,
386 % titles of publications, teaching and professional experience, and
387 % other pertinent data. The Vita must be one page or less.
394 % \subsubsection{Package installation}
395 % \label{sec:dependencies}
397 % All the packages this class depends on must be installed somewhere
398 % in your texmf tree (they probably already are). If not, you will
399 % recieve warning messages on compilation such as
401 % ! LaTeX Error: File `missing-package.sty' not found.
403 % You should then install the missing package(s) using your operating
404 % systems package manager, or grab the missing package from
405 % \href{http://www.ctan.org/}{CTAN}, and install them following TODO.
408 % \subsubsection{Tables and Figures}
410 % From the Manual 2.3 p6, ``Tables and Figures'',
412 % Place figure captions below figures.
413 % Place table captions above tables.
415 % so make sure the |\caption| command is in the appropriate location.
419 % \caption{Some caption text}
420 % \begin{tabular}{...}
428 % \includegraphics{...}
429 % \caption{Some caption text}
432 % Note that you'll want to use the
433 % \href{http://www.ctan.org/tex-archive/macros/latex/required/graphics/}{\pkg{graphicx}}
434 % package to define the |\includegraphics| macro. For more useful
435 % float information, see the
436 % \href{http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions}{\LaTeX wikibook page}.
439 % \subsubsection{Citations}
441 % I highly recommend using \BibTeX\ and
442 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/}{\pkg{natbib}}.
443 % See Section \ref{sec:natbib-example} for a simple example.
445 % Suggested options:\\
446 % \begin{tabular}{r p{0.8\textwidth}}
447 % |super| & selects citations in superscript mode. \\
448 % |sort&compress| & automatically sorts and compresses compound
449 % citations (|\pcite{a,b,...}|).
453 % \subsubsection{References}
455 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/cleveref/}{\pkg{cleveref}}.
456 % Is a wonderful tool for easy, consistent crosslinking. The manual is also very good.
459 % \subsubsection{Hyperlinks}
461 % \cls{drexel-thesis} loads
462 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/}{\pkg{hyperref}}.
463 % with the options:\\
464 % \begin{tabular}{r p{0.8\textwidth}}
465 % |colorlinks| & color the link letters instead of drawing colored boxes. \\
468 % If running with a pdftex-based driver, |\author|, |\title|, and
469 % |\degree| automatically set |pdfauthor|, |pdftitle|, and
470 % |pdfsubject| respectively. You can use the |\hypersetup| macro to
471 % set options overriding these defaults.
474 % \StopEventually{\pagebreak\PrintChanges}
477 % \section{Implementation}
478 % \iffalse meta-comment
482 % For simplicity, we'll derive everything from the standard \cls{book}
486 % \subsection{Option Processing}
489 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/xkeyval/}{\pkg{xkeyval}}
490 % for easier option parsing. If the package is not installed on your system,
491 % see Section \ref{sec:dependencies} for installation instructions.
493 \RequirePackage{xkeyval}
496 % Define some booleans to store option states
498 \newif\if@mainmatter \@mainmattertrue
499 \newif\if@dottedchapter
500 \newif\if@boldchapter
504 \newif\if@final \@finalfalse
507 % Define some strings to store option arguments
509 \newcommand{\@advisor}{ }
510 \newcommand{\def@month}{ }
511 \newcommand{\def@year}{ }
512 \newcommand{\@degree}{ }
514 % \begin{option}{finalspace}
516 \DeclareOptionX{finalspace}{
517 \setlength\overfullrule{0pt}
518 \def\@csp{2} % content page spacing
519 \def\@ssp{1} % single space
520 \def\@dsp{2} % double space
521 \def\@tsp{3} % triple space
526 % \begin{option}{draftspace}
528 \DeclareOptionX{draftspace}{
529 \setlength\overfullrule{5pt}
530 \def\@csp{1} % content page spacing
531 \def\@ssp{1} % single space
532 \def\@dsp{1} % double space
533 \def\@tsp{2} % triple space
539 % \begin{option}{dottedpart}
541 \DeclareOptionX{dottedpart}{\@dottedparttrue}
544 % \begin{option}{dottedchapter}
546 \DeclareOptionX{dottedchapter}{\@dottedchaptertrue}
549 % \begin{option}{boldpart}
551 \DeclareOptionX{boldpart}{\@boldparttrue}
554 % \begin{option}{boldchapter}
556 \DeclareOptionX{boldchapter}{\@boldchaptertrue}
559 % \begin{option}{dottedtoc}
561 \DeclareOptionX{dottedtoc}{
562 \setkeys{drexel-thesis.cls}{dottedpart}
563 \setkeys{drexel-thesis.cls}{dottedchapter}
567 % \begin{option}{boldtoc}
569 \DeclareOptionX{boldtoc}{
570 \setkeys{drexel-thesis.cls}{boldpart}
571 \setkeys{drexel-thesis.cls}{boldchapter}
576 % Define the book options that |final| and |draft| need to access.
577 % \begin{option}{oneside}
579 \DeclareOptionX{oneside}{\PassOptionsToClass{oneside}{book}}
583 % \begin{option}{twoside}
585 \DeclareOptionX{twoside}{\PassOptionsToClass{twoside}{book}}
589 % \begin{option}{final}
591 \DeclareOptionX{final}{
592 \setkeys{drexel-thesis.cls}{oneside}
593 \setkeys{drexel-thesis.cls}{finalspace}
594 \setkeys{drexel-thesis.cls}{dottedtoc}
599 % \begin{option}{draft}
601 \DeclareOptionX{draft}{
602 \setkeys{drexel-thesis.cls}{twoside}
603 \setkeys{drexel-thesis.cls}{draftspace}
604 \setkeys{drexel-thesis.cls}{dottedtoc}
609 % Use the default \cls{book} implementation for any remaining options
610 % including |oneside|, |twoside|, |leqno|, |fleqn|,
613 \DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{book}}
616 % Execute the default options
618 \ExecuteOptionsX{final}
621 % Process options and load the book class
623 \ProcessOptionsX\relax
628 % \subsection{Internal package includes}
630 % Include some other packages we'll need. If the package is not
631 % installed on your system, see Section \ref{sec:dependencies} for
632 % installation instructions.
634 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/setspace/}{\pkg{setspace}}
635 % for double spacing.
637 \RequirePackage{setspace}
640 % \href{http://www.ctan.org/tex-archive/macros/latex/required/graphics/}{\pkg{graphicx}}
642 % \href{http://www.ctan.org/tex-archive/macros/latex/required/tools/}{\pkg{calc}}
643 % for |\blanklines| macro.
645 \RequirePackage{calc}
648 % Setup page margins with the
649 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/geometry/}{\pkg{geometry}}
650 % package. From the Manual p5:
652 % \item The left margin must be at least 1 1/2'' (1.5 inches)
653 % throughout the document.
654 % \item All other margins (top, bottom, and right) must be at least 1''.
656 % And from the Manual 1.5 p4, Print Version:
657 % ``The paper size must be 8 1/2'' x 11''{}''.
659 \RequirePackage[letterpaper,margin=1in,bindingoffset=0.5in]{geometry}
660 % [2008/12/21 v4.2 Page Geometry]
662 % Note that we include the \pkg{geometry} package after loading \cls{book} to
663 % override the margin manipulation that takes place in \cls{book}.
665 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/}{\pkg{fancyhdr}}
666 % for correct page numbering and fancy headers.
668 \RequirePackage{fancyhdr}
670 % Setup the standard |fancy| format. |\leftmark| is the higher level
671 % mark, see |\chaptermark| below. |\rightmark| is the lower level
672 % mark, see |\sectionmark| below.
676 \fancyhead[LE,RO]{\slshape\rightmark}
677 \fancyhead[LO,RE]{\slshape\leftmark}
678 \fancyfoot[LE,RO]{\thepage}
680 % Override the |plain| format (for chapter pages, etc.).
682 \fancypagestyle{plain}{
684 \renewcommand{\headrulewidth}{0pt}
685 \fancyfoot[LE,RO]{\thepage}
689 % Setup colon rather than period separated chapter marks, overriding
690 % \cls{book}'s |\chaptermark|.
692 \renewcommand\chaptermark[1]{%
693 \markboth {\MakeUppercase{%
694 \ifnum \c@secnumdepth >\m@ne
696 \@chapapp\ \thechapter: \ %
702 % Setup space rather than period separated section marks, overriding
703 % \cls{book}'s |\sectionmark|.
705 \renewcommand{\sectionmark}[1]{%
706 \markright {\MakeUppercase{%
707 \ifnum \c@secnumdepth >\z@
713 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/}{\pkg{ifpdf}}
714 % for detecting PDF drivers. We use it to configure \pkg{hyperref} below.
716 \RequirePackage{ifpdf}
719 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/}{\pkg{hyperref}}
720 % for hyperlinks. Not strictly necessary, but I can't imagine a
723 \RequirePackage{hyperref}
725 % Nobody likes the default colored boxes. Color the text itself.
727 \hypersetup{colorlinks}
729 % If we're writing a PDF, we set the |pdfauthor|, etc.\ arguments in
730 % |\author|, etc.\ to avoid using |\AtBeginDocument| or some such.
733 % \subsection{Macros}
735 % \begin{macro}{\author}
736 % Override |latex.ltx|'s |\author| to set \pkg{hyperref}'s |pdfauthor|.
738 \renewcommand{\author}[1]{
740 \ifpdf \hypersetup{pdfauthor={\@author}} \fi
744 % \begin{macro}{\title}
745 % Override |latex.ltx|'s |\title| to set \pkg{hyperref}'s |pdftitle|.
747 \renewcommand{\title}[1]{
749 \ifpdf \hypersetup{pdftitle={\@title}} \fi
753 % \begin{macro}{\advisor}
755 \newcommand{\advisor}[1]{\renewcommand{\@advisor}{#1}}
758 % \begin{macro}{\defmonth}
760 \newcommand{\defmonth}[1]{\renewcommand{\def@month}{#1}}
763 % \begin{macro}{\defyear}
765 \newcommand{\defyear}[1]{\renewcommand{\def@year}{#1}}
768 % \begin{macro}{\degree}
770 \newcommand{\degree}[1]{
771 \renewcommand{\@degree}{#1}
772 \ifpdf \hypersetup{pdfsubject={\@degree}} \fi
774 % \hypersetup{pdfauthor={\@author}}
775 % \hypersetup{pdftitle={\@title}}
776 % \hypersetup{pdfstartview=FitH}
781 % Set the official names of the various sections encountered
782 % \begin{macro}{\dedicationsname}
783 % From the Manual 3.3 p9, ``The heading |Dedications| must appear at
784 % the top of the page.''
786 \newcommand\dedicationsname{Dedications}
789 % \begin{macro}{\acknowledgmentsname}
790 % From the Manual 3.4 p9, ``The heading |Acknowledgments| must appear
791 % at the top of the page.''
793 \newcommand\acknowledgmentsname{Acknowledgments}
796 % \begin{macro}{\contentsname}
797 % From the Manual 3.5 p9, ``The heading |Table of Contents| must
798 % appear at the top of the page.'' Override \cls{book}'s definition.
800 \renewcommand\contentsname{Table of Contents}
803 % \begin{macro}{\listtablename}
804 % From the Manual 3.6 p10, ``The heading |List of Tables| must appear
805 % at the top of the page.''
806 % Override \cls{book}'s definition.
808 \renewcommand\listtablename{List of Tables}
811 % \begin{macro}{\listfigurename}
812 % From the Manual 3.7 p10, ``The heading |List of Figures| must appear
813 % at the top of the page.''
814 % Override \cls{book}'s definition.
816 \renewcommand\listfigurename{List of Figures}
819 % \begin{macro}{\abstractname}
820 % From the Manual 3.8 p10, ``The following heading must be centered at
821 % the top of the first page: |Abstract|\ldots''
823 \newcommand\abstractname{Abstract}
826 % \begin{macro}{\bibname}
827 % From the Manual 3.13 p12, ``The heading |Bibliography| (or
828 % |List of References|) must appear at the top of first page.''
829 % Override \cls{book}'s definition.
831 \renewcommand\bibname{Bibliography}
834 % \begin{macro}{\appendixname}
835 % From the Manual 3.14 p12, ``Number the appendicies consecutively
836 % either alphabetically or numerically (|Appendix A|, |Appendix B|\ldots
837 % or |Appendix 1|, |Appendix 2|\ldots).''
838 % Override \cls{book}'s definition.
840 \renewcommand\appendixname{Appendix}
843 % \begin{macro}{\vitaname}
844 % From the Manual 3.15 p13, ``The heading |Vita| must appear at the
847 \newcommand\vitaname{Vita}
851 % \begin{macro}{\blankpage}
852 % Insert a blank page without numbering (except in draft mode).
854 \newcommand\blankpage{%
857 \thispagestyle{empty}
865 % \begin{macro}{\blanklines}
866 % Insert number of blank lines, protecting against external |spacing|
867 % environments. Requires \pkg{calc} for the multiplication.
869 \newlength\blanklines@length
870 \newcommand{\blanklines}[1]{%
872 \setlength{\blanklines@length}{\baselineskip * {#1}}
873 \vspace{\blanklines@length}
879 % \begin{macro}{\maketitle}
880 % Automate the creation of the title page.
881 % From Manual 3.1 p8, ``Title Page'', and the example on p16.
883 % \item This page is counted but not numbered (it counts as page i,
884 % but should not have a page number). TODO: How is this implemented?
886 % Override \cls{book}'s definition.
888 \renewcommand\maketitle{
889 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
890 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
891 \long\def\@makefntext##1{\parindent 1em\noindent
893 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
896 \pdfbookmark[-1]{Frontmatter}{frontmatter}
897 \pdfbookmark[0]{Title Page}{title}
901 \begin{spacing}{\@tsp}
904 \begin{spacing}{\@dsp}
906 Submitted to the Faculty\\
911 in partial fulfillment of the\\
912 requirements for the degree\\
915 \def@month\ \def@year
920 \setcounter{footnote}{0}%
921 \global\let\maketitle\relax
922 \global\let\and\relax
927 % \begin{macro}{\makecopyright}
928 % Automate the creation of the copyright page.
929 % From Manual 3.2 p9, ``Copyright Page''.
931 % \item Include a copyright page with the following information: a
932 % copyright notice, full legal name of author, and date of
933 % publication on file.
934 % \item This page is neither counted nor numbered.
937 \newcommand\makecopyright{%
939 \ifpdf \pdfbookmark[0]{Copyright Page}{copyright} \fi
942 \copyright \def@year\\
943 \@author. All Rights Reserved.
947 % |\thispagestyle{empty}| turns off page numbering for the current
949 % \href{http://www.personal.ceu.hu/tex/pagestyl.htm#pgstyle}{here}.
951 \thispagestyle{empty}
956 % \begin{macro}{\tableofcontents}
957 % Automate the creation of the table of contents.
958 % From Manual 3.5 p9, ``Table of Contents'', and the example on p17.
960 % \item Do not list any sections that precede the
961 % |Table of Contents| (e.g.\ |Dedications|, |Acknowledgments|). Do
962 % not list the |Table of Contents| itself.
963 % \item These pages are counted and numbered in lowercase Roman numerals.
965 % Override \cls{book}'s definition.
967 \renewcommand\tableofcontents{%
971 \pdfbookmark[0]{\contentsname}{tableofcontents}
973 \chapter*{\contentsname}
974 \@mkboth{\MakeUppercase\contentsname}%
975 {\MakeUppercase\contentsname}%
982 % \subsection{Environments}
984 % \begin{environment}{preamble}
986 \newenvironment{preamble}{%
989 \pagenumbering{roman}
991 % From Manual 3.1 p8, ``Title Page''.
995 % From Manual 3.2 p9, ``Copyright Page''.
1000 % From the Manual 3.9, p11:
1002 % Include a blank page (with no page number) before the first page
1003 % of text. The blank page is neither numbered nor counted.
1011 % \begin{environment}{dedications}
1012 % From the Manual 3.3 p9
1014 % \item The heading |Dedications| must appear at the top of the
1015 % page. The heading must be bold, centered, and without
1017 % \item This page is counted and numbered in lowercase Roman numerals.
1020 \newenvironment{dedications}{%
1024 \pdfbookmark[0]{\dedicationsname}{dedications}
1026 \chapter*{\dedicationsname}
1027 \begin{spacing}{\@dsp}
1034 % \begin{environment}{acknowledgments}
1035 % From the Manual 3.4 p9
1037 % \item The heading |Acknowledgments| must appear at the top of the
1038 % page. The heading must be bold, centered, and without
1040 % \item This page is counted and numbered in lowercase Roman numerals.
1043 \newenvironment{acknowledgments}{%
1047 \pdfbookmark[0]{\acknowledgmentsname}{acknowledgments}
1049 \chapter*{\acknowledgmentsname}
1050 \begin{spacing}{\@dsp}
1057 % \begin{environment}{abstract}
1059 \newenvironment{abstract}{%
1061 \thispagestyle{plain}%
1064 \addcontentsline{toc}{chapter}{\abstractname}
1067 % From the Manual 3.9 p10 ``The following heading must be centered at
1068 % the top of the page'':
1071 % Full Title of Dissertation or Thesis \\
1072 % Author's Name as it appears on the Dissertation or Thesis
1074 % In the example on p20, they list the advisor's name after the
1075 % author, but that is not specified in the text on p10.
1077 % On p20, ``These pages are numbered using lowercase Roman numerals.
1078 % Note that the heading is single spaced, but the abstract is double
1081 \begin{spacing}{\@ssp}
1083 {\large \bfseries \abstractname \par}
1084 %% \@endparpenalty\@M
1091 \begin{spacing}{\@dsp}
1096 \end{spacing}\vfill\null
1101 % \begin{environment}{thesis}
1102 % From the Manual 3.10 p11
1104 % \item The pages are counted and numbered in Arabic numerals.
1107 \newenvironment{thesis}{%
1109 \begin{spacing}{\@dsp}
1115 \pdfbookmark[-1]{Backmatter}{backmatter}
1121 % \begin{environment}{vita}
1122 % From the Manual 3.15 p13
1124 % \item The heading |Vita| must appear at the top of the page. The
1125 % heading must be bold, centered, and without punctuation.
1126 % \item The Vita text should begin four spaces below the heading.
1127 % \item List the Vita separately in the Table of Contents.
1128 % \item The page is counted and numbered in Arabic numerals.
1131 \newenvironment{vita}{%
1134 \addcontentsline{toc}{chapter}{\vitaname}
1135 \chapter*{\vitaname}
1137 \begin{spacing}{\@dsp}
1145 % \subsection{Adjust from the \LaTeX/\cls{book} defaults}
1148 % |\intextsep| sets the space left on top and bottom of an in-text
1150 % \href{http://www.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html}{here}).
1152 \setlength\intextsep{30pt}
1156 % \subsubsection{Part and chapter headings}
1158 % Override \cls{book}'s |\makechapterhead|.
1159 % From the Manual 3.11 p11.
1161 % Chapter headings must be bold and centered.
1162 % The chapter number and title must be on the same line, separated
1163 % by a colon or period, as shown in the example below:
1165 % CHAPTER 1: INTRODUCTION
1167 % Headings must not be larger than 12 points.
1168 % Headings must be single spaced.
1171 \def\@makechapterhead#1{%
1174 % Replaced |\normalfont| with |\reset@font| (TODO: why?).
1176 {\parindent \z@ \raggedright \reset@font
1177 \ifnum \c@secnumdepth >\m@ne
1179 % Removed |\if@mainmatter| conditional guarding this indented section
1185 \interlinepenalty\@M
1187 % Ensure single spacing, and ensure the chapter heading will have a
1188 % centered, |\large|, bold \emph{Chapter \#: Title} or \emph{Appendix
1189 % \#: Title} format (as opposed to \cls{book}'s unaligned, |\Huge|,
1190 % bold \emph{Title}).
1192 \begin{spacing}{\@ssp}
1193 \center \large \bfseries \@chapapp{} \thechapter: #1\par\nobreak
1200 % Override \cls{book}'s |\@makeschapterhead|. TODO: Why?
1202 \def\@makeschapterhead#1{%
1204 {\parindent \z@ \raggedright
1206 % Replaced |\normalfont| with |\reset@font| (TODO: why?).
1209 \interlinepenalty\@M
1211 % Ensure single spacing.
1213 \begin{spacing}{\@ssp}
1215 % Replaced |\Huge| with |\center \large|
1217 \center \large \bfseries #1\par\nobreak
1219 % Replaced |\vskip 40\p@| with |\blanklines{2}|
1227 % Override \cls{book}'s |\section|, replacing |\Large| with |\large|.
1229 \renewcommand\section{\@startsection {section}{1}{\z@}%
1230 {-3.5ex \@plus -1ex \@minus -.2ex}%
1232 {\normalfont\large\bfseries}}
1235 % Fix |\@ssect| and |\@sect| from |latex.ltx| to give single spaced
1236 % headings. These macros are defined in |ltsect.dtx|
1237 % (\href{http://www.ctan.org/tex-archive/macros/latex/base/}{\pkg{\LaTeX\ base}})),
1238 % but the documentation there is not great.
1240 % `\cs{@ssect}\bracearg{INDENT}\bracearg{BEFORESKIP}\bracearg{AFTERSKIP}'
1241 % `~~\bracearg{STYLE}\bracearg{ARG}'
1242 % `\cs{@sect}\bracearg{NAME}\bracearg{LEVEL}\bracearg{INDENT}\bracearg{BEFORESKIP}'
1243 % `~~\bracearg{AFTERSKIP}\bracearg{STYLE}\brackarg{ARG1}\bracearg{ARG2}'
1245 % By comparison to \cls{book}'s |\@part| and |\@spart| (see below), I
1246 % imagine they have something to do with formatting section names.
1248 \def\@ssect#1#2#3#4#5{%
1249 \@tempskipa #3\relax
1250 \ifdim \@tempskipa>\z@
1252 \begin{spacing}{\@ssp}
1254 \@hangfrom{\hskip #1}%
1255 \interlinepenalty \@M #5\@@par}%
1259 \def\@svsechd{#4{\hskip #1\relax #5}}%
1265 \def\@sect#1#2#3#4#5#6[#7]#8{%
1266 \ifnum #2>\c@secnumdepth
1269 \refstepcounter{#1}%
1270 \protected@edef\@svsec{\@seccntformat{#1}\relax}%
1272 \@tempskipa #5\relax
1273 \ifdim \@tempskipa>\z@
1275 \begin{spacing}{\@ssp}
1277 \@hangfrom{\hskip #3\relax\@svsec}%
1278 \interlinepenalty \@M #8\@@par}%
1281 \csname #1mark\endcsname{#7}%
1282 \addcontentsline{toc}{#1}{%
1283 \ifnum #2>\c@secnumdepth \else
1284 \protect\numberline{\csname the#1\endcsname}%
1291 \csname #1mark\endcsname{#7}%
1292 \addcontentsline{toc}{#1}{%
1293 \ifnum #2>\c@secnumdepth \else
1294 \protect\numberline{\csname the#1\endcsname}%
1301 % Override \cls{book}'s |\@part| and |\@spart|, replacing |\Huge| with
1302 % |\large|. From |classes.dtx|, |\@part| formats the title of the part,
1303 % and |\@spart| formats the title of a starred part.
1306 \ifnum \c@secnumdepth >-2\relax
1307 \refstepcounter{part}%
1308 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
1310 \addcontentsline{toc}{part}{#1}%
1314 \interlinepenalty \@M
1316 \ifnum \c@secnumdepth >-2\relax
1317 \large\bfseries \partname\nobreakspace\thepart
1321 \large \bfseries #2\par}%
1325 \interlinepenalty \@M
1327 \large \bfseries #1\par}%
1332 % \subsubsection{Adding TOC entries and blank pages}
1334 % Override \cls{book}'s |\listoffigures|, selecting the false branch
1335 % of the |\if@twocolumn| conditionals, adding a line to the table of
1336 % contents, and clearing the page.
1338 %the figure list command
1339 \renewcommand\listoffigures{%
1342 \addcontentsline{toc}{chapter}{\listfigurename}
1343 \chapter*{\listfigurename}%
1344 \@mkboth{\MakeUppercase\listfigurename}%
1345 {\MakeUppercase\listfigurename}%
1350 % Override \cls{book}'s |\listoftables|, selecting the false branch
1351 % of the |\if@twocolumn| conditionals, adding a line to the table of
1352 % contents, and clearing the page.
1354 \renewcommand\listoftables{%
1357 \addcontentsline{toc}{chapter}{\listtablename}
1358 \chapter*{\listtablename}%
1359 \@mkboth{\MakeUppercase\listtablename}%
1360 {\MakeUppercase\listtablename}%
1365 % Override |latex.ltx|'s |\bibliography|, adding a line to the table
1368 \def\bibliography#1{%
1369 \addcontentsline{toc}{chapter}{\bibname}
1371 \immediate\write\@auxout{\string\bibdata{#1}}%
1373 \@input@{\jobname.bbl}
1377 % Add a terminal blank page (when |\if@final| is true)
1378 % From the Manual 3.16 p13
1380 % Include a blank page (with no page number) at the end of the
1381 % thesis or dissertation. The blank page is neither counted nor
1385 \AtEndDocument{\blankpage}
1389 % \subsubsection{Captioning}
1391 % These are to get spacing right after table captions and make the
1392 % spacing around floats symmetrical. First, set |\if@table| in the
1393 % |table| environments.
1395 \newif\if@table \@tablefalse
1396 \renewenvironment{table}
1397 {\@tabletrue\@float{table}}
1398 {\end@float\@tablefalse}
1399 \renewenvironment{table*}
1400 {\@tabletrue\@dblfloat{table}}
1401 {\end@dblfloat\@tablefalse}
1403 % Now override \cls{book}'s |\@makecaption|, adding two |\if@table|
1404 % conditionals, which swap |\abovecaptionskip| and |\belowcaptionskip|
1405 % for tables (where the caption is above the float body). With our
1406 % implementation, |\belowcaptionskip| \emph{always} gives the distance
1407 % between the caption and the text, and |\abovecaptionskip|
1408 % \emph{always} gives the distance between the caption and the float
1411 % We also replace the caption lead-in |#1: #2| with
1412 % |\small{\bfseries#1:} #2|.
1414 \newlength\@tempcapskip
1415 \long\def\@makecaption#1#2{%
1417 \@tempcapskip\abovecaptionskip
1418 \abovecaptionskip\belowcaptionskip
1419 \belowcaptionskip\@tempcapskip
1421 \vskip\abovecaptionskip
1422 \sbox\@tempboxa{\small{\bfseries#1:} #2}%
1423 \ifdim \wd\@tempboxa >\hsize
1424 {\small{\bfseries#1:} #2\par}
1426 \global \@minipagefalse
1427 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
1429 \vskip\belowcaptionskip
1431 \@tempcapskip\belowcaptionskip
1432 \belowcaptionskip\abovecaptionskip
1433 \abovecaptionskip\@tempcapskip
1439 % \subsubsection{Adjust table of contents}
1441 % From the \LaTeX\ base class documentation (|classes.dtx| in
1442 % \href{http://www.ctan.org/tex-archive/macros/latex/base/}{\pkg{\LaTeX\ base}})
1444 % The command |\contentsline{|\meta{name}|}| expands to
1445 % |\l@|\meta{name}. So, to specify the table of contents, we must
1446 % define |\l@chapter|, \ldots
1449 % Override \cls{book}'s |\l@chapter| for printing TOC entries, adding
1450 % |spacing| environments to ensure single spacing, only using bold if
1451 % |\if@boldchapter| is true, handling |\if@dottedchapter|.
1453 \renewcommand*\l@chapter[2]{%
1454 \begin{spacing}{\@ssp}
1455 \ifnum \c@tocdepth >\m@ne
1456 \addpenalty{-\@highpenalty}%
1458 % Don't handle spacing here; use the spacing environment at the end of
1461 % \vskip 1.0em \@plus\p@
1462 \setlength\@tempdima{1.5em}%
1464 \parindent \z@ \rightskip \@pnumwidth
1465 \parfillskip -\@pnumwidth
1470 \advance\leftskip\@tempdima
1473 % Insert |\if@dottedchapter| block into |#1\nobreak\hfil \nobreak...|.
1477 \leaders\hbox{$\m@th
1478 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}
1481 % Insert |\if@dottedchapter| block into |#1\nobreak\hfil \nobreak...|.
1483 \hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
1484 \penalty\@highpenalty
1486 % Add a content-page-spacing blank after this entry.
1488 \begin{spacing}{\@csp}\par\end{spacing}
1495 % Add |\l@appendix|, identical to our |\l@chapter|, except for
1496 % setting |\@tempdima| to 6.5em rather than 1.5em. TODO: Why?
1497 % TODO: Consolidate to \l@chapapp[3] calls.
1499 \newcommand*\l@appendix[2]{%
1500 \begin{spacing}{\@ssp}
1501 \ifnum \c@tocdepth >\m@ne
1502 \addpenalty{-\@highpenalty}%
1503 % \vskip 1.0em \@plus\p@
1504 \setlength\@tempdima{6.5em}%
1506 \parindent \z@ \rightskip \@pnumwidth
1507 \parfillskip -\@pnumwidth
1512 \advance\leftskip\@tempdima
1516 \leaders\hbox{$\m@th
1517 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}
1519 \hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
1520 \penalty\@highpenalty
1521 \begin{spacing}{\@csp}\par\end{spacing}
1528 % Add |\l@part|, identical to our |\l@chapter|, except for
1529 % setting |\@tempdima| to 6.5em rather than 1.5em. TODO: Why?
1530 % TODO: Consolidate to \l@chapapp[3] calls.
1532 \renewcommand*\l@part[2]{%
1533 \begin{spacing}{\@ssp}
1534 \ifnum \c@tocdepth >-2\relax
1535 \addpenalty{-\@highpenalty}%
1537 % Don't handle spacing here; use the spacing environment at the end of
1540 % \addvspace{2.25em \@plus\p@}%
1541 \setlength\@tempdima{3em}%
1543 \parindent \z@ \rightskip \@pnumwidth
1544 \parfillskip -\@pnumwidth
1547 % Replace |\large \bfseries| with |\if@boldpart...|, so the parts are
1548 % the same size as the other entries, and bolding obeys |if@boldpart|.
1555 % Insert |\if@dottedpart| between |#1| and |\hfil|.
1558 \leaders\hbox{$\m@th
1559 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}
1561 \hfil \hb@xt@\@pnumwidth{\hss #2}}\par
1563 \global\@nobreaktrue
1564 \everypar{\global\@nobreakfalse\everypar{}}%
1566 % Add a content-page-spacing blank after this entry.
1568 \begin{spacing}{\@csp}\par\end{spacing}
1575 % Override |latex.ltx|'s |\dottedtocline|, adding some |spacing|
1576 % environments. TODO: reasoning.
1578 \def\@dottedtocline#1#2#3#4#5{%
1579 \begin{spacing}{\@ssp}
1580 \ifnum #1>\c@tocdepth \else
1581 \vskip \z@ \@plus.2\p@
1582 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
1583 \parindent #2\relax\@afterindenttrue
1584 \interlinepenalty\@M
1587 \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
1589 \leaders\hbox{$\m@th
1590 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
1593 \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
1594 \par\begin{spacing}{\@csp}\par\end{spacing}}%
1600 % Override \cls{book}'s (or \pkg{hyperref}'s) |\appendix|, adding
1601 % |\@appendixtrue|. This gets |\if@appendix| working in our
1602 % |\chapter| definition below.
1604 \let\DUT@appendix\appendix
1605 \renewcommand\appendix{%
1611 % Override \cls{book}'s |\chapter|, selecting the false branch of the
1612 % |\if@twocolumn| conditional and adding an |\if@appendix|
1613 % conditional. After |\appendix| (when |\if@mainmatter| and
1614 % |\if@appendix| are both true), we generate table of content entries
1615 % such as \emph{Appendix A: Chapter Title} rather than the standard
1616 % \emph{Chapter Title}. |\thechapter| (defined in \cls{book}) is the
1617 % appendix letter (e.g.\ |A|). |\@chapapp{}| (also defined in
1618 % \cls{book}) Was redefined in |\appendix| (above) as |\appendixname|.
1619 % Before |\appendix|, we reproduce the \cls{book} behavior.
1621 \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
1623 \refstepcounter{chapter}%
1624 \typeout{\@chapapp\space\thechapter.}%
1626 \addcontentsline{toc}{appendix}%
1627 {\protect\numberline{\@chapapp{} \thechapter:}#1}%
1629 \addcontentsline{toc}{chapter}%
1630 {\protect\numberline{\thechapter}#1}%
1633 \addcontentsline{toc}{chapter}{#1}%
1636 \addcontentsline{toc}{chapter}{#1}%
1639 \addtocontents{lof}{\protect\addvspace{10\p@}}%
1640 \addtocontents{lot}{\protect\addvspace{10\p@}}%
1641 \@makechapterhead{#2}%
1646 % \iffalse meta-comment
1651 % \section{Templates}
1653 % \subsection{Simple}
1655 % \subsubsection{Main}
1657 % \iffalse meta-comment
1660 % \begin{quote} \hrule \begin{verbatim}
1661 %% See drexel-thesis.pdf for details.
1662 \documentclass{drexel-thesis}
1664 %% Enter the appropriate information here
1665 \author{Johny Henry} % Fullname
1666 \title{Inadequacies of Steam-Driven Boring Machines} % Title Of Thesis
1667 \defmonth{July} % Name of the month of you defense
1668 \defyear{1872} % Year you are defending
1669 \degree{Doctor of Philosophy} % Should be fine
1670 \advisor{C \& O Railroad, Ph.D.} % Put Advisor's full name, degree
1672 \usepackage{graphicx} % to include images
1677 \begin{dedications} % OPTIONAL
1678 Type dedications here
1681 \begin{acknowledgments} % OPTIONAL
1682 Type acknowledgments here
1683 \end{acknowledgments}
1686 %% Include these following commands only if you have tables or figures.
1687 %% Tables should come before figures.
1697 %% Use include statements to include your main thesis code
1698 %% from seperate files.
1702 %% unsrt style give references in order of citation
1703 \bibliographystyle{unsrt}
1705 \addcontentsline{toc}{chapter}{\bibname}
1706 \begin{thebibliography}{9}
1707 % widest label (above "9"), when printed, as wide as widest entry label.
1710 \emph{\LaTeX: A Document Preparation System}.
1711 Addison Wesley, Massachusetts,
1715 \end{thebibliography}
1718 %% include files with your appendicies (if any) here
1721 \begin{vita} % Ph.D. only. See Thesis Manual for details.
1726 % \end{verbatim} \hrule \end{quote}
1727 % \iffalse meta-comment
1731 % \subsubsection{Part}
1733 % \iffalse meta-comment
1736 % \begin{quote} \hrule \begin{verbatim}
1737 \part{A Part Heading}
1738 \chapter{A Chapter Heading}
1739 \section{A Section Heading}
1740 The following sectioning commands are available:
1751 \caption{A table float}
1753 \begin{tabular}{r@{.}l r@{.}l r@{.}l}
1754 \multicolumn{2}{c}{Time (s)} &
1755 \multicolumn{2}{c}{John Henry (m)} &
1756 \multicolumn{2}{c}{Steam drill (m)} \\
1758 10&0 & 4&3 & 3&75 \\
1759 30&0 & 11&9 & 10&1 \\
1764 Bla bla bla (text to test table/figure spacing)
1779 \includegraphics[width=0.4\textwidth]{drexel-logo}
1781 \caption{A figure float}
1783 Bla bla bla (text to test table/figure spacing)
1796 % \end{verbatim} \hrule \end{quote}
1797 % \iffalse meta-comment
1801 % Note the strange |r@{.}l| notation in the |\tabular| column
1802 % definition. This allows for numbers aligned at the decimal point
1803 % (see \href{http://www.stat.unipg.it/tex-man/ltx-68.html}{here}).
1805 % |\multicolumn{num_cols}{alignment}{contents}| allows the headings
1806 % to span the pre- and post-decimal columns.
1809 % \subsubsection{Appendix}
1811 % \iffalse meta-comment
1812 %<*template-appendix>
1814 % \begin{quote} \hrule \begin{verbatim}
1815 \chapter{Some Appendix Heading}
1817 \chapter{Another Appendix Heading}
1819 % \end{verbatim} \hrule \end{quote}
1820 % \iffalse meta-comment
1821 %</template-appendix>
1825 % \subsection{\BibTeX/\pkg{natbib}}
1826 % \label{sec:natbib-example}
1828 % \subsubsection{Main}
1830 % \iffalse meta-comment
1831 %<*template-bibtex-main>
1833 % \begin{quote} \hrule \begin{verbatim}
1834 %% See drexel-thesis.pdf for details.
1835 \documentclass{drexel-thesis}
1837 %% Enter the appropriate information here
1838 \author{Johny Henry} % Fullname
1839 \title{Inadequacies of Steam-Driven Boring Machines} % Title Of Thesis
1840 \defmonth{July} % Name of the month of you defense
1841 \defyear{1872} % Year you are defending
1842 \degree{Doctor of Philosophy} % Should be fine
1843 \advisor{C \& O Railroad, Ph.D.} % Put Advisor's full name, degree
1845 \usepackage[super,sort&compress]{natbib} % fancy citation extensions
1846 %% super selects citations in superscript mode.
1847 %% sort&compress automatically sorts and compresses compound citations:
1849 \bibliographystyle{plainnat}
1854 \begin{dedications} % OPTIONAL
1855 Type dedications here
1858 \begin{acknowledgments} % OPTIONAL
1859 Type acknowledgments here
1860 \end{acknowledgments}
1863 %% Include these following commands only if you have tables or figures.
1864 %% Tables should come before figures.
1874 %% Use include statements to include your main thesis code
1875 %% from seperate files.
1879 \bibliography{references}
1882 %% include files with your appendicies (if any) here
1885 \begin{vita} % Ph.D. only. See Thesis Manual for details.
1890 % \end{verbatim} \hrule \end{quote}
1891 % \iffalse meta-comment
1892 %</template-bibtex-main>
1895 % \subsubsection{Part}
1897 % You can cite your references with \pkg{natbib}'s |\citet| and
1898 % |\citep| macros. See
1899 % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/}{the \pkg{natbib} manual}
1902 % \iffalse meta-comment
1903 %<*template-bibtex-part>
1905 % \begin{quote} \hrule \begin{verbatim}
1906 \part{A Part Heading}
1907 \chapter{A Chapter Heading}
1908 \section{A Section Heading}
1909 Here we have a text citation \citet{rief97} followed by a
1910 parenthetical citation\citep{rief97}.
1911 % \end{verbatim} \hrule \end{quote}
1912 % \iffalse meta-comment
1913 %</template-bibtex-part>
1916 % \subsubsection{Bib}
1918 % What goes into the \BibTeX\ file |references.bib|?
1919 % For more information, check out this
1920 % \href{http://cmtw.harvard.edu/Documentation/TeX/Bibtex/Example.html}{basic tutorial}.
1921 % If you want to get deeper, take a look at
1922 % \href{http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/}{Tame the BeaST}.
1924 % \href{http://www.andy-roberts.net/misc/latex/latextutorial3.html}{how the process works},
1925 % \href{http://newton.ex.ac.uk/tex/pack/bibtex/btxdoc/node6.html}{entry types},
1926 % \href{http://newton.ex.ac.uk/tex/pack/bibtex/btxdoc/node7.html}{fields},
1927 % \href{http://en.wikipedia.org/wiki/BibTeX}{entries and fields},
1928 % \href{http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html}{assorted style examples}, and
1929 % \href{http://liinwww.ira.uka.de/bibliography/Bib.Format.html}{assorted \BibTeX tools}.
1931 % Here is an example \BibTeX\ file to get you started. We define
1932 % strings for the publishers, journals, and authors to avoid
1933 % duplication and minimize the risk of typos, etc.
1935 % \iffalse meta-comment
1936 %<*template-bibtex-refs>
1938 % \begin{quote} \hrule \begin{verbatim}
1940 @String{APS = "American Physical Society"}
1943 @String{SCI = "Science"}
1946 @String{MRief = "Rief, Matthias"}
1947 @String{MGautel = "Gautel, Mathias"}
1948 @String{FOesterhelt = "Oesterhelt, Filipp"}
1949 @String{JFernandez = "Fernandez, Julio M."}
1950 @String{HGaub = "Gaub, Hermann E."}
1954 author = MRief #" and "# MGautel #" and "# FOesterhelt #" and "#
1955 JFernandez #" and "# HGaub,
1956 title = "Reversible Unfolding of Individual Titin Immunoglobulin
1961 pages = "1109--1112",
1963 doi = "10.1126/science.276.5315.1109",
1964 URL = "http://www.sciencemag.org/cgi/content/abstract/276/5315/1109",
1965 eprint = "http://www.sciencemag.org/cgi/reprint/276/5315/1109.pdf",
1966 mynote = "Seminal paper for force spectroscopy on Titin. Cited by
1967 Dietz '04 (ref 9) as an example of how unfolding large
1968 proteins is easily interpreted (vs.\ confusing unfolding in
1969 bulk), but Titin is a rather simple example of that, because
1970 of its globular-chain structure.",
1973 % \end{verbatim} \hrule \end{quote}
1974 % \iffalse meta-comment
1975 %</template-bibtex-refs>