雙列模式下,表格太長

雙列模式下,表格太長

我的文章是雙欄模式的。表格太長,單列超過頁長。如何讓它自動推到第二欄,出現這個警告:LaTeX: Float Too Large for page by 39.31897pt。

\begin{table}[htbp]
\caption{NOTATIONS}
\label{notationTable}
\begin{tabular}{lp{5cm}}
    \hline
    Notation        & Definition\\ \hline
    $n$             & Number of users/tasks\\
    .......
    long long content.............
    ......   
\end{tabular}
\end{table}

答案1

您可以longtblr使用tabularray

\documentclass[twocolumn]{article}
\usepackage{tabularray}
\usepackage{mwe}% <-- for testing purpose only
\begin{document}
\blindtext% <-- for testing purpose only
\begin{longtblr}[
  caption={NOTATIONS},
  label={notationTable},
  ]{
  colspec={lp{5cm}},
  hline{1,2}={solid},
  rowhead=1,
  row{1}={abovesep=3pt},
  }
  Notation        & Definition\\ 
  $n$             & Number of users/tasks\\
  $a$             & something\\
  $b$             & something\\
  $c$             & something\\
  $d$             & something\\
  $e$             & something\\
  $f$             & something\\
  $g$             & something\\
  $h$             & something\\
  $i$             & something\\
  $j$             & something\\
  $k$             & something\\
  $l$             & something\\
  $m$             & something\\
  $n$             & something\\
  $o$             & something\\
  $p$             & something\\
  $q$             & something\\
  $r$             & something\\
  $s$             & something\\
  $t$             & something\\
  $u$             & something\\
  $v$             & something\\
  $w$             & something\\
  $x$             & something\\
  $y$             & something\\
  $z$             & something\\
\end{longtblr}
\blindtext% <-- for testing purpose only
\end{document}

在此輸入影像描述

相關內容