Tal Kenig wrote:
Hello all.
I have searched for this for a long time, but could not find a satisfactory
solution.
I usually insert figures into tables (which reside inside figure floats).
The problem is that lyx automatically inserts white spaces above, below, to
the left and to the right of the figures.

Table cells have internal spacing so the text won't touch the edges. This can be tweaked (or zeroed) with latex commands. I am not sure if you can adjust a single cell only, or if the whole table is affected.

Sometimes I wish to get rid of that behavior, and to remove or reduce the
white spaces.
I can sometimes do it by inserting negative spaces, but this is tedious
work.

In addition, sometimes I have a figure which has white background, and I
want to add a thin black line around it, but it also has to be tight. I
tried a single cell table or a box inside the main table.
Once again, I am faced with the white spaces plus the alignment of the table
sometimes get messed up.

I usually use a box with these settings:
Decoration: Simple rectangular frame
Inner Box: none
width: 1 [Width]

The spacing is tight, although not completely gone. Spacing is small enough for a frame around a small logo though.

As for alignment - that is an interesting topic. Help->embedded objects has a section on that. Almost anything can be done, but it is not always easy.

Helge Hafting

Reply via email to