
· Vikram Aruchamy · LaTeX
How to Wrap Text in LaTeX Tables (p, tabularx, makecell)
To wrap text in a LaTeX table cell, give the column a fixed width with p{width} instead of l, c or r, for example \begin{tabular}{|l|p{6cm}|}. Long text in that column now breaks onto new lines. To make columns fill the page automatically, use tabularx with X columns, and use \newline for a manual break inside a cell.