cryptocode
cryptocode copied to clipboard
Footnotes inside `procedure` are displayed multiple times
The following example:
\documentclass{article}
\usepackage{cryptocode}
\begin{document}
\procedure{}{
\footnote{Foot note text.}
}
\end{document}
gets compiled to
While it can be questionable, whether to use footnotes inside \procedures (at least I do) it should behave as expected and not double the output. The other environments that I have tested were \pseudocode and \pseudocodeblock, which both showed a single footnote at the bottom of the page.
While reporting #27 I've noticed that pcvstack actually makes the footnote render four times.
\documentclass{article}
\usepackage{cryptocode}
\begin{document}
\begin{pcvstack}
\procedure{}{
a\footnote{foot note text.}
}
\end{pcvstack}
\end{document}
yields:
Notice also the two types of horizontal alignment.