Helge Hafting wrote:

> Because of minipage trouble, I tried to create
> one using ERT instead.

I know the reason for the minipage problem, a patch will follow soon.

> The minipage is supposed to go around a heading with big text.
> The first oddity I noticed was that the red text itself were
> set in a very big font.  Is that really intentional? It
> is kind of hard if one needs lots of code in the ERT box.

This is not intentional and may be related to Martins recent font changes.
To Martin: The ERT inset is not allowed to have a nondefault font, i.e. it
must not inherit the font from its parent!
 
> I got this latex code:
> 
> \begin{center}\textsf{\huge \begin{minipage}[b]{10cm}hugetext}\\
> \textsf{\Large Largetext}\end{minipage}\par\end{center}
> 
> 
> Seems my begin...end minipage got misnested with \textsf{...}
> I guess this is my own fault for using ERT ?

Yes. If you put an ERT box in a paragraph with changed font it will be
inside the font change in latex, too.

> I believe I can fix it by writing the ERT first and doing the
> font changes last.

Yes, that should give correct output.


Georg

Reply via email to