scales icon indicating copy to clipboard operation
scales copied to clipboard

Add figure space as `style_positive` option

Open bwiernik opened this issue 3 years ago • 0 comments

This PR adds a third option for style_positive. If style_positive = "space", positive values are prepended by \u2007 (see https://www.fileformat.info/info/unicode/char/2007/index.htm).

\u2007 is a "figure space" -- a blank space the same width as a digit or + or proper minus sign. Compared to using style_positive = "none", prepending a figure space to positive numbers can help ensure that positive and negative numbers are consistently aligned, especially when they are left- or right-justified.

bwiernik avatar Oct 12 '22 20:10 bwiernik