summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/sources/general/manuals/start/en/ma-cb-en-footnotes.tex
blob: 5eeade3836daad8c7022cb1ff2f0e1cb8cfe643e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
\startcomponent ma-cb-en-footnotes

\enablemode[**en-us]

\project ma-cb

\startchapter[title=Footnotes]

\index{footnote}

\Command{\tex{footnote}}
\Command{\tex{setupfootnotes}}

If you want to annotate your text you can use \type{\footnote}. The command looks
like this:

\shortsetup{footnote}

The bracket pair is optional and contains a logical name. The curly braces
contain the text you want to display at the foot of the page.

The same footnote number can be called with its logical name.

\shortsetup{note}

If you have typed this text:

\startbuffer
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.}
\stopbuffer

\typebuffer

It would look like this:

\getbuffer

The footnote numbering is done automatically. The command \type{\setupfootnotes}
enables you to influence the display of footnotes:

\shortsetup{setupfootnotes}

Footnotes can be set at the bottom of a page but also at other locations, like
the end of a chapter. This is done with the command:

\shortsetup{placefootnotes}

The footnotes will be placed at the end of your document with
\type{\setupfootnotes[location=text]} in combination with \type{\placefootnotes}
at the desired location.

You can also couple footnotes to a table. In that case we speak of local
footnotes. The commands are:

\shortsetup{startlocalfootnotes}

\shortsetup{placelocalfootnotes}

An example illustrates the use of local footnotes:

\startbuffer

\placetable[][productivity]
  {Decline of Hasselt's productivity.\footnote{Source: {\em Uit
   de geschiedenis van Hasselt.}}}
  {\startlocalfootnotes
   \starttable[|l|c|c|c|c|]
   \HL
   \NC
   \NC Ovens
   \NC Blacksmiths
   \NC Breweries
   \NC Tile works\footnote{The factories that produced roof tiles.} \NC\SR
   \HL
   \NC 1682 \NC 15 \NC 9 \NC 3 \NC 2 \NC\FR
   \NC 1752 \NC ~6 \NC 4 \NC 0 \NC 0 \NC\LR
   \HL
   \NC \use5 \JustLeft{\placelocalfootnotes} \NC\FR
   \stoptable
   \stoplocalfootnotes}
\stopbuffer

\typebuffer

This will result in \in{table}[productivity] with a local footnote. The footnote
in the caption will appear at the bottom of the page.
\getbuffer

\stopchapter

\stopcomponent