5

I need to type following sentences using LaTeX. Can anyone help?

काशक्यनाही? तुझेनावकायआहे?”
“वाह !कायहलकंहलकंवाटतंय” तूकधीयेणारआहेस? कधीघडले? मगतुलाधरलेकसे? तुम्हीकसेओळखले? कुणीसांगितले? हेकामकुणीकेले? कधी, कसे, कुणी, किती . तुलामारायचेकारणकाय ऑ ऒ ऋ ऌ लोकांनाकायसांगायचे? यावेळीकायकामकाढलेस राहायचीकायसोयआहे? कायनिर्णयघेतला? तेकामझालेका? तूकधीयेणारआहेस? तुम्हीकसेओळखले?

To type Marathi in LaTeX I'm using

\documentclass{article}
\usepackage{devanagari}
\usepackage{color}
\begin{document}

{\dn tuJ\? nAv kAy aAh\? }\\
{\dn kA sh-\8{k}y nAhF}\\
{\dn EktF vAjl\?}
\end{document}

1 Answer 1

7

You can use XeLaTeX:

\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage{marathi}

\setmainfont{ITF Devanagari Marathi}

\begin{document}

काशक्यनाही? तुझेनावकायआहे?”
“वाह !कायहलकंहलकंवाटतं
य” तूकधीयेणारआहेस? कधीघड
ले? मगतुलाधरलेकसे? तुम्हीक
सेओळखले? कुणीसांगितले? हेकामकुणीकेले? कधी, कसे, कु
णी, किती.

\end{document}

The support for Marathi is not really complete as for other languages, though. Use a font on your system that supports the Devanagari script; ITF Devanagari Marathi comes with mine.

enter image description here

4
  • Polyglossia does support Marathi. You can set main language ``marathi". See ctan.org/pkg/latex-mr May 9, 2019 at 7:27
  • @RohitD.Holkar Thanks, fixed.
    – egreg
    May 9, 2019 at 7:47
  • @egreg- my pleasure! May 9, 2019 at 8:05
  • What if both english and Marathi both has to be there in the same document.
    – nichas
    Oct 27, 2019 at 14:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .