[XeTeX] fontspec: loading different shapes/scales of one font as different font instances?

BPJ bpj at melroch.se
Sun Aug 1 19:53:58 CEST 2010

2010-07-30 06:25, Will Robertson skrev:
> \newfontfamily\foo[<options>]{<font name>}

The ability to say

     \newfontfamily\foo{Foo Bold} Bar baz

or rather

     \newfontfamily\foo[Style=Bold]{Foo} Bar baz

     % Where "Bold" could be Bold/Italic/BoldItalic/SmallCaps/Normal

and get the equivalent of

     \newfontfamily\foo{Foo} \bfseries Bar baz

Though I guess providing a Style option for the user
and insert \bfseries etc. / define commands including
them will actually be necessary anyway...


More information about the XeTeX mailing list