arXiv / arXiv/html_feedback

A redefined "abstract" heading is not displayed correctly

Open
#5,917 2 comments 0 reactions 0 assignees View on GitHub
bug front matter latexml
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

I like redefining the \abstractname so that it includes the title of the paper (useful for submission formats that require repeating the title of the paper on the abstract page).So, I do this:\renewcommand\abstractname{\thetitle{\vskip 1em}Abstract}But this is poorly rendered as HTML like this:Title of the paper\vskip10.00002ptAbstract

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

_No response_

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

Choose One

### Internal issue ID

429c4c81-0adf-4a16-9076-bb7753a04865

### Paper URL

https://services.arxiv.org/html/submission/7222671/view

### Browser

Firefox/140.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Reproduce the example from the issue using the paper at https://services.arxiv.org/html/submission/7222671/view, preferably in Firefox 140. Inspect how the redefined \abstractname and its \vskip are converted for the abstract heading. Done means the title and “Abstract” render as intended without exposing the LaTeX command or malformed spacing.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.