1

When a text is in the enumerate environment, all the text is indented under the numbers. How can I remove the indentation from the text in the middle of the enumerate environment?

This is what I am looking for:

enter image description here

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\begin{enumerate}
\item first\\
\lipsum[1]
\item second\\
\lipsum[2]
\end{enumerate}
\end{document}
4
  • I'm pretty sure this has already been asked.
    – egreg
    Nov 4 '14 at 11:27
  • @egreg I couldn't find it, but maybe I missed it there.
    – yo'
    Nov 4 '14 at 11:31
  • @tohecz tex.stackexchange.com/questions/19360/… I think it would be better to move the answers here to that question and close this as duplicate.
    – egreg
    Nov 4 '14 at 12:46
  • @egreg Since Bernard's answer here has become just a duplicate of mine, I moved mine there, and I think it can be closed now.
    – yo'
    Nov 4 '14 at 12:50
2

Use the enumitem package, and the wide key for the list. To have some paragraphs with default indentation, the simplest is to temporarily leave the enumerate environment and return to it with the resume key :

\documentclass{article}
\usepackage{lipsum}
\usepackage[showframe, nomarginpar]{geometry}
\usepackage{enumitem}

\begin{document}

\begin{enumerate}[labelindent=1em, labelwidth = *,align = left, leftmargin = \dimexpr\labelwidth + \labelsep\relax]
\item first\\
\lipsum[1]
\end{enumerate}
\lipsum[4]

\begin{enumerate}[resume]
\item second\\
\lipsum[2]
\end{enumerate}
\lipsum[4]

\end{document} 

enter image description here

2
  • Thank you. Could you please take a look at edited picture of my question? I want some paragraph have default indentation.
    – enthu
    Nov 4 '14 at 11:22
  • @Enthusiastic Student: Please look at my modified answer.
    – Bernard
    Nov 4 '14 at 11:45

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