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.

  • 相关阅读:
    Linux下软件安装方法即路径设置
    maven和jdk版本不匹配
    jobTracker 和taskTracker
    任务调度quartz
    springside3.1.8打包
    给定两个有序整数数组 nums1 和 nums2,将 nums2 合并到 nums1 中,使得 num1 成为一个有序数组
    二进制求和
    数组中找到目标值,并返回其索引
    加1问题
    给定字符串返回最后一个单词的长度
  • 原文地址:https://www.cnblogs.com/hnuhui/p/5612000.html
Copyright © 2011-2022 走看看