[XeTeX] xetex and xfrac?

Stephen Moye stephenmoye at mac.com
Wed Dec 3 17:46:02 CET 2008


I have tried to get xfrac to work using xetex and fontspec, but have had only limited success. If, for example, I set

   \setmainfont{Goudy Std}

and

    \sfrac{1}{2}

(notice, not in math mode, but in text mode) there is a 1/2 fraction, but the spacing is not optimal. I tried:

\DeclareInstance{xfrac}{"Goudy Std"}{text}{%
	slash-right-kern = 1pt,
	slash-left-kern	= 1pt,
}

but this does not seem to do anything.

I understand that xfrac is an experimental package at present, but just want to make sure that I am doing the right thing -- or not.

Thanks for any insights...


Stephen Moye


More information about the XeTeX mailing list