29

How can i set the minimum width of a table? I want to have a series of tables that are all the same width?

lockstep
  • 250,273
sbj3
  • 441

2 Answers2

24

I would use the tabularx package. An argument to the tabularx environment specifies the table width, X columns share the available space.

A simple example:

\usepackage{tabularx}

\begin{tabularx}{.8\textwidth}{lXXr}
left column & text & text & right column
\end{tabularx}

See also:

Stefan Kottwitz
  • 231,401
12

Use a tabular* environment, with @{\extracolsep{\fill}}, as in

\begin{tabular*}{.5\linewidth}{@{\extracolsep{\fill}}ccc}
  One& Two& Three\\
  Four& Five& Six
\end{tabular*}

(where you replace .5\linewidth with something wide enough for all of the tables).

David Carlisle
  • 757,742