G. Milde wrote:
On 26.04.04, Helge Hafting wrote:

Roland Schmitz wrote:

...


My way of doing this is:
Insert a figure float. Go inside, set the paragraph type to "standard" instead of the default "caption" Insert two minipages inside the float
(insert->minipage) with a hfill (insert->special->hfill) between them.
Set each minipage to 50% of COL or less.


With 50% the hfill is not necessary, is it?
Correct, it is not necessary when you use two figures with 50% size.
You may want the hfill anyway, because you may have to reduce the size
of the figures later.


The reason for that, is that theree is no space between those 50% minipages,
so their contents might touch in an ugly way.  This does usually not happen
with the graphical contents, but it will easily happen to the captions.
(Then there are figures composed of several graphich insets with hfills between
them, some get pushed to the edge of the minipage.)

I also include a few paragraphs of explanatory text in my figures, at times.
A multi-line paragraph of text obviously flows to the edges of the minipage.
Remember, almost anything that can be put on an ordinary page can
be put into a minipage too.


In each minipage, include graphichs (insert->graphichs) Center the graphichs using layout->pragraph.
Press enter after each graphic, to get a new paragraph. Set the paragraph type to caption, and enter caption text.


Nice, now we only need a keybinding for the command sequence that does this

idea 1: command-sequence ... Might have problems with some commands

idea 2: put the 2-minipages-float in a template file and do Insert->File

Useful indeed, if you often want exactly 2 figures in a float.  I tend to use
"n figures in a float" wit n ranging from 1 to 8.  So I build the float by
hand everytime.

To save time, I only create the first minipage with caption & a centered graphich. Then I copy the entire minipage as many times as needed and fill in
the filenames for the graphichs and the contents of the captions.


If you're writing a lot of those double figures, keep a document containing
an empty double figure.  Open it along with your main document, and
copy+paste the empty figure when needed.  This approach makes up for the lack
of text element templates.

Helge Hafting



Reply via email to