[Tex/LaTex] Indentation of second paragraph inside \item list

#enumerateindentation

How to make a list like below:

1. this is my first paragraph in first \item.
   nextline, same paragraph

   this is my second paragraph in first \item.
   nextline, same paragraph    

2. this is my first paragraph in second \item.
   nextline, same paragraph

my current result is:

1. this is my first paragraph in first \item.
   nextline, same paragraph

       this is my second paragraph in first \item.
   nextline, same paragraph

2. this is my first paragraph in second \item.
   nextline, same paragraph

I've try to use \begin{enumerate}[leftmargin=*] but it only change the first paragraph in my list.

Thanks for any help

Best Answer

You can use \noindent at the beginning of the second paragraph inside the enumerate environment. Here is the minimal code to get what you want:

\documentclass{article}

\begin{document}

\begin{enumerate}
  \item 
   this is my first paragraph in first \\item.
   nextline, same paragraph

   \noindent
   this is my second paragraph in first \\item.
   nextline, same paragraph    

  \item 
   this is my first paragraph in second \\item.
   nextline, same paragraph

   \noindent
   this is my second paragraph in second \\item.
   nextline, same paragraph    

\end{enumerate}

\end{document}

If you want to remove the first line indentation globally, you can use

\setlength{\parindent}{0pt}

in the preamble of your document.