[XeTeX] Fontspec 1.8 problem?

Will Robertson will at guerilla.net.au
Sat Jul 16 12:09:14 CEST 2005


On 16 Jul 2005, at 7:21 PM, Ross Moore wrote:

> If you really want to override the existing definition,
> then isn't it a better fix to:
>
>  \let\colon\relax
>  \DeclareMathSymbol{\colon}{\mathpunct}{legacymaths}{"3A}

Well, I'm not sure. It would be a better idea, but I wasn't really  
sure what was going with amsmath's definition:

   \renewcommand{\colon}{\nobreak\mskip2mu\mathpunct{}\nonscript
     \mkern-\thinmuskip{:}\mskip6muplus1mu\relax}

Since the point of overwriting this in fontspec is \AtBeginDocument,  
I didn't really want to override the effort that went into this macro...

So I figure anyone using \colon is *probably* using amsmath, and in  
that case I wouldn't want fontspec changing their documents from how  
they expect. The corollary to this being that the lucida maths setup  
probably is being a little over-enthusiastic in providing macros for  
its glyphs and anyone wanting a colon will be using instead:

   \DeclareMathSymbol{:}{\mathrel}{legacymaths}{"3A}

Am I barking up the wrong tree?

Will



More information about the XeTeX mailing list