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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 7 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.