Graphics, Figures & TablesFixing image position, [h] doesn't work

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
texter
Posts: 1
Joined: Thu Apr 20, 2017 9:44 pm

Fixing image position, [h] doesn't work

Post by texter »

Hi all,

Here's the usual code

Code: Select all

\begin{figure} [H]
\centering
\includegraphics[scale=0.45]{ncurve.jpg}
\caption{tata}
\label{fig:ts}
\end{figure}
including the

Code: Select all

float
package

But the result is the image at any other place, followed by [H]. What's happening? Thank you

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Fixing image position, [h] doesn't work

Post by Stefan Kottwitz »

Welcome to the forum!

Simply remove the space before [H]. Because of the space, the table does not see it it option.

Stefan
LaTeX.org admin
Post Reply