Thanks Ingar for the further explanations!
So the problem is most probably that subfig also uses \AtBeginocument{},
so my own \AtBeginDocument does not work... The second solution, using
the code in ERT, is not possible in my case, since it is a whole
package. I will then try Richard's soluti
Hi
> The \AtBeginDocument seems indeed to be what I am looking for! But what
> is its expected behavior? I still see in both the Lyx-latex sources and
> exported .tex the command \AtBeginDocument before the babel/subfig
> lines...
\AtBeginDocument is a LaTeX command and should ensure that the com
Thanks Ingar!
The \AtBeginDocument seems indeed to be what I am looking for! But what
is its expected behavior? I still see in both the Lyx-latex sources and
exported .tex the command \AtBeginDocument before the babel/subfig lines...
\AtBeginDocument{
\usepackage{custom}
}
\@ifundefined{sh
Hi
>-force Lyx to add my \usepackage{} command afterthis line? Is this possible?
You can try using the \AtBeginDocument{} described in
http://wiki.lyx.org/FAQ/Unsorted
>-use a workaround where I try to define in the custom package
>showcaptionsetup, so that the line does not run?
You can try