Command/spaceddigits

From Wiki
Jump to navigation Jump to search


\spaceddigits

Summary

The command \spaceddigits is used for automatically adding thousand separators to a string of digits.

Settings

\spaceddigits{...}
{...}number

OptionExplanation
The number to space

Description

Examples

Changing the separator

  • % Default
    \spaceddigits{1234567.890}
    
    % Thin space
    \let\spaceddigitsseparator=\thinspace
    \spaceddigits{1234567.890}
    
    % Comma
    \let\spaceddigitsseparator=,
    \spaceddigits{1234567.890}
    

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: