How can I suppress a newline that will be inserted afterwards by a macro?
Is there any command that turns off newlines for exactly one time and turns it back on after the skipped one?
Like ignoring that the following macro starts by making a new paragraph before writing out text.
So only the text will be printed, but not the linefeed starting the paragraph.
Is such a command possible?
As requested an example:
writes: "first linebreak spaces foo"
wanted: "first spaces foo"
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{enumitem}
\begin{document}
\begin{itemize}
\item[]{first} \begin{verbatim} foo
bar
\end{verbatim} \item[] {second} more text
\end{itemize}
\end{document}