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


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

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

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

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

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

     

  • 相关阅读:
    PHP学习之字符串
    PHP学习之常量
    PHP之数据类型
    AngularJS学习之Select(选择框)
    Angular JS 学习之Http
    PHP之echo/print
    Angular JS 学习之服务(Service)
    Angular JS 学习之过滤器
    git打包
    gdb分析core文件
  • 原文地址:https://www.cnblogs.com/jins-note/p/9513362.html
Copyright © 2020-2023  润新知