>>From: "Mircea Trandafir" <[EMAIL PROTECTED]>
>>To: [email protected]
>>Subject: pass options to subfigure  (or other package loaded automatically)
>>Date: Tue, 27 Feb 2007 12:49:46 -0500
>>
>>Hey everybody,
>>
>>I'm quite new to LyX, so please bear with me here. I checked the
>>documentation and Google (which apparently does not know everything),
>>but could not find the answer to the following situation. I have a
>>document where I use subfigures. So I used the subfigure option in LyX,
>>put a caption and everything works perfect. But I'm a freak and I insist
>>on my captions being centered--which is not the default in LaTeX and for
>>subfigures, even if you use \centering or load the ccaption package
>>(ccaption deals with the figure captions, but not the subfigure ones).
>>In pure LaTeX, I would load the subfigure package with the center
>>option. But if I try to do that in LyX, I get an error of conflicting
>>options, because LyX already loads subfigure, but with no options. So
>>now we come to my question: Is there any way to tell LyX to load a
>>package that it loads by default with certain options? I guess the same
>>would hold for other packages (like natbib, for instance).

You can always pass an option to a package by délaring it as a class option
Document->Settings->Document Class->options
But it will be passed to any package understanding it...

YOu may try this anyway.

HTH

-- 
Jean-Pierre

Reply via email to