I'd like to use showkeys
to show me the labels of my definitions (this works) and the labels of the used references (this does not work). The reason for the latter problem is that I use the cleveref
package, i.e. \Cref{thm:something}
instead of \ref{thm:something}
. Changing all \Cref
to \ref
helps, but I'd like to stick to \Cref
.
\documentclass[12pt,a4paper]{scrbook}
\usepackage[]{showkeys}
\usepackage{cleveref}
\begin{document}
\chapter{A}
\label{cha:A}
\chapter{B}
In \Cref{cha:A} something was done.
In \ref{cha:A} something was done.
\end{document}