View on GitHub

Babel

The multilingual framework to localize LaTeX, LuaLaTeX, XeLaTeX

Persian

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

Support with ini locale file

Here is a minimal sample file with persian as the main language, with luatex.

\documentclass[persian]{article}

\usepackage[provide=*,bidi=basic]{babel}

\babelfont{rm}[Renderer=Harfbuzz]{FreeSerif}

\begin{document}

Local name $=$ فارسی

Chapter $=$ \chaptername

Today $=$ \today

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

\end{document}