
LaTeX Beamer 프레임 제목에 대한 예제를 만들고 이를 세어 다른 프레임 제목에서 참조하려고 합니다. 인터넷 검색을 통해 예제를 셀 수 있었지만 제목의 다음 슬라이드에서 참조할 수는 없었습니다.
그렇다면 이 목표를 달성하기 위한 어떤 아이디어가 있는지 궁금합니다.
다음은 생성된 해당 PDF 파일을 사용한 최소 작업 예입니다.
\documentclass[xcolor=dvipsnames]{beamer}
\usepackage[T1]{fontenc}
\usetheme{AnnArbor}
\usecolortheme{whale}
\setbeamercolor{title}{bg=RoyalPurple}
\setbeamercolor{frametitle}{fg=white,bg=RoyalPurple}
\usepackage{amsmath}
\newcounter{exm}
\newcommand\ExmT{%
\frametitle{\refstepcounter{exm}{Example}~\theexm}}
\resetcounteronoverlays{exm}
\begin{document}
\frame{
\ExmT
David Hilbert is a great Mathematician!
}
\frame{
\ExmT
Bernhard Riemann is another greatest mathematician in the history!
}
\frame{{How do you define Mathematics?}
Mathematics is a language of sciences. Moreover, $\cdots$
}
\frame{{Rmarks on Example 1}
{\color{red}\textbf{I am writing Remarks on Example 1 (on the title of this
frame) manually but is there a way to reference Example 1 automatically?}}
Not the frame number.
}
\end{document}