Image and text in Latex

Asked

Viewed 547 times

1

When I write in Latex I have the following problem that I will try to explain with an example:

When I start writing I want the text to follow the following structure: Text1 Image1 Text 2 Imagem2 except that there is usually space between Texto1 and Imagem1 that fits Texto2 and then automatically latex changes the structure to: Text1 Text 2 Image1 Imagem2

How can I solve this problem so that my document follows the structure that I even wish left space?

2 answers

1

Use the "float" package and the [H] option for your pictures.

\usepackage{float}

 ...

 \begin{figure}[H] 
 \centering 
 \includegraphics{suafigura}
 \caption{Algum título} 
 \label{figxx} 
 \end{figure}

0

Tries:

\begin{figure}[!h]
...
\end{figure}

but the result is a bit ugly...

Alternatively:

\begin{figure}[!htb]
...
\end{figure}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.