ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ralph <ralph.2718@email-postfach.info>
To: ntg-context@ntg.nl
Subject: [NTG-context] How to improve appearance of bars in frac, sqrt, etc. on screens?
Date: Thu, 13 Jun 2024 13:10:51 +0200	[thread overview]
Message-ID: <48df7f6d-cf1e-40f5-9716-11ad0c8f4fc7@email-postfach.info> (raw)


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

             reply	other threads:[~2024-06-13 11:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 11:10 Ralph [this message]
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

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=48df7f6d-cf1e-40f5-9716-11ad0c8f4fc7@email-postfach.info \
    --to=ralph.2718@email-postfach.info \
    --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).