# Vertically align table in a page

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?

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

## 1 Answer

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}

-
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