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

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

Fixing image position, [h] doesn't work

Postby texter » Thu Apr 20, 2017 9:46 pm

Hi all,

Here's the usual code

  1. \begin{figure} [H]
  2. \centering
  3. \includegraphics[scale=0.45]{ncurve.jpg}
  4. \caption{tata}
  5. \label{fig:ts}
  6. \end{figure}

including the package

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 8708
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Fri Apr 21, 2017 12:18 pm

Welcome to the forum!

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

Site admin

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 4 guests