Jürgen Spitzmüller schrieb:
Uwe Stöhr wrote:
\PassOptionsToPackage{<options>}{<package<}
Thanks for thehint. I implemented this now using this:

http://www.lyx.org/trac/changeset/24746

Are you sure this works?

- PassOptionsToPackage must be called before the package is loaded.
- According to clsguide and TLC2, \PassOptionsToPackage are meant to be used only within \DeclareOption and inside class files, not inside documents, even though they might work there

I suppose that you do not notice, that LyX itself works like
a class file here...
And TLC2 doesn't say that it should be used only with \DeclareOption.
It should be used in any case, where a document class and a user may
load the same package with different options.

Herbert

Reply via email to