I have the following tex file;
\documentclass[a4paper]{article}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage[hidelinks]{hyperref}
\newtheorem{thm}{Theorem}
\begin{document}
\begin{thm}\label{thm1}
Blah.
\end{thm}
Consider \autoref{thm1}.
\end{document}
With this set up, \autoref{thm1} prints "Theorem 1", but if I disable thmtools, it only prints "1". I was led to believe that \autoref is part of hyperref and should not require thmtools. Where am I going wrong? Is there a better way to do this?
\newcommand{\thmautorefname}{Theorem}, which is detailed in How to get correct autoref for theorems As such, I think this is a duplicate- let us know! – cmhughes Oct 19 '13 at 15:54theoremcounter for Theorem-like environments, but not about other possible counters, such asthm. If you choose counters other thantheorem, you need to supply your own supplemental\...autorefnamemacros. – Mico Oct 19 '13 at 17:49