mailing-list for TeXmacs Users

Text archives Help


Re: Math font shape and (possibly) xmacro


Chronological Thread 
  • 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:

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 m
s⁻¹, with m and s in upright shape; there should be a space between
m and s⁻¹ (they are multiplied together)
There were a few issues with the Computer Modern Roman font.
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).

Hi again,

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.




Archive powered by MHonArc 2.6.19.

Top of page