Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

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


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

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

\begin{flushleft}
\begin{itemize}
\item{{\dn acyutaaya nama.h |}}
\item{{\dn anantaaya nama.h |}}
\item{{\dn govindaaya nama.h ||}}
\end{itemize}
\vspace*{0.4cm}

{\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 ||}}

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

\section*{{\dn\dnnum \Large praa.naayaama.h || 3 ||}}
\begin{verse}
{\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||}
\end{verse}
\end{document}

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 –  Chandrasekhar May 21 '12 at 15:50
    
Please, make a complete minimal example. –  egreg May 21 '12 at 15:51
    
@egre what does that mean –  Chandrasekhar May 21 '12 at 15:51
    
Please, look at this meta question –  egreg May 21 '12 at 15:56
show 3 more comments

1 Answer 1

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. –  Chandrasekhar May 21 '12 at 18:03
    
But how do you discover all these :( –  Chandrasekhar 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
add comment

Your Answer

 
discard

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.