
2 列形式で記事を書くように依頼されましたが、7 つの列と多数の行を含む大きな表があります。表をページ全体の幅に収める必要があり、次のページに続く必要もあります。多くの解決策を試しましたが、どの解決策にも問題があります。たとえば、longtable パッケージを使用すると、2 列と 1 列の間で強制的に変換され、問題が発生します。表がページの途中で終了すると、ページの残りの部分は空白のままになり、記事の残りの部分は新しいページの先頭に続きます。これは望ましくないことです。また、tabular* も使用しましたが、表が次のページに続きません。この問題の理想的な解決策を持っている人、または必要な形式を含むサンプルの .tex ファイルを持っている人はいませんか? 必要な内容の例として画像を添付します。2番目の写真は、表の終わりの後の空きスペースの問題です
編集: これは私のTEXコードです
\documentclass[fleqn,10pt]{SelfArx}
\usepackage[english]{babel} % Specify a different language here - english by default
\usepackage{lipsum} % Required to insert dummy text. To be removed otherwise
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{cite}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{multirow}
\usepackage{xtab,afterpage}
\graphicspath{ {./} }
\usepackage{fancyhdr}
\usepackage{xpatch}
\newcommand{\ignore}[1]{}
\setlength{\columnsep}{0.55cm} text
\setlength{\fboxrule}{0.75pt}
\begin{document}
% the content of Article in 2 column mode
\onecolumn
\begin{center}
\begin{longtable}{|l|l|l|}
\caption[Short caption]{Long captions for the long table.} \label{tab:long1} \\
% First head
\hline
\multicolumn{1}{|c|}{\textbf{Time (s)}} &
\multicolumn{1}{c|}{\textbf{Triple chosen}} &
\multicolumn{1}{c|}{\textbf{Other feasible triples}} \\ \hline
\endfirsthead
% Standard head
\multicolumn{3}{c}
{{\tablename\ \thetable{} -- continued from previous page.}} \\
\hline
\multicolumn{1}{|c|}{\textbf{Time (s)}} &
\multicolumn{1}{c|}{\textbf{Triple chosen}} &
\multicolumn{1}{c|}{\textbf{Other feasible triples}} \\ \hline
\endhead
% Footnote
\hline \multicolumn{3}{|r|}{{Continued on next page...}} \\ \hline
\endfoot
% Last footnote
\hline
\endlastfoot
% The table
col1 & col2 & col3 \\
col1 & col2 & col3 \\
col1 & col2 & col3 \\
..........................
col1 & col2 & col3 \\
col1 & col2 & col3 \\
col1 & col2 & col3 \\
col1 & col2 & col3 \\
\end{longtable}
\end{center}
\twocolumn
%rest of article
\end{document}
答え1
誰でも問題を回避できるように、少なくとも MWE を提供する必要があります。
私の理解によれば、パッケージlongtblr
のオプションを使用してtabularray
必要なテーブルを生成できます。