multline env ignores \zlabel #272
Labels
category amsmath
enhancement
long-term
issues (or enhancements) that will not be resolved any time soon but should be considered eventually
report elsewhere
!! Please fill out all sections after reading CONTRIBUTING guidelines (and remove lines starting with !!)
Brief outline of the bug
I noted that \zlabel introduced by zref package is ignored inside multline environment, it does not write \zref@newlabel to aux file. MWE is given below. I reported this 'feature' to zref repository but was answered that this is bug (or a
feature
) in amsmath.Minimal example showing the bug
\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage[user]{zref}
\begin{document}
\begin{equation}
\zlabel{eq:01}
E=mc^{2}
\end{equation}
\begin{multline}
\zlabel{eq:02}
W = \int \vec{\xi}\cdot \vec{F}(\vec{\xi}) ,d^{3}x
=
\
\iint \ldots
\end{multline}
First Eq.
\zref{eq:01}, second Eq.\zref{eq:02}.\end{document}
The text was updated successfully, but these errors were encountered: