我有一个表格,里面minipage
有多个简短的脚注。这些脚注每行排版一个。但是,我想以“段落”模式显示这些脚注以节省空间。我试过了,\usepackage[para]{footmisc}
但似乎没有任何效果。有办法吗?
\documentclass{article}
\usepackage[para]{footmisc}
\usepackage{booktabs}
\begin{document}
\renewcommand{\footnoterule}{\vspace{-2pt}}
\begin{table}
\caption{My caption}
\begin{minipage}{\textwidth}
\begin{tabular}{ll}
\toprule
A & B \\
\midrule
test\footnote[1]{note1} & text \\
test\footnote[2]{note2} & text\footnote[3]{note3} \\
\bottomrule
\end{tabular}
\end{minipage}
\end{table}
\end{document}
答案1
使用包threeparttablex
\documentclass{article}
\usepackage[para]{threeparttablex}
\begin{document}
\begin{table}
\begin{threeparttable}
\caption{foo}
\begin{tabular}{ccl}
foo\tnote{a} & bar\tnote{b} & baz and so on with text in this column\\
foobar & barfoo & foobaz\tnote{c}
\end{tabular}
\par\medskip
\footnoterule
\begin{tablenotes}
\item [a] first note
\item [b] second note
\item [c] the third note
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}