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.

  • 相关阅读:
    Chrome快捷键
    Nginx之基本介绍(一)
    windows程序调试
    python有序字典
    value是列表的字典排序
    构造Map并对其排序
    python读取文件时遇到非法字符的处理 UnicodeDecodeError: 'gbk' codec can't decode bytes in position
    python正则表达式 分割字符串
    python3 导入模块
    python3 以utf-8编码写文件
  • 原文地址:https://www.cnblogs.com/hnuhui/p/5612000.html
Copyright © 2011-2022 走看看