Technical Support
Forums and Mailing Lists
Search Mackichan Web

Version 5/5.5

Word Processing
File Issues
Exam Builder
Style Editor
Free Updates
Technical Articles

Scientific Notebook
Support Information

TeXnology links

Document 526

The LaTeX tabularx package

Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

The tabularx package defines a tabular environment that generates a table with a specified width. The package automatically adjusts the widths of certain columns rather than adding space between columns. The basic command is similar to the standard LaTeX \tabular* command; please refer to the package documentation for complete instructions and to LaTeX sources for further information about using commands of this type.

How to create a tabular environment of a specified width

  1. Add the tabularx package to your document.
  2. Enter an encapsulated TeX field.
  3. Type \begin{tabularx}{w}{|X|X . . .|} where w is the desired width of the table and X marks each column for which the width is to be adjusted.
  4. Type the commands for the remainder of entire tabularx environment.
  5. Type \end{tabularx} and choose OK.

The single package option involves debugging. The package is installed in the TCITeX/TeX/LaTeX/required/tools directory as part of the Standard LaTeX Tools Bundle.

For example, to create a table that is overall four inches wide with the width of the second and fourth columns set automatically, the following would be the contents of the encapsulated TeX field:

\multicolumn{2}{|c|}{Multicolumn entry!}&
\arraybackslash The width of this column depends on the
overall width of the table.&
\arraybackslash Column four will act in the same way as
column two, with the same width.\\

Last revised 07/29/10

This document was created with Scientific WorkPlace.

MacKichan Software, Inc. 19307 8th Avenue, Suite C Poulsbo, WA 98370-7370
Phone: 360-394-6033 Toll-free: 877-724-9673 Fax: 360-394-6039

Please email comments and suggestions regarding this site to
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.