[NTG-context] Separate italic font.

Pablo Rodriguez oinos at gmx.es
Thu Sep 4 18:54:30 CEST 2014


On 09/04/2014 05:55 PM, john Culleton wrote:
> Here is the example from the wiki
> --------------------------------------
> \setupbodyfontenvironment[default][em=italic]
> \usemodule[simplefonts][size=10pt]
> \setmainfont[TeX Gyre Termes]
> \setsansfont[TeX Gyre Heros]
> \setmonofont[TeX Gyre Cursor]
> ---------------------------------
> If the font (e.g., MinionPro) has a separate
> italic font should I add it?
> If so is the correct command:
> \setitalicfont[\setupbodyfont[MinionPro-It]
> ??

John,

\setupbodyfontenvironment[default][em=italic]
\usemodule[simplefonts][size=10pt]
\setmainfont[TeX Gyre Termes][italicfont=TeX Gyre Pagella Italic]
\starttext
regular \em italics
\stoptext

I hope it helps,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list