使用投影仪进行演示

使用投影仪进行演示

beamer准备了以下幻灯片。我想将定理显示在方框或类似的东西中,以便更好地展示。标题也是左对齐的。这样可以吗?

\begin{frame}{Chinese Remainder Theorem(CRT)}

\begin{theorem}

 Let $r, s$ be integers such that gcd$(r, s)=1$. 
Given integers $a,b$, there exists unique 
$x <rs$ such that 

\vspace*{5pt}
\begin{enumerate}
\item $x \equiv a \bmod r$ 
\item $x \equiv b \bmod s$
\end{enumerate}

\end{theorem} 

\end{frame}

答案1

你是指这样的吗?

\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usetheme{Madrid}
\title{You slide ready}
\author{Yourself}
\date{today}

\begin{document}
\begin{frame}[shrink=-50]{A theorem in a box}

\begin{theorem}

 Let $r, s$ be integers such that gcd$(r, s)=1$. 
Given integers $a,b$, there exists unique 
$x <rs$ such that 

\begin{enumerate}
\item <+-> Wait to the next slide ...
\item <+-> $x \equiv a \bmod r$ 
\item <+-> $x \equiv b \bmod s$
\end{enumerate}

\end{theorem} 
\end{frame} 
\end{document}

好吧,没有主题,没有定理环境,你可以使用,例如,fancybox 和 minipage:

\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{fancybox}
\title{You slide ready}
\author{Yourself}
\date{today}
\begin{document}
\begin{frame}[shrink=-50]{A theorem in a box}

 Let $r, s$ be integers such that gcd$(r, s)=1$. 
Given integers $a,b$, there exists unique 
$x <rs$ such that 

\Ovalbox{\begin{minipage}[t]{0.5\columnwidth}%

\begin{enumerate}
\item <+-> Wait to the next slide ...
\item <+-> $x \equiv a \bmod r$ 
\item <+-> $x \equiv b \bmod s$
\end{enumerate}

\end{minipage}}
\end{frame} 
\end{document}

相关内容