# Setting multiple tables with the same width

by Marc Schwambach   Last Updated October 09, 2019 15:23 PM

I believe that my problem is really straightforward and there must be an really easy way to solve this issue, however as I am quite new with Latex. I have multiple tables, all of them containing different character lengths, and what I am looking for is to set them all to the same width

 \begin{table} [h]
\caption {Question} \label{tab:Question}
\begin{center}
\begin{tabular}{llrrrrrr}
\toprule
\multicolumn{2}{l}{x}  & Blue \\
\multicolumn{2}{l}{y}  & Green \\
\multicolumn{2}{l}{z}  & Red \\
\bottomrule
\end{tabular}
\end{center}
\end{table}


Now lets say that I am also using another table that look like this:

 \begin{table} [h]
\caption {Question} \label{tab:Question}
\begin{center}
\begin{tabular}{llrrrrrr}
\toprule
\multicolumn{2}{l}{x}  & Just a random text to illustrate \\
\multicolumn{2}{l}{y}  & my \\
\multicolumn{2}{l}{z}  & point \\
\bottomrule
\end{tabular}
\end{center}
\end{table}


Now when I compile the tables are naturally from different sizes, given the length that is filling every column. So, what I am looking for is to make of the same width size.

Hope that I managed to be succinct and precise. I would really appreciate your help on this one!

Tags :