arXiv / arXiv/html_feedback

Improve line breaks on mobile

Open
#2,129 4 comments 0 reactions 0 assignees View on GitHub
accessibility formula mobile styles
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

This report is against ar5iv, but I suspect the same is true of arxiv html.
(Is there a different project where to report ar5iv issues?)

See https://ar5iv.labs.arxiv.org/html/2404.07198v1 on mobile phone. It renders very well but see this:

![Screenshot_20240917_052943_Chrome.png](https://github.com/user-attachments/assets/642b2722-828c-46a9-a1d4-ab7d43af0109)

(I've seen similar issues in papers rendered with Latex but they are rare since paper columns are usually wider)

- to avoid the gap: can you use left-justify instead of both-justify?
- to avoid the overflow: can you insert some `` in the middle of inline math ?

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported layout on a mobile phone using the ar5iv page for paper 2404.07198v1, comparing the gap from justification and overflow in inline math. Identify the HTML or LaTeX rendering entry point responsible for line breaking; done means the mobile page avoids the visible gap and math overflow without harming normal paper rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, latex
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.