[Tex/LaTex] Remove labels from showing up in final document

cross-referencingshowlabels

I have these labels in the margin everywhere in my final document. I don't think they look good, and I want to get rid of them, but I can't figure out how.

I searched around and this is the closest I could find – https://www.sharelatex.com/blog/2012/01/31/keep-track-of-your-labels-with-showlabels.html

However, the text "showlabels" is nowhere in my files.

\usepackage[nolabel, final]{showlabels} does not remove the labels from the final pdf.

\usepackage[right]{showlabels} also does not move the labels to the right margin, which must mean the labels are coming from something else

Thanks

enter image description here

Best Answer

There are at least three packages that do this, see Printing labels along with equation numbers. They are showkeys, showlabels and refcheck. From your comment you seem to have loaded refcheck, and removing that solved the problem.


That said, the best solution to this problem is really just "make a minimal working example". In this case the starting point of making an MWE could be

\documentclass{article}
<your entire existing preamble>
\begin{document}
\label{something}
\end{document}

Then start removing things from the preamble, and you'll quite quickly find the package that produces those labels.

Related Question