6

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

enter image description here

I try as follows

          \documentclass[xcolor=dvipsnames]{beamer}
     \usepackage{pifont} 
     \mode<presentation>
      \usetheme{Madrid}
       \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} 
5

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} 
\usetheme{Madrid}
\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} 

enter image description here

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

\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{pifont} 
\usetheme{Madrid}
\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} 

enter image description here

  • 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
4
\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{pifont}
\usepackage{amssymb} 
\usetheme{Madrid}
\setbeamertemplate{itemize items}{\textcolor[rgb]{1.00,0.00,1.00}{\ding{228}}}
\begin{document}
\begin{frame}{Sketch of Proof}
The steps of our theorem are the following:
\begin{itemize}
\item ...   
\item ...   
\item ...   
\item ...   
\end{itemize}
\hfill$\blacksquare$
\end{frame}
\end{document} 

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.