ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mixing math and text font
@ 2014-01-04 15:04 Joshua Krämer
  2014-01-04 16:44 ` Wolfgang Schuster
  2014-01-04 17:47 ` Aditya Mahajan
  0 siblings, 2 replies; 15+ messages in thread
From: Joshua Krämer @ 2014-01-04 15:04 UTC (permalink / raw)
  To: ntg-context-wvrSQK3plZs

Dear list,

in my math, I would like one font (the text font) to be used for letters 
and digits and another font (the math font) to be used for mathematical 
symbols.  I have tried it like that:

% Example 1
\usemodule[simplefonts][size=40pt]
\setmathfont[termes]
\setmainfont[latinmodernroman]
\starttext
123\\$ 123 \coprod \leftrightarrow $
\stoptext

% Example 2
\definetypeface	[fonttest]	[rm]	[serif]	[modern]
\definetypeface	[fonttest]	[mm]	[math]	[termes]
\setupbodyfont[fonttest, 40pt]
\starttext
123\\$ 123 \coprod \leftrightarrow $
\stoptext

In both examples, the math font is used for the whole formula.  How can I 
mix the fonts?

Kind regards and best wishes for 2014,
Joshua Krämer

___________________________________________________________________________________
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] 15+ messages in thread

end of thread, other threads:[~2014-01-09 22:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-04 15:04 Mixing math and text font Joshua Krämer
2014-01-04 16:44 ` Wolfgang Schuster
2014-01-04 17:22   ` Joshua Krämer
2014-01-04 18:50     ` Wolfgang Schuster
2014-01-08 10:52       ` Joshua Krämer
2014-01-08 19:39         ` Wolfgang Schuster
2014-01-09 11:01           ` Joshua Krämer
2014-01-09 11:14             ` Joshua Krämer
2014-01-09 19:41             ` Wolfgang Schuster
2014-01-09 21:30               ` Joshua Krämer
2014-01-09 21:41                 ` Wolfgang Schuster
2014-01-09 22:12                   ` Joshua Krämer
2014-01-09 22:11                     ` Wolfgang Schuster
2014-01-04 17:47 ` Aditya Mahajan
2014-01-04 18:11   ` Joshua Krämer

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