\documentstyle{article} \input idevn.tex % TeX macros that ease ITRANS devanagari font usage %----- % ITRANS song book....prepend this header to print out songs, % using TeX (either Devnac or Devnag font) % >>>>>>>> Need ITRANS 4.0 <<<<<<<<< %----- % User Configuration Option -- One column or Two column output. %\def\maketwocolumn{YES} % Uncomment this for 2-column printing %\def\makelandscape{YES} % Uncomment this for landscape format \pagestyle{empty} %\def\eatnum#1{} % empty operator %\newcommand{\SCOUNT}{\stepcounter{scounter}\arabic{scounter}} %\newcounter{scounter} %\newcommand{\BCOUNT}{\stepcounter{bcounter}\arabic{bcounter}} %\newcounter{bcounter} %\newcommand{\CCOUNT}{\stepcounter{ccounter}\arabic{ccounter}} %\newcounter{ccounter} %\newcommand{\resetCCOUNT}{\setcounter{ccounter}{0}} %\newcommand{\addline}{\medskip\hrule\medskip} %\newcommand{\separate}{\medskip\hrule\medskip\setcounter{scounter}{0}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Edit this if needed, default should be ok for most users. \ifx\undefined\maketwocolumn % --- One column output \let\usedvng=\LARGEdvng % 17pt devanagari font \let\smallcmr=\eightrm \let\titlefont=\tenrm \else % --- Two column output \let\usedvng=\normaldvng % 10pt devanagri font \let\smallcmr=\sixrm \let\titlefont=\eightrm \fi % font options (normaldvng, largedvng, etc): % sizes: normal < large < Large < LARGE < huge < Huge %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % if needed, redefine "space" to allow each input line to be broken into % multiple output lines (\let =~ is the default, which enforces line rule) % That has to done in the idevn.tex file, or add this command after % \startsong in your input file: % {\global\let =\ }% Comment this out for: 1 input line --> 1 output line % (you cannot uncomment the command here, it has to appear after \startsong) %----- % Uncomment one of the following paragraphs: % First one is for Frans Velthuis's font. % Second one uses the font that is bundled with the ITRANS package. % ONLY one of these should be uncommented at any one time............. % ** Frans's font....(Metafont) (Uncomment the following TWO lines.) #indianifm=dvng.ifm % ITRANS command #indianfont=\fransdvng %-----OR-------- % ** Devnac font (PostScript) (Uncomment the following TWO lines.) % #indianifm=dvnc.ifm % ITRANS command % #indianfont=\postdvng #useshortmarkers % this allows use of ## (beginindian) and ## (endindian) % ----------------------------------------------------------------- % Page Settings \ifx\undefined\makelandscape % Use Portrait Size Page \portraitpage % use a slightly wider page \addtolength{\textwidth}{0.25in} \else % Use Landscape Size Page \landscapepage \fi % ----------------------------------------------------------------- % The idevn.tex file is now included with ITRANS 4.0, but it has % a new method of specifying the songtitle (using printtitle). % For backward compatibility, need to define songtitle. \def\songtitle#1#2#3#4{% \film{#1}\singer{#2}\lyrics{#3}\music{#4}\printtitle} % ----------------------------------------------------------------- \font\titled=dvng10 scaled\magstep1 \raggedright % since the words are long, this reduces the long % gaps that appear when TeX justifies the lines. %\parskip 3 pt % to slightly increase the space between the shlokas. \parindent 0pt \begin{document} % from startsong command: \def\-{{\englfont -}}% \def\.{{\englfont .}}% \usedvng % use whatever font the user wants...default normaldvng \englfont % usedvng makes default font indian, restore english font % end from startsong command % \ifx\undefined\maketwocolumn \relax \else \twocolumn[\centerline{##\titled suuryamantra##}\bigskip] \fi %\hrule height0.4pt % ----------------------- End of ishdr.itx ------------------------ \obeylines \obeyspaces #indian AUM dhyeyaH sadaa savitR^imaNDala madhyavarti . naaraayaNaH sarasijaasansa.nivishhTaH . keyuuravaana makarakuNDalavaana kiriiTii . haarii hiraNmayavapu{dhR^i}.rtasha.nkhachakraH .. AUM mitraaya namaH . AUM ravaye namaH . AUM suuryaaya namaH . AUM bhaanave namaH . AUM khagaaya namaH . AUM puushhNe namaH . AUM hiraNyagarbhaaya namaH . AUM mariichaye namaH . AUM aadityaaya namaH . AUM savitre namaH . AUM arkaaya namaH . AUM bhaaskaraaya namaH . AUM shriisavitR^isuuryanaaraayaNaaya namaH .. aaditasya namaskaaraan.h ye kurvan{}ti dine dine . janmaantarasahasreshhu daari{dr.h}yaM doshha naashate . akaalamR^ityu haraNaM sarvavyaadhi vinaashanam.h . suuryapaadodakaM tiirthaM jaThare dhaarayaamyaham.h .. yogena chittasya padena vaachaa malaM shariirasya cha vaidyakena . yopaakarottaM pravaraM muniinaaM pata.njali.n praa.njaliraanato.asmi .. % #endindian \end{document} % ---- % send Hindi, Sanskrit, Gujarathi, Telugu, Tamil, Bengali % songs, corrections, etc to Avinash Chopde (avinash@acm.org) % ----