Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

FAQ /

FiguresSideBySide

Categories: Figures
<< | Page list | >>

§ How can I put two figures side by side?

I would like to put two floating figures side by side in Lyx as Fig 1 and Fig 2

FIG 1 : .....                     FIG 2 : ...................
  1. Insert→Float→Figure
  2. Move cursor inside Float (not Legend)
  3. Insert→Box (to insert a frameless box a.k.a. minipage)
  4. Move cursor inside Float (not Box)
  5. Insert→Formatting→Horizontal Space→Horizontal Fill or Ctrl-<space> -> right-click on space -> select "Horizontal Fill" (to insert a stretchable horizontal space)
  6. Insert→Box (to insert another minipage)
  7. Change the width of the two minipages to 45% Textwidth (by clicking the right mouse button on each minipage)
  8. In each minipage:
    • change the paragraph alignment to center
    • add the graphics
    • press enter for a new paragraph
    • Insert a caption (Insert→Caption).

See FiguresSideBySide for example files, and perhaps also BigFigureOrTable.
You can also avoid repeating all the steps with a Command Sequence. See CommandSequences

This LyxUsersThreadRoot:14093 might also be of interest, where Herbert has attached an example file in LyxUsersPost:14093 — that solution is reportedly perfect :-)

§ But I want the figures to be labeled 1a and 1b!

I would like to put two floating figures side by side in Lyx, but not as described in the previous question, but rather like this:

FIG 1a : .....                     FIG 1b : ...................

OK, you want subfigures. Do this:

  1. Insert→Float→Figure
  2. Again, Insert→Float→Figure (this inserts a "subfigure float" into the float)
  3. Put the cursor right next to the subfloat
  4. Insert→Formatting→Horizontal Space→Horizontal Fill or Ctrl-<space> -> right-click on space -> select "Horizontal Fill" (to insert a stretchable horizontal space)
  5. Insert→Float→Figure (this inserts another "subfigure float")
  6. In each subfloat:
    • add the graphics
    • Edit the caption

See FiguresSideBySide for example files, and perhaps also BigFigureOrTable.

This LyxUsersThreadRoot:14093 might also be of interest, where Herbert has attached an example file in LyxUsersPost:14093 — that solution is reportedly perfect :-)

Figures

<< | FAQ.PageList | >>

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2012-12-26 15:07 UTC