arXiv / arXiv/html_feedback

Custom enumerate labels moved out of bounds

Open
#4,294 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

I use custom labels in a enumerate block to list research questions. These labels are cut off by the margins in the HTML viewer.

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

Here is the Latex code in question:
```
\begin{enumerate}[start=1,label={\bfseries RQ \arabic*}]
\item How does the introduction of additional disease compartments change outbreak dynamics? \label{rq:compartments}
\item How does the addition of different types of withdrawal and fear spread impact the results of simulations conducted in EpiCast? \label{rq:scenarios} \item How do key parameters in our models relate to important simulation characteristics, such as the total attack rate or the number of epidemic waves? \label{rq:params} \end{enumerate}
```

And this is how it gets rendered in the HTML viewer:
![Image](https://github.com/user-attachments/assets/258ec821-590a-41e0-829d-b28b9a023610)
as you can see, the 'R' in 'RQ' is mostly cut off for each list item.

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

Other

### Internal issue ID

6823efe5-c35b-4894-bd15-a475d85f1c89

### Paper URL

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

### Browser

Firefox/128.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from the supplied LaTeX enumerate example using the linked paper in the HTML viewer and Firefox 128. Inspect how custom enumerate labels are laid out at the viewer margins. Done means the full “RQ” label is visible for every list item without being cut off.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.