Skip to Main Content

Research Guides

LaTeX Document Preparation System

This guide provies information on LaTeX and Overleaf.

Creating Beamer Presentation

Beamer is a LaTeX class for creating presentations. It allows you to create professional-looking slides with ease. A Beamer presentation is structured similarly to a LaTeX article, with some key differences. Here’s the basic structure of a Beamer document:

\documentclass{beamer}

\begin{document}

\begin{frame}
  \frametitle{Title of the Slide}
  This is some text in the slide.
\end{frame}

\end{document}

This code will produce the following:

Screenshot of a beamer presentation example

Adding Content

Creating a Beamer Presentation

Document Class:

  • Use \documentclass{beamer} to specify the Beamer class.
  • Each slide is created within a `frame` environment.

Frames:

  • The \frametitle{} command sets the title of the slide.

Example Presentation

\documentclass{beamer}

\title{My Presentation}
\author{Author Name}
\date{\today}

\begin{document}

\frame{\titlepage}

\begin{frame}
  \frametitle{Introduction}
  Welcome to my presentation!

\begin{figure}
    \centering
    \includegraphics[width = 5 cm, height = 4 cm]{books.jpg}
    \caption{Reading books is fun!}
    \label{fig:books}
\end{figure}


\end{frame}

\begin{frame}
  \frametitle{Outline}
  \tableofcontents
\end{frame}

\section{First Section}

\begin{frame}
  \frametitle{First Slide}
  Here is some text for the first slide.
\end{frame}

\section{Second Section}

\begin{frame}
  \frametitle{Second Slide}
  Here is some text for the second slide.
\end{frame}

\end{document}

This code creates the following set of slides:

Screenshot of a set of slides procuding using beamer

Adding Content

Creating figures, tables, and lists in Beamer is the same as in an article. The only difference is the environment in which they are placed.