ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?
Date: Thu, 13 Jun 2024 22:04:47 +0200	[thread overview]
Message-ID: <BF49FC1B-26F7-4A6F-80D7-900C0D19A4D5@gmail.com> (raw)
In-Reply-To: <48df7f6d-cf1e-40f5-9716-11ad0c8f4fc7@email-postfach.info>


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

Hi Ralph,

I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get.

Best regards: Otared



> On 13 Jun 2024, at 13:10, Ralph <ralph.2718@email-postfach.info> wrote:
> 
> 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
> 
> <small.png><zoomed.png>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

Otared Kavian
e-mail: otared@gmail.com
Phone: +33 6 88 26 70 95





[-- Attachment #1.2.1: Type: text/html, Size: 503 bytes --]

[-- Attachment #1.2.2: fraction-bar-pixels.pdf --]
[-- Type: application/pdf, Size: 9386 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 4431 bytes --]

[-- Attachment #2: 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 20:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 11:10 [NTG-context] " Ralph
2024-06-13 20:04 ` Otared Kavian [this message]
2024-06-13 20:43   ` [NTG-context] " 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=BF49FC1B-26F7-4A6F-80D7-900C0D19A4D5@gmail.com \
    --to=otared@gmail.com \
    --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).