[2306.00809v4] Spacing / padding issues in boxed theorem-like environments (Definition, Theorem, Remark)
- Dominant language
- No language data
- Stars
- 42
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
### Description
**arXiv HTML URL:**
https://arxiv.org/html/2306.00809v4
---
### Description of the problem
In the HTML-rendered version of this paper, all theorem-like environments that are displayed as **colored boxes** (e.g., **Definition**, **Theorem**, **Remark**) suffer from **incorrect and inconsistent space management**.
The issue appears systematically across the document and affects readability and visual consistency. In particular, the vertical spacing inside and around these boxes is often wrong:
- excessive blank space above or below the content, or
- insufficient padding so that text appears too close to the box border, or
- inconsistent spacing between different boxed environments.
This makes the layout feel broken and distracts from the logical structure of the paper.
---
### Concrete examples
The problem can be observed in multiple locations, including (but not limited to):
- **Section 3 (Preliminaries)**
*Definition 3.1 (IGB, informal)* — the vertical padding inside the box looks inconsistent.
- **Section 4 (Node Symmetry Breaking)**
*Theorem 4.1 (Informal)* — noticeable extra or uneven whitespace inside the colored box.
- **Later in Section 4**
*Definition 4.2 (IGB, formal)* and *Definition 4.3 (Strong IGB)* — similar spacing problems.
- **Appendix D**
Boxed environments such as *Remark 1* and *Theorem D.1* show the same issue.
The problem does not seem to be tied to a specific environment type; it affects all boxed theorem-like blocks.
---
### Steps to reproduce
1. Open the HTML version of the paper:
https://arxiv.org/html/2306.00809v4
2. Scroll to any of the boxed Definition/Theorem/Remark environments listed above.
3. Observe the vertical spacing inside the colored box and its separation from surrounding text.
---
### Expected behavior
Boxed theorem-like environments should have:
- consistent padding between the box border/background and the content,
- no excessive or missing vertical whitespace,
- uniform spacing across all such environments,
- clean separation from surrounding paragraphs.
---
### Actual behavior
Spacing inside and around the boxes is inconsistent and sometimes incorrect, as if paragraph margins are not being handled properly within the container. This leads to visually unbalanced boxes and reduced readability.
---
### Additional notes
The PDF version of the paper does not exhibit these spacing issues; they appear specific to the HTML rendering.
### (Optional:) Please add any files, screenshots, or other information here.
_No response_
### (Required) What is this issue most closely related to? Select one.
Other
### Internal issue ID
N/A
### Paper URL
https://arxiv.org/html/2306.00809v4
### Browser
Firefox
### Device Type
Hp elitebook, OS: Ubuntu
Contributor guide
Research direction
Start at the rendered paper URL and inspect the boxed Definition, Theorem, and Remark examples listed in Sections 3, 4, and Appendix D. Trace the HTML rendering and styling responsible for these shared boxes, compare their spacing with the PDF, and consider the work done when all boxed environments have consistent internal padding and separation from surrounding paragraphs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100