[XeTeX] Devanagari Ligature Problem Resolved --- Now Hyphenation

Joel C. Salomon joelcsalomon at gmail.com
Wed Sep 30 23:15:24 CEST 2009


Neal Delmonico wrote:
>> \newcommand{\dev}[1]{{\begin{sanskrit}\large #1\end{sanskrit}}} % this
>> says that the text enclosed in \dev{} is in Sanskrit
> 
> Thanks for the suggestion.  <snip>  Also what does the
> #1 do and why is there a [1] after the {\dev}.  Sorry to be a pest.  I
> am trying to understand how this works.

That’s from LaTeX programming; follow this link for an explanation:
<http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/extending_latex.html>.

—Joel Salomon


More information about the XeTeX mailing list