% 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\dvyu{\char149\kRn{-0.3}\sBs{-0.25}{\char0}\kRn{0.3}}%special ligature \def\dvya{\char149}%special ligature \def\dvyaa{\char149 A}%special ligature \def\u#1{\underline{\rule[-0.5em]{0em}{1em}#1}} %sannatara mark \def\s#1{#1\kRn{-0.12}\rule[0.8em]{0.1em}{0.5em}}%svarita mark % \def\`{\kRn{-1.5} \rule[-0.5em]{0.5em}{0.1em}\kRn{-0.2}}% alt.sannatara % \def\'{\kRn{-0.12}\rule[0.8em]{0.1em}{0.5em}} %alt. svarita \def\`{\kRn{-1.5} \rule[-0.5em]{0.5em}{0.1em}\kRn{0.2}}% alt.sannatara \def\'{\kRn{-0.12}\rule[0.8em]{0.1em}{0.5em}} %alt. svarita \def\kp{ 1\`\' } %kampa short \def\Kp{ 3\`\' } % kampa long \def\m+{\sBs{-0.30}{\char32}\kRn{-0.5}\sBs{0.50}{\char94}} \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 <<<<<<<<< %----- \newcommand{\SC}{\stepcounter{scounter}\arabic{scounter}} \newcounter{scounter} %\newcommand{\addline}{\medskip\hrule\medskip} % Edit this if needed, default should be ok for most users. \ifx\undefined\maketwocolumn % --- One column output \let\usedvng=\largedvng % 17pt devanagari font % \let\usedvng=\Hugedvng % 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=sdvng.ifm % ITRANS command Here s means Sanskrit mode, so halanta is default! #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 ------------------------ #indian %Invoke indian font