Thanks! :) Wolfgang Schuster wrote:
On Fri, Oct 10, 2008 at 2:01 AM, Mohamed Bana
wrote: hi guys,
\definetypeface[adobe][rm][serif][minionpro][default] %\definetypeface[adobe][rm][serif][agaramondpro][default] \definetypeface[adobe][ss][sans][myriadpro][default] %\definetypeface[adobe][ss][sans][cronospro][default] \setupbodyfont[adobe,11pt]
\definetypeface[one][rm][serif][agaramondpro][default] \definetypeface[one][ss][sans][cronospro][default]
\definetypeface[two][rm][serif][minionpro][default] \definetypeface[two][ss][sans][myriadpro][default]
Given the above, the document will be typeset only in minion pro, I'd like to know how to typeset parts of the document in different faces and sizes. For instance, I'd like the first section in minionpro 11pt, then say, any other arbitrary section (I choose manually), to be typeset in minionpro 12pt.
So;
section1; minionpro 11pt as serif, minionpro as sans section2; minionpro 12pt as serif, minionpro as sans section3; garamondpro 11pt as serif, cronospro as sans section4; garamondpro 12pt as serif, cronospro as sans
etc.
\setupbodyfont[one,11pt]
\starttext
....
\switchtobodyfont[two,12pt]
....
\switchtobodyfont[one,11pt]
....
\stoptext
Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________