From: W. Trevor King Date: Tue, 12 Jan 2010 17:05:10 +0000 (-0500) Subject: Added indentfirst option X-Git-Tag: 0.3~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=70d66a6fed9806956d71bbaaf76a8d9550333a4c;p=drexel-thesis.git Added indentfirst option --- diff --git a/drexel-thesis.dtx b/drexel-thesis.dtx index 33d2175..479e6d3 100644 --- a/drexel-thesis.dtx +++ b/drexel-thesis.dtx @@ -196,6 +196,9 @@ % is not final. Also helps reviewers tell you what version they're % correcting. % +% \DescribeOption{indentfirst} +% \Lopt{indentfirst} indents the first paragraph after sections etc. +% % % \subsubsection{Interesting \cls{book} options} % @@ -559,6 +562,7 @@ \newif\if@boldpart \newif\if@dottedpart \newif\if@draftwatermark +\newif\if@indentfirst \newif\if@appendix \newif\if@final \@finalfalse % \end{macrocode} @@ -630,12 +634,19 @@ % \end{option} % % \begin{option}{draftwatermark} -% Set draft watermark flag +% Set \Lopt{draftwatermark} flag % \begin{macrocode} \DeclareOptionX{draftwatermark}{\@draftwatermarktrue} % \end{macrocode} % \end{option} % +% \begin{option}{indentfirst} +% Set \Lopt{indentfirst} flag +% \begin{macrocode} +\DeclareOptionX{indentfirst}{\@indentfirsttrue} +% \end{macrocode} +% \end{option} +% % Define the book options that \Lopt{final} and \Lopt{draft} need to % access. % \begin{option}{oneside} @@ -692,7 +703,7 @@ % % \subsection{Internal package includes} % - +% % Include some other packages we'll need. If the package is not % installed on your system, see Section \ref{sec:dependencies} for % installation instructions. @@ -711,6 +722,7 @@ \RequirePackage{setspace} % \end{macrocode} % +% % \subsubsection{\pkg{calc}} % % \href{http://www.ctan.org/tex-archive/macros/latex/required/tools/}{\pkg{calc}} @@ -719,6 +731,7 @@ \RequirePackage{calc} % \end{macrocode} % +% % \subsubsection{\pkg{graphicx}} % % \href{http://www.ctan.org/tex-archive/macros/latex/required/graphics/}{\pkg{graphicx}} @@ -740,6 +753,7 @@ % [final] % \end{example} % +% % \subsubsection{\pkg{draftmark}} % % The Comp.~Sci.\ class used @@ -766,6 +780,16 @@ \fi % \end{macrocode} % +% +% \subsubsection{\pkg{indentfirst}} +% +% \begin{macrocode} +\if@indentfirst + \RequirePackage{indentfirst} +\fi +% \end{macrocode} +% +% % \subsubsection{\pkg{geometry}} % % Setup page margins with the @@ -786,6 +810,7 @@ % Note that we include the \pkg{geometry} package after loading \cls{book} to % override the margin manipulation that takes place in \cls{book}. % +% % \subsubsection{\pkg{fancyhdr}} % % \href{http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/}{\pkg{fancyhdr}}