Closed FrankMittelbach closed 5 years ago
Oh no! I begin to hate description
.
The issue is not with description though I think the left key would be better usable if it automatically recomputes labelwidth in case of description (but that is a different story).
I'll investigate, but I don't know when. I'm considering removing this feature altogether, because it's not essential - just a tool, and the list parameters are confusing enough to add even more confusion.
I summarise the problem. \DrawEnumitemLabel
must display correctly the rules in both lists in:
\documentclass{article}
\usepackage{enumitem}
\setlist{first=\DrawEnumitemLabel}
\begin{document}
\begin{itemize}[labelindent=-10pt,itemindent=!]
\item This results in \texttt{itemindent} getting
positive so paragraph text moves to the right.
\end{itemize}
\begin{description}[left=-10pt..20pt,labelwidth=!]
\item[Label] labelwidth needs to be recalculated!
\end{description}
\end{document}
I don't know how to achieve it. When I fix one of them the other is wrong.
Consider the following input:
This gives
with the labelindent shown as negative but in the wrong place.
In general it might also be nice to show itemindent as a fifth rule (feature request) would perhaps help the user to understand what is happening on the first description env.