View on GitHub

Babel

The multilingual framework to localize LaTeX, LuaLaTeX, XeLaTeX

Tamil

Improve this page! Feel free to draft a pull request on GitHub.
Search this site for more on Tamil.

This page offers basic guidance on typesetting a LaTeX document in the Tamil language using the Tamil script.

Support with ini locale file

Here is a minimal sample file with tamil as the main language (assuming luatex, which is the recommended engine, and babel ≥25.14, although it may work with previous versions).

\documentclass[tamil]{article}

\usepackage{babel}

\babelfont{rm}{FreeSerif}

\begin{document}

Local name $=$ தமிழ்

Chapter $=$ \chaptername

Today $=$ \today

Digits $=$ \localenumeral{digits}{0123456789}

\end{document}

Counters

Although Tamil numerals are best entered directly in its original form, you may still need some conversion because LaTeX uses internally the Arabic ones. With luatex there are two ways to map Arabic to Tamil numerals, passed as option to \babelprovide:

To perform this conversión, use the following preamble:

\usepackage[tamil, provide=mapdigits]{babel} % or alternatively maparabic
\babelfont{rm}{FreeSerif}

There is an additional counter: ancient. With \localenumeral{ancient}{2468}, ௨௲௪௱௬௰௮ is printed.

See the explanation in the babel manual about \localecounter and localenumeral.

Calendar

The Indian National Calendar, named indian, is supported (luatex and xetex). Here is an example setting indian as the default calendar for \today.

\documentclass{article}

% Set a fixed day for this example
\year=2026 \month=8 \day=15

\usepackage[tamil, provide={calendar=indian}]{babel}
\babelfont{rm}{FreeSerif}

\begin{document}

\today

\end{document}

Contribute

If you are a native speaker or have expertise in this language, you can contribute, make suggestion or request an enhancement by submitting a pull request, opening an issue, or contacting the Babel maintainer with the link above.