typst-theorems
typst-theorems copied to clipboard
Footnotes inside proofs always appear on the last page of the proof
If you have a footnote somewhere in a proof, that footnote is printed on the last page of the proof instead of being printed on the page with the footnote's reference. Here's an example:
#import "@preview/ctheorems:1.1.2": *
#show: thmrules
#let proof = thmproof(
"proof",
"Proof",
inset: 0pt,
)
#proof[
#lorem(30)
#footnote[asdfasdf]
#lorem(1000)
]
I would guess this has something to do with the fact that proofs are figures, but I don't how that might be fixed.