Subject: mailing-list for TeXmacs Users
List archive
From : Giovanni Piredda <address@hidden>- To: address@hidden
- Subject: Re: Math font shape and (possibly) xmacro
- Date: Tue, 1 Dec 2020 22:48:36 +0100
On 18.11.20 23:39, Giovanni Piredda wrote:
Hi again,
On 18.11.20 21:17, TeXmacs wrote:
Hi Giovanni,
On Mon, Nov 16, 2020 at 09:09:02PM +0100, Giovanni Piredda wrote:
Let us assume we are in math mode, and that I want to write v = 5 mThere were a few issues with the Computer Modern Roman font.
s⁻¹, with m and s in upright shape; there should be a space between
m and s⁻¹ (they are multiplied together)
The right solution is to set 'math-font-shape' to 'right'.
I fixed the CMR issues and created the 'upright' macro to do
exactly what you want (revision 13165).
I went again through the font-families and font-shapes in math and I saw that
- with font-family serif (which I think one abbreviates as rm in TeXmacs) and math-font-shape right, now symbols are interpreted as mathematics (this should be the status reached at revision 13165, reading from your message).
- if the font-family is sans-serif *and* the math-font-shape is right, then the symbols entered are interpreted as text; e.g. asterisks appear as asterisks, dashes as dashes. Font-family ss on its own lets mathematics be interpreted as mathematics.
Is this what we want, or is it a bug?
G.
- Re: Math font shape and (possibly) xmacro, Giovanni Piredda, 12/01/2020
- Re: Math font shape and (possibly) xmacro, TeXmacs, 12/04/2020
Archive powered by MHonArc 2.6.19.