在投影仪框架中添加证明结束的符号

在投影仪框架中添加证明结束的符号

我想在投影仪框架中添加证明结束的符号,如下图所示

在此处输入图片描述

我尝试如下

          \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} 

答案1

如果您想要展示证明,请使用proof环境,然后 qed 符号将自动出现:

\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} 

在此处输入图片描述

如果你想手动放置它,你可以使用\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} 

在此处输入图片描述

答案2

\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} 

相关内容