\documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \usepackage{tikz} \usetikzlibrary{calc} \usepackage{hyperref} \begin{document} \section{A graph for Omer} \begin{tikzpicture} \node(A) at (0,0) {$A$}; \node(B) at (10,0) {$B$}; \draw[->] (A)-- node[below]{\hyperlink{tikz_thm1}{Theorem 1}} (B); \end{tikzpicture} \begin{theorem}\label{thm1}\hypertarget{tikz_thm1} 1+1+2. \end{theorem} \end{document}
Graphics, Figures & Tables ⇒ hyperlinks in tikz
hyperlinks in tikz
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
hyperlinks in tikz
Code: Select all
\documentclass{article}
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{hyperref}
\begin{document}
\section{A graph for Omer}
\begin{tikzpicture}
\node(A) at (0,0) {$A$};
\node(B) at (10,0) {$B$};
\draw[->] (A)-- node[below]{\autoref{thm1}} (B);
\end{tikzpicture}
\begin{theorem}\label{thm1}
1+1+2.
\end{theorem}
\end{document}
Rainer