如何在一行中设置多个短脚注

如何在一行中设置多个短脚注

如何实现这些自动化

“如果一页中有一条简短的注释,则应将其居中。在同一行上设置几个非常短的注释,中间用 3 个 EM # 隔开”

像下面的输出

1. Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text

2. short footnote    3. short footnote 4.    shortfootnote

5. Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text Sample Footnote text

答案1

bigfoot软件包功能(除了改进的标准宏\footnote)包括强制使用纯文本脚注的宏\footnote+(即使默认样式为para)和\footnote-强制使用段落样式脚注的宏(即使默认样式为plain)。包含显示方程式、引文或列表环境的脚注必须采用纯文本样式;因此,如果您的默认样式为,则必须对相应的注释para使用。\footnote+

\documentclass{article}

\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}

\newcommand*{\sometext}{Hello, here is some text without a meaning. This
    text should show, how a printed text will look like at this place.
    If you read this text, you will get no information.}

\begin{document}

\null\vfill% just for the example

First paragraph.\footnote+{%
\sometext

\begin{equation}
a^2 + b^2 = c^2
\end{equation}
}

Second paragraph.\footnote{A short footnote.}

Third paragraph.\footnote{Another short footnote.}

Fourth paragraph.\footnote+{%
\sometext

\begin{quote}
\sometext
\end{quote}
}

\end{document}

在此处输入图片描述

相关内容