# Footnotes

Footnotes are useful for adding citations or references to notes or in your text. When you add a footnote, a number appears in the text and it is a reference to a note that appears at the bottom of the page.

In Paligo, you can create as many footnotes as you need in each topic (see Create a Footnote).

If you need to refer to the same footnote several times in the same topic, you can create the footnote once, and then use footnote references to refer back to it (see Refer to an Existing Footnote).

To create a footnote in a topic:

1. Edit a topic and select the position in your text where you want the first reference to the footnote to appear. For example, if you have a topic where three paragraphs all need to reference the footnote, select a position in the first of these paragraphs.

2. Use the element context menu to add the footnote element.

To access the element context menu, press Alt and Enter (Windows) or Option ⌥ and Enter (Mac).

Paligo adds a footnote and it appears below the selected text. This is so that there is plenty of space for you to enter the footnote text. When you publish the content, the footnote will not appear here, it will be in the footnotes at the bottom of the page.

3. Enter the text for the footnote in the para element that appears below the footnote element.

4. Select Save.

If you need to refer to the same footnote again, see Refer to an Existing Footnote.

To refer to a footnote that already exists in your topic, use the footnoteref element. For this to work, the footnote needs to have an ID and you'll also need to use the linkedto attribute.

1. Edit the topic that contains the footnote.

2. Select the footnote in the text.

3. Select the footnote element in the element context menu and then Generate ID.

Paligo creates an ID for the footnote element.

4. In the element attributes, copy the value of the xml:id. Copy the entire value, including the footnote-idm prefix.

5. Select the position where you want the next reference to the footnote to appear.

6. Use the element context menu to add the footnoteref element.

To access the element context menu, press Alt and Enter (Windows) or Option ⌥ and Enter (Mac).

7. Select the footnoteref element and then use the Element attributes section to give it the linkend attribute. Paste the xmlid of the footnote as the value for linkend.

8. Select Save.

When you publish the topic, both the footnote and the footnoteref will have references to the same footnote.