Changes

Jump to navigation Jump to search
1,479 bytes added ,  13:26, 23 November 2012
Create stub
{{Reference
|name=digits
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\digits<!--
--><span class="first">{...}</span><!--
--></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">{...}</td>
<td>''a number''</td>
</tr>
</table>

== Description ==
Typeset a number.

== Example ==
<context mode=mkiv source=yes>
\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
</context>

== See also ==
* {{cmd|setdigitorder}}
* {{cmd|setdigitmode}}
* {{cmd|unit}}
* {{cmd|setupunits}}
* {{src|phys-dim.lua}}
* {{src|phys-dim.mkiv}}
-->

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|digits}}

[[Category:Command/Numbers|digits]]
[[Category:Command/Mathematics|digits]]

Navigation menu