From: W. Trevor King Date: Tue, 13 Mar 2012 21:48:07 +0000 (-0400) Subject: Add section discussing \PassOptionsToPackage. X-Git-Tag: 0.15~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d3e242160599fa319dac529ad518123a4569a825;p=drexel-thesis.git Add section discussing \PassOptionsToPackage. This documents Walt Mankowski's suggestion for using xcolor with table support so that future users will not have to dig around for it. --- diff --git a/drexel-thesis.dtx b/drexel-thesis.dtx index b200141..ee0bb6d 100644 --- a/drexel-thesis.dtx +++ b/drexel-thesis.dtx @@ -754,6 +754,27 @@ % \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>