[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some spacing problems with @Eq
From: |
Jeff Kingston |
Subject: |
Re: Some spacing problems with @Eq |
Date: |
Wed, 13 Oct 1999 15:04:31 +1000 |
You can work around it by enclosing the numbers in double
quotes, i.e. "76.14" instead of 76.14. Why it's happening
is beyond me at this moment.
I know. You have
@R Pa)(76.14
Despite the parentheses, this is the same as
@R { Pa)(76.14 }
This causes Lout to reset the preferred width of a space
between two words back to whatever the @R font prefers.
But Lout uses "separate" spacing within equations, which
means that it puts one space between each token; and tokens
are sequences of letters or *individual* digits.
It's a real gotcha. Actually, on the rare occasions I
use @R in equations, I usually enclose the following
thing in quotes anyway since eq has so many symbols and
it is easy to bump into one of them.
If you have a lot of this can I suggest putting the following
in your mydefs file:
import @BasicSetup
def MM { @R "mm" }
and so on. Then you can type
@Eq{ ^= {(3.00 times 10 sup 6 PA )(76.14 MM) }
and so on without these problems.
Jeff