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).
That said, for high school physics and chemistry teachers,
it would probably be nice to implement special macros for
physical quantities and formulas of chemical compounds.
I am not yet decided about the right way to do this.
For physical quantities, one may not wish to type
all the multiplications. So 1kgm/s^2 or even 1kgm/s2
should be transformed into 1*kg*m/s^2.
Similarly, in chemistry, one might wish to type 'H2O' or 'CH3O-'.
You may try to design a Scheme macro to perform such rewritings ;^)
Best wishes, --Joris
Archive powered by MHonArc 2.6.19.