Hi Hans, If I understand it correctly, with the \setupbodyfontenvironment one can define various sizes and then apply them to various styles such as \it, \bf, etc. This is indeed great! But in your example the math fonts disappear: is this intended? Best regards: OK On 8 mai 2012, at 19:07, Hans Hagen wrote:
Hi,
A nice candidate for wikification:
\setupbodyfont[dejavu]
\setupbodyfontenvironment [default] [smallsized=1.25, mediumsized=1.5, largesized=2.0]
\definefontsize[smallsized] \definefontsize[mediumsized] \definefontsize[largesized]
\starttext
\setuphead[chapter] [style=\bflargesized] \setuphead[section] [style=\bfmediumsized] \setuphead[subsection][style=\bfsmallsized]
\chapter {Whatever $x-1$} \section {Whatever $x-1$} \subsection{Whatever $x-1$}
\input ward
\stoptext
--
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________