Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have 3 graphs I would like to use in a LyX document. In order to save space I have placed the 3 graphs into a 2x2 table and in the final box I have inserted the figure caption.

See Image

When I try and open the file as a PDF it gives me a whole list of errors.

Is there a way to place the caption in the table (or place the caption over a section of an image) so that I can save some space?

share|improve this question

migrated from stackoverflow.com Mar 12 '13 at 13:24

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

You can achieve something similar with a couple of minipages, as outlined below. Please ask if anything is unclear.

  1. Add a figure float, and delete the caption that is there by default.
  2. Make the contents of the figure centered by changing the paragraph settings within the figure, or adding \centering in an ERT.
  3. Do Insert --> Box --> Frameless twice to add two minipages. Make sure there is no paragraph break between them.
  4. For both boxes, right click the title of the minipage box, go into the settings, and change the width to half the line width.
  5. In the first minipage, change the paragraph style to centered, and add the two images with a paragraph break between.
  6. Repeat for the second minipage, but instead of the second image do Insert --> Caption.
share|improve this answer
    
Just to add on: a "paragraph break" corresponds to a new line in LyX. In other words, a new line will start a new paragraph in LyX. –  e-birk Mar 12 '13 at 23:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.