[XeTeX] Em-dash
Ulrike Fischer
news3 at nililand.de
Sat May 1 15:48:40 CEST 2010
Am Fri, 30 Apr 2010 10:40:30 -0400 schrieb Mike Axiak:
> I'm actually having the same problem with CMBright. Specifically, I
> have the following code:
>
> \usepackage{cmbright}
> \usepackage{fontspec}
> \usepackage{xltxtra}
> \usepackage{xunicode}
> \newfontface\chinesefont{AR PL UKai HK}
> \defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
>
> And this doesn't seem to be mapping the -- or --- properly.
>
What do you mean with "doesn't seem to"? Why aren't you sure if it
works or not? Can't you provide a small but complete example that
shows a failure?
If I extend your snippet to a full minimal document it will use as
text font the default latin modern font where the mapping is enable
by default and works even without the \defaultfontfeatures command
(assuming recent versions of the packages involved.
Btw: If you use xltxtra it is not necessary to load fontspec +
xunicode as xltxtra is doing it already.
--
Ulrike Fischer
More information about the XeTeX
mailing list