Difference between revisions of "Command/setupfootnotes"
< Command
Jump to navigation
Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}") |
(Nicer table, nicer example) |
||
Line 101: | Line 101: | ||
== Description == | == Description == | ||
+ | Setup default footnote look and feel. | ||
− | + | == 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|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 == | == Example == | ||
− | < | + | <context source=yes> |
+ | \setuppapersize[A8, landscape] | ||
+ | |||
\defineconversion[starred][\starredconv] | \defineconversion[starred][\starredconv] | ||
\def\starredconv#1{\ifcase#1\or*\or**\or***\fi} | \def\starredconv#1{\ifcase#1\or*\or**\or***\fi} | ||
Line 119: | Line 195: | ||
\starttext | \starttext | ||
Charles IV\/\footnote{Best Czech king (14th cent.) | Charles IV\/\footnote{Best Czech king (14th cent.) | ||
− | and the winner of best Czech person | + | and the winner of a \quote{best Czech person} poll.} |
\it | \it | ||
Charles IV\/\footnote{Best Czech king (14th cent.) | Charles IV\/\footnote{Best Czech king (14th cent.) | ||
− | and the winner of | + | and the winner of a \quote{best Czech person} poll.} |
\tt | \tt | ||
Charles IV\/\footnote{Best Czech king (14th cent.) | Charles IV\/\footnote{Best Czech king (14th cent.) | ||
− | and the winner of | + | and the winner of a \quote{best Czech person} poll.} |
\stoptext | \stoptext | ||
− | </ | + | </context> |
− | |||
== See also == | == See also == | ||
− | {{cmd| | + | * {{cmd|footnote}} |
− | |||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == | ||
Line 140: | Line 214: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Footnotes|setupfootnotes]] |
Revision as of 01:33, 2 July 2012
\setupfootnotes
Syntax
\setupfootnotes[...,...=...,...] | |
conversion | numbers characters Characters romannumerals Romannumerals |
way | bytext bysection |
location | page text columns firstcolumn lastcolumn high none |
rule | on off |
before | command |
after | command |
width | dimension |
height | dimension |
bodyfont | 5pt ... 12pt small big |
style | normal bold slanted boldslanted type cap small... command |
distance | dimension |
columndistance | dimension |
margindistance | dimension |
n | number |
numbercommand | oneargument |
textcommand | oneargument |
split | tolerant strict verystrict number |
textstyle | normal bold slanted boldslanted type cap small... command |
textcolor | name |
interaction | yes no |
factor | number |
[...,...=...,...] | see \framed |
Description
Setup default footnote look and feel.
Keys
Key | Values |
---|---|
conversion | numbers characters Characters romannumerals Romannumerals |
way | bytext bysection
Start numbering from 1 again at the start of every section? |
location | page text columns firstcolumn lastcolumn high none
Where to place the footnotes? |
rule | on off |
before | command |
after | command |
width | dimension |
height | dimension |
bodyfont | 5pt ... 12pt small big
What size to print the footnotes? |
style | normal bold slanted boldslanted type cap small... command |
distance | dimension |
columndistance | dimension |
margindistance | dimension |
n | number |
numbercommand | command that takes 1 argument |
textcommand | command that takes 1 argument |
split | tolerant strict verystrict number |
textstyle | normal bold slanted boldslanted type cap small... command |
textcolor | name |
interaction | yes no
Should footnote marks be hyperlinks? |
factor | number |
[...,...=...,...] | see \framed |
Example
\setuppapersize[A8, landscape] \defineconversion[starred][\starredconv] \def\starredconv#1{\ifcase#1\or*\or**\or***\fi} \setupfootnotes[conversion=starred] \starttext Charles IV\/\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.} \it Charles IV\/\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.} \tt Charles IV\/\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.} \stoptext
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: