Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
How to influence the position of float environments like figure and table in LaTeX?

How I can set up the figure and tables to capture them in the next page. I have a problem in inserting the figure. I have referenced the figure but it has appeared before the specified place. I would like to revise the code in a way that figures appear in a next top part of page.


    \caption{The Grand St. Bernard wireless sensor network deployment (a) the coordinates of nodes according to the Swiss coordinate system (b) the distribution of the nodes in the study site \citep{r33}}
    \label{fig:study area}
share|improve this question

marked as duplicate by doncherry, Guido, T. Verron, Stefan Kottwitz Feb 1 '13 at 7:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

2 Answers

up vote 2 down vote accepted

Specific to your problem - placing a float at the top of the next page - the afterpage package could be of help:

enter image description here

\usepackage{afterpage,float,lipsum,graphicx}% http://ctan.org/pkg/{afterpage,float,lipsum,graphicx}
See Figure~\ref{fig:label}. \lipsum[1-4]
    \caption{This is a caption}

float provides the [H] float specifier. However, you might just as well have used a minipage environment and (say) caption's \captionof{figure}{...} for the caption.

share|improve this answer
add comment

Floats (figures and tables) can be forced to appear based on a set of parameters in the \begin{} ... \end{} float object. The syntax is \begin{figure}[x] where x can be h for placing "here"; t at the top of the (possibly curent) page; b at the bottom of the page; ! overrides all good parameter settings and forces an even harder "here". if you use the package float you also have H which is similar to !h. In addition there is a package placeins that provides a command \FloatBarrier which prevents floats from behin set after the command.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.