Theorem Environments and Block Environments in LaTeX Beamer

Oct. 19, 2023

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
\documentclass{beamer}
\usetheme{Warsaw}
\usepackage{listings}

\begin{document}
	\begin{frame}{Theorem Environments}
		\begin{columns}
			\begin{column}{0.5\textwidth}
				
				\begin{theorem}<1->[Name]
					(This is theorem environment.)
				\end{theorem}
				
				\begin{proof}<1->[Name]
					(This is proof environment.)
				\end{proof}
				
				\begin{example}<1->[Name]
					(This is example environment.)
				\end{example}
				
				\begin{definition}<1->[Name]
					(This is definition environment.)
				\end{definition}
			\end{column}
		
			\begin{column}{0.5\textwidth}
				\begin{corollary}<1->[Name]
					(This is corollary environment.)
				\end{corollary}
				
				\begin{fact}<1->[Name]
					(This is fact environment.)
				\end{fact}
				
				\begin{examples}<1->[Name]
					(This is examples environment.)
				\end{examples}
				
				\begin{definitions}<1->[Name]
					(This is definitions environment.)
				\end{definitions}
				
				\begin{lemma}<1->[Name]
					(This is lemma environment.)
				\end{lemma}
				
			\end{column}
		\end{columns}
	\end{frame}
	
	\begin{frame}[t]{Block Environments}
		
		\begin{block}<1->{block environment}
			This is block environment.
		\end{block}
		
		\begin{alertblock}<1->{alertblock environment}
			This is alertblock environment.
		\end{alertblock}
		
		\begin{exampleblock}<1->{exampleblock environment}
			This is exampleblock environment.
		\end{exampleblock}
	
	\end{frame}
\end{document}

new-1

new-2


References

[1] https://latex-beamer.com/tutorials/blocks/.