I've been using tabularx and \begin{tabularx}{\textwidth}{X X} to get two equally spaced columns with text aligned to the left. Example:
\begin{table}[H]
\begin{tabularx}{\textwidth}{X X}
die Kleidung & clothes \\
der Schuh & shoe
\end{tabularx}
\end{table}
The problem is that if I create a long table, the content goes outside the bottom page margins, like this:
How can I break this table automatically while keeping exactly the same alignment?
I've tried using the packages longtable, ltablex and ltxtable, unsuccessfully. Whenever I get the break to work properly at the end of the page, the alignment does not. See below.
However, this solution is still pretty bad... not only due to the alignment I can't fix, but also because it spoils all other tabularx tables. The next image shows how a table using \begin{tabularx}{\textwidth}{@{}Y|Y|Y@{}} becomes different. See how it changes below.
xltabularpackage. Its eponymous environment brings the functionalities oflongtabletotabularx(with the syntax of longtable –endhead,\endfirsthead&c.) – Bernard Apr 12 '20 at 22:07xltabularpackage on Overleaf manually, but it worked perfectly. I have spent so much time trying to solve this problem andxltabularpackage solved it so easily. It seems I don't even needtabularxanymore. You are awesome, thank you! Please, add this as an answer so I can accept it. :) – Ashitaka Apr 12 '20 at 23:22tabularx, but it has a slightly different syntax, due to the incorporation of features from long table. I believe that, just like long table, it does not float, so tabularx still has its usefulness for shorter tables – Bernard Apr 12 '20 at 23:39