Graphics, Figures & TablesAbsolute positioning of figure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
CJFugate
Posts: 12
Joined: Thu Aug 23, 2012 11:47 pm

Absolute positioning of figure

Post by CJFugate »

I've only used floats to postion my figures. One of my figures looks something like this is my document -

This is a sentence at the very top of the page in my document
***************************************************************
* *
* Figure *
***************************************************************
which was cut in half by the figure and continues below the figure.

I would like to push the figure to the top of the page so it doesn't cut that sentence in half. Is there an easy way to do that?

Thanks!

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Absolute positioning of figure

Post by localghost »

In order not to part the sentence you should leave a blank line before and after the float environment. And appropriate placement parameters will do the rest.

Code: Select all

Preceding Text.

\begin{figure}[!ht]
% figure content
\end{figure}

Following Text.
Further reading:

Thorsten
Post Reply