Graphics, Figures & TablesNeed to have table fill a page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
demac
Posts: 6
Joined: Thu Jun 17, 2010 9:27 pm

Need to have table fill a page

Post by demac »

I need to have a caption+table+tabular fill the page rather than being centered on the page. I am currently adjusting each table individually by putting extra space after the last line in the table

Code: Select all

\documentclass[12pt, letterpaper]{article}
\usepackage{caption}
\usepackage{rotating}

\begin{document}
\begin{centering}
\clearpage
\begin{sidewaystable}[H]
\caption{An Example Table}
\begin{tabular}{lrrrr}
Line 1 & 11 & 12 & 13 & 14 \\
Line 2 & 21 & 22 & 23 & 24 \\
Line 3 & 31 & 32 & 33 & 34 \\
Line 4 & 41 & 42 & 43 & 44 \\
Line 5 & 51 & 52 & 53 & 54
\end{tabular}
\vspace*{\fill}
This is the disclaimer line
\end{sidewaystable}
\end{centering}
\end{document}
Where i have to estimate the space to put in the final line. When i use \vfill or \vspace*{\fill} it does not seem to work and the table is still in the center of the page rather than starting at the left margin.

Any Ideas?

Thanks in Advance
demac

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply