On 23/02/2011 7:15 AM, Matthieu Stigler wrote:
Hi
Asking again for some help on how to prevent Lyx to add automatically
\usepackage{subgif} when using subfig. Richard kindly gave advices (see
below), which did not work unfortunately. Any help will be much
appreciated!
Thanks a lot!
Matthieu
Hi
Asking again for some help on how to prevent Lyx to add automatically
\usepackage{subgif} when using subfig. Richard kindly gave advices (see
below), which did not work unfortunately. Any help will be much appreciated!
Thanks a lot!
Matthieu
Le 22. 02. 11 14:56, Matthieu Stigler a écrit
Dear Richard
Thanks a lot for your detailed explanation!
Unfortunately, the suggested procedure was without effect: even after
inserting/reconfiguring/loading the {no subfig} module, Lyx adds
automatically the lines:
\@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{s
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
On 02/21/2011 11:41 AM, Matthieu Stigler wrote:
Dear Richard
Thanks for your answer! I unfortunately did not understand exactly
where I should put this command? When in Lyx preamble or in the custom
.sty it results into error... Did I miss something?
The suggested
Provides subfig 1
comm
Dear Richard
Thanks for your answer! I unfortunately did not understand exactly where
I should put this command? When in Lyx preamble or in the custom .sty it
results into error... Did I miss something?
Furthermore, yes Lyx still adds preamble commands after user defined, see:
%%
On 02/21/2011 09:41 AM, Matthieu Stigler wrote:
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:
\@i
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}{}{%
\PassOptionsToPa
11 matches
Mail list logo