Difference between revisions of "Command/setupfootnotes"

From Wiki
Jump to navigation Jump to search
m (Not conversion, numberconversion)
m (Add rulecolor option)
Line 24: Line 24:
 
     <td class="cmd">[[Command/keyword:rule|rule]]</td>
 
     <td class="cmd">[[Command/keyword:rule|rule]]</td>
 
     <td>[[Command/value:on|on]] [[Command/value:off|off]] </td>
 
     <td>[[Command/value:on|on]] [[Command/value:off|off]] </td>
 +
  </tr>
 +
  <tr valign="top" class="first">
 +
    <td class="cmd">[[Command/keyword:rulecolor|rulecolor]]</td>
 +
    <td>[[Command/value:name|name]] </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
Line 123: Line 127:
 
| {{key|rule}}
 
| {{key|rule}}
 
| '''on''' off
 
| '''on''' off
 +
|- style="vertical-align: top"
 +
| {{key|rulecolor}}
 +
| ''name''
 
|- style="vertical-align: top"
 
|- style="vertical-align: top"
 
| {{key|before}}
 
| {{key|before}}

Revision as of 10:06, 27 October 2013

\setupfootnotes

Syntax

\setupfootnotes[...,...=...,...]
conversion or numberconversion numbers characters Characters romannumerals Romannumerals
way bytext bysection
location page text columns firstcolumn lastcolumn high none
rule on off
rulecolor name
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 the properties of the footnote blocks (which may contain multiple footnotes), and some properties of the note marks in that block.

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
rulecolor name
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,
    color=blue,
    frame=on]

\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: