~nxg/showlabels#3: 
Labels surrounded by two pairs of braces when both the amsmath and the cleveref packages are in use

When the following LaTeX code is processed by pdflatex, the resulting PDF file is the one attached to this message as "NoToBoth.pdf". The label is surrounded by a single pair of braces.

When either one of the commented lines is uncommented, the resulting PDF file is essentially the same as before.

However, when both these lines are uncommented, the resulting PDF file is the one attached to this message as "YesToBoth.pdf". The label is surrounded by two pairs of braces. This is undesirable.

A possible implementation of a solution was suggested in the following post:https://tex.stackexchange.com/a/585056/21685 It consists in adding the following three lines of code after the \usepackage{showlabels} directive.

\makeatletter \def\SL@eqntext#1{\rlap{\quad{\showlabelsetlabel{\SL@prlabelname{#1}}}}} \makeatother

Status
REPORTED
Submitter
Evan Aad
Assigned to
No-one
Submitted
10 months ago
Updated
10 months ago
Labels
No labels applied.