\usepackage{cleveref} \let\fullref\autoref % \def\makeautorefname#1#2{\expandafter\def\csname#1autorefname\endcsname{#2}} % \makeautorefname{eqn}{Equation}% \makeautorefname{sec}{Section}% \makeautorefname{subsec}{Subsection}% \makeautorefname{footnote}{footnote}% \makeautorefname{item}{item}% \makeautorefname{figure}{Figure}% \makeautorefname{table}{Table}% \makeautorefname{wraptab}{wraptable}% \makeautorefname{part}{Part}% \makeautorefname{app}{Appendix}% \makeautorefname{cla}{claim}% \makeautorefname{assump}{assumption}% \makeautorefname{conj}{conjecture}% \makeautorefname{cor}{corollary}% \makeautorefname{cex}{counterexample}% \makeautorefname{cexs}{counterexamples}% \makeautorefname{dig}{digression}% \makeautorefname{disc}{discussion}% \makeautorefname{def}{definition}% \makeautorefname{ex}{example}% \makeautorefname{exs}{examples}% \makeautorefname{fac}{fact}% \makeautorefname{intu}{intuition}% \makeautorefname{lem}{lemma}% \makeautorefname{meta}{metathm}% \makeautorefname{nota}{notation}% \makeautorefname{note}{note}% \makeautorefname{warn}{warn}% \makeautorefname{prop}{proposition}% \makeautorefname{rmk}{remark}% \makeautorefname{term}{terminology}% \makeautorefname{thm}{theorem}% \makeautorefname{upsh}{upshot}% % % *** End of hyperref stuff *** \theoremstyle{definition} \newtheorem{theorem}{Theorem}[section] \newtheorem{assumption}[theorem]{Assumption} \newtheorem{claim}[theorem]{Claim} \newtheorem{conjecture}[theorem]{Conjecture} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{counterexample}[theorem]{Counterexample} \newtheorem{definition}[theorem]{Definition} \newtheorem{digression}[theorem]{Digression} \newtheorem{example}[theorem]{Example} \newtheorem{examples}[theorem]{Examples} \newtheorem{exercise}[theorem]{Exercise} \newtheorem{fact}[theorem]{Fact} \newtheorem{idea}[theorem]{Idea} \newtheorem{intuition}[theorem]{Intuition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{metathm}[theorem]{Meta-theorem} \newtheorem{notation}[theorem]{Notation} \newtheorem{note}[theorem]{Note} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{remark}[theorem]{Remark} \newtheorem{terminology}[theorem]{Terminology} \newtheorem{upshot}[theorem]{Upshot} \newtheorem{warn}[theorem]{Warning} %\newtheorem{warning}[theorem]{Warning} %%%% hack to get fullref working correctly \makeatletter \let\c@corollary=\c@theorem \let\c@proposition=\c@theorem \let\c@lemma=\c@theorem \let\c@assumption=\c@theorem \let\c@conjecture=\c@theorem \let\c@definition=\c@theorem \let\c@example=\c@theorem \let\c@remark=\c@theorem \let\c@notation=\c@theorem \let\c@equation\c@theorem \makeatother \renewcommand*{\subsectionautorefname}{Subsection} \renewcommand*{\sectionautorefname}{Section}