I have a tabular or longtable table and sometimes need to refer to the table width. For example, I would like to add a multicolumn with a fixed width to allow for line breaks.
\documentclass{article}
\begin{document}
\begin{table}
\begin{tabular}{ll}
Col1 & Col2 \
\multicolumn{2}{p{TABLEWIDTH}}{Some text longer than both columns.}
\end{tabular}
\end{table}
\end{document}
Is there a "variable" that stores the table width?