i

indic-numerals

@preview

convert arabic numerals to indic numerals and vice versa

v0.1.0
MIT

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/indic-numerals:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/indic-numerals:0.1.0": *

Version History

0.1.0
bd1d01b30715...
License: MIT

indic-numerals

convert arabic numerals to indic numerals and vice versa

#import "@preview/indic-numerals:0.1.0": arabic-to-indic, indic-to-arabic

#indic-to-arabic("௦௧௨௩௪௫௬௭௮௯", "tamil") // Output: 0123456789

#arabic-to-indic("0123456789", "tamil") // Output: ௦௧௨௩௪௫௬௭௮௯