Latex: Text cannot be placed below image

Posted by Frederik Wordenskjold on Stack Overflow See other posts from Stack Overflow or by Frederik Wordenskjold
Published on 2010-05-13T15:21:29Z Indexed on 2010/05/13 15:34 UTC
Read the original article Hit count: 341

Filed under:
|
|

I love latex! But sometimes, it does not love me... I'm having a problem with an image and some text. I have this code:

Some text...\\

\begin{figure}[ht]
\centering
\includegraphics[scale=0.75]{picture.jpg}
\caption{The caption}   
\label{fig:picture}
\end{figure}

Some more text...

Basically, I want this:

Some text. (Above image in the code)
[end of page / new page]
image
Some more text. (Below the image in the code)
[start of new section]

But, what the above code gives me is this:

Some text. (Above image in the code)
Some more text. (Below the image in the code)
[end of page / new page]
image
[start of new section]

Latex insists on putting everything but a new section above the image even though its below the image in the code. Its probably because the image floats on top - but whats my alternative? There's not enough space on the first page to display the image there, to I cannot use [h] as the float-alignment.

I can "hack it", by creating an empty new section, like \section*{}, but this creates some white-space, which looks weird. Any suggestions?

© Stack Overflow or respective owner

Related posts about latex

Related posts about floats