2

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.

Manish
  • 71
  • 3
  • 10

1 Answers1

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