diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/velthuis/devanagari.sty | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/velthuis/devanagari.sty b/Master/texmf-dist/tex/latex/velthuis/devanagari.sty index 3e9207f3d97..6a8be09c07e 100644 --- a/Master/texmf-dist/tex/latex/velthuis/devanagari.sty +++ b/Master/texmf-dist/tex/latex/velthuis/devanagari.sty @@ -8,7 +8,7 @@ % Maintainer : Anshuman Pandey <apandey@u.washington.edu> % Kevin Carmody <i@kevincarmody.com> % Zdenek Wagner <zdenek.wagner@gmail.com> -% Revised : 18 January 2007 +% Revised : 8 February 2009 % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ % The Identification Part % ~~~~~~~~~~~~~~~~~~~~~~~ \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{devanagari}[2008/03/09 v2.15 LaTeX macros for Velthuis Devanagari] +\ProvidesPackage{devanagari}[2009/02/09 v2.15 LaTeX macros for Velthuis Devanagari] % % Error message for someone running LaTeX 2.09: Checks for definition of % \documentclass; it exists in LaTeX2e, but not in LaTeX 2.09 @@ -293,10 +293,17 @@ \DeclareRobustCommand\|{\svarita}% \DeclareRobustCommand\~{\padasep}} % +\DeclareRobustCommand\dnvedatrans{% + \DeclareRobustCommand\_{\underline}% + \DeclareRobustCommand\|{\svaritatrans}}% +% \DeclareRobustCommand\dnsamaveda{% \DeclareRobustCommand\^{\samatone}% \DeclareRobustCommand\@{\vedicanusvara}} % +\DeclareRobustCommand\dnsamavedatrans{% + \DeclareRobustCommand\^{\samatonetrans}} +% \DeclareRobustCommand*\anudattavar[1]{\leavevmode\setbox0=\hbox{#1}\anudep=\dp0\anuwid=\wd0 \advance\anudep by 0.7ex\advance\anuwid by -0.1em{#1}\llap{\lower\anudep \hbox{\vrule width\anuwid height0.07em}% @@ -310,6 +317,10 @@ \llap{\raise5.7ex\hbox{\vrule height2.5ex width0.08em}% \hbox{\phantom{\vrule height2.5ex width0.15em}}}} % +\DeclareRobustCommand*\svaritatrans[1]{\leavevmode\hbox{#1}% + \llap{\raise1.7ex\hbox{\vrule height0.8ex width0.08em}% + \hbox{\phantom{\vrule height0.8ex width0.08em}}}} +% \DeclareRobustCommand\padasep{\leavevmode\hbox{% \kern-0.15em\raise2.42ex\hbox{\char255}% \kern-0.15em\raise2.42ex\hbox{\char255}% @@ -322,6 +333,8 @@ \DeclareRobustCommand\vedicanusvara{\leavevmode{\kern1.0ex\lower1.5ex\hbox{\char32}}% \kern-2.0ex\raise3.7ex\llap{\char94}\kern3.8ex} % +\DeclareRobustCommand*\samatonetrans[1]{\(^{#1}\)} +% % Macro for selection of Sama Veda tone font \dn@tf % \def\dn@tf{% @@ -539,6 +552,10 @@ Here is the log file, created by RCS. (Log from dev.sty is also kept here.) % $Log: devanagari.sty,v $ +% Revision 1.13 2009-02-09 10:11:56 icebearsoft +% Fix by Kevin Carmody: Use \dnveda only for Devanagari, and use a new command, \dnvedatrans, for +% transliteration. +% % Revision 1.12 2008-03-09 15:58:00 icebearsoft % Citation macros moved to a separate package. Switch \ifdnmode implemented. Email address corrected. % @@ -690,7 +707,7 @@ Here is the log file, created by RCS. (Log from dev.sty is also kept here.) % o Moved RCS log entries to after \endinput. % % Revision 1.11 1998/06/22 12:11:17 UCGADKW -% o added $Revision: 1.12 $ to \ProvidesFile; +% o added $Revision: 1.13 $ to \ProvidesFile; % o moved RCS log to after \endinput. % % Revision 1.10 1998/06/22 12:10:00 UCGADKW |