Skip to content

hyperref to enumerate* with itemjoin jumps to wrong location #51

@huda-kh

Description

@huda-kh
\documentclass{article}

\usepackage[inline]{enumitem}
\usepackage{hyperref}
\begin{document}

\begin{enumerate*}[itemjoin = \hspace{1.5em}]
\setlist*{inline=true}
   \item{Item one}
   \item{Item two}\label{enum:item2}
   \item{Item three}
   \item{Item four}\label{enum:item4}
   \item{Item five}\label{enum:item5}
   \item{Item six}\label{enum:item6}
   \item{Item seven}\label{enum:item7}
   
\end{enumerate*}

Refer to \ref{enum:item6} while zoomed in

\end{document}

If you click on the reference while zoomed in, you will notice the jump to the wrong coordinates (end of item 5).

/cc @jbezos

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions