I would like to have the "bullets" of my itemize items line up horizontally with the start of the labels in my description lists. Here's an M(almost)WE:
\documentclass[10pt, varwidth, convert={size=640, density=600}, border=2]{standalone}
\usepackage{enumitem}
\setlist[description]{nosep, topsep=0pt, labelindent=1em}
\setlist[itemize]{nosep, topsep=0pt, labelindent*=1em, label={\textbf{--}}}
\begin{document}
\begin{itemize}
\item First Item
\item Second Item
\item Third Item
\end{itemize}
\begin{description}
\item[Label] First Item
\item[Another Label] Second Item
\item[Yet Another Label] Third Item
\end{description}
\end{document}
I've played with many permutations of labelindent(*)
, leftmargin
, itemindent
, etc. but can't seem to get the behavior I desire. Can someone explain the enumitem
spacing system?
EDIT: The proposed solution with wide
almost works:
\documentclass[10pt, varwidth, convert={size=640, density=600}, border=2]{standalone}
\usepackage{enumitem}
\setlist[description]{nosep, labelindent=1em}
\setlist[itemize]{nosep, wide=1em, label={\textbf{--}}}
\begin{document}
\begin{itemize}
\item First Item
\item Second Item with a really long amount of text that causes it to go onto a second line because I'm trying really hard to write a long sentence here.
\item Third Item
\end{itemize}
\begin{description}
\item[Label] First Item
\item[Another Label] Second Item with a really long amount of text that causes it to go onto a second line because I'm trying really hard to write a long sentence here.
\item[Yet Another Label] Third Item
\end{description}
\end{document}
I'd like to have the same "hanging indent" behavior in both lists. In particular, I'd prefer to have continuing lines indented, matching the description list here.