[XeTeX] selecting lucida sans oblique

Sébastien Mengin sebastien-mengin at edilibre.net
Fri Sep 16 10:59:32 CEST 2011


Le jeu. 15/09/11 (09:38:08 -0400), Steve Peter a écrit :
> On Sep 15, 2011, at 4:17 PM, Sébastien Mengin wrote:
> 
> > \documentclass{book}
> > \RequirePackage{fontspec}
> > \RequirePackage{xunicode}
> > \RequirePackage[french]{babel}
> > \setmonofont{Lucida Sans Typewriter}
> > 
> > \begin{document}
> > \texttt{\emph{test}}
> > 
> > {\bfseries\texttt{\emph{test}}}
> > 
> > \end{document}
> > 
> > Here, both «test» are typeset BoldOblique.
> 
> The first one is not bold. 

Hmm, so something must be broken in my installation.

fc-list returns :
Lucida Sans:style=Demibold Oblique
Lucida Sans:style=Demibold
Lucida Bright:style=Demibold
Lucida Bright:style=Italic
Lucida Sans Typewriter:style=Bold
Lucida Sans:style=Oblique
Lucida Bright:style=Regular
Lucida Sans Typewriter:style=Oblique
Lucida Sans Typewriter:style=Regular
Lucida Sans Typewriter:style=Bold Oblique
Lucida Sans:style=Regular
Lucida Bright:style=Demibold Italic

I don't see why \texttt{\emph{test}} does not select Lucida Sans
Typewriter:style=Oblique here...

> > What do I have to do to select italic with this font?
> 
> I believe there is only an oblique version of Lucida Sans Typewriter,
> not a true italic. Thus, the behavior you see is correct, unless I'm
> missing something in your question.

No, I meant, how to select only oblique, just oblique, not bold-oblique?

Thanks,
SM

-- 
Sébastien Mengin -- GPG Id : 4725AC6E
Édition et logiciels libres
< Mise en page avec LaTeX >
http://edilibre.net
tél. : 05 81 27 67 93
jid. : sebastien-mengin at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/xetex/attachments/20110916/e5c9753a/attachment.bin>


More information about the XeTeX mailing list