Cómo crear tablas con espacios como bordes entre columnas

Cómo crear tablas con espacios como bordes entre columnas

Puedo separar columnas en mis tablas con líneas agregando |al principio como en \begin{tabular}{ |l|l| }.

¿Cómo separo columnas con espacio para que queden alineadas como se hace en la siguiente tabla?

ingrese la descripción de la imagen aquí

Solución que funcionó para mí:

 \begin{longtable}[c]{ll@{\hspace{30pt}}ll}
 \multicolumn{2}{}{}
 \hline
 MNIST &  & CIFAR-10  & \\

 \hline
 \endfirsthead
 \hline
 \endlastfoot

 Conv.ReLU & 3 x 3 x 32 & Conv.ReLU & 3 x 3 x 96\\
 Conv.ReLU & 3 x 3 x 32 & like this\\
 Max Pooling & 2 x 2 & like this\\
 Conv.ReLU & 3 x 3 x 64 & like this\\
 Conv.ReLU & 3 x 3 x 64 & like this\\
 Max Pooling & 2 x 2 & like this\\
 Dense.ReLU & 200 & like this\\
 Dense.ReLU & 200 & like this\\
 Softmax & 10 & like this\\

 \end{longtable}

Respuesta1

Puede ajustar el espacio entre columnas individuales a su gusto usando @{<length>}como se muestra en el siguiente MWE:

\documentclass{article}

\begin{document}

\begin{tabular}{ll@{\hspace{20pt}}ll}
1 & 2 & 3 & 4\\
\end{tabular}

\end{document}

información relacionada