Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In LaTeX, some document classes specify sans serif fonts for chapter and section titles, and serif fonts for the main text of a document. what is the proper way to achieve this in ConTeXt? I have code like this, to specify my fonts:

\starttypescript[serif][minionpro]
    \definefontsynonym[Serif][name:minionpro]
\stoptypescript

\starttypescript[minionpro]
    \definetypeface[minionpro][rm][serif][minionpro][default]
\stoptypescript

\setupbodyfont[minionpro, 12pt]
share|improve this question

1 Answer 1

up vote 6 down vote accepted
\setuphead[chapter][style={\ssc}]
\setuphead[section][style={\ssb}]

ConTeXt uses \ss to denote sans-serif, and the suffixes a, b, c, d, and e refer to font size. See font switching on the context wiki for more details.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.