Benjamin Buchmuller schrieb am 07.05.2020 um 17:31:
Hi,
I’m trying to get
\digits{15.0=}±\digits{1.00}
\digits{_8.12}±\digits{0.34}
horizontally aligned as
15.0 ±1.00
8.12±0.34
But I get
15.0±1.00
8.12±0.34
instead.
From the source (phys-dim.mkiv), I can see that “=“ should expand to
\hphantom{0}. (I think \zeropoint in the table is outdated, since
\def\zeropoint\hphantom{0} does not solve the problem either.)
1. Which table?
2. This is not how \def works.
3. When you redefine \zeropoint (which isn't a macro) you're going to
break everything.
I can’t use tabulate or alignment in math mode for this problem unfortunately.
I looked at the code and the problem is = can only be used to insert
space for two digits (e.g. 100.==).
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________