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?)

1 Answers1

8
\begin{tabular*}{\hsize}{@{\extracolsep{\fill}}cc@{}}

should do what you need.

egreg
  • 1,121,712
David Carlisle
  • 757,742