How can I set the column width of the p
column(s), to be precisely what's left after the other self adjusting specifiers are done with their work?
Here is a MWE
\documentclass{article}
\begin{document}
\begin{tabular}{|r|c|p{3in}|}
\hline
One & Two & Neque porro quisquam est, qui dolorem ipsum
quia dolor sit amet, consectetur, adipisci velit, sed quia
non numquam eius modi tempora incidunt ut labore et dolore
magnam aliquam quaerat voluptatem.\\
\hline
Three & Four & Sed ut perspiciatis unde omnis iste natus error
sit voluptatem accusantium doloremque laudantium, totam rem aperiam,
eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae
vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas
sit aspernatur aut odit aut fugit, sed quia consequuntur magni
dolores eos qui ratione voluptatem sequi nesciunt. \\
\hline
\end{tabular}
\end{document}
Here is the output
In this example, I would like the argument of p{3in}
in the tabular header to be set automatically.
Best Answer
Use tabularx!