[Tex/LaTex] How to change edge of pages in Beamer

beamer

I'm using long math formulas and need to get smaller edges in Beamer presentation. I mean how I can get all environments such as definition, theorems, proofs starting at the same position as frametitle?

Best Answer

Using text margin left=<length> and text margin right=<length> for \setbeamersize you can change the margins; in the example I set them both to 0pt just for illustration purposes:

\documentclass{beamer}

\setbeamersize{text margin left=0pt,text margin right=0pt}

\begin{document}

\begin{frame}
\begin{theorem}
text
\end{theorem}
\end{frame}

\end{document}

enter image description here