之前讲到了一个旋转较长表格的方法,前面博文已经写了一个方法,LaTeX技巧98:LaTeX如何将表格横置(旋转90度)http://www.52yfjc.com/show.asp?id=658,
下面介绍另外一种办法:
\usepackage{rotating} 宏包提供了 \begin{sidewaystable} \end{sidewaystable}环境.表格就会产生旋转,若是想让页面横置,需要Landscape 环境
\begin{sidewaystable}[h]
\caption{Performance After Post Filtering} % title
\centering % centering table
\begin{tabular}{l c c rrrrrrr}
\hline\hline % inserting double-line
Audio &Audibility & Decision &\multicolumn{7}{c}{Sum of Extracted Bits}
\\ [0.5ex]
\hline % inserts single-line
% Entering 1st row
& &soft &1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex]
\raisebox{1.5ex}{Police} & \raisebox{1.5ex}{5}&hard
& 2 & $-4$ & 4 & 4 & $-2$ & $-4$ & 4 \\[1ex]
% Entering 2nd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex]
\raisebox{1.5ex}{Beethoven} & \raisebox{1.5ex}{5}& hard
&8 & $-8$ & 2 & 8 & $-8$ & $-8$ & 6 \\[1ex]
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex]
\raisebox{1.5ex}{Metallica} & \raisebox{1.5ex}{5}& hard
&4 & $-8$ & 8 & 4 & $-8$ & $-8$ & 8 \\[1ex]
% [1ex] adds vertical space
\hline % inserts single-line
\end{tabular}
\end{sidewaystable}
效果图如下: