From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: math font
Date: Thu, 1 Dec 2011 11:43:06 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.02.1112011139410.25170@nqv-gnoyrg> (raw)
In-Reply-To: <81942E98-DDE6-45DB-85AE-9788D8F66924@xs4all.nl>
On Thu, 1 Dec 2011, Hans van der Meer wrote:
> Instead of the mathfont'a italics I would like to try an upright typeface. See for example the P.p on the left of the sample, 1-p in the second \pmatrix and the toprow in the last one.
>
> How can I do this globally,
I don't think that there is a global interface. You can try
\appendtoks \mathrm \to \everysetupmathematics.
In principle, we can have an interface similar to
\setupmathematics[lcgreek=...,ucgreek=...], but the choice of keys
requires some thought.
> there by avoiding avoiding the need to sprinkle \mathrm's all around as
> in: \pmatrix{\mathrm p\cr\mathrm 1-p\cr}. A single \mathrm in front as
> not enough for the matrices.
That is because \pmatrix uses \halign, where each cell starts a new math
gruop. This reminds me of an old request to have support for \mhalign and
\mvalign at the engine level.
Aditya
___________________________________________________________________________________
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 prev parent reply other threads:[~2011-12-01 16:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-01 13:58 Hans van der Meer
2011-12-01 16:43 ` Aditya Mahajan [this message]
2011-12-01 17:30 ` Hans Hagen
2020-02-07 14:01 Thomas A. Schmitz
2020-02-07 14:14 ` Wolfgang Schuster
2020-02-07 14:34 ` Thomas A. Schmitz
2020-02-07 16:41 ` Hans Hagen
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=alpine.LNX.2.02.1112011139410.25170@nqv-gnoyrg \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/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).