Latex 给表格添加注释的一种方法

结果显示:

Latex 给表格添加注释的一种方法_第1张图片

代码:
\begin{table}[!ht]
    \caption{A table with notes}\label{tab:tablenotes}
    \centering
    \begin{threeparttable}
      \begin{tabular}{*4{c}}\toprule
        Table head\tnote{1} & Table head\tnote{1} & Table head\tnote{2} & Table head\tnote{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 \\ \bottomrule
      \end{tabular}
      \begin{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}

你可能感兴趣的:(LaTex)