在两列类中插入一个很长的表格(大约 4 页)

在两列类中插入一个很长的表格(大约 4 页)

我必须在tex文件中插入一个很长的表格,用于两列类,例如:\documentclass[5p]{elsarticle}

问题是:该longtable包在此类中不起作用(因为它是两列类)。此外,使用包xtabsupertabular使表仅限于一列。

有没有办法将表格插入到上述两列类中,而表格则位于单列文档中(表格的宽度要宽得多,只能放在两列中的一列)。问题是:为什么表格在页面中间被截断。\strip环境中的典型代码:

\documentclass[5p,times]{elsarticle}
\usepackage{cuted}
\usepackage{array}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{xtab}
\usepackage{booktabs}
\usepackage{lipsum}
\begin{document}    
\begin{frontmatter}
\title{Title}
\author{Name}

\begin{abstract}
The abstract.
\end{abstract}

\end{frontmatter}

\section{Introduction}

\lipsum[1-10]

\topcaption{This is the caption} \label{tab:xtab}
\tablefirsthead{\hline \multicolumn{1}{l}{\textbf{Command}} &
    \multicolumn{1}{l}{Effect} \\ \hline }
\tablehead{\multicolumn{2}{l}%
    {{\captionsize\bfseries \tablename\ \thetable{} --
            continued from previous page}} \\
    \hline \multicolumn{1}{l}{\textbf{Command}} &
    \multicolumn{1}{l}{\textbf{Effect}} \\ \hline }
\tablelasthead{\multicolumn{2}{c}%
    {{\captionsize\bfseries \tablename\ \thetable{} --
            concluded from previous page}} \\
    \hline \multicolumn{1}{l}{\textbf{Command}} &
    \multicolumn{1}{l}{\textbf{Effect}} \\ \hline }
\tabletail{\hline \multicolumn{2}{r}{{Continued on next page}} \\ \hline}
\tablelasttail{\hline}
\begin{strip}
\begin{center}
    \begin{xtabular}{p{0.4\textwidth}p{0.4\textwidth}}
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
        content & some text\\
    \end{xtabular}%
\end{center}
\end{strip}

\lipsum[1-10]

\end{document}

相关内容