colocando 4 tabelas em uma grade 2 por 2

colocando 4 tabelas em uma grade 2 por 2

Tenho 4 tabelas abaixo:

\documentclass[11pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}
\begin{document}

 \begin{tabular}{||c c c||} 
 \hline
 Points & X(m) & t(s)\\ [0.5ex] 
 \hline\hline
 0 & 0 & 0\\ 
 \hline
 1 & 2 & 1.48 \\
 \hline
 2 & 4 & 2.76 \\
 \hline
 3 & 6 & 4.02 \\
 \hline
 4 & 8 & 5.22 \\ 
 \hline 
 5 & 10 & 6.43 \\
 \hline
 6 & 12 & 7.76 \\ 
 [1ex] 
 \hline
 \end{tabular}

 \begin{tabular}{||c c c||} 
 \hline
 Points & X(m) & t(s)\\ [0.5ex] 
 \hline\hline
 0 & 12 & 0\\  
 \hline
 1 & 10 & 1.53 \\
 \hline
 2 & 8 & 2.94\\
 \hline
 3 & 6 & 4.53 \\
 \hline
 4 & 4 & 5.96 \\ 
 \hline 
 5 & 2 & 7.36 \\
 \hline
 6 & 0 & 8.83 \\ 
 [1ex] 
 \hline
 \end{tabular}

 \begin{tabular}{||c c c||} 
 \hline
 Points & X(m) & t(s)\\ [0.5ex] 
 \hline\hline
 0 & 0 & 0\\ 
 \hline
 1 & 2 & 1.48 \\
 \hline
 2 & 4 & 2.76 \\
 \hline
 3 & 6 & 4.02 \\
 \hline
 4 & 8 & 5.22 \\ 
 \hline 
 5 & 10 & 6.43 \\
 \hline
 6 & 12 & 7.76 \\ 
 [1ex] 
 \hline
 \end{tabular}

 \begin{tabular}{||c c c||} 
 \hline
 Points & X(m) & t(s)\\ [0.5ex] 
 \hline\hline
 0 & 12 & 0\\ 
 \hline
 1 & 10 & 1.80 \\
 \hline
 2 & 8 & 3.46 \\
 \hline
 3 & 6 & 4.94 \\
 \hline
 4 & 4 & 6.49 \\ 
 \hline 
 5 & 2 & 8.20 \\
 \hline
 6 & 0 & 9.85 \\ 
 [1ex] 
 \hline
 \end{tabular}
\end{document}

Gostaria de organizar as quatro mesas em uma grade 2 por 2, porque no momento as mesas ocupam muito espaço. Como posso fazer isso?

Responder1

Linhas vazias entre suas tabelas iniciam cada tabela em uma nova linha. Exclua-os entre as duas primeiras e as duas últimas tabelas. Por exemplo da seguinte forma:

\documentclass[11pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}

\begin{document}
\begin{center}
 \begin{tabular}{||c c c||}
 \hline
 Points & X(m) & t(s)\\ [0.5ex]
 \hline\hline
 0 & 0 & 0\\
 \hline
 1 & 2 & 1.48 \\
 \hline
 2 & 4 & 2.76 \\
 \hline
 3 & 6 & 4.02 \\
 \hline
 4 & 8 & 5.22 \\
 \hline
 5 & 10 & 6.43 \\
 \hline
 6 & 12 & 7.76 \\
 [1ex]
 \hline
 \end{tabular}
\hfil   %<---
 \begin{tabular}{||c c c||}
 \hline
 Points & X(m) & t(s)\\ [0.5ex]
 \hline\hline
 0 & 12 & 0\\
 \hline
 1 & 10 & 1.53 \\
 \hline
 2 & 8 & 2.94\\
 \hline
 3 & 6 & 4.53 \\
 \hline
 4 & 4 & 5.96 \\
 \hline
 5 & 2 & 7.36 \\
 \hline
 6 & 0 & 8.83 \\
 [1ex]
 \hline
 \end{tabular}

\medskip
 \begin{tabular}{||c c c||}
 \hline
 Points & X(m) & t(s)\\ [0.5ex]
 \hline\hline
 0 & 0 & 0\\
 \hline
 1 & 2 & 1.48 \\
 \hline
 2 & 4 & 2.76 \\
 \hline
 3 & 6 & 4.02 \\
 \hline
 4 & 8 & 5.22 \\
 \hline
 5 & 10 & 6.43 \\
 \hline
 6 & 12 & 7.76 \\
 [1ex]
 \hline
 \end{tabular}
\hfil   %<---
 \begin{tabular}{||c c c||}
 \hline
 Points & X(m) & t(s)\\ [0.5ex]
 \hline\hline
 0 & 12 & 0\\
 \hline
 1 & 10 & 1.80 \\
 \hline
 2 & 8 & 3.46 \\
 \hline
 3 & 6 & 4.94 \\
 \hline
 4 & 4 & 6.49 \\
 \hline
 5 & 2 & 8.20 \\
 \hline
 6 & 0 & 9.85 \\
 [1ex]
 \hline
 \end{tabular}
\end{center}
\end{document}

insira a descrição da imagem aqui

informação relacionada