This is topic Imaging positioning in LaTeX in forum Ask a Geek! at The Geek Culture Forums.


To visit this topic, use this URL:
http://www.geekculture.com/cgi-bin/ultimatebb/ultimatebb.cgi?ubb=get_topic;f=12;t=002452

Posted by Stibbons (Member # 2515) on January 08, 2008, 08:34:
 
Ok, so it's that time of year again and I have to hand in my dissertation. I'm having one minor issue with LaTeX that I can't seem to fix - it's sticking figures from one section into the text from the second (it's a very figure intensive document). So I'm wondering, is there any way I can force images to appear at the end of the section, before the new one starts?
 
Posted by littlefish (Member # 966) on January 08, 2008, 13:24:
 
That sounds peculiar. Are you using a weird graphics package?

Standard LaTeX lets you suggest where the image goes using
code:
\begin{figure}[H]

(assuming this is how you are placing your figures) - The H is for Here. You can also use T (top) B (bottom) or P (separate Page for all graphics floats).

Another thing to try is to place the figure code close to the text which refers to the figure.

UPDATE:
I just cut 'n' pasted this from a previous project, which has always worked for me:
code:
\usepackage{graphicx}

is in the preamble.
code:
Experimentation with available optics led to the use of a rudimentary system which is now described and is shown in Figure~\ref{emiss}.
%
\begin{figure}
\begin{center}
\includegraphics[width=0.45\textwidth]{emiss.eps}%0.6\textwidth}
%\hspace{5cm}
\caption{Arrangement of optics for collection of emission IR spectra}
\label{emiss}
\end{center}
\end{figure}
%


 


© 2015 Geek Culture

Powered by Infopop Corporation
UBB.classicTM 6.4.0