acmart icon indicating copy to clipboard operation
acmart copied to clipboard

`\vspace` warning with `\lstinputlisting`

Open jasigal opened this issue 2 years ago • 8 comments

The following minimal example LaTeX file

\documentclass{acmart}
\usepackage{listings}

\begin{document}
\lstinputlisting{test.ml}
\end{document}

where test.ml is

type test = Test

produces the warning

Class acmart Warning: \vspace should only be used to provide space above/below
surrounding objects on input line 5.

twice.

Seems that others have experienced this as well.

I am using a newly downloaded version of TeX Live which includes acmart v2.03.

jasigal avatar Feb 12 '24 15:02 jasigal

Same issue 😭

Ashen1110 avatar May 24 '24 10:05 Ashen1110

Same issue with:

\begin{lstlisting}
    ...
\end{lstlisting}

laowantong avatar Jul 15 '24 17:07 laowantong