The problem you're having has nothing do do with enumitem
and everything to with the fact that you're trying to fit a large label into a small space, so the label appears to change the indent but in reality it is simply expanding to the right. Presumably you expected the label to start left aligned at the indentation but that's not how list labels are usually set.
Here's your minimal example without loading enumitem
and you can see that the effect is identical:
\documentclass[10pt, a4paper]{article}
\usepackage{lipsum}
\begin{document}
\lipsum[66]
\begin{itemize}
\item some text
\item[\textbf{(P1)}:] Some text
\item Some text
\end{itemize}
\end{document}
So the solution to your problem (which is easily solved by using enumitem
) is to adjust the margins of the list appropriately so that you have enough room for the larger label text and you have an indent of the items. This requires changing both the leftmargin
and the labelindent
parameters.
Additionally, since you are misusing the itemize
list to form what looks like a numbered list, you should really format the label of the list using enumerate
instead of itemize
. And in general, it's almost always a bad idea to supply an explicit label to a list item, and you should avoid doing it wherever possible.
\documentclass[10pt, a4paper]{article}
\usepackage{lipsum}
\usepackage{enumitem}
\begin{document}
\lipsum[66]
\begin{enumerate}[label={\bfseries (P\arabic*):},leftmargin=3\parindent,labelindent=1.5\parindent]
\item some text
\item \lipsum[66]
\end{enumerate}
\end{document}
itemize
label by overriding it explicitly. But this has nothing to do with usingenumitem
or not. Why not use anenumerate
list and uselabel={\bfseries (P\arabic*)}
?enumitem
, and your sample documents don't really show what kind of indentation you're expecting. A large label will overlap the left margin, unless you explicity change the margins. So describe what indentation you are looking for and then we can help you achieve it.itemize
is by default indented with the first line of paragraphs. I want to keep that alignement. But if I set\setlist{topsep=1cm}
withenumitem
, the alignement is pulled back to the non-indented lines.