[dev-context] Incorporating math ligatures in ConTeXt
Aditya Mahajan
adityam at umich.edu
Sun Dec 3 23:17:07 CET 2006
On Sun, 3 Dec 2006, Taco Hoekwater wrote:
> Hi,
>
> Aditya Mahajan wrote:
> > Hi Hans and Taco,
> >
> > I recently came across mathlig.tex
> > (ftp://tug.ctan.org/pub/tex-archive/macros/generic/misc/mathlig.tex)
> > which allows one to write
> >
> > \mathlig {->} {\rightarrow}
> >
> > and then in math mode -> will be equal to \rightarrow so one can just
> > write
> >
> > $A -> B$
>
> Yes, that reads much better. It really should be a separate module
> because of potential conflicts with active characters, but you can
> just incorporate the existing mathlig.tex wholesale in a module
> file since it appears to work (but consider using \protect/\unprotect
> instead of the @ trickery)
Here is the first attempt. I have cleaned up mathlig.tex.
Aditya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thrd-lig.tex
Type: application/octet-stream
Size: 5480 bytes
Desc:
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20061203/4cebf8f9/attachment.obj>
More information about the dev-context
mailing list