.png)
ams 스타일이 활성화된 `솔루션'을 제외하고는 여전히 숫자 계산을 사용하고 싶습니다 theorem
. definition
힌트를 주세요.
\documentclass{beamer}
\setbeamertemplate{theorems}[ams style]
\begin{document}
\begin{frame}
\begin{theorem}
Nice proposition.
\end{theorem}
\begin{solution}
Foo.
\end{solution}
\begin{example}
Baz.
\end{example}
\end{frame}
\end{document}
원하는 아웃은
Theorem 1
Solution
Example 2
답변1
빠른 해킹으로 block
솔루션에 일반 비머를 사용할 수 있습니다.
\documentclass{beamer}
\setbeamertemplate{theorems}[ams style]
\setbeamerfont{block title}{series=\bfseries}
\renewenvironment<>{solution}{\begin{block}#1{Solution}\itshape}{\end{block}}
\begin{document}
\begin{frame}
\begin{theorem}
Nice proposition.
\end{theorem}
\begin{solution}
Foo.
\end{solution}
\begin{example}
Baz.
\end{example}
\end{frame}
\end{document}