arXiv / arXiv/html_feedback

Subfigures plotted on top of each other

Open
#3,923 2 comments 0 reactions 0 assignees View on GitHub
bug figure
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

Figure with two subfigures where each uses a different page of pdf figure. However, both figures (both pages) are rendered on top of each other in both subfigures.

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

![Image](https://github.com/user-attachments/assets/b6bc191b-9bf6-4dc3-969e-b4755f4db64c)

latex:
`\begin{figure}[tbh]
\centering
\begin{subfigure}[t]{1 \linewidth}
\centering
\includegraphics[page=1]{example}
\caption{Foo.}
\label{fig:example:one}
\end{subfigure}
\medskip
\begin{subfigure}[t]{1 \linewidth}
\centering
\includegraphics[page=2]{example}
\caption{Fii.}
\label{fig:example:two}
\end{subfigure}
\caption{Foofii.}
\label{fig:example}
\end{figure}`

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

Figures

### Internal issue ID

9659f707-7025-4b23-be10-02e0df3840c0

### Paper URL

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

### Browser

Firefox/138.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Start with the LaTeX reproduction in issue #3923 and inspect the rendered article at the linked paper URL, focusing on the two subfigures using pages 1 and 2 of the PDF. Compare the output with the source to locate why both pages overlap; done means each subfigure displays only its requested page.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.