页面底部的超级表格位置错误

页面底部的超级表格位置错误

我想写一个太长的表格,无法放在页面中间。所以我想到使用supertabular。我的代码是

\documentclass[11pt]{article}
\usepackage{supertabular}
\begin{document}
\begin{center}

\tablefirsthead{\hline
        \multicolumn{3}{|c|}{$\mathbf{^{210}Po/V_{drift}=800V}$} &     \multicolumn{3}{|c|}{$\mathbf{^{55}Fe/V_{drift}=800V}$}\\
    \hline}

\tablehead{%
\hline
\multicolumn{6}{|r|}{next page $...$ } \\
\hline
}
\tabletail{%
\hline   
\multicolumn{6}{|r|}{next page $...$ } \\
\hline
}
\tablelasttail{
\hline
}
\bottomcaption{electron  transparency}
    \label{tab:mm3trans}
\begin{supertabular}[H]{|C{1cm}|C{2cm}|C{1cm}||C{1cm}|C{2cm}|C{1cm}|}
%       \hline
%       \multicolumn{3}{|c|}{$\mathbf{^{210}Po/V_{drift}=800V}$} & \multicolumn{3}    {|c|}{$\mathbf{^{55}Fe/V_{drift}=800V}$}\\
%       \hline
        $V_{mesh}$ \newline ($V$) & Centroid & Gain & $V_{mesh}$ \newline ($V$) & Centroid & Gain \newline ($10^3$)\\
        \hline
        ${}$ & ${}$ & ${}$& ${}$ & ${}$ & ${}$  \\
        \hline
        $500$ & $30$ & $220$ & $560$ & $22$ & $1.06$ \\
        \hline
    $535$ & $67$ & $490$ & $565$ & $25$ & $1.20$ \\
    \hline
    $540$ & $76$ & $556$ & $570$ & $29$ & $1.39$ \\
    \hline
    $545$ & $85$ & $622$ & $575$ & $33$ & $1.58$ \\
    \hline
    $550$ & $97$ & $710$ & $580$ & $38$ & $1.82$ \\
    \hline
    $555$ & $103$ & $754$ & $585$ & $43$ & $2.06$ \\
    \hline
    $560$ & $116$ & $849$ & $590$ & $48$ & $2.30$ \\
    \hline
    $565$ & $131$ & $959$ & $595$ & $56$ & $2.69$ \\
    \hline
    $570$ & $150$ & $1098$ & $600$ & $63$ & $3.02$ \\
    \hline
    $-$ &   $-$ &   $-$ &     $605$ & $72$ & $3.46$ \\
    \hline
    $-$ &   $-$ &   $-$ &     $610$ & $83$ & $3.98$ \\
    \hline
$-$ &   $-$ & $-$ &     $615$ & $94$ & $4.51$ \\
    \hline
    $-$ &   $-$ & $-$ &     $620$ & $106$ & $5.09$ \\
    \hline
    $-$ &   $-$ & $-$ &     $625$ & $122$ & $5.86$ \\
    \hline
    $-$ &   $-$ & $-$ &     $630$ & $138$ & $6.62$ \\
    \hline
    $-$ &   $-$ & $-$ &     $635$ & $156$ & $7.49$ \\
    \hline
    $-$ &   $-$ & $-$ &     $640$ & $180$ & $8.64$ \\
    \hline
    $-$ &   $-$ & $-$ &     $645$ & $204$ & $9.79$ \\
    \hline
    $-$ &   $-$ & $-$ &     $650$ & $235$ & $11.3$ \\
    \hline
    $-$ &   $-$ & $-$ &     $655$ & $263$ & $12.6$ \\
    \hline
    \end{supertabular}
\end{center}
\end{document}

令人不安的是,有一页是半满的。所以我想在页面中间添加这个表格。不幸的是,表格打印在下一页,它在某个点处分裂并继续在下一页上。

对此有什么想法吗?

答案1

编译原始文件后,我发现了 30 多个错误。经过一些小改动后,例如

%\begin{supertabular}[H]{|C{1cm}|C{2cm}|C{1cm}||C{1cm}|C{2cm}|C{1cm}|}
\begin{supertabular}[H]{|r|r|r||c|c|c|}

或者

%\begin{supertabular}[H]{|C{1cm}|C{2cm}|C{1cm}||C{1cm}|C{2cm}|C{1cm}|}
\begin{supertabular}[H]{|p{1cm}|p{2cm}|p{1cm}||p{1cm}|p{2cm}|p{1cm}|}

一切正常,页面上有两个表格。(当然表格中有一些差异。)

相关内容