zoukankan      html  css  js  c++  java
  • latex给表格添加注释

    给表格加注释的确是很多TeX用户不好用的地方,这里提供一个样式和代码,或许对于你的学习使用有所帮助,样式如下:

    image

    代码如下:

    documentclass[11pt,a4paper,english]{article}
    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage{babel}
    usepackage[font=small,labelfont=bf,tableposition=top]{caption}
    usepackage{booktabs}
    usepackage{threeparttable}

    egin{document}
      egin{table}[!ht]
        caption{A table with notes}label{tab:tablenotes}
        centering
        egin{threeparttable}
          egin{tabular}{*4{c}} oprule
            Table head note{1} & Table head note{1} & Table head note{2} & Table head note{2} \ midrule
            Some values & Some values & Some values & Some values \
            Some values & Some values & Some values & Some values \
            Some values & Some values & Some values & Some values \
            Some values & Some values & Some values & Some values \ ottomrule
          end{tabular}
          egin{tablenotes}
            footnotesize
            item[1] The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
            item[2] The quick brown fox jumps over the lazy dog.
          end{tablenotes}
        end{threeparttable}
      end{table}

    转自http://blog.sina.com.cn/s/blog_5e16f1770102dxpi.html

    备注:

    如果只有一项可以:item[] The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

  • 相关阅读:
    elasticsearch 相关命令
    Ubuntu server 修改系统时区
    js-eval运算符
    js-带操作的赋值表达式
    MVC模型绑定
    MVC部分视图的使用
    C#面试题-递归
    C#校验手机端或客户端
    AngularJs 中使用OpenLayer例子,手机端地图加载不显示问题
    C#后端调用WebApi地址
  • 原文地址:https://www.cnblogs.com/hnuhui/p/5612000.html
Copyright © 2011-2022 走看看