![小页面中的多个脚注-如何排版为段落?](https://linux22.com/image/237805/%E5%B0%8F%E9%A1%B5%E9%9D%A2%E4%B8%AD%E7%9A%84%E5%A4%9A%E4%B8%AA%E8%84%9A%E6%B3%A8-%E5%A6%82%E4%BD%95%E6%8E%92%E7%89%88%E4%B8%BA%E6%AE%B5%E8%90%BD%EF%BC%9F.png)
我有一个表格,里面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}