Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Figures in LaTex

  1. Oct 31, 2004 #1


    User Avatar
    Science Advisor
    Gold Member


    I don't really know how to put a figure aside to another. I mean, If "X" is a figure, what can I do to make:

    X X

    in the same line.

  2. jcsd
  3. Oct 31, 2004 #2


    User Avatar
    Gold Member

    LaTeX is very picky about figures. Even if you specify where you'd like the figure on the page, sometimes, it'll move it just because it wants to. You can try setting the position to argument to [h], which means "here." LaTeX will then try to place the figure where you want it.

    I'm not sure if figure automatically does newlines, in that case you'll be screwed. But, try it. Make sure you don't newline between the figures.
  4. Oct 31, 2004 #3


    User Avatar
    Science Advisor
    Gold Member

    Thanks. I've been googling and finally I've found how to do about that.

    Yes, LaTex has an automatic newline between figures.

    Here it is what I found:

    \caption[Short caption for figure 1]{\label{labelFig1} Long caption figure 1}
    \caption[Short caption for figure 2]{\label{labelFig2} Long caption figure 2.}

    And it works!
  5. Nov 6, 2004 #4
    try checking into various packages such as placeins.

    Figures are "floats" so you really have to force it to go somewhere using tables or whatever.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Figures in LaTex
  1. Latex figures (Replies: 6)

  2. MATLAB figure in LATEX (Replies: 5)