Add section discussing \PassOptionsToPackage.
authorW. Trevor King <wking@drexel.edu>
Tue, 13 Mar 2012 21:48:07 +0000 (17:48 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 13 Mar 2012 21:48:07 +0000 (17:48 -0400)
This documents Walt Mankowski's suggestion for using xcolor with table
support so that future users will not have to dig around for it.

drexel-thesis.dtx

index b20014129dfd0d6e15962df27338b0571e3edc91..ee0bb6d908f1472ea3fb707115f318e1c2e02876 100644 (file)
 % \StopEventually{\pagebreak\PrintChanges}
 %
 %
+% \subsubsection{Passing options to packages used by \textsf{drexel-thesis}}
+%
+%
+% \cls{drexel-thesis} uses a number of \LaTeX\ packages internally to
+% format your thesis.  Sometimes you also want to use these packages
+% directly, but \cls{drexel-thesis} is not passing them the option(s)
+% you need.  The way to deal with these issues is
+% \href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=optionclash}{%
+%  \cs{PassOptionsToPackage}}.
+% \begin{command}
+%   `\cs{PassOptionsToPackage}\marg{option,...}\marg{package}'
+% \end{command}
+% For example, if you need to pass \Lopt{table} to \pkg{xcolor}, use:
+% \begin{example}
+% \PassOptionToPackage{table}{xcolor}
+% \documentclass{drexel-thesis}
+% \end{example}
+% Note that you need to call \cs{PassOptionsToPackage} before the
+% target package is imported via \cs{documentclass}.
+%
+%
 % \section{Implementation}
 %    \begin{macrocode}
 %<*class>