4

I'd like to get the effect of doing \halign to \hsize ... while retaining all the convenience of LaTeX's tabular environment. The particular problem I am trying to solve is to use \tabskip to set a bunch of (nested) tables to the same width in a column type of p{width}. But if possible, I would like to set the inner table using \begin{tabular} and all its conveniences, rather than have to go for the raw \halign.

Possible?

(Related question: In nested tables, how can I make an inner table stretch to fit its column?)

  • \begin{tabular*}{\hsize} is exactly that (and \extracolsep to set \tabskip) – David Carlisle May 31 '15 at 22:19
8
\begin{tabular*}{\hsize}{@{\extracolsep{\fill}}cc@{}}

should do what you need.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.