Dear Lyx List

I am using a custom package that redefines captions style. But when I use the subfigure function, Lyx will add at end of preamble (after user own packages preamble) a line of code, which "cancels" my definition. This line is:

\@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}


This has the effect to remove all our definitions of caption style. How can I resolve this? Should I
-prevent lyx to add this line? How?
-force Lyx to add my \usepackage{} command afterthis line? Is this possible?
-use a workaround where I try to define in the custom package showcaptionsetup, so that the line does not run?


Thanks a lot!!

Matthieu

Reply via email to