0

I was wondering if there was a way that I could reference the numbers of the theorems in my document would actually having to write "theorem 1.11". So that if the numbering of my theorems change then my referencing of them automatically does as well?

Thanks for any help

hmmmm
  • 1,115

1 Answers1

0

You can use the cleveref-package to solve your problem.

\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{cleveref}
\newtheorem{theorem}{Theorem}


\begin{document}
\begin{theorem}\label{Th_1}
This is my theorem
\end{theorem}

From \cref{Th_1} ...

\end{document}
SLx64
  • 2,823