latex中longtable双栏换页、表格和标题宽度设置 | 您所在的位置:网站首页 › latex中英文双标题 › latex中longtable双栏换页、表格和标题宽度设置 |
\setlength{\tabcolsep}{5.2mm}{ %set the table width
\setlength{\LTcapwidth}{7in} %set the table caption width
\begin{longtable*}{cccccccc}
\caption{\label{tab:table1}
$\gamma$-ray energies, excitation energies, relative $\gamma$-ray intensities, ADO ratios, the linear polarizations, and spin-parity assignments in 62Cu.
}\\
\hline \hline
$E$$_{\gamma}$(keV)&$E$$_{i}$&$E$$_{f}$& $I$$_{\gamma}$&$R$$_{ADO}$&$A$$_{p}$&$I$$^{\pi}_{i}$$\rightarrow$$I$$^{\pi}_{f}$\\*
\hline
\endfirsthead
\multicolumn{8}{c}{TABLE~\ref{tab:table1} (continued). }\\ \hline \hline
$E$$_{\gamma}$(keV)&$E$$_{i}$&$E$$_{f}$& $I$$_{\gamma}$&$R$$_{ADO}$&linear polarization&$I$$^{\pi}_{i}$$\rightarrow$$I$$^{\pi}_{f}$\\*
\hline
\endhead
\colrule
\endfoot
.......
.......
.......
\end{longtable*}}
前两行代码是设置标题宽度,表格宽度,重要!!!! 使用longtable的注意事项: (1)使用\begin{longtable} ... \end{longtable}时,外面不能再套一层 \begin{table} ... \end{table} 否则,longtable是不能实现跨页的。 (2)在\begin{longtable} ... \end{longtable}中插入\caption{...} \label{...}时,后面一定要加两个反斜杠(\\) ,不然也会出错。 (3)longtable在双栏或者多栏中使用, 加*号。 \begin{longtable*} ... \end{longtable*} % 第一页表头内容 \endfirsthead % 跨页表头内容 \endhead % 跨页表尾内容 \endfoot % 最后一页表尾内容 \endlastfoot参考http://sparkandshine.net/latex-use-notes-longtable-with-examples/#1 ctex.org/documen\setlength{\tabcolsep}ts/packages/table/longtable.pdf APS投稿模板revtex-summary.tex |
CopyRight 2018-2019 实验室设备网 版权所有 |