Skip to content

Commit

Permalink
Make it an error to use \autoref
Browse files Browse the repository at this point in the history
Even if \autoref would produce the same output as \cref today, we might decide to change the \cref output in the future, and then we would most likely not remember to also update the \autoref output.
  • Loading branch information
henrikt-ma committed Jul 7, 2020
1 parent c2520a7 commit ba53f6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions preamble.tex
Expand Up @@ -141,6 +141,7 @@
\newcommand{\bibitemtitle}[1]{\emph{#1}}

\usepackage[nameinlink,noabbrev]{cleveref}
\def\autoref#1{\errmessage{You are not supposed to use \autoref; use \cref or \Cref instead.}}

% Environment for definitions.
\usepackage{amsthm}
Expand Down

0 comments on commit ba53f6a

Please sign in to comment.