我第一次使用 Beamer 进行演示,在交叉引用方面遇到了一些问题。以下是我需要帮助的具体问题:
\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}
\usetheme{Simple}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{parskip}
\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
\begin{document}
\begin{frame}{Tom's Theorem}
\begin{theorem}[Tom's Theorem, 1948]
\label{john}
Something satisfying
\begin{equation}
\label{eqn1}
a + b = c^2
\end{equation}
and
\begin{equation}
\label{eqn2}
\sum_{i=1}^n a_i = 10
\end{equation}
\end{theorem}
\end{frame}
这是我标记了两个方程式的框架之一,我想交叉引用稍后。标签是等式1和等式2。
在此之后,我有:
\begin{frame}{Tom's Theorem}
\Cref{eqn1} along with \Cref{eqn2} constitute the system of equations we want to solve. Tom and John are best friends. Tom is in senior year.
\end{frame}
\end{document}
这种交叉引用不起作用。为什么会这样?我如何解决它?有什么办法可以解决这个问题?谢谢。