用Latex写文章时,写过的表格。
\begin{table}[H]%[htbp]
\caption{Collapsed data of $\chi_1^x$ }
\label{table2}
\centering
\begin{tabular}{lcccc}
\toprule
& \multicolumn{2}{c}{Origin data}
&\multicolumn{2}{c}{Collapse data} \\
\cmidrule{2-5}
Lattice size & $\Delta x$&$\Delta y$& $\Delta x^{'}$&$\Delta y^{'}$ \\
\midrule
N=50&0.01&6000.1&1.001&3000.1 \\
N=100&0.02&6000.2&1.002&3000.2\\
N=200&0.03&6000.3&1.003&3000.3\\
N=400&0.04&6000.4&1.004&3000.4 \\
N=600&0.05&6000.5&1.005&3000.5 \\
N=800&0.06&6000.6&1.006&3000.6 \\
\bottomrule
\end{tabular}
\end{table}
\begin{table}[H]%[htbp]
\caption{Fitting coefficients for different lattice sizes }
\label{table1}
\centering
\begin{tabular}{lccc}
\toprule
Lattice size &$\delta$ &$\Delta_0$ &$\Delta_{m1}$\\
\midrule
N=20&2.0E-4&1.2E-4&0.308\\
N=30&3.0E-5&1.3E-5&0.308\\
N=40&4.0E-6&1.4E-6&0.308\\
N=60&6.0E-9&1.6E-9&0.308\\
N=70&7.0E-11&1.7E-11&0.308 \\
\bottomrule
\end{tabular}
\end{table}
上面表格的第一行和最后一行是加粗的三线表格;
下面的表格是第一行及最后一行是双线的三线表格。
\begin{ruledtabular}
\begin{table}[H]%[htbp]
\caption{Collapsed data of $\chi_1^x$ }
\label{table2}
\centering
\begin{tabular}{lcccc}
& \multicolumn{2}{c}{Origin data}
&\multicolumn{2}{c}{Collapse data} \\
\cmidrule{2-5}
Lattice size & $\Delta x$&$\Delta y$& $\Delta x^{'}$&$\Delta y^{'}$ \\
\midrule
N=50&0.01&6000.1&1.001&3000.1 \\
N=100&0.02&6000.2&1.002&3000.2\\
N=200&0.03&6000.3&1.003&3000.3\\
N=400&0.04&6000.4&1.004&3000.4 \\
N=600&0.05&6000.5&1.005&3000.5 \\
N=800&0.06&6000.6&1.006&3000.6 \\
\end{tabular}
\end{table}
\end{ruledtabular}
\begin{ruledtabular}
\begin{table}[H]%[htbp]
\caption{Fitting coefficients for different lattice sizes }
\label{table1}
\centering
\begin{tabular}{lccc}
Lattice size &$\delta$ &$\Delta_0$ &$\Delta_{m1}$\\
\midrule
N=20&2.0E-4&1.2E-4&0.308\\
N=30&3.0E-5&1.3E-5&0.308\\
N=40&4.0E-6&1.4E-6&0.308\\
N=60&6.0E-9&1.6E-9&0.308\\
N=70&7.0E-11&1.7E-11&0.308 \\
\end{tabular}
\end{table}
\end{ruledtabular}