-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
analysesomething that needs further checking and perhaps code changessomething that needs further checking and perhaps code changesarea: listsarea: mathunsupport usage/syntaxworks as designedsomething that was designed this way (though it might get enhancements)something that was designed this way (though it might get enhancements)
Description
[This report concerns LaTeX2e <2025-06-01> pre-release-1 (develop 2025-2-4 branch) L3 programming layer <2025-01-18>. The indentation change reported here occurs with both pdflatex-dev and lualatex-dev.]
I came across the following type of situation in a document:
%\DocumentMetadata{testphase=latest}
\documentclass{article}
\begin{document}
This is a long paragraph spanning multiple lines to
show indentation, followed by an itemize:
\begin{itemize}
\item First item with double-dollar display math $$x=y$$ to consider.
\item Second item should remain aligned with the first.
\end{itemize}
This is a long paragraph spanning multiple lines to
again show indentation, this time following the itemize.
\end{document}
Without testphase=latest
, the bullets are aligned as expected.
With testphase=latest
, all itemize
material after the display loses its indentation.
The workaround for authors is simple: use \[...\]
instead of $$...$$
. Reporting here in case there is interest in the possibility of preserving the ability for authors to use $$...$$
for unlabeled displays inside itemize
.
Metadata
Metadata
Assignees
Labels
analysesomething that needs further checking and perhaps code changessomething that needs further checking and perhaps code changesarea: listsarea: mathunsupport usage/syntaxworks as designedsomething that was designed this way (though it might get enhancements)something that was designed this way (though it might get enhancements)