TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

enter image description here

Can anyone tell me as to how I will produce the above text using the "devanagari" package. My input is the following:

{\dn\dnveda tat \|{sa}\_{vi}tur-vare.nya.m |}

but I don't get the double || mark over the "re" line. How can i produce it?

\usepackage[width=4.5in, height=7.0in, top=0.3in, papersize={5.5in,8.5in}]{geometry}

\title{{\dn \huge || sandhyaa-vandanam ||}}
\author{{\dn \large puurvabhaaga.h}}

\section*{{\dn\dnnum \Large aacamanam || 1 ||}}

\item{{\dn acyutaaya nama.h |}}
\item{{\dn anantaaya nama.h |}}
\item{{\dn govindaaya nama.h ||}}

{\dn ke"sava| naaraaya.na| maadhava| govinda| vi.s.no| madhusuudana| trivikrama| vaamana| "sriidhara| h.r.siike"sa| padmanaabha| daamodara||}

\section*{{\dn\dnnum \Large ga.napati-dhyaanam || 2 ||}}

{\dn "suklaambaradhara.m vi.s.nu.m "sa"sivar.na.m caturbhujam | \\ prasannavadana.m dhyaayet sarva-vighnopa"saantaye||}

\section*{{\dn\dnnum \Large praa.naayaama.h || 3 ||}}
{\dn\dnveda\dnsamaveda o.m bhu.h| o.m bhuva.h| o\@suva.h| o.m maha.h| o.m jana.h| o.m tapa.h| o\@\_{sa}tyam|| \\ o.m tat \|{sa}\_{vi}tu\|{rvare.nya}.m bha\|{rgo} \_{de}va\|{sya} dhimahi| \\ dhi\_{yo} yo \|{na}.h pra\_{co}da\|{yaa}t|| \\ omaa\_{po}-jyo\_{ti}-ra\_{so}.am.r\_{ta.m}-bra\_{hma} bhurbhu\_{va}ssu\_{va}rom||}

This is how i typeset using the devanagari package in LaTeX. then i save this as abc.dn file and then run the devnagari preprocessor to get the output.

share|improve this question
Are you using XeTeX? I believed that devanagari.sty is for LaTeX. – egreg May 21 '12 at 14:16
@egreg: No, no there was no XeLaTeX tag. So i tagged it xetex – S.C. May 21 '12 at 15:50
Please, make a complete minimal example. – egreg May 21 '12 at 15:51
@egre what does that mean – S.C. May 21 '12 at 15:51
Please, look at this meta question – egreg May 21 '12 at 15:56
up vote 3 down vote accepted

I don't know if this is the correct way, but it seems to do what you need:

{\dn\dnveda tat \|{sa}\_{vi}tur-va\|{re}\|{\,}\negthinspace.nya.m |}

enter image description here

share|improve this answer
Awesome thanks a lot. It would be nice if you answer my previous question as well. – S.C. May 21 '12 at 18:03
But how do you discover all these :( – S.C. May 21 '12 at 18:03
Sorry, but I discovered it by trial and error. The manual calls that symbol a "svarita", but I know nothing of Sanskrit and related languages. – egreg May 21 '12 at 19:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.