-% \def\fileversion{0.10}
-% \def\filedate{2010/05/21}
+% \def\fileversion{0.11}
+% \def\filedate{2010/06/04}
% \iffalse meta-comment
%<*driver>
\ProvidesFile{drexel-thesis.dtx}
\documentclass{ltxdoc}
%</driver>
%<*class|driver>
-\def\fileversion{0.10}
-\def\filedate{2010/05/21}
+\def\fileversion{0.11}
+\def\filedate{2010/06/04}
%</class|driver>
%
% Copyright (C) 2010 C.Y. Ip
% \Lopt{fleqn} typesets displayed formulae left-aligned instead of
% centered.
%
+% \DescribeOption{daring}
+% \Lopt{daring} breaks the official thesis rules in pursuit of a nicer
+% layout.
+%
%
% \subsection{Macros}
%
% We're in \iffinal{final}{draft} mode!
% \end{example}
%
+% \begin{command}
+% `\cs{ifdaring}\marg{daring-action}\marg{wimpy-action}'
+% \end{command}
+% \DescribeMacro{\ifdaring}
+% \DescribeMacro{\DUTifdaring}
+% Include \Lopt{daring}-specific code, with wimpy fallbacks.
+% \begin{example}
+% \ifdaring{\singlespacing Muahahahaha!}{mumble mumble}.
+% \end{example}
+%
%
% \subsection{Environments}
%
\newif\if@mydraftwatermark
\newif\if@indentfirst
\newif\if@final
+\newif\if@daring
% \end{macrocode}
%
% \begin{macro}{\iffinal}
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\ifdaring}
+% Setup a user-friendly means for including \Lopt{daring}-specific
+% code.
+% \changes{0.11}{2010/06/04}{W.~Trevor King added macro.}
+% \begin{macrocode}
+\newcommand\ifdaring[2]{\if@daring #1\else #2\fi}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{option}{subfig}
% Set \Lopt{subfig} flag
% \begin{macrocode}
% \end{macrocode}
% \end{option}
%
+% \begin{option}{daring}
+% \begin{macrocode}
+\DeclareOptionX{daring}{
+ \@daringtrue
+}
+% \end{macrocode}
+% \end{option}
+%
% Use the default \cls{book} implementation for any remaining options
% including \Lopt{oneside}, \Lopt{twoside}, \Lopt{leqno}, \Lopt{fleqn},
% \ldots.
\setstretch{\@ssp}%
\@DUT@title\\
\@DUT@author\\
+% \end{macrocode}
+% If you're feeling daring, break the rules and add ``Advisor(s):'' to
+% set off your list of advisor names.
+% \changes{0.11}{2010/06/04}{W.~Trevor King added ``Advisor(s):'' for
+% daring users.}
+% \begin{macrocode}
+ \ifdaring{%
+ \ifnum\c@@DUT@advisors=\@ne%
+ Advisor:
+ \else%
+ Advisors:
+ \fi}{}
\@DUT@advisor\\
\end{center}
\blanklines{4}%