Skip to content

numr — Numerators

numr (Numerators) replaces digits preceding a slash (U+002F) with numerator forms, and replaces the slash itself with the fraction slash (U+2044).

The specification’s Application interface says that, in recommended usage, this feature is applied automatically by the application as part of its implementation for frac (Fractions). Direct user control is not expected.

Without numr
12
With numr
12
.fea source
Compiling…

The rules are written with Lookup Type 1. The preview text has no slash, so this example only shows the digit substitution.

Without rules
12
With rules
12
Compiling…