[Tex/LaTex] Content doesn’t fit in one slide

beamerheight

I have a paragraph which I want to put in one slide, but it doesn't fit and some content can't be seen. I am using the Warsaw theme as follows.

I tried increasing the height of the slide using the following code

\documentclass{beamer}
\usepackage{lmodern}
\setbeamercovered{transparent}
\usetheme{Warsaw}
\usepackage[height=10in,a5paper,hmargin={3cm,0.8in}]{geometry} 

\title[\insertframenumber/
\inserttotalframenumber]{Database}
\author{Mark dain \\ \scriptsize{(Reg.No 12345)} }
\institute{Dept. of Information \& Communication Technology}
\date{October 21,2012}

\begin{document}

\frame{\titlepage}

\begin{frame}
\frametitle{Table of Contents}
\begin{itemize}
\item Introduction
\item Algorithm for reducing finite automata
\item Reliability models
\item Reduction steps
\item References
\item Conclusion
\end{itemize}
\end{frame}

\begin{frame}{Title}
text
\end{frame}
\end{document}

However it still doesn't increase.

Best Answer

You have several possibilities here:

  1. Use \setbeamersize to reduce the left and right margins (default =1cm); notice that this will have a global effect (all frames will suffer the change):

    \documentclass{beamer}
    \usepackage{lmodern}
    \setbeamercovered{transparent}
    \usetheme{Warsaw}
    
    \title[\insertframenumber/\inserttotalframenumber]{Database}
    \author{Mark dain \\ \scriptsize{(Reg.No 12345)} }
    \institute{Dept. of Information \& Communication Technology}
    \date{October 21,2012}
    
    \setbeamersize{text margin left=0.5cm,text margin right=0.5cm}
    
    \begin{document}
    
    \frame{\titlepage}
    
    \begin{frame}
    \frametitle{Table of Contents}
    \tableofcontents
    \end{frame}
    
    \section{Introduction}
    \begin{frame}{Title}
    text
    \end{frame}
    \section{Algorithm for reducing finite automata}
    \begin{frame}{Title}
    text
    \end{frame}
    \section{Reliability models}
    \begin{frame}{Title}
    text
    \end{frame}
    \section{Reduction steps}
    \begin{frame}{Title}
    text
    \end{frame}
    
    \end{document}
    
  2. Use \footnotesize (or other font switch) to reduce the font size in the given frame:

    \documentclass{beamer}
    \usepackage{lmodern}
    \setbeamercovered{transparent}
    \usetheme{Warsaw}
    \usepackage{lipsum}% just to generate text for the example
    
    \title[\insertframenumber/\inserttotalframenumber]{Database}
    \author{Mark dain \\ \scriptsize{(Reg.No 12345)} }
    \institute{Dept. of Information \& Communication Technology}
    \date{October 21,2012}
    
    \begin{document}
    
    \frame{\titlepage}
    
    \begin{frame}
    \frametitle{Table of Contents}
    \tableofcontents
    \end{frame}
    
    \section{Introduction}
    \begin{frame}{Title}
    \footnotesize
    \lipsum[2]\lipsum[3]
    \end{frame}
    \section{Algorithm for reducing finite automata}
    \begin{frame}{Title}
    text
    \end{frame}
    \section{Reliability models}
    \begin{frame}{Title}
    text
    \end{frame}
    \section{Reduction steps}
    \begin{frame}{Title}
    text
    \end{frame}
    
    \end{document}
    
  3. Use the shrink option for the frame:

    \documentclass{beamer}
    \usepackage{lmodern}
    \setbeamercovered{transparent}
    \usetheme{Warsaw}
    \usepackage{lipsum}% just to generate text for the example
    
    \title[\insertframenumber/\inserttotalframenumber]{Database}
    \author{Mark dain \\ \scriptsize{(Reg.No 12345)} }
    \institute{Dept. of Information \& Communication Technology}
    \date{October 21,2012}
    
    \begin{document}
    
    \frame{\titlepage}
    
    \begin{frame}
    \frametitle{Table of Contents}
    \tableofcontents
    \end{frame}
    
    \section{Introduction}
    \begin{frame}[shrink=20]{Title}
    \lipsum[2]\lipsum[3]
    \end{frame}
    \section{Algorithm for reducing finite automata}
    \begin{frame}{Title}
    text
    \end{frame}
    \section{Reliability models}
    \begin{frame}{Title}
    text
    \end{frame}
    \section{Reduction steps}
    \begin{frame}{Title}
    text
    \end{frame}
    
    \end{document}
    

Notice that I replaced the manually generated table of contents by the automatically generated one using \tableofcontents.