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

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值