I want to write a letter in Hindi. I want to use latex to create the pdf document in Hindi. I don't want to have transliteration from english to hindi.
Asked
Active
Viewed 3,159 times
1 Answers
1
Use xelatex
(which uses UTF-8 input) with an appropriate font (e.g. Lohit).
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Script=Devanagari]{Lohit Hindi}
\begin{document}
यह एक परीक्षण है
\end{document}

Roland Smith
- 42,427
- 3
- 64
- 94