[texhax] Weirdness with bold, italic and colored text and the fontspec package

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Nov 18 22:43:59 CET 2010


Am 18.11.2010 22:19, schrieb Peter Davis:
> I'm trying to use the fontspec package, and also use xcolor to specify
> colored text, which may also be bold or italic.  However, as the example
> below demonstates, I get some weirdness with XeTeX v3.1415926-2.2-0.9997.4
> (MiKTeX 2.9).  Specifically, it seems like each time a change one of the
> attributes (color, bold, italic), the very next glyph is drawn correctly,
> but then the following glyphs are drawn roman, regardless of the italic
> setting.  Any clues?

use \textit{..} or alternatively {\itshape ...}

Herbert


More information about the texhax mailing list