I'm new to LaTeX. I'm trying to create a tabular and I'm facing various small issues.
I would like to create a tabular with two columns, the second one being multiline. I found out I can use p{} to achieve that, but the problem is that I now need to specify the width. I would have liked to set it as line width minus whatever space is used by the first column, but I don't know how to do that.
edit: so I can use tabularx, but my problem now is that it goes beyond the end of the page:
\documentclass{article}
\usepackage[top=1in, bottom=1in, left=0pt, right=0pt]{geometry}%margins
\begin{document}
\begin{tabularx}{\textwidth}{|c|X|}a&b
\end{tabularx}
\end{document}

\documentclassand the appropriate packages. – Peter Grill Jun 9 '12 at 17:43tabularx, as pointed out by @ScottH., you can usetabu, as demonstrated e.g. in this answer. Thetabupackage in my opinion offers a more convenient user interface. – dgs Jun 9 '12 at 17:58