我一直在努力获得以下结果:
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}