blob: bbd83f2314cc51d1c4731923390ff53e718f02e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
\ProvidesPackage{devanagaridigits}
[2010/04/01 v0.1 %
Formatting of Devanagari digits]
\def\devanagaridigits#1{\expandafter\@devanagari@digits #1@}
\def\@devanagari@digits#1{%
\ifx @#1% then terminate
\else
\ifx0#1०\else\ifx1#1१\else\ifx2#1२\else\ifx3#1३\else\ifx4#1४\else\ifx5#1५\else\ifx6#1६\else\ifx7#1७\else\ifx8#1८\else\ifx9#1९\else#1\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\expandafter\@devanagari@digits
\fi
}
\endinput
|