景观桌

景观桌

我有下表

\begin{sidewaystable}
\caption{Add caption}
    \begin{tabular}{cccc}         & a     & b     & c \\
  %  \midrule
    1     & 835344,615874329 + 400069,959720461i & 1107439,53335601 + 476686,978014529i & 905159,269217538 + 673912,871163914i \\
    2     & 832524,719513344 + 396241,014807440i & 1104704,13980475 + 470232,023098608i & 902697,366045792 + 667885,450741210i \\
    3     & 653193,492308602 + 414438,396024549i & 947291,747098637 + 493556,580041306i & 1221033,69315666 + 515918,714008828i \\
    4     & 637500,000000000 + 395087,015731978i & 900000,000000000 + 435889,894354067i & 1187500,00000000 + 390312,374899900i \\
  %  \bottomrule
    \end{tabular}%
  \label{tab:addlabel}%
\end{sidewaystable}

在此处输入图片描述

我怎样才能将两个或更多表格放在同一页面上,如下所示?

在此处输入图片描述

答案1

您可以将两个tabulars 放在同一个sidewaystable环境中,例如

\begin{sidewaystable}
\caption{}\label{}
\begin{tabular}{ccc}
content
\end{tabular}
%
\caption{}\label{}
\begin{tabular}{ccc}
content
\end{tabular}
\end{sidewaystable}

完整示例

\documentclass{article}
\usepackage{rotating,booktabs}
\begin{document}
  \begin{sidewaystable}
  %% first tabular
  \caption{Add caption}
    \begin{tabular}{cccc}         & a     & b     & c \\
   \midrule
    1     & 835344,615874329 + 400069,959720461i & 1107439,53335601 + 476686,978014529i & 905159,269217538 + 673912,871163914i \\
    2     & 832524,719513344 + 396241,014807440i & 1104704,13980475 + 470232,023098608i & 902697,366045792 + 667885,450741210i \\
    3     & 653193,492308602 + 414438,396024549i & 947291,747098637 + 493556,580041306i & 1221033,69315666 + 515918,714008828i \\
    4     & 637500,000000000 + 395087,015731978i & 900000,000000000 + 435889,894354067i & 1187500,00000000 + 390312,374899900i \\
    \bottomrule
    \end{tabular}%
  \label{tab:addlabelgg}%
  %% second tabular
  \caption{Add caption for second table}
    \begin{tabular}{cccc}         & a     & b     & c \\
    \midrule
    1     & 835344,615874329 + 400069,959720461i & 1107439,53335601 + 476686,978014529i & 905159,269217538 + 673912,871163914i \\
    2     & 832524,719513344 + 396241,014807440i & 1104704,13980475 + 470232,023098608i & 902697,366045792 + 667885,450741210i \\
    3     & 653193,492308602 + 414438,396024549i & 947291,747098637 + 493556,580041306i & 1221033,69315666 + 515918,714008828i \\
    4     & 637500,000000000 + 395087,015731978i & 900000,000000000 + 435889,894354067i & 1187500,00000000 + 390312,374899900i \\
    \bottomrule
    \end{tabular}%
  \label{tab:addlabel}%
\end{sidewaystable}
\end{document}

在此处输入图片描述

相关内容