arXiv / html_feedback

Supports a student project developing a UI for feedback on arXiv articles rendered as html.
MIT License
18 stars 3 forks source link

matthbb R rendered as IR #1012

Open amitport opened 6 months ago

amitport commented 6 months ago

Description

this is very unclear, it there is a problem woth the font it is better to render to sone other R font than using 'IR'

(Optional:) Please add any files, screenshots, or other information here.

image

(Required) What is this issue most closely related to? Select one.

Formula

Internal issue ID

b58d7c58-b643-47b2-8550-f9b7ddd25b2c

Paper URL

https://arxiv.org/html/2404.07143v1

Browser

Chrome/123.0.0.0

Device Type

Android

github-actions[bot] commented 6 months ago

Hello @amitport, thanks for the issue report! We are reviewing your report and will address it as soon as possible.

dginev commented 2 months ago

Well-spotted @amitport , and I think this should be brought up to the authors of the article. The sources reveal that they used a rather cute workaround, snipped:

\in {\rm I\!R} 

by using negative space between I and R, they indeed achieve the classic look of ℝ in the PDF. However, that would sound really badly in screen reader tools, and definitely be confusing to listeners.

I see this technique was used 6 times. Switching these to \mathbb{R} ought to fix the problem, as you suggest.

The practical problem for latexml (generating the HTML) is that negative space may need better MathML markup to get the same visual effect. But that won't be of any further aid to accessibility - fixing the source would be better.