-
I'm very new to Typst and enjoying the relative ease as creating and editing templates, but I'm stuck trying to get footnotes to work correctly for an article template I'm creating. I've been modifying this template to add things like equal contribution footnotes and noticed that the numbering in the footnotes don't match numbering in the text. I suspect it's a scoping issue related to the for loop that cycles through all authors , but I'm not sure how to fix that issue. This issue persists in the rest of the document as well (see page 2) One thought I had was to try and create a footnote numbering system that only provides one option, but while I could get that to work outside of a footnote call, it seems like the The document can be found here Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Late reply, but you seem to be confusing the footnote number with the footnote numbering. The numbering only defines how a number should be displayed and does not contain any information about the number itself. For example, the numbering You have this at the top of your template. #show footnote.entry: it => [
#set par(hanging-indent: 0.7em)
#set align(left)
#it.note.numbering #it.note.body
] By using only The problem you have at the end of the document with the "fifth footnote" is that |
Beta Was this translation helpful? Give feedback.
Thank you very much for the explanation, and not a problem about the late reply - I've been away for the last month, so it wasn't a delay from my end!
I updated it to use the below, but ran into a different issue that all the numbers of the footnotes were the same (though they showed the correct bodies) i.e.,
produced
Using
.get()
shows that for some reason, the same counter number is being reused for all the footnotes i.e.,