繁体   English   中英

如何使用 latex 超级表格修复长表?

[英]how to fix long table with latex supertabular?

latex supertabular 有以下问题。 这是一个测试文件。 桌子很大,但分成了两半。

该文件是两列

\begin{table*}[!htb]
  \scriptsize
  \onehalfspacing
  \centering
  \caption{MCDA articles about internal process applications:}
  \begin{supertabular}{|l|p{5cm}|p{5cm}|p{0.7cm}|l|}
     \hline
     \normalfont XXXXXXXX & XXXXXXX & XXXXXXX& XXXXXXX& XXXXXXX \\
     \hline
     Better Costs & How to prioritize Cloud computing on companies using  MCDA model & Prioritizing the Critical Factors of Cloud Computing Adoption Using Multi-criteria Decision-making Techniques & 2020 & ~\cite{cite13}\\
     \hline
     \end{supertabular}
\end{table*}

在此处输入图像描述

尝试longtable环境,并设置extracolsep命令。 请看下面的例子

\begin{longtable}{@{\hspace*{6pt}\extracolsep{\fill}}lrrrr}
\caption{Fractional atomic coordinates and isotropic or equivalent isotropic displacement parameters ({\AA}\textsuperscript{2}).\label{tab:2}}\\
\toprule
Atom & \textit{x} & \textit{y} & \textit{z} & \textit{U}\textsubscript{iso}*/\textit{U}\textsubscript{eq} \\
\midrule
Cu1 & 0.5000 & 0.21986(6) & 0.7500 & 0.04474(17) \\
Cl1 & 0.5000 & 0.54022(12) & 0.7500 & 0.0546(3) \\
C1 & 0.56443(10) & $-$0.0541(3) & 0.6415(2) & 0.0435(6) \\
H1 & 0.5458 & $-$0.1399 & 0.6832 & 0.052* \\
C2 & 0.60098(12) & $-$0.1196(3) & 0.5706(3) & 0.0517(6) \\
H2 & 0.6064 & $-$0.2478 & 0.5631 & 0.062* \\
C3 & 0.62958(10) & 0.0057(3) & 0.5104(2) & 0.0441(6) \\
H3 & 0.6549 & $-$0.0370 & 0.4629 & 0.053* \\
C4 & 0.62047(9) & 0.1942(3) & 0.5212(2) & 0.0337(5) \\
C5 & 0.58179(10) & 0.2498(3) & 0.5921(2) & 0.0362(5) \\
H5 & 0.5744 & 0.2222 & 0.5975 & 0.043* \\
C6 & 0.65002(10) & 0.5555(3) & 0.4571(2) & 0.0391(5) \\
H6A & 0.6725 & 0.2769 & 0.55454 & 0.047* \\
H6B & 0.6196 & 0.4180 & 0.3963 & 0.047* \\
Cu1 & 0.5000 & 0.21986(6) & 0.7500 & 0.04474(17) \\
Cl1 & 0.5000 & 0.54022(12) & 0.7500 & 0.0546(3) \\
C1 & 0.56443(10) & $-$0.0541(3) & 0.6415(2) & 0.0435(6) \\
H1 & 0.5458 & $-$0.1399 & 0.6832 & 0.052* \\
C2 & 0.60098(12) & $-$0.1196(3) & 0.5706(3) & 0.0517(6) \\
H2 & 0.6064 & $-$0.2478 & 0.5631 & 0.062* \\
C3 & 0.62958(10) & 0.0057(3) & 0.5104(2) & 0.0441(6) \\
H3 & 0.6549 & $-$0.0370 & 0.4629 & 0.053* \\
C4 & 0.62047(9) & 0.1942(3) & 0.5212(2) & 0.0337(5) \\
C5 & 0.58179(10) & 0.2498(3) & 0.5921(2) & 0.0362(5) \\
H5 & 0.5744 & 0.3772 & 0.5975 & 0.043* \\
C6 & 0.65002(10) & 0.3382(3) & 0.4571(2) & 0.0391(5) \\
H6A & 0.6725 & 0.2769 & 0.4044 & 0.047* \\
H6B & 0.6196 & 0.4180 & 0.3963 & 0.047* \\
C7 & 0.71894(9) & 0.5955(3) & 0.5266(2) & 0.0308(4) \\
C8 & 0.75543(9) & 0.7016(3) & 0.455(2) & 0.0333(5) \\
H8 & 0.7592 & 0.6691 & 0.7218 & 0.040* \\
C9 & 0.78655(9) & 0.8557(3) & 0.6075(2) & 0.0325(5) \\
H9 & 0.8109 & 0.9260 & 0.6797 & 0.039* \\
N1 & 0.55450(8) & 0.1291(3) & 0.65311(19) & 0.0382(4) \\
O1 & 0.68951(7) & 0.4469(2) & 0.56254(14) & 0.0420(4) \\
\bottomrule
\end{longtable}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM