From: Kirill Davidov <davidov_ka@edu.surgu.ru>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Spacing issue in \digits with mode=3
Date: Sat, 26 Oct 2024 14:32:27 +0500 [thread overview]
Message-ID: <91e4731e-b875-419c-b24d-eebc19406043@edu.surgu.ru> (raw)
Greetings,
I have been making a table with \digits aligned cells and noticed that
in mode 3 (thin mu skips as group separator, comma as decimal separator)
a specification like {_X.=} causes the single digit number to be
misaligned, it's like there's about 2mu worth of space just before the
number. I don't have much of an idea as to what causes it. It doesn't
seem to be an issue in mode 1, although it may be simply not as
noticeable. This also affects \unit.
MWE:
\setdigitmode{3}
\startdocument
\showglyphs
\enabletrackers[visualizers.glue]
\startxtable[align=center]
\startxtablehead
\startxrow
\startxcell
Data
\stopxcell
\stopxrow
\stopxtablehead
\startxtablebody
\startxrow
\startxcell
\digits{10.001==}
\stopxcell
\stopxrow
\startxrow
\startxcell
\digits{_1.=====} % weird spacing issue here
\stopxcell
\stopxrow
\startxrow
\startxcell
\digits{20.34909}
\stopxcell
\stopxrow
\stopxtablebody
\stopxtable
\halign{%
\hss\alignmark\hss\cr
\digits{10.001==}\cr
\digits{_1.=====}\cr % weird spacing issue here
\digits{20.34909}\cr
}
\stopdocument
Kirill
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2024-10-26 9:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-26 9:32 Kirill Davidov [this message]
2024-10-26 11:49 ` [NTG-context] " vm via ntg-context
2024-10-26 12:56 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91e4731e-b875-419c-b24d-eebc19406043@edu.surgu.ru \
--to=davidov_ka@edu.surgu.ru \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).