TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the code below for a table creation but the table is appeared before the referred site.


 \caption{The properties of the fitted linear model}
    \label{tab: varpar}
        \texttt{Partial Sill} &\texttt{ Nugget} & \texttt{Range} & \texttt{Instant} & \texttt{Slope} \\ \hline
        0.30         & 0.19   & 408   & 0.0015  & 0     \\

Moreover i have used \clearpage to avoid ploting of tables or figures in a new section. And, the aforementioned code is cited in new section. However, I would like to have tables as near as possible to the cited site.

share|improve this question
did you tried using the here package and adding the [H] option like that: \begin{table}[H] this should force LaTeX to display the table where its defined – Rico Jan 17 '13 at 22:30
when I have used the [H] the tables placed after figures. Maybe [htbf] works. – Hamed Footohi Jan 17 '13 at 22:36
You should probably read this FAQ page :) – Rico Jan 17 '13 at 23:35
See in particular tex.stackexchange.com/questions/39017/… for the full detail – Joseph Wright Jan 18 '13 at 7:07

Please always post complete small documents that show the problem. It is hard to guess were that float went (and the contents are irrelevant to the float positioning algorithm, you could replace the tabular by \vspace{2\baselineskip} to demonstrate the same effect.

You say the table appears too early. LaTeX can basically only move floats later in the document with the exception that it will by default place them at the top of the page on which they are defined, which can move them forward. You can prevent this option by loading the flafter package (part of the base LaTeX distribution) which ensures that a float always appears after its definition.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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