I am trying to make my multiline labels aligned to the right. I applied style=multiline
and align=right
options to enumitem description environment. Here's the code describing the issues:
\documentclass{article}
\usepackage{geometry}
\usepackage{enumitem}
\begin{document}
% multiline, left-aligned
\begin{description}[style=multiline, leftmargin=!, labelwidth=4cm]
\item[Truth-functional\\ connective] A sentence connective with the property that the truth value of the newly formed sentence is determined solely by the truth value(s) of the constituent sentence(s), nothing more.
\end{description}
% multiline, right-aligned; the option is not applied.
\begin{description}[align=right, style=multiline, leftmargin=!, labelwidth=4cm]
\item[Truth-functional connective] A sentence connective with the property that the truth value of the newly formed sentence is determined solely by the truth value(s) of the constituent sentence(s), nothing more.
\end{description}
% the order of options changed; different result.
\begin{description}[style=multiline, align=right, leftmargin=!, labelwidth=4cm]
\item[Truth-functional connective] A sentence connective with the property that the truth value of the newly formed sentence is determined solely by the truth value(s) of the constituent sentence(s), nothing more.
\end{description}
% The label aligned as intended with a single line label.
\begin{description}[align=right, leftmargin=!, labelwidth=4cm]
\item[Truth-functional] A sentence connective with the property that the truth value of the newly formed sentence is determined solely by the truth value(s) of the constituent sentence(s), nothing more.
\end{description}
\end{document}
With a single-line label, there's no problem. But the options do not work correctly with a multiline label. Only the first and the last ones worked as intended. What's happening inside this code?
The desired output is