Difference between revisions of "Command/ note"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \<i>note</i>") |
|||
Line 4: | Line 4: | ||
<cd:shortdesc> | <cd:shortdesc> | ||
<!-- a short command summary goes here --> | <!-- a short command summary goes here --> | ||
− | The instances of <tt>\<i>note</i></tt> are used for | + | The instances of <tt>\<i>note</i></tt> are used for footnotes and endnotes. |
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 10: | Line 10: | ||
</cd:sequence> | </cd:sequence> | ||
<cd:instances> | <cd:instances> | ||
− | <cd:constant value="footnote"></cd:constant> | + | <cd:constant value="footnote">Insert a footnote mark, and a footnote at the bottom of the page. (Or elsewhere, depending on {{cmd|setupfootnotes}}.) If the footnote is specified with a label, you can refer to it elsewhere using {{cmd|note|[label]}}, and the extra reference will use the same mark as the original.</cd:constant> |
− | <cd:constant value="endnote"></cd:constant> | + | <cd:constant value="endnote">Insert a footnote mark, but ''no'' footnote. If the endnote is specified with a label, you can refer to it elsewhere using {{cmd|note|[label]}}, and the extra reference will use the same mark as the original. |
+ | |||
+ | You need to use {{cmd|placenotes|[endnote]}} at the place where you want to have them.</cd:constant> | ||
</cd:instances> | </cd:instances> | ||
<cd:variants> | <cd:variants> | ||
Line 54: | Line 56: | ||
</cd:description> | </cd:description> | ||
<cd:examples> | <cd:examples> | ||
− | < | + | <cd:example title="Footnote example"> |
− | <cd:example title=""> | + | |
+ | <context source="yes"> | ||
+ | \setuppapersize[A7] | ||
+ | |||
+ | The Hanse was a late medieval commercial alliance of towns in the | ||
+ | regions of the North and the Baltic Sea. The association was formed | ||
+ | for the furtherance and protection of the commerce of its | ||
+ | members.\footnote[war]{This was the source of jealousy and fear among | ||
+ | other towns that caused a number of wars.} In the Hanse period there | ||
+ | was a lively trade in all sorts of articles such as wood, wool, | ||
+ | metal, cloth, salt, wine and beer.\note[war] The prosperous trade | ||
+ | caused an enormous growth of welfare in the Hanseatic | ||
+ | towns.\footnote{Hasselt is one of these towns.} | ||
+ | </context> | ||
+ | </cd:example> | ||
+ | <cd:example title="Endnote example"> | ||
+ | <context source="yes"> | ||
+ | \setuppapersize[A7] | ||
+ | |||
+ | The Hanse was a late medieval commercial alliance of towns in the | ||
+ | regions of the North and the Baltic Sea. The association was formed | ||
+ | for the furtherance and protection of the commerce of its | ||
+ | members.\endnote[war]{This was the source of jealousy and fear among | ||
+ | other towns that caused a number of wars.} In the Hanse period there | ||
+ | was a lively trade in all sorts of articles such as wood, wool, | ||
+ | metal, cloth, salt, wine and beer.\note[war] The prosperous trade | ||
+ | caused an enormous growth of welfare in the Hanseatic | ||
+ | towns.\endnote{Hasselt is one of these towns.} | ||
+ | |||
+ | \placenotes[endnote] | ||
+ | </context> | ||
</cd:example> | </cd:example> | ||
− | |||
</cd:examples> | </cd:examples> | ||
<cd:notes> | <cd:notes> | ||
Line 79: | Line 110: | ||
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Structure"></cd:wikipage> | ||
<cd:wikipage originator="system" page="Keywords:Notes"></cd:wikipage> | <cd:wikipage originator="system" page="Keywords:Notes"></cd:wikipage> | ||
+ | <cd:commandref name="note"></cd:commandref> | ||
+ | <cd:commandref name="setupnotes"></cd:commandref> | ||
+ | <cd:commandref name="setupnotation"></cd:commandref> | ||
</cd:seealso> | </cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 11:24, 21 August 2020
Contents
\note
Summary
The instances of \note are used for footnotes and endnotes.
Instances
\footnote | Insert a footnote mark, and a footnote at the bottom of the page. (Or elsewhere, depending on \setupfootnotes.) If the footnote is specified with a label, you can refer to it elsewhere using \note[label], and the extra reference will use the same mark as the original. |
\endnote | Insert a footnote mark, but no footnote. If the endnote is specified with a label, you can refer to it elsewhere using \note[label], and the extra reference will use the same mark as the original. You need to use \placenotes[endnote] at the place where you want to have them. |
Settings instance
Settings instance:assignment
Description
Examples
Footnote example
\setuppapersize[A7] The Hanse was a late medieval commercial alliance of towns in the regions of the North and the Baltic Sea. The association was formed for the furtherance and protection of the commerce of its members.\footnote[war]{This was the source of jealousy and fear among other towns that caused a number of wars.} In the Hanse period there was a lively trade in all sorts of articles such as wood, wool, metal, cloth, salt, wine and beer.\note[war] The prosperous trade caused an enormous growth of welfare in the Hanseatic towns.\footnote{Hasselt is one of these towns.}
Endnote example
\setuppapersize[A7] The Hanse was a late medieval commercial alliance of towns in the regions of the North and the Baltic Sea. The association was formed for the furtherance and protection of the commerce of its members.\endnote[war]{This was the source of jealousy and fear among other towns that caused a number of wars.} In the Hanse period there was a lively trade in all sorts of articles such as wood, wool, metal, cloth, salt, wine and beer.\note[war] The prosperous trade caused an enormous growth of welfare in the Hanseatic towns.\endnote{Hasselt is one of these towns.} \placenotes[endnote]