
Я могу разделить столбцы в своих таблицах линиями, добавив |
в начале символ «a», как в \begin{tabular}{ |l|l| }
.
Как разделить столбцы пробелами так, чтобы они были выровнены, как в следующей таблице?
Решение, которое сработало для меня:
\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}
решение1
Вы можете настроить интервал между отдельными столбцами по своему усмотрению, @{<length>}
как показано в следующем MWE:
\documentclass{article}
\begin{document}
\begin{tabular}{ll@{\hspace{20pt}}ll}
1 & 2 & 3 & 4\\
\end{tabular}
\end{document}