Open main menu


\setupnote

Summary

The command \setupnote is used for the design of the (foot)note marker in text.

Settings

\setupnote[...,...][...=...,...]
[...,...]name
interactionyes no number text all
symbolcommandoneargument
textcommandoneargument
indicatoryes no
textseparatorcommand
widthdimension
heightdimension
distancedimension
rulecommandcommand
ruleon off normal left right command paragraph
splittolerant strict verystrict number
factornumber
locationtext page high bottom none columns firstcolumn lastcolumn
nextcommand
nnumber
rulecolorcolor
rulethicknessdimension
setupsname
interlinespacename
paragraphyes no
beforecommand
aftercommand
inbetweencommand
scopepage
columndistancedimension
continueyes no
alternativegrid fixed columns note none
criteriumpage
bodyfontsee \setupbodyfont
alignsee \setupalign
textstylestyle command
textcolorcolor
anchornext
spacebeforesee \blank
spaceinbetweensee \blank
...=...,...inherits from \setupframed

OptionExplanation
interaction
if interaction is active, set links between note number and note text?
textcommand
your own macro for the note number design; default: \high
distance
“in the text, between symbols”; default: .125em
rulecommand
your own macro for the line before the list of notes
rule
set a separator line before the list of notes? default is a black line 20% of the textwidth
split
page breaking of notes; try (very)strict setting if footnotes break needlessly over pages
location
placement of the list of notes
n
number of columns if alternative=columns
rulecolor
color of the separator line
rulethickness
thickness of the separator line; default: \linewidth
before
before the list of notes; default: \blank
columndistance
distance between note columns in multi-column mode; default: 1em
alternative
columns typeset notes in columns
bodyfont
font for the notes; default: \small
textstyle
style of the note number; default: \tx
textcolor
color of the note number

Description

The option scope is ignored. (ML 2019-07-22 "Place footnote after reference")

\setupnote affects the number inside the body text, but \setupnotation affects the text at the bottom of the page (footnote or endnote).

You can also use options of \setupcounter (e.g. conversion and prefix) and \setupframed.

Examples

Custom notes

\define[1]\MyNoteTextcommand
   {\offset[y=-0.2ex]{#1}}

\definenote
   [Mynote]

\setupnote
   [Mynote]
   [location=text,
    textstyle=,
    textcommand=\MyNoteTextcommand]

\starttext

\input{knuth}\Mynote{First note.}

\startstyle[style=\ss]
\input{knuth}\Mynote{Second note.}
\stopstyle

\startstyle[style=\tt\bf]
\input{knuth}\Mynote{Third note.}
\stopstyle

\placenotes[Mynote]

\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum