Latex的表格注释

删除回忆录丶 提交于 2019-12-22 07:24:06

调用threeparttable包

在文档的最前面加入以下命令:

 

\usepackage{threeparttable}

在表格处插入命令

 

\begin{table*} \label{table:number}
\centering
\caption{....}
\begin{threeparttable}
\begin{tabular}{lc}
   \hline
   A & B \\
   \hline
A & B\tnote{*} \\
A\tnote{**} & B \\
% 添加表格信息
   \hline
\end{tabular}

 \begin{tablenotes}
        \footnotesize
        \item[*] this is the ....  %此处加入注释*信息
        \item[**] my website is ... %此处加入注释**信息
      \end{tablenotes}
    \end{threeparttable}

\end{table*}

注意:星号可以换成数字或是其他的字符。

完整例子测试

 


\documentclass[12pt]{amsart}
\usepackage{geometry} % see geometry.pdf on how to lay out the page. There's lots.
\geometry{a4paper} % or letter or a5paper or ... etc

\usepackage{threeparttable}


\title{test}
\author{tsta}
\date{} % delete this line to display the current date

%%% BEGIN DOCUMENT
\begin{document}

\maketitle
\tableofcontents

\section{Test1}
\subsection{Table}


\begin{table*} \label{table:number}
\centering
\caption{....}
\begin{threeparttable}
\begin{tabular}{llllllllll}
   \hline
   A & B& B& B& B& B& B& B& B& B \\
   \hline
A & B\tnote{*}& B& B& B& B& B& B& B& B \\
A\tnote{**} & B & B& B& B& B& B& B& B& B\\
% 添加表格信息
   \hline
\end{tabular}

 \begin{tablenotes}
        \footnotesize
        \item[*] this is the ....  %此处加入注释*信息
        \item[**] my website is ... %此处加入注释**信息
      \end{tablenotes}
    \end{threeparttable}

\end{table*}


\end{document}

以上文件保存为test.tex,然后编译,显示如下:

Latex表格注释例子

Reference



作者:Shalom小白
链接:https://www.jianshu.com/p/110714b2a535
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!