ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* defining font family for several options
@ 2020-09-01  3:22 jbf
  2020-09-01 20:36 ` Henning Hraban Ramm
  2020-09-01 23:08 ` Aditya Mahajan
  0 siblings, 2 replies; 9+ messages in thread
From: jbf @ 2020-09-01  3:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

Julian

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-09-03 22:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01  3:22 defining font family for several options jbf
2020-09-01 20:36 ` Henning Hraban Ramm
2020-09-01 23:08 ` Aditya Mahajan
2020-09-01 23:22   ` jbf
2020-09-01 23:59     ` Otared Kavian
2020-09-02  0:10       ` jbf
     [not found]       ` <7e248e94-f223-6850-7b69-402939425229@gmail.com>
     [not found]         ` <DFAA6733-13EF-463A-9786-0E5352182E88@gmail.com>
     [not found]           ` <60f78515-9d33-c944-c8ad-9dcbc7053247@gmail.com>
     [not found]             ` <AAFB42C0-CCC0-47BD-8FAA-8E9E2EFBC73C@gmail.com>
2020-09-03 21:06               ` jbf
2020-09-03 21:16                 ` Aditya Mahajan
2020-09-03 22:17                   ` jbf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).