Generalfigure location

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
smrh4004
Posts: 2
Joined: Wed Aug 13, 2008 3:18 pm

figure location

Post by smrh4004 »

Hello all

I have been working with TeXnic for 3 years now and I am in the final stage of my thesis. I am changing the location of my figures so I get two figures in every page. I have to say that I am putting my figures in a "figure section" at the end of each chapter. My problem is with figure location. I have:


\newpage
\section{Figures} \label{Figures Discussion}

\begin{figure}[htbp]
\centering
\includegraphics[width=0.7\textwidth]{C:/Work/Thesis/Images/fig60phitwo.PDF}
\caption[Equivalence ratio fluctuations calculated for $\phi = 0.48$ from figure \ref{fig 60 phi}, axial swirler, $f_i = 60$ Hz, $U_{rms} = 10\%$, $20\%$ and $30\%$]{Equivalence ratio fluctuations calculated for $\phi = 0.48$ from figure \ref{fig 60 phi}, axial swirler, $f_i = 60$ Hz, $U_{rms} = 10\%$, $20\%$ and $30\%$. The steady state blow-off limit is 0.33.}
\label{fig 60 phi two}
\end{figure}

\begin{figure}[htbp]
\centering
\includegraphics[width=0.7\textwidth]{C:/Work/Thesis/Images/fig120phitwo.PDF}
\caption[Equivalence ratio fluctuations calculated for $\phi = 0.48$ from figure \ref{fig 120 phi}, axial swirler, $f_i = 120$ Hz, $U_{rms} = 10\%$, $20\%$ and $30\%$]{Equivalence ratio fluctuations calculated for $\phi = 0.48$ from figure \ref{fig 120 phi}, axial swirler, $f_i = 120$ Hz, $U_{rms} = 10\%$, $20\%$ and $30\%$. The steady state blow-off limit is 0.33.}
\label{fig 120 phi two}
\end{figure}


The problem with above is that each figure is placed in a different page one after the other, I have tried changing the [htbp] to [ht] or or [t] and things like that with no joy. I've even changed the [width=0.7\textwidth] to [width=0.3\textwidth] for both figures with no joy. It is really weird and is driving me mad. I have over 120 figures and except these two I can place two in every page which looks good and professional but these two refuse to go in the same page. I even thought there was something wrong with the dimensions of the figures so I tried some other files instead of these and again no joy!

Please help me!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

figure location

Post by gmedina »

You can try several options, once you are sure that both figures will fit in one page:

1) Use the specifier [!ht] for the first figure and [!hb] for the second (instead of [htbp]).

2) Load the float package and use the specifier [H] for both figures instead of [htbp].

3) Load the caption package. Do not place your figures inside figure environments. Place them inside minipages, and use the \captionof command to get the captions.

Supplement: perhaps you could be interested in the endfloat package. Refer to the package documentation for further information.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
smrh4004
Posts: 2
Joined: Wed Aug 13, 2008 3:18 pm

Re: figure location

Post by smrh4004 »

WOW

Thanks, I used option one and it worked perfectly, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you.
Post Reply