Subfigures plotted on top of each other
- 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.

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
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