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.

I would try to align vertically a table in a page. I have a page contains only a table and I would put it at the center of the page. To center it horizontally I used \centering but what command should I use to center it vertically?

share|improve this question
    
Not sure but this might help: tex.stackexchange.com/questions/2326/… –  Pouya Dec 24 '12 at 10:06
add comment

1 Answer

up vote 4 down vote accepted

If you have a page containing only a table, there's no need to put excessive code. It's enough to define a table, as it is. The table will be put in the middle of page, automatically.

\begin{table}
\caption{...}
\label{...}
...
\end{table}
share|improve this answer
2  
you might want to specify that it's on a page by itself -- \begin{table}[p] –  barbara beeton Dec 24 '12 at 13:08
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.