如何实现脚注的多列布局?

如何实现脚注的多列布局?

如何实现脚注的多列布局?

我有一页只填满了旋转的表格(横向布局,环境sidewaystable)。表格中有很多脚注,这使得页面比我想要的更宽。由于单个脚注的文本非常小,我考虑将它们放在两列中以降低页面宽度。

答案1

你可以用 minipages 来改进它。在侧边表之后,如果出现另一个脚注,你必须增加脚注计数器。

\documentclass{article}
\usepackage{rotating,tabularx}
\begin{document}

\begin{sidewaysfigure}
\rule{\linewidth}{5cm}\par
The package sets the\footnotemark[1] footnotes\footnotemark[2] of a single-column document in two columns; 
the package offers a range of parameters to determine\footnotemark[3] the exact appearance\footnotemark[4] of the two columns.


\vspace{1cm}
\footnoterule\footnotesize
\begin{minipage}[t]{0.49\linewidth}
\textsuperscript{1} This is the first footnote. And here comes some nonsense text
                    to show that the linebreaks works \par
\textsuperscript{2} This is the second footnote.\par
\end{minipage}\hfill
\begin{minipage}[t]{0.49\linewidth}
\textsuperscript{3} This is the third footnote. \par
\textsuperscript{4} This is the fourth footnote.\par
\textsuperscript{5} This is the fourth footnote.\par
\textsuperscript{6} This is the fourth footnote.\par
\end{minipage}
\end{sidewaysfigure}

\end{document}

答案2

使用注释包裹:

\documentclass{article}
\usepackage{dblfnote}
\begin{document}
The package sets the footnotes of a single-column document in two columns; the package offers a range of parameters to determine the exact appearance of the two columns.
\footnote{This is the first footnote.}
The package sets the footnotes of a single-column document in two columns; the package offers a range of parameters to determine the exact appearance of the two columns.
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
The package sets the footnotes of a single-column document in two columns; the package offers a range of parameters to determine the exact appearance of the two columns.
\footnote{This is the fourth footnote.}
\footnote{This is the first footnote.}
The package sets the footnotes of a single-column document in two columns; the package offers a range of parameters to determine the exact appearance of the two columns.The package sets the footnotes of a single-column document in two columns; the package offers a range of parameters to determine the exact appearance of the two columns. \footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.} \footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.} 
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\footnote{This is the second footnote.}
\footnote{This is the third footnote.}
\footnote{This is the fourth footnote.}
\end{document}

给出:

替代文本

答案3

抱歉回复迟了。我还能想到另外两种适合你情况的解决方案,而且是自动的。这适用于 Herbert 给出的例子:

您可以使用回忆录课程:

\documentclass{memoir}
\usepackage{rotating,tabularx}
\twocolumnfootnotes
\begin{document}
\begin{sidewaysfigure}
\rule{\linewidth}{5cm}\par
The package sets theof a single-column\footnote{This is a test.} document in two columns; 
the package offers a range of parameters\footnote{This is a test.} \footnote{This is a test.} to determinethe exact appearance of the two columns.\footnote{This is a test.}\footnote{This is a test.}\footnote{This is a test.}
\end{sidewaysfigure}
\end{document}

这使:

替代文本

或者你可以使用 ledmac 包:

\documentclass{article}
\usepackage{rotating,tabularx}
\usepackage{ledmac}
\foottwocolX{A}
\begin{document}
\begin{sidewaysfigure}
\rule{\linewidth}{5cm}\par
The package sets theof a single-column\footnoteA{This is a test.} document in two columns; 
the package offers a range of parameters\footnoteA{This is a test.} \footnoteA{This is a test.} to determinethe exact appearance of the two columns.\footnoteA{This is a test.}\footnoteA{This is a test.}\footnoteA{This is a test.}
\end{sidewaysfigure}
\end{document}

这使:

替代文本

答案4

您特别提到使用sidewaystable。在这种情况下,我建议使用threeparttable,您可以实现以下目标:

带有 threeparttable 的 sidewaystable

\documentclass[a4paper,12pt]{scrreprt}

\usepackage{rotating}
\usepackage[para]{threeparttable}

\begin{document}
    \begin{sidewaystable}[htbp]
        \centering
        \caption{Super informative caption}
        \begin{threeparttable}
            \begin{tabular}{c|c|c|c}
                Column 1 & Column 2 & Column 3 & Column 4 \\\hline
                Cell 1\tnote{*} & Cell 2\tnote{$\dagger$} & Cell 3\tnote{$\ddagger$} & Cell 4\tnote{\#}\\
                Cell 5\tnote{$\|$} & Cell 6\tnote{$\Delta$} & Cell 7\tnote{$\diamond$} & Cell 8\tnote{$\downarrow$}\\
            \end{tabular}
            \begin{tablenotes}
                \footnotesize
                \item[*] Always
                \item[$\dagger$] look
                \item[$\ddagger$] on
                \item[\#] the
                \item[$\|$] bright
                \item[$\Delta$] side
                \item[$\diamond$] of
                \item[$\downarrow$] life!
            \end{tablenotes}
        \end{threeparttable}
    \end{sidewaystable}
\end{document}

注意para语句中的选项\usepackage,这会导致以下行为:

帕拉注释一个接一个,没有换行

要控制表格注释之间的间距,请查看这个问题。

相关内容