Difference between revisions of "Command/digits"

From Wiki
Jump to navigation Jump to search
(Create stub)
 
m (Kill stray comment end)
Line 46: Line 46:
 
* {{src|phys-dim.lua}}
 
* {{src|phys-dim.lua}}
 
* {{src|phys-dim.mkiv}}
 
* {{src|phys-dim.mkiv}}
-->
 
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 13:26, 23 November 2012

\digits

Syntax

\digits{...}
{...} a number

Description

Typeset a number.

Example

\startlines
10 \setdigitmode {1} \setdigitorder{0} \digits {12.345,90}
20 \setdigitmode {2} \setdigitorder{0} \digits {12.345,90}
30 \setdigitmode {3} \setdigitorder{0} \digits {12.345,90}
40 \setdigitmode {4} \setdigitorder{0} \digits {12.345,90}
50 \setdigitmode {5} \setdigitorder{0} \digits {12.345,90}
60 \setdigitmode {6} \setdigitorder{0} \digits {12.345,90}

11 \setdigitmode {1} \setdigitorder{1} \digits {12.345,90}
21 \setdigitmode {2} \setdigitorder{1} \digits {12.345,90}
31 \setdigitmode {3} \setdigitorder{1} \digits {12.345,90}
41 \setdigitmode {4} \setdigitorder{1} \digits {12.345,90}
51 \setdigitmode {5} \setdigitorder{1} \digits {12.345,90}
61 \setdigitmode {6} \setdigitorder{1} \digits {12.345,90}
\stoplines

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: