问题描述
如图,将表格旋转90°横放在paper中
解决方法
首先加入宏包
\usepackage[figuresright]{rotating}
表格代码如下
\begin{sidewaystable}[htp]
\caption{This is a caption}
\centering %表格整体居中
\footnotesize %设置字体
\begin{tabular}{l*{7}{L{3cm}}} %共7列,每一列列宽为3cm
\hline %横线
1111111 & 1222222 & 1333333 & 1444444 & 1555555 & 1666666 & 1777777\\
\hline
2111111 & 2222222 & 2333333 & 2444444 & 2555555 & 2666666 & 2777777\\
3111111 & 3222222 & 3333333 & 3444444 & 3555555 & 3666666 & 3777777\\
4111111 & 4222222 & 4333333 & 4444444 & 4555555 & 4666666 & 4777777\\
2111111 & 2222222 & 2333333 & 2444444 & 2555555 & 2666666 & 2777777\\