# add the symbol of the end of a proof in beamer frame

I want to add the symbol of the end of a proof in a beamer frame as it is shown in the following picture

I try as follows

\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{pifont}
\mode<presentation>
\begin{document}

\begin{frame}{Sketch of Proof}
The steps of our theorem are the following:

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

$\qedhere$
\end{frame}
\end{document}

If you want to show a proof, use a proof environment and the qed sign will be there automatically:

\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{pifont}
\begin{document}

\begin{frame}
\frametitle{Sketch of Proof}

\begin{proof}
The steps of our theorem are the following:

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\end{proof}
\end{frame}
\end{document}

If you want to manually place it, you can use \qed

\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{pifont}
\begin{document}

\begin{frame}
\frametitle{Sketch of Proof}
The steps of our theorem are the following:

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}} ....

\hfill \qed
\end{frame}
\end{document}

• Thank you for your help. My only question: is there a difference between \begin{frame} \frametitle{Sketch of Proof} and \begin{frame}{Sketch of Proof} ? – Student Dec 18 '18 at 20:51
• @Student Not much difference. I prefer the first because it is more flexible. For example you can do \frametitle<1>{abc}\frametitle<2>{efg} to switch between titles on different slides of the same frame. – samcarter Dec 18 '18 at 20:55
\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{pifont}
\usepackage{amssymb}
\hfill$\blacksquare$