Latex并排摆放两张表格
这里自己记录一下Latex并排摆放两张表格的方法,标题在表格的下方。
\begin{minipage}{\textwidth}
\begin{minipage}[t]{0.48\textwidth}
\makeatletter\def\@captype{table}
\begin{tabular}{ccc}
\toprule
Name & Description & Size ($\mu$m) \\
\midrule
Dendrite & Input terminal & $\sim$100 \\
Axon & Output terminal & $\sim$10 \\
Soma & Cell body & up to $10^6$ \\
\bottomrule
\end{tabular}
\caption{Sample table title}
\label{sample-table}
\end{minipage}
\begin{minipage}[t]{0.48\textwidth}
\makeatletter\def\@captype{table}
\begin{tabular}{ccc}
\toprule
Name & Description & Size ($\mu$m) \\
\midrule
Dendrite & Input terminal & $\sim$100 \\
Axon & Output terminal & $\sim$10 \\
Soma & Cell body & up to $10^6$ \\
\bottomrule
\end{tabular}
\caption{Sample table title}
\label{sample-table}
\end{minipage}
\end{minipage}
参考
https://blog.csdn.net/jogue/article/details/78646397