I have two long tables, that I want side-by-side. When I use country codes they are OK, but as I want to use country names instead, they get too wide and overlap. As far as I can see, there is still plenty of space left on the page for the tables to be side by side without overlapping. I don't need to make the tables look very nice (yet), I just need them to be readable.
\documentclass[a4paper,12pt,times]{article}
\begin{document}
\begin{table}
\centering
\caption{blablabla}
\resizebox{0.6\textwidth}{!}{
\begin{minipage}{.5\linewidth}
\centering
\begin{tabular}{lc|lc}
\multicolumn{2}{l}{OLS} & \multicolumn{2}{r}{OLS}\tabularnewline
\hline
\multicolumn{4}{c}{Negative}\tabularnewline
\hline
A very very long country name & -0.00 & A very very long country name & -0.00\tabularnewline
A very very long country name & -0.00 & A very very long country name & -0.00\tabularnewline
\end{tabular}
\end{minipage}
\hfill
\begin{minipage}{.5\linewidth}
\centering
\begin{tabular}{lc|lc}
\multicolumn{2}{l}{OLS} & \multicolumn{2}{r}{OLS}\tabularnewline
\hline
\multicolumn{4}{c}{Negative}\tabularnewline
\hline
A very very long country name & -1.00 & A very very long country name & -0.00\tabularnewline
A very very long country name & -0.4 & A very very long country name & -0.01\tabularnewline
\end{tabular}
\end{minipage}}
\end{table}
\end{document}
Best Answer
The tables are overlapping because you squeeze them into minipages of fixed width. Maybe the following snippet helps you to find a better solution. Notice, however, that I had to guess a document class and a preamble.