11

I have a little problem with the placement of my picture. I want to insert it at the end of the introduction chapter but its place is not where I want.

I think the problem become from the:

\begin{figure}
...
\end{figure}

Because when I insert the picture without using \begin{figure}... the picture is at the end of the chapter as I want.

Look the picture below.

enter image description here

4
  • 1
    Welcome to TeX.SX! Does \begin{figure}[b]... help? Please help us (and also you) and add a minimal working example (MWE), that illustrates your problem.
    – Bobyandbob
    Jun 15, 2017 at 10:01
  • Did you see the posting How to influence the position of float environments like figure and table in LaTeX? A separate question: Why did you set the tag "table of contents"?
    – Mico
    Jun 15, 2017 at 10:03
  • 3
    BTW do your self a favour an unlearn using \\ in the text, all those underfull vbox baddness 10000 are because of the \\ we can see from your code image. There is no need to have spaces between paragraphs when you also have paragraph indentation, it makes the text look less professional.
    – daleif
    Jun 15, 2017 at 10:23
  • Another option is \floatbarrier from placeins: More details: tex.stackexchange.com/a/19767/28808
    – Chris H
    Jun 15, 2017 at 14:20

1 Answer 1

11

Exact/Manual Placing/Positioning of Figures/Pictures/Tables/"Normally Floating Objects" in LaTeX by Using the float Package


  • The float package provides the H placement option.
  • H places a figure (float) exactly where you put it in the code.
  • The remaining code is the same as for normal figures (floats).
  • Warning: Many very experienced users here seem to dislike this solution for some reason whereas I still like it because the code is the same for floating and non-floating objects.
  • Normally one is supposed to let LaTeX decide where to place a figure (for a nicer layout).
  • I found myself often in a situation (e. g. supervisor wishes a specific position) where I was happy that the float package offers a manual approach.
  • Highley related questions: Force figure placement in text and How to influence the position of float environments like figure and table in LaTeX? (provided in a comment above).

\documentclass{article}

\usepackage{graphicx}
\usepackage{float}

\usepackage{blindtext}

\begin{document}

\blindtext

\begin{figure}[H] % <-- Use [H] for exactly here
\centering
\includegraphics[width=0.8\linewidth]{example-image-a}
\caption{I am a caption.}
\end{figure}

\blindtext

\end{document}

enter image description here

2
  • @Zarko :) -- I am really trying to avoid a discussion here. If it helps the OP then I am happy. Open a chat if that's not enough for you (I am on the computer for the next hour). Jun 15, 2017 at 10:11
  • It works I just did the changes thanks a lot my friend ! :) Sorry for the late ^^
    – Red One
    Jun 15, 2017 at 10:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .