使用 sidewaystable 环境时表格位置出现问题

使用 sidewaystable 环境时表格位置出现问题

我正在使用sidewaystable环境来旋转表格及其标题。我的问题是,在编译时,页面底部有一个空白区域,表格被移动到顶部,与节标题相冲突。我正在使用包rotating;这是我为这个大表使用的代码。

\begin{sidewaystable}\centering%
\begin{tabular}{ccp{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}}
\hline\hline
\textbf{Copula} &  & \multicolumn{1}{c}{} & \multicolumn{13}{c}{\textbf{%
Estimator}} \\ 
True $\lambda _{L}$ &  &  & $\lambda _{L,n}^{e}$ & $\lambda _{L,n}^{e,r}$ & 
lambda3 & $\lambda _{L,n}^{e}$ & $\lambda _{L,n}^{e,r}$ & $\lambda
_{L,n}^{ers}$ & $\lambda _{L,n}^{ers,r}$ & $\lambda _{L,n}^{CHT}$ & $\lambda
_{L,n}^{CHT,r}$ & $\lambda _{L,n}^{AM}$ & $\lambda _{L,n}^{GM}$ & $\lambda
_{L,n}^{rank}$ & $\lambda _{L,n}^{(U,U)(e)}$ \\ \hline\hline
\end{tabular}%
\caption{Comparison of the true tail dependence coefficient implied by the
parametric copula models, in the case of}%
\end{sidewaystable}\centering%

任何帮助表示感谢

答案1

您可以使用\resizebox来缩放表格;此外,您还可以减少\tabcolsep控制列间距的控件(默认值= 6pt):

\documentclass{article}
\usepackage{rotating}

\begin{document}

\begin{sidewaystable}
\resizebox{\textheight}{!}{
\setlength\tabcolsep{2pt}
\begin{tabular}{ccp{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}}
  \hline\hline
  \textbf{Copula} & & \multicolumn{1}{c}{} & \multicolumn{13}{c}{\textbf{Estimator}} \\ 
  True $\lambda _{L}$ &  &  & $\lambda _{L,n}^{e}$ & 
    $\lambda _{L,n}^{e,r}$ & $\lambda3$ & $\lambda _{L,n}^{e}$ &
    $\lambda _{L,n}^{e,r}$ &   $\lambda_{L,n}^{ers}$ & 
    $\lambda _{L,n}^{ers,r}$ & $\lambda_{L,n}^{CHT}$ &  
    $\lambda_{L,n}^{CHT,r}$ & $\lambda   _{L,n}^{AM}$ & 
    $\lambda _{L,n}^{GM}$ & $\lambda_{L,n}^{rank}$ & 
    $\lambda _{L,n}^{(U,U)(e)}$ \\ \hline\hline
\end{tabular}}%
\caption{Comparison of the true tail dependence coefficient implied by the
parametric copula models, in the case of}%
\end{sidewaystable}

\end{document}

为了提高表格的质量,您可能对书签包裹。

考虑到评论,其意图似乎只是将表格向下移动(这可能不是最好的选择);为了实现这一点,可以使用适当的跳过:

\documentclass{article}
\usepackage{rotating}

\begin{document}

\begin{sidewaystable}
\hspace*{-3cm}
\begin{tabular}{ccp{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}p{0.45in}}
  \hline\hline
  \textbf{Copula} & & \multicolumn{1}{c}{} & \multicolumn{13}{c}{\textbf{Estimator}} \\ 
  True $\lambda _{L}$ &  &  & $\lambda _{L,n}^{e}$ & 
    $\lambda _{L,n}^{e,r}$ & $\lambda3$ & $\lambda _{L,n}^{e}$ &
    $\lambda _{L,n}^{e,r}$ &   $\lambda_{L,n}^{ers}$ & 
    $\lambda _{L,n}^{ers,r}$ & $\lambda_{L,n}^{CHT}$ &  
    $\lambda_{L,n}^{CHT,r}$ & $\lambda   _{L,n}^{AM}$ & 
    $\lambda _{L,n}^{GM}$ & $\lambda_{L,n}^{rank}$ & 
    $\lambda _{L,n}^{(U,U)(e)}$ \\ \hline\hline
\end{tabular}%
\caption{Comparison of the true tail dependence coefficient implied by the
parametric copula models, in the case of}%
\end{sidewaystable}

\end{document}

相关内容