How to refer to the same footnote multiple times in the text?

It seems that every time you insert \footnote it will create a new one. Is there a way to refer to the previously created footnote?

Thanks in advance if anyone knows!

In a test I did, it was possible by putting a label inside the footnote, then referring to that label. TeXmacs generated a label automatically too (footnote-1), but I added a footnote before the one I wanted to refer to and the automatically generated label got associated to the first footnote in the text, not the first footnote I wrote.

ah, thank you for your reply! sorry for not seeing it earlier. do you mind elaborating how to put a label inside the footnote? can you show an example? thank you so much :smile:

To enter a label for a footnote, you place the cursor inside the footnote (e.g. at the beginning of the footnote) switch to hybrid mode by pressing \, then write label and press Return. For the hybrid mode see the TeXmacs manual at https://www.texmacs.org/tmweb/documents/manuals/texmacs-manual.en.pdf, section 2.8.3

Once you have done that, you will see that you get automatically the place where to write the label’s name; then write it (for example footnote:example, where in place of example you may write something that reminds you of the footnote’s content) and you can use it in a reference.

I paste here a document which contains two footnotes, the first of which has a label and is referenced after a second footnote. Copy everything in an empty text document, rename it with the extension .tm and let TeXmacs open it; pls. let me know if you need more details.

<TeXmacs|2.1.4>

<style|generic>

<\body>
  Footnote test<\footnote>
    <label|footnote:example>Labeleld footnote example
  </footnote>

  Second footnote<\footnote>
    Second footnote
  </footnote>

  Reference to the first footnote: <reference|footnote:example>

  \;
</body>

<\initial>
  <\collection>
    <associate|page-medium|paper>
    <associate|preamble|false>
  </collection>
</initial>

<\references>
  <\collection>
    <associate|footnote-1|<tuple|1|1|2014-footnote-tables.tm>>
    <associate|footnote-2|<tuple|2|?|2014-footnote-tables.tm>>
    <associate|footnote:example|<tuple|1|?|2014-footnote-tables.tm>>
    <associate|footnr-1|<tuple|1|1|2014-footnote-tables.tm>>
    <associate|footnr-2|<tuple|2|?|2014-footnote-tables.tm>>
  </collection>
</references>
1 Like

Thank you so much! It works.