Changes

Jump to navigation Jump to search
2,237 bytes added ,  13:14, 13 October 2019
no edit summary
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=setupfootnotes
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>setupfootnotes</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:conversion|conversion]] or [[Command/keyword:numberconversion|numberconversion]]</td> <td>[[Reference/enCommand/value:numbers|numbers]] [[Reference/enCommand/value:characters|characters]] [[Reference/enCommand/value:Characters|Characters]] [[Reference/enCommand/value:romannumerals|romannumerals]] [[Reference/enCommand/value:Romannumerals|Romannumerals]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:way|way]]</td> <td>[[Reference/enCommand/value:bytext|bytext]] [[Reference/enCommand/value:bysection|bysection]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:location|location]]</td> <td>[[Reference/enCommand/value:page|page]] [[Reference/enCommand/value:text|text]] [[Reference/enCommand/value:columns|columns]] [[Reference/enCommand/value:firstcolumn|firstcolumn]] [[Reference/enCommand/value:lastcolumn|lastcolumn]] [[Reference/enCommand/value:high|high]] [[Reference/enCommand/value:none|none]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:rule|rule]]</td> <td>[[Reference/enCommand/value:on|on]] [[Reference/enCommand/value:off|off]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:beforerulecolor|beforerulecolor]]</td> <td>[[Reference/enCommand/value:commandname|commandname]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:afterbefore|afterbefore]]</td> <td>[[Reference/enCommand/value:command|command]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:widthafter|widthafter]]</td> <td>[[Reference/enCommand/value:dimensioncommand|dimensioncommand]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:heightwidth|heightwidth]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:bodyfontheight|bodyfontheight]]</td> <td>5pt ... 12pt [[Reference/en/value:small|small]] [[Reference/enCommand/value:bigdimension|bigdimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:stylebodyfont|stylebodyfont]]</td> <td>5pt ... 12pt [[Reference/en/value:normal|normal]] [[Reference/en/value:bold|bold]] [[Reference/en/value:slanted|slanted]] [[Reference/en/value:boldslanted|boldslanted]] [[Reference/en/value:type|type]] [[Reference/en/value:cap|cap]] [[Reference/enCommand/value:small...|small...]] [[Reference/enCommand/value:commandbig|commandbig]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:distancestyle|distancestyle]]</td> <td>[[ReferenceCommand/value:normal|normal]] [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:cap|cap]] [[Command/envalue:small...|small...]] [[Command/value:dimensioncommand|dimensioncommand]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:columndistancedistance|columndistancedistance]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:margindistancecolumndistance|margindistancecolumndistance]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:nmargindistance|nmargindistance]]</td> <td>[[Reference/enCommand/value:numberdimension|numberdimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:numbercommandn|numbercommandn]]</td> <td>[[Reference/enCommand/value:oneargumentnumber|oneargumentnumber]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:textcommandnumbercommand|textcommandnumbercommand]]</td> <td>[[Reference/enCommand/value:oneargument|oneargument]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:splittextcommand|splittextcommand]]</td> <td>[[Reference/en/value:tolerant|tolerant]] [[Reference/en/value:strict|strict]] [[Reference/en/value:verystrict|verystrict]] [[Reference/enCommand/value:numberoneargument|numberoneargument]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:textstylesplit|textstylesplit]]</td> <td>[[Reference/enCommand/value:normaltolerant|normaltolerant]] [[Reference/enCommand/value:boldstrict|boldstrict]] [[Reference/enCommand/value:slantedverystrict|slantedverystrict]] [[Reference/en/value:boldslanted|boldslanted]] [[Reference/en/value:type|type]] [[Reference/en/value:cap|cap]] [[Reference/en/value:small...|small...]] [[Reference/enCommand/value:commandnumber|commandnumber]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:textcolortextstyle|textcolortextstyle]]</td> <td>[[ReferenceCommand/value:normal|normal]] [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:cap|cap]] [[Command/envalue:small...|small...]] [[Command/value:namecommand|namecommand]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:interactiontextcolor|interactiontextcolor]]</td> <td>[[Reference/en/value:yes|yes]] [[Reference/enCommand/value:noname|noname]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[ReferenceCommand/enkeyword:interaction|interaction]]</td> <td>[[Command/value:yes|yes]] [[Command/value:no|no]] </td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Command/keyword:factor|factor]]</td> <td>[[Reference/enCommand/value:number|number]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...,...=...,...]</td>
<td>see [[Reference/enCommand/framed|\framed]] </td>
</tr>
</table>
== Description ==
== comment ==<pre>\setupfootnotes[interaction=no]will switch off interaction in Setup the properties of the footnote blocks (which may contain multiple footnotes. This is available ), and some properties of the note marks in new releases only (beginning Febthat block. 24 2004)</pre>
== Keys ==
{| class=wikitable
|-
! '''Key'''
! '''Values'''
|- style="vertical-align: top"
| {{key|conversion}}
| '''numbers''' characters Characters romannumerals Romannumerals
|- style="vertical-align: top"
| {{key|way}}
| '''bytext''' bysection
Start numbering from 1 again at the start of every section?
|- style="vertical-align: top"
| {{key|location}}
| '''page''' text columns firstcolumn lastcolumn high none
Where to place the footnotes?
|- style="vertical-align: top"
| {{key|rule}}
| '''on''' off
|- style="vertical-align: top"
| {{key|rulecolor}}
| ''name''
|- style="vertical-align: top"
| {{key|before}}
| ''command''
|- style="vertical-align: top"
| {{key|after}}
| ''command''
|- style="vertical-align: top"
| {{key|width}}
| ''dimension''
|- style="vertical-align: top"
| {{key|height}}
| ''dimension''
|- style="vertical-align: top"
| {{key|bodyfont}}
| 5pt ... 12pt small big
What size to print the footnotes?
|- style="vertical-align: top"
| {{key|style}}
| normal bold slanted boldslanted type cap small... command
|- style="vertical-align: top"
| {{key|distance}}
| ''dimension''
|- style="vertical-align: top"
| {{key|columndistance}}
| ''dimension''
|- style="vertical-align: top"
| {{key|margindistance}}
| ''dimension''
|- style="vertical-align: top"
| {{key|n}}
| ''number''
|- style="vertical-align: top"
| {{key|numbercommand}}
| ''command that takes 1 argument''
|- style="vertical-align: top"
| {{key|textcommand}}
| ''command that takes 1 argument''
|- style="vertical-align: top"
| {{key|split}}
| tolerant strict verystrict number
|- style="vertical-align: top"
| {{key|textstyle}}
| '''normal''' bold slanted boldslanted type cap small... command
|- style="vertical-align: top"
| {{key|textcolor}}
| ''name''
|- style="vertical-align: top"
| {{key|interaction}}
| '''yes''' no
Should footnote marks be hyperlinks?
|- style="vertical-align: top"
| {{key|factor}}
| ''number''
|- style="vertical-align: top"
| [...,...=...,...]
| see {{cmd|framed}}
|-
|}
== Example ==
<pre classcontext source="example"yes>\setuppapersize[A8, landscape] 
\defineconversion[starred][\starredconv]
\def\starredconv#1{\ifcase#1\or*\or**\or***\fi}
\setupfootnotes [conversion=starred, color=blue, frame=on]
\starttext
Charles IV\/\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person voting} poll.}
\it
Charles IV\/\footnote{Best Czech king (14th cent.) and the winner of Best a \quote{best Czech person voting} poll.}
\tt
Charles IV\/\footnote{Best Czech king (14th cent.) and the winner of Best a \quote{best Czech person voting} poll.}
\stoptext
</context>
 
===Extra Space===
 
To add extra space before the footnote marks:
</precontext source=yes>\setupfootnotes[ textstyle={\hskip.05em},]
\starttext
í\footnote{í}
T\footnote{T}
ľ\footnote{ľ}
ě\footnote{ě}
ď\footnote{ď}
\stoptext
</context>
== See also ==
<!-* {{cmd|footnote}}* {{cmd|setupfootnotedefinition}} to setup the individual footnotes == Help from ConTeXt- something like [[cmdMailinglist/Forum ==All issues with:goto{{Forum|\goto]] -->{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enFootnotes|setupfootnotes]]

Navigation menu