I have a list where I want the first bullet to start on the same line as the preceding text. My current example is this. In the image I've marked where I want the bullet to be located:
\documentclass{article}
\usepackage{lipsum}
\setlength{\parindent}{0pt}
\begin{document}
\textbf{Heading}
\begin{itemize}
\item \lipsum[1][2]
\item \lipsum[1][3]
\item \lipsum[1][4]
\item \lipsum[1][5]
\end{itemize}
\end{document}
This is a similar question to How to start itemize on same line as text?, but none of these solutions work for me, because they either involve creating a new minipage which indents all the bullets, not just the first, or they hardcode the preceding text, which won't work for me.
Anyway, since each \item seems to automatically be placed on a newline, I thought it would be as simple as adding a command to "undo" the newline at the start of the list, e.g.
\usepackage[inline]{enumitem}
\setlist[itemize]{before=\nolinebreak}
I repeated this with before=\unskip but neither worked.
Is there no simple command I can put in before= to prevent this first line break? If not, why is it so complex?



enumitemetc – Migwell Jun 17 '22 at 08:10