ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mkiv digits/units zero padding not working
@ 2020-05-07 15:31 Benjamin Buchmuller
  2020-05-07 16:21 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Buchmuller @ 2020-05-07 15:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.)

I can’t use tabulate or alignment in math mode for this problem unfortunately.

Any hints would be very welcome.

Thanks


Benjamin
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-07 20:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 15:31 mkiv digits/units zero padding not working Benjamin Buchmuller
2020-05-07 16:21 ` Wolfgang Schuster
2020-05-07 17:41   ` Benjamin Buchmuller
2020-05-07 18:00     ` Wolfgang Schuster
2020-05-07 19:22       ` Benjamin Buchmuller
2020-05-07 20:13         ` Benjamin Buchmuller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).