> Am 01.09.2020 um 05:22 schrieb jbf <roma83...@gmail.com>: > > Perhaps someone can assist me with the following query. I have a situation > where I need to use more than one sans serif fonts (especially within > complicated chapter heads). I currently have the following: > > \definefontfamily [mainface] [rm] [alegreya] > \definefontfamily [mainface] [ss] [dax][tf=file:dax-regular] > \definefontfamily [mainface] [mm] [alegreya] > \setupbodyfont[mainface] > \setupbodyfont[11pt] > > But what if I need to have, in addition to the Dax sans serif typeface, an > additional sans serif typeface such as ITCAvantGarde? How do I declare that? > Do I just give it another name, e.g. > \definefontfamily[chapter][itcavantgarde] etc? If I did that, how then do I > refer to it? Obviously not just as {\ss my text} since that would call in the > dax font.
If you don’t need the roman font, you can (ab)use that. Or try handwriting/hw (it was commonly declared in MkII; didn’t try if it just works nowadays). Otherwise, since you probably will use only special font variants in setups like headers, use something like \definedfont[ITCAvantGarde-Semibold*default at 36pt]. Hraban ___________________________________________________________________________________ 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 ___________________________________________________________________________________