arXiv / arXiv/html_feedback

Rendering of TikZ Picture does not match pdf rendering

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

Description

### Description

In the LaTeX source I have a TikZ picture (within a \resizebox), which is rendered correctly in the PDF output. In the HTML output, the labels look larger and misplaced, in fact they overlap their anchor.

I suspect the \resizebox command may play a role in this.

Nonetheless, I like the HTML viewer. Thanks for the project!

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

This is the HTML rendered image.
![image](https://github.com/user-attachments/assets/fd880da8-f371-4344-a616-8406edb85db8)

While it should render like this:
![image](https://github.com/user-attachments/assets/a996d0e3-1bbc-4152-8367-59e0361ae464)

Note that a small overlap between the "g"s and sone of the other lines is still present, but that's ok.

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

Figures

### Internal issue ID

acd12b7b-6aef-475e-b58d-89bd52c24fbe

### Paper URL

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

### Browser

Firefox/132.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Start with the paper URL and compare the HTML figure with the reported PDF rendering, focusing on the TikZ picture inside the resizebox. Reproduce the label sizing and placement difference in Firefox 132 on desktop. Done means the HTML labels match the PDF placement and scale, aside from the small overlap the report considers acceptable.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.