Latex表格太宽处理方法 (How to shorten Latex table length)

当表格太宽时, 为了能在页面中显示完整, 可以缩小表格, 或者横排.
缩小表格的好处是, 不用倒转页面阅读, 坏处是原始宽度不同的表格, 被缩小后, 字体不一, 不美观. 虽然可以调整参数使得所有表格字体一致, 但是非常不方便.
横排则可以保持字体大小一样.
[格式]注意, 表格包含标题, 表格体, 注解3部分.

[1]缩小方法(之一):使用\resizebox{\textwidth}{!}{...}, 用到graphix宏包.

\begin{center}
\begin{table*}[h]
\resizebox{\textwidth}{!}{ %
\begin{threeparttable}[b]
\caption{Survey of bond lengths.\tnote{a}}
\label{Tab:bondlength}
\begin{tabular}{ccccccccccc}
 

   ......
\end{tabular}
\begin{tablenotes}
    \item [a] {need to notice that...}
    \item [b] {...}
\end{tablenotes}
\end{threeparttable}}%
\end{table*}
\end{center}
\clearpage
[2]缩小方法(之二): 在\begin{table}后使用\footnotesize或其他指定的font size使得table字体变小, 注意太宽的表格变化后还有可能过宽, 此法只能暂时用用.
\begin{table*}[htb]\footnotesize
\begin{threeparttable}[b]
\caption{KE.\tnote{a}
\label{Tab:KE}}
\begin{tabular}{llccccccc}
    ...
\end{tabular}
 \begin{tablenotes}
    \item [a] {Note a.}
 \end{tablenotes}
\end{threeparttable}
\end{table*}
\clearpage

[3]横排:用到\usepackage{rotating}

\begin{sidewaystable}
\centering
\begin{threeparttable}[b]
\caption{Survey of bond lengths.\tnote{a}}
\label{Tab:bondleng}
\begin{tabular}{ccccccccccc}
 ...
\end{tabular}
  \begin{tablenotes}
    \item [a] { } 
   \end{tablenotes}
\end{threeparttable}
\end{sidewaystable}
\clearpage

 

 

 

 

转载于:https://www.cnblogs.com/jins-note/p/9513362.html

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值