同じ文書に文末脚注と脚注を含めることはできますか?

同じ文書に文末脚注と脚注を含めることはできますか?

\chapter同じ ベースのドキュメント内で、の脚注と別の章の文末脚注を作成することはできますか\scrbook? 文末脚注は章の直後に表示される必要があります。

答え1

以下に、脚注をローカルで文末脚注に変換する簡単なサンプルを示します。脚注を\let文末脚注に、文末脚注を脚注に変換するだけです。

\documentclass{scrbook}

\usepackage{endnotes}
\let\ofootnote\footnote

\begin{document}
\chapter{Foonote 1}
Test\footnote{Quack}. This is a test\footnote{Test}.
\let\footnote\endnote
\chapter{Endnote}
Test\footnote{Quack}. This is a test\footnote{Test}.
\let\footnote\ofootnote
\chapter{Footnote 2}
Test\footnote{Quack}. This is a test\footnote{Test}.
\clearpage\theendnotes
\end{document}

関連情報