On Monday 24 October 2005 15:37, Helge Hafting wrote:
> Johan Ingvast wrote:
> > Yes, that's an alternative from using the 1 x 2 table. But my problem
> > is with the captions. I want a table caption for the table and a
> > figure caption for the figure. If I put everything in a figure float
> > both captions will become "Figure" and vice versa.
> > /johan
>
> This works for me:
>
> 1. In the preamble: \usepackage{multicol}
>
> 2. Before your figures, in ERT: \begin{multicols}{2}
>
> 3. Then the figure float with the figure, followed by the table
>      float with the table.  In both floats, check the "Here definitely"
>      placement options.  They should otherwise be normal floats.
>
> 4. After your floats: \end{multicols}
>
>
> Now your two floats will be placed side by side because that section of the
> document is set with two columns.  You will get a table caption and a
> figure caption, as you really have two ordinary floats.
>
> Example attached.  I don't know what happens if the floats appear
> near the bottom of a page, you may have to tweak placement
> yourself instead of relying on auto placement.
>
> Helge Hafting
Thats an elegant solution.

Is it possible we can have this on the wiki?

best regards
samar

Reply via email to