I have two related tables that could naturally be displayed side-by-side but don't have to be. However, it saves space to display them side-by-side rather than one atop the other. If I do so without tweaking the alignment, it looks ugly:
\begin{center}
\(
\begin{array}{l|cccccc}
& A & B & C & D & E & F \\ \hline
x^A & 1 & 3 & 1 & 1 & 1 & 2 \\
x^B & 2 & 2 & 2 & 0 & 2 & 0 \\
x^C & 3 & 1 & 3 & 1 & 0 & 1
\end{array}
\)
\hspace{.5in}
\(
\begin{array}{l|cccc}
& x & y & z & w \\ \hline
q=1 & 1 & 0 & 0 & 1 \\
q\neq 1 & 0 & 1 & 1 & 1 \\
\end{array}
\)
\end{center}
Therefore, right now I am using the following hack to make the rows line up.
\begin{center}
\(
\begin{array}{l|cccccc}
& A & B & C & D & E & F \\ \hline
x^A & 1 & 3 & 1 & 1 & 1 & 2 \\
x^B & 2 & 2 & 2 & 0 & 2 & 0 \\
x^C & 3 & 1 & 3 & 1 & 0 & 1
\end{array}
\)
\hspace{.5in}
\(
\begin{array}{l|cccc}
& x & y & z & w \\ \hline
q=1 & 1 & 0 & 0 & 1 \\
q\neq 1 & 0 & 1 & 1 & 1 \\
\multicolumn{2}{c}{ } & & &
\end{array}
\)
\end{center}
Is this bad practice? If so, what is the right way to do it?
If the answer is "two tables that need to be side-by-side are two tables that need to be one table"--and therefore that these two tables should not be side-by-side--so be it.
\[
...\]
) and top-alignedarray
s:\begin{array}[t]{...}
.