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.
\begin{table}[ht]
\begin{minipage}[b]{1\linewidth}\centering
\begin{tabular}{l l c l | l l c c}
One & Two  &  Three  &  Four  &  Five  &  Six  &  Seven  &  Eight\\
One & Two  &  Three  &  Four  &  Five  &  Six  &  Seven  &  Eight\\
One & Two  &  Three  &  Four  &  Five  &  Six  &  Seven  &  Eight\\
\hline
\end{tabular}
\caption{Derivation Table}
\end{minipage}
\end{table}

This line after the table is showing up on the previous page. How to display it after the table in a new line

share|improve this question
3  
A table is a floating object. It does not appear at the exact place you put it in the source code but rather at the next best position. This does not have any impact on the surrounding text. –  Carsten Thiel Jan 2 '11 at 19:13
add comment

1 Answer

up vote 1 down vote accepted

try it this way.

\begin{table}[!htb]
\centering
\begin{tabular}{l l c l | l l c c}
One & Two  &  Three  &  Four  &  Five  &  Six  &  Seven  &  Eight\\
One & Two  &  Three  &  Four  &  Five  &  Six  &  Seven  &  Eight\\
One & Two  &  Three  &  Four  &  Five  &  Six  &  Seven  &  Eight\\
\hline
\end{tabular}
\caption{Derivation Table}
\end{table}

and by the way: The minipage is not needed.

share|improve this answer
    
Tried by taking the minipage out but still the last line shows up on the previous page rather than below the table –  Aku Jan 2 '11 at 20:08
    
then replace the figure environment with a minipage one and use captionof{figure}{...}, which needs package caption or capt-of –  Herbert Jan 2 '11 at 20:29
add comment

Your Answer

 
discard

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.