\documentstyle{article} % for multicolumn % \documentstyle[multicol]{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 ##}\bigskip] \fi %\hrule height0.4pt % ----------------------- End of ishdr.itx ------------------------ \centerline{##\hugedvng .. shriigaNeshastotra..##} \bigskip \centerline{.. shriigaNeshastotra..} {\obeylines \obeyspaces #indian % % .. atha shriigaNeshastotra.. \medskip shriigaNeshaaya namaH . naarada uvaacha . \medskip praNamya shirasaa devaM gauriiputraM vinaayakam.h . bhak{}taavaasaM smarenityaM aayuHkaamaarthasiddhaye .. 1.. prathamaM vakratuNDaM cha ekadantaM dvitiiyakam.h . tR^itiiyaM kR^ishhNapiN^gaakshaM gajavak{}traM chaturthakam.h .. 2.. lambodaraM paJN{}chamaM cha shhashhThaM vikaTameva cha . sap{}tamaM vigh{}naraajendraM dhuumravarNaM tathaashhTamam.h .. 3.. navamaM bhaalachandraM cha dashamaM tu vinaayakam.h . ekaadashaM gaNapatiM dvaadashaM tu gajaananam.h .. 4.. dvaadashaitaani naamaani trisa.ndhyaM yaH paThennaraH . na cha vigh{}nabhayaM tasya sarvasiddhikaraH prabhuH .. 5.. vidyaarthii labhate vidyaaM dhanaarthii labhate dhanam.h . putraarthii labhate putraanmokshaarthii labhate gatim.h .. 6.. japedgaNapatistotraM shhaD.hbhirmaasaiH phalaM labhet.h . sa.nvatsareNa siddhiM cha labhate naatra sa.nshayaH .. 7.. ashhTebhyo braahmaNebhyashcha likhitvaa yaH samarpayet.h . tasya vidyaa bhavetsarvaa gaNeshasya prasaadataH .. 8.. \medskip .. iti shriinaaradapuraaNe sa.nkaTanaashanaM gaNeshastotraM saMpuurNam.h.. % ## } \medskip {%\rm Salutations to Lord Ganesha. \medskip Narada said \medskip Let him continuously worship in his mind the son of Gauri, Vinaayaka the refuge of his devotees, for attainment of longevity, desires and wealth\\ \medskip First, as the one with the twisted trunk;\\ Secondly, as the one with the single tusk.\\ Thirdly, as the one with dark brown eyes;\\ Fourthly, as the one with the elephant's mouth.\\ Fifthly, as the one with the belly like a pot; \\ Sixtly, as the grotesque one.\\ Seventhly, as the king of obstacles;\\ Eighthly, as the smoke-colored one.\\ Ninthly, as the moon-crested one;\\ Tenthly, as the remover of obstacles.\\ Eleventhly, as the lord of all,\\ Twelfthly, as the elephant-faced one.\\ \medskip Whoever repeats these twelve names at dawn, noon and sunset, there is no fear of failure, nay, constant fortune. He who desires wisdom, obtains wisdom; he who desires wealth, obtains wealth. He who desires sons, obtains sons; he who desires liberation attains liberation. Whoever chants this hymn to ganapati reaches him in six months, and in one year he reaches perfection, there is no doubt about this. Whoever makes copies of this and distributes them to eight Brahmana, he reaches wisdom immediately, due to the grace of Ganesha. } ## #endindian \medskip\hrule\medskip \end{document} % ---- % send Hindi, Sanskrit, Gujarathi, Telugu, Tamil, Bengali % songs, corrections, etc to Avinash Chopde (avinash@acm.org) % ----