Graphics, Figures & TablesFigure behaviour

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Molibdeno
Posts: 12
Joined: Fri Apr 07, 2017 12:15 pm

Figure behaviour

Post by Molibdeno »

This is my article: https://paste.ofcode.org/hVAa43iA6RjwV7edzHCJ7Y

Everything is fine except the last figure, which does not seem to obey the parameters I gave and is positioned in the center of the last page. How should I proceed so that figure is positioned under the first one?

Thanks in advance
Last edited by Molibdeno on Sat Apr 13, 2019 1:20 pm, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Figure behaviour

Post by Johannes_B »

Put them into the same figure environment. Inform yourself about the placing parameters, you are seeming to use them in a wrong way.
Avoid the flushleft environment around figures. What are you trying to achieve?

\newcommand{\br}{\\ \vspace{8pt}}: This is more than fishy. You are breaking the whole paragraph breaking algorithm of TeX, making break points (including tables and figures) a complete mess.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Molibdeno
Posts: 12
Joined: Fri Apr 07, 2017 12:15 pm

Figure behaviour

Post by Molibdeno »

Johannes_B wrote:Put them into the same figure environment. Inform yourself about the placing parameters, you are seeming to use them in a wrong way.
Avoid the flushleft environment around figures. What are you trying to achieve?

\newcommand{\br}{\\ \vspace{8pt}}: This is more than fishy. You are breaking the whole paragraph breaking algorithm of TeX, making break points (including tables and figures) a complete mess.
\flushleft for left horizontal text align
Molibdeno
Posts: 12
Joined: Fri Apr 07, 2017 12:15 pm

Figure behaviour

Post by Molibdeno »

Solved with the aid of this: https://texfaq.org/FAQ-figurehere
Post Reply