Is there a way to refer to a tcolorbox created theorem (created with \newtcbtheorem) using hyperref's \autoref?
I've tried to set \<name>autorefname, as I would have done it for a theorem created with \newtheorem, but it does not seem to work for \newtcbtheorem:
\documentclass{article}
\usepackage{hyperref}
\usepackage{tcolorbox}
\tcbuselibrary{theorems}
% tcolorbox theorem
\newtcbtheorem{evidence}{Evidence}{}{ev}
\newcommand{\evidenceautorefname}{Evidence}
% classic theorem
\newtheorem{classicevidence}{Evidence}
\newcommand{\classicevidenceautorefname}{Evidence}
\begin{document}
Find the most important text
in~\autoref{ev:one} % Does not work correctly
and in~\autoref{ev:two}. % Works as expected
\begin{evidence}{This is the evidence}{one}
Nothing really important to show here.
\end{evidence}
\begin{classicevidence}
\label{ev:two}
This is the classic evidence.
\end{classicevidence}
\end{document}



\newtcbtheorem. – Mico May 23 '14 at 12:00