Можно ли печатать сноски по запросу как часть основного текста?

Можно ли печатать сноски по запросу как часть основного текста?

Решено спарнотесупаковка.

...

Есть ли команда для печати сносок как части основного текста? Кажется, я помню способ сделать это с концевыми сносками, когда накопленные сноски будут отображаться в тексте в том месте, где была размещена команда. Однако мой документ широко используеткак сноски, так и концевые сноски, так что этот трюк невозможен.

Чтобы прояснить ситуацию, вот как я себе это представляю...

\documentclass{memoir}

\begin{document}

In this paragraph, I wish to make footnotes.\footnote{Just like this.}
Then I wish to invoke a command to print them right there, as if they were
part of the main text, rather than at the bottom like usual.\endnote{I
also need to keep endnotes normal for a page of citations.}

\printFootnotesRightHere

The command must print the footnotes where it is called, and then clear
whatever register contained them, so that a fresh set of footnotes can be
entered.\footnote{Like this new one.}

\printFootnotesRightHere

So even on a single page, there could be several sets of footnotes,
inserted as normal text, just as if they were their own paragraphs or
lists.

\end{document}

Связанный контент