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, 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. By the way, this comes from the lucida typescript. Hans van der Meer
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
On 1-12-2011 17:43, Aditya Mahajan wrote:
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.
just give a functional description and put it in the luatex tracker ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Hans van der Meer