Khmer
Improve this page! Feel free to draft a pull request on GitHub.
This page offers basic guidance on typesetting a LaTeX document in the Khmer language using the Khmer script.
Support with ini
locale file
Here is a minimal sample file with khmer
as the main language
(assuming luatex
, which is the recommended engine, and babel
≥24.14,
although it may work with previous versions).
\documentclass[khmer]{article}
\usepackage[provide=*]{babel}
\babelfont{rm}{Noto Sans Khmer}
% The next 2 lines make sure the Latin script is displayed.
\babelprovide[onchar=fonts letters]{english}
\babelfont[english]{rm}{NewComputerModern10}
\begin{document}
Local name $=$ ខ្មែរ
Chapter $=$ \chaptername
Today $=$ \today
Digits $=$ \localenumeral{digits}{0123456789}
\end{document}
You may need download the font or replace it with another one in your system.