[Tex/LaTex] How to reduce the font size in beamer instead of wrapping text

beamerfontsize

I am really new to LaTeX/beamer, and now I am coming into this question:

In MS powerpoint, when a textbox is filled it can automatically shrink the font size, instead of going over the page.

Is there a way that in beamer we can also do this?

Best Answer

Use shrink=0 ... 100 in the frame option to shrink everything by n percent of a frame, as displayed below.

\documentclass{beamer}
\usepackage{lipsum}
\begin{document}
\begin{frame}[shrink=50]  % shrink 50 percent
\lipsum[2]
\end{frame}
\end{document}