GeneralProblem with \RequirePackage and \usepackage

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kyp4
Posts: 5
Joined: Sun Mar 07, 2010 2:57 am

Problem with \RequirePackage and \usepackage

Post by kyp4 »

Hi all, I am trying to use a LaTeX style developed by a professor at my university to format my thesis but am running into compilation errors. In his style he uses \RequirePackage for three packages, which as far as I know just basically includes the package. In my document I use \usepackage to import numerous packages that I need. The problem is that, if I include a single package (which is different from the packages he uses) in my document, I get the following compilation error:

! LaTeX Error: \RequirePackage or \LoadClass in Options Section.

I don't see why including a package in the style would prohibit inclusion of additional packages in the document. Thanks for any help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
kyp4
Posts: 5
Joined: Sun Mar 07, 2010 2:57 am

Re: Problem with \RequirePackage and \usepackage

Post by kyp4 »

For anyone who may in the future have this problem, especially when trying to use Dr. Mateti's Wright State thesis/dissertation template, the problem is that his style does not execute:

\ExecuteOptions{..}
\ProcessOptions

In the the style (which it probably should) and I was trying to include a package before these are called.
Post Reply