Jorge Leitao wrote:

> The problem is that if I insert 2 figures in a float the label for each of
> them (subfigures) will be preceeded by (a) or (b), for example
>
>    ******                     ***
>
> (a) Figure 1      (b) Figure 2
>
> It is not possible to insert a float into another.
>
> Andre

Here is what say the LyXtips page

-----------------------------------------------------
Figure side by side in a float
With the subfigure-environment it's no problem to put two figures side by side
with one main-caption and two optional sub-captions. If you need two
main-captions for these figures you have to use a minipage for the captions.
You can download the Lyx-Examplefile (1.1.6   1.2.0) where the 1.1.6-version
uses this example-figure. The 1.2.0 version shows all other possibilities,
too.
You can also have a look at the dvi-view or at the snapshot of the lyx-file

If you want the figure side by side but aligned to the top of both you can't
use the parameters for minipages/parboxes because we have only one line and
these position-parameters are only valid when we have more than one. A table
or a figure iss for LaTeX only a character. To get both aligned to the top
write in preamble:

\newcommand\myTwoFig[2]{%
   \raisebox{-\height}{#1}%
   \raisebox{-\height}{#2}%
}

And in text in tex(red) \myTwoFig{}{} the images can be insert with the menu
button. If you want this as a float put the preanble stuff into the
environment \begin{figure} ... \end{figure} and add a third parameter for the
caption.
---------------------------------------------

There is also something that you could try explained in this pdf:
http://www.bilkent.edu.tr/~robin/lyxguide.pdf
in section 3.9, the use of multicols.

Sincerely,

Olivier.

PS: I'm not at all a LyX expert. Just a beginner-user



Reply via email to