I want to use longtable as tabularx, that is setting the width of the table and using the X cell type.
\begin{tabularx}{\textwidth}{|>{\footnotesize}L{5.7cm}|>{\footnotesize}L{6cm}|>{\footnotesize}C{1.7cm}|>{\footnotesize}X|}
I want something similar but with longtable as the table is extending multiple pages.
I have found tabu package but it seems that it is deprecated and people is advicing not to use it.
Any help
ltablex
. For example see tex.stackexchange.com/questions/368444/… (answer in addendum).\tabcolsep
so the last column isp{\dimexpr\textwidth-8\tabcolsep-5\arrayrulewidth-5.7cm-6cm-1.7cm}