[XeTeX] xelatex + slanted
Will Robertson
wspr81 at gmail.com
Mon Jun 29 02:07:37 CEST 2009
On 2009-06-28 18:52:40 +0930, Peter Dyballa
<Peter_Dyballa at Web.DE> said:
> Am 28.06.2009 um 11:08 schrieb Will Robertson:
>
>> \fontspec[FakeSlant=0.25]{MyFont}
>
>
> Or, more NFSS2 compatible, that a \textsl{slanted text} works:
>
> \newfontface\slanted[RawFeature={slant=0.25}]{LinBiolinumB}
> \DeclareRobustCommand{\textsl}[1]{{\slanted #1}}
\setmainfont[
ItalicFont={MyFont},
ItalicFeatures={FakeSlant}
]{MyFont}
Then \textit (and \textsl) will do the right thing.
W
More information about the XeTeX
mailing list