samar j. singh wrote:
On Monday 24 October 2005 02:04, Johan Ingvast wrote:
Hi
Since I don't want to spend too much space in my article, I'd like to
have a table just next to a figure inside one float.
I want a figure caption on the figure and a table caption on the table.
I've tried different ways but not come up with a satisfying solution.
I've scanned the archives but not found anything but how to put two
figures/tables side by side, not the both kinds at the same time.
The best I found was to use the nofloat package which has defined
tabcaption and figcaption separately. This made it possible to make a
one by two table inside a figure environmen, set a fixed width of each
column and insert the table and figures inside the cells.
Then manually creating the captions by placing
ERT: \tabcaption{My table caption}
in the first cell. And
ERT: \figcaption{My figure caption}
in the second cell.
This is ok, however, I'm not convinced that the nofloat package screws
other things up.
Any clues?
T.I.A.
/johan
How about
1. insert minipage right click inside and reduce width to less than 50% column
width when the cue pops up
2. Insert Hfill
3. Insert another minipage as in 1
4. Put your figure in one minipage and your table in the other.
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