arXiv / arXiv/html_feedback

Minipage display

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

Description

### Description

When I specify a minipage to display to listing next to each other, they are rendered blow each other instead.
Code:
```
\begin{figure}[t]
\centering
\begin{minipage}[t]{0.48\textwidth}
\centering
\lstinputlisting[
style=nonnumberedlst,%
frame=single,%
]{filename}
\subcaption{...}
\label{...}
\end{minipage}
\hfill
\begin{minipage}[t]{0.48\textwidth}
\centering
\lstinputlisting[
style=nonnumberedlst,%
frame=single,%
]{filename2}
\subcaption{...}
\label{...}
\end{minipage}
\caption{...}
\label{...}
\end{figure}
```
In the PDF they are next to each other.

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

_No response_

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

Choose One

### Internal issue ID

5e55022a-f2a8-4a1e-93c8-2b37f42e929b

### Paper URL

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

### Browser

Chrome/140.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Open the paper URL and compare the HTML rendering of the two minipages with the supplied LaTeX example and its PDF output. Trace how the minipage and listing markup is represented in the rendered page; done means the two listings appear next to each other in HTML as they do in the PDF.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.