1

Is there any way to put some text before the first item of a list, but to maintain the spaces (indents, margins) of the whole list? enter image description here

My MWE:

\documentclass{article}
\usepackage{lipsum}

\begin{document}

*SOS* \begin{enumerate}
\item \lipsum*[4-6][7-12]
\item \lipsum*[4-6][7-12]
\item \lipsum*[4-6][7-12]
\end{enumerate}

\end{document}
2

Like this?

\documentclass{article}
\usepackage{enumitem}
\usepackage{lipsum}

\begin{document}

\lipsum[1][1-4]
\begin{enumerate}[labelsep=0ex,align=left,start=2]
\item[*SOS*~1.~] \lipsum*[4-6][7-12]
\item \lipsum*[4-6][7-12]
\item \lipsum*[4-6][7-12]
\end{enumerate}

\end{document}

enter image description here

You could also play around with leftmargin=4em etc. to adjust the "indentation" of the list relative to the main body text if you want.

1

Something like this?

\documentclass{article}
\usepackage{lipsum}
\usepackage{enumitem}

\begin{document}

\lipsum[11]
\begin{enumerate}[wide, before=\stepcounter{enumi}, leftmargin=*]
\item[\hspace*{-\parindent}*SOS* \theenumi.]\lipsum*[4-6][7-12]
\item \lipsum*[4-6][7-12]
\item \lipsum*[4-6][7-12]
\end{enumerate}

\end{document} 

enter image description here

2
  • wide doesnt seem to be the right tool for this. OP wants the paragraph lines to hang on the same level as the first line of each item (compare your image with theirs).
    – Troy
    Dec 26 '18 at 16:28
  • It works with wide, but I forgot to set the leftmargin key. Fixed. Thank you for pointing it!
    – Bernard
    Dec 26 '18 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.