View on GitHub

Babel

The multilingual framework to localize LaTeX, LuaLaTeX, XeLaTeX

What’s new in babel 3.41

2020-02-28

Counters and numerals

Many ini locale files has been extended with information about non-positional numerical systems, based on those predefined in CSS. They only work with xetex and luatex (but it may work in pdftex) and are fully expandable (even inside an \edef). Currently, they are limited to numbers below 10000. See an example in PDF in the repository.

There are several way to use them (for the availabe styles in each language, see the list below):

\documentclass{article}

\usepackage{babel}

\babelprovide[alph=lower]{russian}
\babelprovide[alph=alphabetic]{thai}

\babelfont{rm}{FreeSerif}

\begin{document}

\begin{enumerate}
  \selectlanguage{russian}

  \item
  \begin{enumerate}
    \item First
    \item Second
  \end{enumerate}

  \selectlanguage{thai}

  \item
  \begin{enumerate}
    \item First
    \item Second
  \end{enumerate}
\end{enumerate}

\end{document}

You can find another example here.

List of styles

[Update. This list has been extended. See the manual.]

Fixes