LaTeX的表格注释

2017-04-13
#LaTeX

调用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,然后编译。

Reference