Princeton的个人博客分享 http://blog.sciencenet.cn/u/Princeton

博文

latex之表格水平位置转换垂直位置

已有 21516 次阅读 2011-4-19 04:58 |个人分类:Table|系统分类:科研笔记| style

将表格在页面布局位置旋转,需要在preamble部分加上usepackage{rotating} 宏包,然后使用环境sidewaystable.
示例如下:
 
%%%方法四:将表格页面位置旋转为纵向排列%%%%%%%%

begin{sidewaystable}

centering

begin{tabular}{lllll}

hline

Item 1 & Item 2 &Item 3 &Item 4 &Item 5 \

hline

multicolumn{5}{l}{bf Subitem 1}\

a & b & c &d &e\

a & b & c &d &e\

a & b & c &d &e\

a & b & c &d &e\

a & b & c &d &e\

&&&&\

multicolumn{5}{l}{bf Subitem 2}\

a & b & c &d &e\

a & b & c &d &e\

a & b & c &d &e\

a & b & c &d &e\

a & b & c &d &e\

hline

end{tabular}

caption{This is an example of rotate table layout}label{rotatetable}

end{sidewaystable}



https://wap.sciencenet.cn/blog-111494-434772.html

上一篇:latex中表格列宽控制命令p{width}使用举例
下一篇:latex如何使得表格不同列的字体大小不一样
收藏 IP: 174.93.112.*| 热度|

0

发表评论 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-19 20:46

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部