答案1
您必须安装字体 Nakula。安装字体后,您可以使用代码并使用 xelatex 进行编译
\documentclass[12pt]{article}
\usepackage{fontspec}
\newcommand\dn{\catcode`\~=12
\fontspec[Script=Devanagari,%
Mapping=velthuis-sanskrit]{Nakula}}
\begin{document}
{\dn
atha ga.nitapraarambhe.abhii.s.tadevataa.m naaskaroti|
\begin{itemize}
\setlength{\itemsep}{0mm}
\item nanu pratyadhyaayamabhii.s.tadevataapra.natipratij~nota
granthaarambhe k.rtanamaskaare.naabhii.s.tasiddhirbhavati|
punari.s.tadevataanamaskaare.na ki.m saadhya.m|
\item ucyate divya.m hyatitndriya.m j~naana.m ga.nita.m
\end{itemize}
\end{document}
输出: