ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] How to improve appearance of bars in frac, sqrt, etc. on screens?
@ 2024-06-13 11:10 Ralph
  2024-06-13 20:04 ` [NTG-context] " Otared Kavian
  0 siblings, 1 reply; 10+ messages in thread
From: Ralph @ 2024-06-13 11:10 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1362 bytes --]

Hello,


I’m relatively new to ConTeXt (version 2024.05.31, LMTX, standalone) and 
really enjoy learning it so far, but I have one little problem with the 
appearance of horizontal bars in math mode.

It seems the way ConTeXt displayed horizontal extensible bars in math 
mode some time ago (as used in \frac, \sqrt, \overbar, ...) was similar 
to the way LaTeX (PDFLaTeX and LuaLaTeX) and Plain TeX handled this, but 
it has changed since then. Instead of one bar there are now multiple 
characters attached to each other.

This makes it look more consistent with the font, but unfortunately it 
doesn’t display well in any PDF viewer I’ve tried (on Linux, so I’ve not 
tried Adobe Acrobat Reader). The bars look dotted, I guess it’s due to 
anti-aliasing (the dots disappear when anti-aliasing is disabled, but 
then of course everything looks pixelated). Two screenshots are attached 
(different zoom levels in PDF viewer) so that you know what I’m talking 
about.

Source:
\setuppapersize[S3]
\starttext
\startformula \sqrt{a^2 + b^2} = \frac{1000 \cdot c}{1000} \stopformula
\stoptext

Is there a way to switch to the old bars for documents viewed mainly on 
screens, or is there any other way to improve their appearance? I 
couldn’t find any documentation on this, so I would be very thankful if 
somebody here could help out.


Best,
Ralph

[-- Attachment #1.2: Type: text/html, Size: 1911 bytes --]

[-- Attachment #2: small.png --]
[-- Type: image/png, Size: 5534 bytes --]

[-- Attachment #3: zoomed.png --]
[-- Type: image/png, Size: 25806 bytes --]

[-- Attachment #4: Type: text/plain, Size: 511 bytes --]

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

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

end of thread, other threads:[~2024-10-07  3:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 11:10 [NTG-context] How to improve appearance of bars in frac, sqrt, etc. on screens? Ralph
2024-06-13 20:04 ` [NTG-context] " Otared Kavian
2024-06-13 20:43   ` Bruce Horrocks
2024-06-13 21:13   ` Hans Hagen via ntg-context
2024-06-14  7:35     ` Henning Hraban Ramm
2024-06-14  9:44       ` Hans Hagen via ntg-context
2024-06-14 11:57         ` Taco Hoekwater
2024-06-15  8:59           ` ralph.2718
2024-06-15  9:17             ` Hans Hagen via ntg-context
2024-10-07  3:28         ` Alan Braslau via ntg-context

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