[Tex/LaTex] How to fit this table to the frame in Beamer

beamertables

\documentclass{Beamer}

\begin{document}

\begin{table}
\begin{tabular}{l l l}
\toprule
Band &   &  \\
\hline
Total stop band & No propagation possible & All of the incident field is reflected back  \\ % inserting body of the table
Partial stop band & Propagation possible for some directions & Some/all energy converted to Bloch waves  \\
Pass band & Propagation possible in all directions & Some/all energy converted to Bloch waves \\
\bottomrule
\end{tabular}
\caption{Table caption}
\end{table}

\end{document}

Best Answer

You have two possibilities (as stated John Kormylo in his comment):

  1. reduce font size to tiny
  2. reduce font size to small and instead tabular use for example tabularx which broke lines and reduce \tobcolsep to 3pt.

MWE:

\documentclass{Beamer}
\usepackage{booktabs,tabularx}
    \newcolumntype{L}{>{\raggedright\arraybackslash}X}

        \begin{document}
\begin{frame}
    \begin{table}\tiny
\begin{tabular}{@{}l l l@{}}
    \toprule
Band &   &  \\
    \midrule
Total stop band
    & No propagation possible
        & All of the incident field is reflected back   \\
Partial stop band
    & Propagation possible for some directions
        & Some/all energy converted to Bloch waves      \\
Pass band
    & Propagation possible in all directions
        & Some/all energy converted to Bloch waves      \\
    \bottomrule
\end{tabular}
\caption{Table caption: case 1}
\end{table}

\begin{table}
    \small
    \setlength{\tabcolsep}{3pt}
\begin{tabularx}{\hsize}{@{}l LL@{}}
    \toprule
Band &   &  \\
    \midrule
Total stop band 
    & No propagation possible 
        & All of the incident field is reflected back   \\
Partial stop band 
    & Propagation possible for some directions 
        & Some/all energy converted to Bloch waves      \\
Pass band 
    & Propagation possible in all directions 
        & Some/all energy converted to Bloch waves      \\
    \bottomrule
\end{tabularx}
\caption{Table caption: case 2}
    \end{table}
\end{frame}
        \end{document}

enter image description here