On 02/11/2017 09:51 PM, John Culleton wrote:
> Reently I saw an example of setting up the various formats of a single
> body font such as \rm, \it \bf, \sc etc. with examples of using these in
> Gyre font. It may have been in the wiki or here on the list
> There were examples of slanted type vs.true italic as I recall. 
> I should have copied it but I didn't (at age 84 I forget to do things).

Hi John,

it was a sample from me. Sorry for not having answered before.

An extended version with slanted would be:

    \definefontfamily
        [mainface]
        [rm]
        [TeX Gyre Pagella]
        [it={TeX Gyre Cursor-Italic},
         sl={TeX Gyre Schola-Regular, features:{default,slanted}}
         bf={TeX Gyre Adventor-Bold},
         bi={TeX Gyre Termes-BoldItalic}]

    \setupbodyfontenvironment
        [default]
        [em=italic]

    \setupbodyfont[mainface]
    \starttext
    \startTEXpage[offset=1em]
    Roman font {\em italic} {\sl slanted}

    \bf Bold font \em bold italic
    \stopTEXpage
    \stoptext

Let me know if you miss something in the sample.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to