我想在表格下方添加附加描述(字体较小)。示例如下:
我想添加“此表显示了所执行的X射线分析的类型。...”
答案1
另一个选择是使用ctable
包裹:
\documentclass{article}
\usepackage{ctable}
\begin{document}
\ctable[
botcap,
caption={The caption for this table},
label=test,
notespar
]{*4c l c}{
\tnote[]{Some test text for the example test text for the example test text for the example text for the example}
}{
\toprule
Header1 & Header1 & Header1 & Header1 & Header1 & Header1 \\
\midrule
Text1 & Text1 & Text1 & Text1 & Text1 & Text1 \\
\bottomrule
}
\end{document}
答案2
这里有一种方法。首先,将表格内容放入一个框中。然后,测量框的宽度。然后创建一个\parbox
相同宽度的框来放置底文。
\documentclass{article}
\newsavebox\tempbox
\newlength\templen
\begin{document}
\sbox\tempbox{%
\begin{tabular}{|l|l|l|}
\hline
This & is a & test\\
\hline
of the & emergency broadcast & system\\
\hline
This is & only a & test\\
\hline
\end{tabular}%
}
\setlength\templen{\wd\tempbox}
\begin{table}
\centering
\usebox{\tempbox}\\[3pt]
\parbox{\the\templen}{\small This table shows the type of X-ray analysis performed\ldots}
\caption{Here is my table}
\end{table}
\end{document}