Possible Duplicate:
How to fit landscape multi-page table to textwidth
I am trying to fit a longtable in a page with the following specifications:
\documentclass{article}
\usepackage[letterpaper]{geometry}
\geometry{tmargin=2cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.7cm}
\usepackage{array}
\usepackage{longtable}
\begin{document}
\begin{longtable}{|c|>{\raggedright}p{4.5in}|p{0.85in}|}
\hline
\textbf{Week} & \textbf{Content} & \textbf{Assessments}\tabularnewline
\hline
\endfirsthead
\hline
\hline
\textbf{Week} & \textbf{Content} & \textbf{Assessments}\tabularnewline
\hline
\hline
\endhead
\hline
Week 1 & Unit 1
&HW, Q, T\tabularnewline
\hline
Week 2 & Unit 2
&HW, Q, T\tabularnewline
\hline
\end{longtable}
\end{document}
Note that to the naked eye, the table seems to be perfect, but I know that one can make the long table to span through the entire text width. I am looking for improvements and how to achieve the above effect (use of the text width.) If a similar question has been asked please redirect me.
@{}at the start an end of the column specification. Or is your question that you want thepcolumn widths to be automatic, liketabularxXcolumns in which case you might look atltxtableor perhapstabu– David Carlisle Jun 28 '12 at 15:26