答案1
适用table
于单柱浮子和table*
双柱浮子。
\documentclass[twocolumn]{article}
\usepackage{booktabs,chemformula}
\begin{document}
\section{Electronic Structure}
\input knuth
\begin{table}[h]
\centering
\begin{tabular}{@{}ccc@{}}
\toprule
Compound & Phase & Exp.\ Band Gap \\
\midrule
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\ch{VO_2} & Metallic & 0.00 \\
\bottomrule
\end{tabular}
\caption{Sample table}
\end{table}
\input bryson
\section{Charge Transfer}
\input ward
\begin{table*}[h]
\centering
\begin{tabular}{@{}ccccc@{}}
\toprule
Compound & Phase & Lattice Type & Space Group & Exp.\ Band Gap \\
\midrule
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\ch{VO_2} & Metallic & Tetragonal & P4\textsubscript{2}/mnm & 0.00 \\
\bottomrule
\end{tabular}
\caption{Sample table}
\end{table*}
\input ward
\input zapf
\input darwin
\input ward
\input darwin
\end{document}
答案2
@Henri Menke 已经回答得很详细了,我只想补充几行以供将来参考。主要区别在于将表格放在一列中\begin{tabular}{@{}ccc@{}}
和将表格放在一列中的主要区别在于\begin{tabular}{c|c|c|c|c}
。要将表格/图形可视化为两列模板,只需将其设为浮点数,例如,\begin{table*} ... \end{table*}
或\begin{figure*}...\end{figure*}