From: "Joshua Krämer" <joshua.kraemer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: ntg-context-wvrSQK3plZs@public.gmane.org
Subject: Mixing math and text font
Date: Sat, 4 Jan 2014 15:04:31 +0000 (UTC) [thread overview]
Message-ID: <la97tv$bfv$1@ger.gmane.org> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2014-01-04 15:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-04 15:04 Joshua Krämer [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='la97tv$bfv$1@ger.gmane.org' \
--to=joshua.kraemer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=ntg-context-wvrSQK3plZs@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).