TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the itemize environment to answer a list of questions, because the output is compact and neat. However, when I need more than one paragraph in one item, the second one is not indented, as it would have been outside of itemize.

\begin{itemize}

    \item[1.]

    This is the first paragraph of this item.

    This the second paragraph of this item, and it is not indented.

\end{itemize}

How do I fix this? Or am I just treating itemize and \item wrong, and should really try to redefine \section to this effect to make my document semantically more correct?

share|improve this question
up vote 10 down vote accepted

By default, lists use parameters for indentation of (follow-up) paragraphs and vertical spacing between paragraphs that are different from those of running text. You may use the enumitem package to change the list parameters.

EDIT: Instead of using itemize plus a custom label, consider using the enumerate environment.

\documentclass{article}

\usepackage{enumitem}
\setlist{parsep=0pt,listparindent=\parindent}

\begin{document}

\begin{enumerate}

    \item

    This is the first paragraph of this item.

    This the second paragraph of this item, and now it is properly indented.
    (That is, only the first line.)

\end{enumerate}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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