Open niklas-uhl opened 2 months ago
Hello @niklas-uhl, thanks for the issue report! We are reviewing your report and will address it as soon as possible.
@dginev I recognise this issue, and it comes from CSS: the white-space
property of .ltx_text
is accidentally overriding the one of .ltx_lst_space
. If you restore white-space: pre
, the indentation reappears.
@xworld21 oh, you're spot on!
This indents fine in ar5iv now that you mention it (https://ar5iv.labs.arxiv.org/html/2404.05610), although I believe that's an older version of the article at the moment.
So it should be quite an easy fix.
Description
When using the
lstlisting
environment from thelistings
package, indentation is not preserved. See Fig. 1. The TeX source is:(Optional:) Please add any files, screenshots, or other information here.
(Required) What is this issue most closely related to? Select one.
Figures
Internal issue ID
4912f6dc-7853-475f-aa5d-89a87ab4de15
Paper URL
https://arxiv.org/html/2404.05610v3
Browser
Chrome/128.0.0.0
Device Type
Desktop