I have looked in all previously related questions but I have not yet found the solution. The problem is the following: For a business report, the requirement is to report the data in two different tables as follows: - The tables will be put side by side. - The tables will span multiple pages. - On each table, one of the columns will have a wrapping content (e.g. defined as p{4cm}). As a consequence the lines of the two tables will not be aligned, so I cannot use a single table with the column doubled.
Ideally, the report creating program, should output the first table on the left of each page, and then go back to the first page and output the second table on the right of the pages.
How is this possible in Latex?
The accepted sloution leaves a large bottom margin as it can be seen by the following:
\documentclass[9pt]{article}
\usepackage{xtab}
\usepackage{paracol}
\def\rowcontenta{%
a & 0 \\
a & 1 \\
a & 2 \\
a & 3 \\
a & 4 \\
a & 5 \\
a & 6 \\
a & 7 \\
a & 8 \\
a & 9 \\
}
\def\rowcontentb{%
b & 0 \\
b & 1 \\
b & 2 \\
b & 3 \\
b & 4 \\
b & 5 \\
b & 6 \\
b & 7 \\
b & 8 \\
b & 9 \\
}
\begin{document}
\begin{paracol}{2}
\begin{xtabular}{|l|l|}
\rowcontenta
\rowcontenta
\rowcontenta
\rowcontenta
\rowcontenta
\rowcontenta
\end{xtabular}
\switchcolumn
\begin{xtabular}{|l|l|}
\rowcontentb
\rowcontentb
\rowcontentb
\rowcontentb
\rowcontentb
\rowcontentb
\end{xtabular}
\end{paracol}
\end{document}
Related: Too large bottom margin with xtab (or supertabular)
