[XeTeX] section styling breaks with sections, intercharclasses and fontspec
Peter Dyballa
Peter_Dyballa at Web.DE
Fri Nov 13 23:03:54 CET 2009
Am 13.11.2009 um 19:50 schrieb Michiel Kamermans:
> if I replace the transition rules to just text insertion, a la:
>
> [...]
>
> Then this style breaking does not occur
Maybe this is a bit to simplistic from me, if I do not substitute
anything but just put 日本語 between { and }...
A different approach is one with declaring \cjkfont as a font of four
variants (can also be a set of four completely different fonts):
\newcommand{\cjkfont}{\setmainfont[ItalicFont=HiraMinPro-
W3,ItalicFeatures={RawFeature=+ital},
BoldItalicFont=HiraMinPro-W6,ItalicFeatures={RawFeature=+ital},
BoldFont=HiraMinPro-W6]{HiraMinPro-W3}}
\newcommand{\cjkfont}{\setmainfont[ItalicFont=HiraKakuPro-W3,
BoldItalicFont=HiraKakuPro-W6,
BoldFont=HiraMinPro-W6]{HiraMinPro-W3}}
\newcommand{\cjkfont}{\setmainfont[ItalicFont=HiraKakuPro-
W3,ItalicFeatures={RawFeature=+ital},
BoldItalicFont=HiraKakuPro-W6,ItalicFeatures={RawFeature=+ital},
BoldFont=HiraMinPro-W6]{HiraMinPro-W3}}
It's not possible to select the all variants inside a \cjkfont
environment... (Bold-Italic is missing)
--
Greetings
Pete
Eat the rich – the poor are tough and stringy.
More information about the XeTeX
mailing list