提问于:
浏览数:
2802
## 编译环境
操作系统
* [10 ] Windows 7/8/10
* [ ] macOS
* [ ] Linux
`若需勾选,请把[ ]改成[x]`
Tex发行版
* [2019 ] TexLive `年份`
* [ ] MikTeX `版本号`
* [ ] CTeX
`若需勾选,请把[ ]改成[x]`
## 我的问题
如何将旋转后的两个表格放到同一页中?
```
\documentclass{article}
\usepackage{geometry}
\geometry{left=1in,right=1in,top=1in,bottom=1in}
\renewcommand{\baselinestretch}{2.0}
\usepackage[pdftex]{graphicx}\usepackage{xcolor}
\usepackage{setspace}
\usepackage{rotating}
\usepackage{float}
\begin{document}
This paragraph are used to test the width of pages. The question is that why
two table are not listed in the same page while there are sufficient blank.
\begin{sidewaystable}[]
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{10pt}
\caption{Results 1} \label{Table1}
%\[2mm]
\centering
\begin{tabular}{lccccccc}
\hline
Parameter & $\epsilon=0.2 $ & $\epsilon=0.4 $ & $\epsilon=0.6 $
& $\epsilon=0.8 $ & $\epsilon=1 $ & $\epsilon=2 $ & $\epsilon=3 $ \\
\hline
$C=0.3$ & (1.5250,11.7501) & (1.5250,11.7501) & (1.5250,11.7501) &
(1.5243,11.7574) & (1.8463,6.3090) & (1.8388,6.3194) &
(1.7228,8.8904) \\
$C=0.4$ & (1.5759,10.9927) & (1.5253,11.7461) & (1.5250,11.749) &
(1.6935,9.3009) & (1.8460,6.3092) & (1.8388,6.3194) & (1.7788,8.0317)
\\
$C=0.7$ & (1.7011,8.7172) & (1.7471,8.0070) & (1.7931,7.2965) &
(1.8532,6.3053) & (1.8451,6.3101) & (1.8384,6.3200) & (1.7788,8.0317) \\
$C=1$ & (1.7012,8.7172) & (1.7471,8.0069) & (1.8415,6.3149) &
(1.8522,6.3051)
& (1.8851,5.8759) & (1.8500,6.1850) & (1.7788,8.0317) \\
$C=2$ & (1.8163,6.4367) & (1.8308,6.3363) & (1.8426,6.3133) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=3$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=4$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=5$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=10$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=20$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=50$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=100$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.185) & (1.8049,7.4512) \\
\hline
\end{tabular}
\end{sidewaystable}
\begin{sidewaystable}[]
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{10pt}
\caption{Results 2} \label{Table2}
%\[2mm]
\centering
\begin{tabular}{lccccccc}
\hline
Parameter & $\epsilon=0.2 $ & $\epsilon=0.4 $ & $\epsilon=0.6 $
& $\epsilon=0.8 $ & $\epsilon=1 $ & $\epsilon=2 $ & $\epsilon=3 $ \\
\hline
$C=0.3$ & (1.5250,11.7501) & (1.5250,11.7501) & (1.5250,11.7501) &
(1.5243,11.7574) & (1.8463,6.3090) & (1.8388,6.3194) &
(1.7228,8.8904) \\
$C=0.4$ & (1.5759,10.9927) & (1.5253,11.7461) & (1.5250,11.749) &
(1.6935,9.3009) & (1.8460,6.3092) & (1.8388,6.3194) & (1.7788,8.0317)
\\
$C=0.7$ & (1.7011,8.7172) & (1.7471,8.0070) & (1.7931,7.2965) &
(1.8532,6.3053) & (1.8451,6.3101) & (1.8384,6.3200) & (1.7788,8.0317) \\
$C=1$ & (1.7012,8.7172) & (1.7471,8.0069) & (1.8415,6.3149) &
(1.8522,6.3051)
& (1.8851,5.8759) & (1.8500,6.1850) & (1.7788,8.0317) \\
$C=2$ & (1.8163,6.4367) & (1.8308,6.3363) & (1.8426,6.3133) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=3$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=4$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=5$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=10$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=20$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=50$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=100$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.185) & (1.8049,7.4512) \\
\hline
\end{tabular}
\end{sidewaystable}
\end{document}
```
1 回答
1
放在同一个 `sidewaystable` 环境里就好了
```tex
\documentclass{article}
\usepackage{geometry}
\geometry{left=1in,right=1in,top=1in,bottom=1in}
\renewcommand{\baselinestretch}{2.0}
\usepackage[pdftex]{graphicx}\usepackage{xcolor}
\usepackage{setspace}
\usepackage{rotating}
\usepackage{float}
\begin{document}
This paragraph are used to test the width of pages. The question is that why
two table are not listed in the same page while there are sufficient blank.
\begin{sidewaystable}[]
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{10pt}
\caption{Results 1} \label{Table1}
%\[2mm]
\centering
\begin{tabular}{lccccccc}
\hline
Parameter & $\epsilon=0.2 $ & $\epsilon=0.4 $ & $\epsilon=0.6 $
& $\epsilon=0.8 $ & $\epsilon=1 $ & $\epsilon=2 $ & $\epsilon=3 $ \\
\hline
$C=0.3$ & (1.5250,11.7501) & (1.5250,11.7501) & (1.5250,11.7501) &
(1.5243,11.7574) & (1.8463,6.3090) & (1.8388,6.3194) &
(1.7228,8.8904) \\
$C=0.4$ & (1.5759,10.9927) & (1.5253,11.7461) & (1.5250,11.749) &
(1.6935,9.3009) & (1.8460,6.3092) & (1.8388,6.3194) & (1.7788,8.0317)
\\
$C=0.7$ & (1.7011,8.7172) & (1.7471,8.0070) & (1.7931,7.2965) &
(1.8532,6.3053) & (1.8451,6.3101) & (1.8384,6.3200) & (1.7788,8.0317) \\
$C=1$ & (1.7012,8.7172) & (1.7471,8.0069) & (1.8415,6.3149) &
(1.8522,6.3051)
& (1.8851,5.8759) & (1.8500,6.1850) & (1.7788,8.0317) \\
$C=2$ & (1.8163,6.4367) & (1.8308,6.3363) & (1.8426,6.3133) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=3$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=4$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=5$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=10$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=20$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=50$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=100$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.185) & (1.8049,7.4512) \\
\hline
\end{tabular}
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{10pt}
\caption{Results 2} \label{Table2}
%\[2mm]
\centering
\begin{tabular}{lccccccc}
\hline
Parameter & $\epsilon=0.2 $ & $\epsilon=0.4 $ & $\epsilon=0.6 $
& $\epsilon=0.8 $ & $\epsilon=1 $ & $\epsilon=2 $ & $\epsilon=3 $ \\
\hline
$C=0.3$ & (1.5250,11.7501) & (1.5250,11.7501) & (1.5250,11.7501) &
(1.5243,11.7574) & (1.8463,6.3090) & (1.8388,6.3194) &
(1.7228,8.8904) \\
$C=0.4$ & (1.5759,10.9927) & (1.5253,11.7461) & (1.5250,11.749) &
(1.6935,9.3009) & (1.8460,6.3092) & (1.8388,6.3194) & (1.7788,8.0317)
\\
$C=0.7$ & (1.7011,8.7172) & (1.7471,8.0070) & (1.7931,7.2965) &
(1.8532,6.3053) & (1.8451,6.3101) & (1.8384,6.3200) & (1.7788,8.0317) \\
$C=1$ & (1.7012,8.7172) & (1.7471,8.0069) & (1.8415,6.3149) &
(1.8522,6.3051)
& (1.8851,5.8759) & (1.8500,6.1850) & (1.7788,8.0317) \\
$C=2$ & (1.8163,6.4367) & (1.8308,6.3363) & (1.8426,6.3133) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=3$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=4$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=5$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=10$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=20$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=50$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.1850) & (1.8049,7.4512) \\
$C=100$ & (1.8163,6.4367) & (1.8435,6.0980) & (1.8707,5.7592) &
(1.8980,5.4204)
& (1.9252,5.0816) & (1.8500,6.185) & (1.8049,7.4512) \\
\hline
\end{tabular}
\end{sidewaystable}
\end{document}
```
你的回答
请登录后回答
你的回答将会帮助更多人,请务必认真回答问题。