Figures in LaTex


by Clausius2
Tags: figures, latex
Clausius2
Clausius2 is offline
#1
Oct31-04, 05:58 AM
Sci Advisor
PF Gold
Clausius2's Avatar
P: 1,481
Hi,

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.

Thanks.
Phys.Org News Partner Science news on Phys.org
Internet co-creator Cerf debunks 'myth' that US runs it
Astronomical forensics uncover planetary disks in Hubble archive
Solar-powered two-seat Sunseeker airplane has progress report
graphic7
graphic7 is offline
#2
Oct31-04, 07:50 AM
PF Gold
P: 560
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.
Clausius2
Clausius2 is offline
#3
Oct31-04, 07:56 AM
Sci Advisor
PF Gold
Clausius2's Avatar
P: 1,481
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:

\begin{figure}
\begin{minipage}[t]{8cm}
\begin{center}
\includegraphics[width=8cm,clip]{figure1.eps}
\caption[Short caption for figure 1]{\label{labelFig1} Long caption figure 1}
\end{center}
\end{minipage}
\hfill
\begin{minipage}[t]{7.5cm}
\begin{center}
\includegraphics[width=7.5cm,clip]{figure2.eps}
\caption[Short caption for figure 2]{\label{labelFig2} Long caption figure 2.}
\end{center}
\end{minipage}
\end{figure}

And it works!

Goalie_Ca
Goalie_Ca is offline
#4
Nov6-04, 01:56 PM
P: 105

Figures in LaTex


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.


Register to reply

Related Discussions
LaTeX: referencing figures within enumerate environment Math & Science Software 1
Latex: odd pages = figures, even pages = text? Math & Science Software 0
Wrapping multiple figures with text in latex Math & Science Software 2
LaTex: figures positioning & sizing Math & Science Software 2
trouble with displaying figures in LaTeX Math & Science Software 6