Graphics, Figures & TablesFigures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mal
Posts: 3
Joined: Wed Mar 17, 2010 5:47 pm

Figures

Post by mal »

hi all,

I need to introduce many images inside a text paragraph along which they are cited. The point is that these figures are composed by two subfloats and the whole dimension is more than half a page (I cannot reduce it). Each time I try to put them in the text, may lines remain empty and this is terrible to see.

I wonder if there is a way to force latex to ignore the amount of data contained in a single page or even better inside a paragraph.

Thanx in advance for your help

I introduce these figures using the structure:
\begin{figure}[H!]
\centering
\subfloat[text. ]{\label{fig:sim_x_ord}\includegraphics[scale=0.75]{file1.png}}\\
\subfloat[text.]{\label{fig:exp_x_ord}\includegraphics[scale=0.75]{file2.png}}
\caption{text.}
\label{fig:label}
\end{figure}

Recommended reading 2024:

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

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

spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Re: Figures

Post by spiegboy »

change h to htb.
use subfigure package rather than subfloat
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Figures

Post by gmedina »

Hi,
mal wrote: ...
\begin{figure}[H!]
\centering
\subfloat[text. ]{\label{fig:sim_x_ord}\includegraphics[scale=0.75]{file1.png}}\\
\subfloat[text.]{\label{fig:exp_x_ord}\includegraphics[scale=0.75]{file2.png}}
\caption{text.}
\label{fig:label}
\end{figure}
...


Please provide a minimal working example illustrating your problem; code snippets are not helpful.
spiegboy wrote:...
use subfigure package rather than subfloat
That's some bad advise; subfigure is an obsolete package and shouldn't be used anymore; in its stead, one can use the subfig or the subcaption package. Additionally, there's nothing in the OP's original code that suggests that he/she is using the subfloat package. According to his/her code, he/she is using the subfig package.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply