如何在一行中設定多個短腳註

如何在一行中設定多個短腳註

如何實現這些自動化

“如果頁面中的短單一註釋應居中。在同一行上設定幾個非常短的註釋,中間有 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-plainpara\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}

在此輸入影像描述

相關內容