Command/convertnumber
\convertnumber
Syntax
| \convertnumber{...}{...} | |
| {...} | text |
| {...} | text |
Description
Convert a number into a different form, e.g. to Roman numerals, bullets, etc.
{..Text1..} - defines the new form {..Text2..} - is the number to convert
The command is defined in core-con.tex package file.
The main conversions (there are others, see the source code) include:
{a} = characters
{A} = Characters
{AK} = smallcapped characters
{KA} = smallcapped characters
{n} = numbers
{N} = Numbers
{m} = mediaeval
{i} = roman numerals
{I} = Roman numerals
{r} = roman numerals
{R} = Roman numerals
{KR} = smallcapped roman numerals
{RK} = smallcapped roman numerals
{g} = greek numerals
{G} = Greek numerals
{o} = oldstyle numerals
{O} = Oldstyle numerals]
{or} = oldstyle roman numerals
{arabicnumberals}
{persiannumerals}
{month} = long month name
{month:mnem} = short month name
{set 0} = symbols [bullet, dash, star, triangle ...]
{set 1} = symbols [*, **, ***, dag, ...]
{set 2} = symbols [*, dag, ddag, **, dagdag ...]
{set 3} = symbols [*, **, ***, ...]
Example
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: