I have a table with three columns and I want the table to be distributed on \textwidth
of the page.
I tried:
\documentclass{article}
\usepackage{tabularx}
\begin{document}
\begin{tabularx}{\textwidth/3}{| c | c | c |} %Math operation here.
\hline
looooooong & long & very loooong \\
long & very looooooong & long\\
\hline
\end{tabularx}
\end{document}
Best Answer
If you need the possibility of a pagebreak then use
xltabular
instead.