typst-theorems icon indicating copy to clipboard operation
typst-theorems copied to clipboard

Footnotes inside proofs always appear on the last page of the proof

Open jsimonrichard opened this issue 2 months ago • 0 comments

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.

jsimonrichard avatar May 15 '24 17:05 jsimonrichard