![如何制作这个表格?](https://linux22.com/image/275021/%E5%A6%82%E4%BD%95%E5%88%B6%E4%BD%9C%E8%BF%99%E4%B8%AA%E8%A1%A8%E6%A0%BC%EF%BC%9F.png)
我一直在努力获得以下结果:
Table N°: Title(1--footnote)
----------------------------
Category Values
----------------------------
One 200
Two 100
Three 410
----------------------------
Total 710
----------------------------
Source: Author, 2013. [aligned with table float]
(1): Footnote text. [here]
我怎样才能在表格浮动内添加“来源:作者......”文本(也可能添加“注释:......”段落)以及下面的脚注文本?
答案1
MWE
和ctable
:
% tmain.tex :
\begin{filecontents*}{tab1.tex}
\ctable[%
mincapwidth = 30mm,
footerwidth=80mm,
cap={Title},
caption = {Title \footnote{Footnote text}},
label = tab:1,
pos = ht,
left,
doinside = \scriptsize
]{SS}{\tnote[]{\textbf{Source:} Author, 2013. \\
\textbf{Notes:} Nam dui ligula,
fringilla a, euismod
sodales, sollicitudin vel,
wisi. Morbi auctor lorem
non justo. }
}{ \FL
{Category}& {Values}
%
\ML
%
{One } & 200 \NN
{Two } & 100 \NN
{Three} & 410
\ML
Total & 710
\LL
}
\end{filecontents*}
\documentclass[10pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage{lipsum}
\usepackage{siunitx}
\usepackage{ctable}
\renewcommand{\thempfootnote}{\arabic{mpfootnote}}
\begin{document}
\listoftables
\lipsum[1-5]
\input{tab1}
\lipsum[6-7]
\end{document}