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

Peter Davis pfd at pfdstudio.com
Thu Nov 18 22:41:38 CET 2010


On Thu, Nov 18, 2010 at 4:35 PM, Philip Taylor (Webmaster, Ret'd) <
P.Taylor at rhul.ac.uk> wrote:

> Seems fine with additional braces :
>
> {\textit {italic}}{\fontspec[Color=color13]{DejaVu Sans}\textit {red
> italic}} {\fontspec[Color=color13]{DejaVu Sans}\bfseries{\textit {red bold
> italic}}}{\bfseries{\textit {bold italic}}}
>

Aha!  My bad.  I should have used \itshape.  I guess \textit takes one
argument ... either a character or group.

Thanks!

-pd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101118/73a6233c/attachment.html>


More information about the texhax mailing list