TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following tabular environment has 3 columns. Each column has a width of \textwidth/3, but somehow the table is wider than \textwidth.





What might the problem be?

share|improve this question
You are not allowing for the inter-column separation. Do you want to remove this entirely or to allow for it? – Joseph Wright Oct 29 '12 at 11:53
@JosephWright There won't be any space betweeen the columns. – hos Oct 29 '12 at 11:55
If you remove the vertical rules (that are bad typography anyway), just saying p{\textwidth/3 - 2\tabcolsep} will do. – egreg Oct 29 '12 at 11:59
Adding - 2\tabcolsep fixed the problem. Thanks ^^ – hos Oct 29 '12 at 12:01
up vote 3 down vote accepted

using tabularx makes more sense in this special case


\begin{tabularx}{\linewidth}{|| X || X | X ||}

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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