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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply