Skip to content

Inline description list has spurious \hfil spaces #38

@schtandard

Description

@schtandard

Inline description* lists (when not unboxed) seem to add a spurious \hfil to every afterlabel. itemize* and enumerate* do not have this behavior. (Prompted by this tex.sx question.)

In the following MWE, I removed all spacing from the inline list for clarity.

\documentclass{article}

\usepackage[inline]{enumitem}

\parindent=0pt
\usepackage{showframe}

\begin{document}

before
\begin{description*}[itemjoin={}, afterlabel={}]
  \item[first] one
  \item[second] two
  \item[third] three
\end{description*}
after

\end{document}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions