In enumitem
, suppose that I do style=multiline
and use custom labels and then set font
to be some color specification. Then the custom labels appear below the baseline. As you see, it does not happen with some other font specification like font=\scshape
. It looks like a bug to me, but perhaps some TeX guru in here can make sense of this behavior:
\documentclass{article}
\usepackage{color,enumitem}
\begin{document}
\setlist[itemize]{style=multiline,labelwidth=2cm}
\begin{itemize}
\item[First] Hello
\item[Second] World
\item[Third\\Fourth] Again
\end{itemize}
\setlist[itemize]{font=\scshape,style=multiline,labelwidth=2cm}
\begin{itemize}
\item[First] Hello
\item[Second] World
\item[Third\\Fourth] Again
\end{itemize}
\setlist[itemize]{font=\color{red},style=multiline,labelwidth=2cm}
\begin{itemize}
\item[First] Hello
\item[Second] World
\item[Third\\Fourth] Again
\end{itemize}
\end{document}
\setlist[itemize]{ font=\color{red}\smash,style=multiline,labelwidth=2cm}
(observe\smash
)\label[Third\\Fourth]
. It crashes painfully. (See my updated question.)font=\leavevmode\color{red}
.