ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to switch single font?
@ 2016-08-05 15:03 Henri Menke
  2016-08-05 15:29 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Henri Menke @ 2016-08-05 15:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

how can I switch to another typeface for the, say, roman font only?  When I use \definefontfamily to do so it switches *all* the fonts, including math, to the one loaded (example below).  This leads to very undesirable effects, such as math is no longer set in italics.

Cheers, Henri

---

\definefontfamily[main][rm][Linux Libertine O]
\setupbodyfont[main]
\starttext
foo $bar$
\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2016-08-05 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05 15:03 How to switch single font? Henri Menke
2016-08-05 15:29 ` Wolfgang Schuster

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).