[XeTeX] Change fonts for different environment/commands
Wilfred van Rooijen
wvanrooijen at yahoo.com
Wed Sep 1 01:27:53 CEST 2010
I think you will have to redefine all those parts of the environments dealing with fonts. Can you send a minimal example of what you want to achieve? In my case, \addfontfeature yields "undefined control sequence".
There are many packages which already take care of these things for you, such as caption, ccaption, caption2 for captions, and similar packages for footnotes.
Regards,
Wilfred
--- On Tue, 31/8/10, Marcin Grotomirski <grotos at gmail.com> wrote:
> From: Marcin Grotomirski <grotos at gmail.com>
> Subject: [XeTeX] Change fonts for different environment/commands
> To: xetex at tug.org
> Date: Tuesday, 31 August, 2010, 6:31 PM
> Hey,
> I want to set a different font for differnt environment.
> Actually I'm
> interested in changing fonts in section titles, but also
> colour in
> footnotes. Should I use "\renewcommand"? I've tried it when
> changing
> colour globally for footnote, but xelatex compilation
> freezes.
>
> My sample:
> \renewcommand{\thefootnote}{\addfontfeature{color=dddddd}}
>
> I would appreciate a general solution for changing font
> features for
> different environments.
>
> Regards,
> Marcin
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
More information about the XeTeX
mailing list