texmf-dist/tex/latex/polyglossia/bengalidigits.sty
raw| 1 | \ProvidesPackage{bengalidigits} |
| 2 | [2015/08/07 v.02% |
| 3 | Formatting of Bengali digits] |
| 4 | |
| 5 | \def\bengalidigits#1{\expandafter\@bengali@digits #1@} |
| 6 | \def\@bengali@digits#1{% |
| 7 | \ifx @#1% terminate |
| 8 | \else |
| 9 | \ifcase#1০\or১\or২\or৩\or৪\or৫\or৬\or৭\or৮\or৯\fi |
| 10 | \expandafter\@bengali@digits |
| 11 | \fi |
| 12 | } |
| 13 | \endinput |