4

As I enumerate huge blocks of words, Latex automatically indents the entire paragraph. To save some space I want Latex to indent only the first line and leave the rest with full width.

Indent first line only in customized list is exactly the same, but author uses list instead of enumeration and \bullet instead of \arabic. I tried to follow its pattern and tried different options, changing {list} to {enumerate}, \bullet to \arabic, etc. but no success. Can somebody please help me? Thanks!

1 Answer 1

6

Like this?

\documentclass[11pt]{article}
\usepackage{enumitem}
\usepackage{lipsum}

\setlist[enumerate]{itemindent=\dimexpr\labelwidth+\labelsep\relax,leftmargin=0pt}

\begin{document}
\lipsum[4]
\begin{enumerate}
\item \lipsum[4]
\item \lipsum[4]
\end{enumerate}
\end{document}

enter image description here

As Harish Kumar mentions in his comment, the wide key can also be used:

\documentclass[11pt]{article}
\usepackage{enumitem}
\usepackage{lipsum}

\setlist[enumerate]{wide=\parindent}

\begin{document}
\lipsum[4]
\begin{enumerate}
\item \lipsum[4]
\item \lipsum[4]
\end{enumerate}
\end{document}

enter image description here

9
  • @HarishKumar Thanks. I added this option too. Sep 20, 2015 at 23:16
  • Another question... Is it possible to apply this rule only for the first level of enumeration, which is "arabic" enumeration (1),(2),(3) etc, but not for the second level of enumeration, which is "alpha" (a),(b),(c)? Because now both first and second levels have the same indentation space.
    – Nur
    Sep 20, 2015 at 23:27
  • 1
    @Nur Sure: \setlist[enumerate,1]{wide=\parindent}. or similar for the other option, add a 1 in the optional argument. Sep 20, 2015 at 23:29
  • Thanks a lot. Now I have something like this postimg.org/image/ftb1rbyjj I need to move the second level to the right. Can you kindly help me to do this?
    – Nur
    Sep 20, 2015 at 23:37
  • 1
    @Nur Something like this \setlist[enumerate,2]{leftmargin=6em} should work (replace 6em conveniently). Sep 20, 2015 at 23:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .