Skip to main content
โšก Calmops

LaTeX for Presentations: Beamer Beyond the Basics

Introduction

Beamer is LaTeX’s document class for creating professional presentations. While basic Beamer usage produces functional slides, understanding themes, customization, and advanced features enables truly compelling slideshows.

This guide covers everything needed to create polished, memorable presentations with Beamer.

Getting Started with Beamer

Basic Presentation

\documentclass{beamer}

\title{Your Presentation Title}
\subtitle{Optional Subtitle}
\author{Your Name}
\institute{Your Institution}
\date{\today}

\begin{document}

\begin{frame}
  \titlepage
\end{frame}

\begin{frame}{Overview}
  \tableofcontents
\end{frame}

\section{First Section}
\begin{frame}{First Slide}
  Your content here...
\end{frame}

\end{document}

Frame Environments

\begin{frame}[fragile]{Code Examples}
  % Use fragile for verbatim/minted content
\end{frame}

\begin{frame}[allowframebreaks]{Long Content}
  % Automatically breaks across frames
\end{frame}

\begin{frame}[plain]
  % No header/footer
\end{frame}

Beamer Themes

Built-in Themes

% Themes (affects layout)
\usetheme{default}
\usetheme{AnnArbor}
\usetheme{Antibes}
\usetheme{Bergen}
\usetheme{Berkeley}
\usetheme{Berlin}
\usetheme{Boadilla}
\usetheme{CambridgeUS}
\usetheme{Copenhagen}
\usetheme{Darmstadt}
\usetheme{Dresden}
\usetheme{Frankfurt}
\usetheme{Goethe}
\usetheme{Hannover}
\usetheme{Ilmenau}
\usetheme{JuanLesPins}
\usetheme{Luebeck}
\usetheme{Madrid}
\usetheme{Malmoe}
\usetheme{Marburg}
\usetheme{Montpellier}
\usetheme{PaloAlto}
\usetheme{Pittsburgh}
\usetheme{Rochester}
\usetheme{Singapore}
\usetheme{Szeged}
\usetheme{Warsaw}

Color Themes

% Color themes (affects colors)
\usecolortheme{default}
\usecolortheme{albatross}
\usecolortheme{beaver}
\usecolortheme{beetle}
\usecolortheme{crane}
\usecolortheme{dolphin}
\usecolortheme{dove}
\usecolortheme{fly}
\usecolortheme{lily}
\usecolortheme{orchid}
\usecolortheme{rose}
\usecolortheme{seagull}
\usecolortheme{seahorse}
\usecolortheme{sidebartab}
\usecolortheme{structure}
\usecolortheme{whale}
\usecolortheme{wolverine}

Inner and Outer Themes

% Inner themes (affects title, content)
\useinnertheme{default}
\useinnertheme{circles}
\useinnertheme{inmargin}
\useinnertheme{rectangles}
\useinnertheme{rounded}

% Outer themes (affects header, footer)
\useoutertheme{default}
\useoutertheme{miniframes}
\useoutertheme{shadow}
\useoutertheme{sidebar}
\useoutertheme{slide}
\useoutertheme{smoosh}
\useoutertheme{tree}
\useoutertheme{split}

Customizing Beamer

Custom Colors

\setbeamercolor{title}{fg=darkblue,bg=white}
\setbeamercolor{structure}{fg=darkblue}
\setbeamercolor{normal text}{fg=black,bg=white}

% Frame titles
\setbeamerfont{framesize}{size=\Large}
\setbeamerfont{title}{size=\LARGE,series=\bfseries}

Custom Headers and Footers

\setbeamertemplate{headline}
{
  \leavevmode%
  \hbox{%
    \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1ex]{palette tertiary}%
      \insertsectionnavigationhorizontal{\paperwidth}{}{\hskip0pt plus1filll}
    \end{beamercolorbox}%
  }%
}

\setbeamertemplate{footline}
{
  \leavevmode%
  \hbox{%
    \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1ex]{palette quaternary}%
      \insertframenumber/\inserttotalframenumber
    \end{beamercolorbox}%
  }%
}

Content Organization

Sections and Subsections

\section{Section One}
\subsection{Subsection A}
\begin{frame}{Frame Title}
  Content...
\end{frame}

\section{Section Two}
\begin{frame}{Another Frame}
  Content...
\end{frame}

Table of Contents

\begin{frame}{Outline}
  \tableofcontents[pausesections]
\end{frame}

% Current section highlighted
\begin{frame}{Outline}
  \tableofcontents[currentsection]
\end{frame}

Block Environments

Standard Blocks

\begin{frame}{Key Concepts}
  \begin{block}{Definition}
    A block of content...
  \end{block}
  
  \begin{alertblock}{Important}
    Alert content...
  \end{alertblock}
  
  \begin{exampleblock}{Example}
    Example content...
  \end{exampleblock}
\end{frame}

Custom Blocks

\newtheoremstyle{mythm}
  {\topsep}{\topsep}{\itshape}{}{\bfseries}{.}{5pt plus 1pt minus 1pt}{}
\theoremstyle{mythm}
\newtheorem{mytheorem}{Theorem}

\begin{frame}{Theorem}
  \begin{mytheorem}
    This is a custom theorem...
  \end{mytheorem}
\end{frame}

Columns and Alignment

Two-Column Layouts

\begin{frame}{Comparison}
  \begin{columns}
    \column{0.5\linewidth}
    Left column content...
    
    \column{0.5\linewidth}
    Right column content...
  \end{columns}
\end{frame}

Vertical Alignment

\begin{columns}[T]
  % Top-aligned columns
  
  \begin{columns}[c]
    % Center-aligned
  \end{columns}
  
  \begin{columns}[b]
    % Bottom-aligned
  \end{columns}
\end{columns}

Graphics and Media

Including Images

\begin{frame}{With Images}
  \begin{columns}
    \column{0.5\linewidth}
    \includegraphics[width=\linewidth]{figure}
    
    \column{0.5\linewidth}
    Text next to figure...
  \end{columns}
\end{frame}

TikZ in Beamer

\begin{frame}{Diagram}
  \begin{tikzpicture}
    \draw (0,0) -- (2,0) node[midway,above] {label};
  \end{tikzpicture}
\end{frame}

Handouts and Articles

Creating Handouts

\documentclass[12pt,handout]{beamer}
\usepackage{pgfpages}
pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]

Article Version

% In separate file
\documentclass{article}
\usepackage{beamerarticle}

\begin{document}
\section{Introduction}
\begin{frame}
  Content converts to article format...
\end{frame}
\end{document}

Best Practices

Design Guidelines

  1. Keep slides simple
  2. Use consistent colors
  3. Limit text per slide
  4. Use visuals strategically
  5. Practice timing

Accessibility

% Ensure contrast
\setbeamercolor{normal text}{fg=black,bg=white}

% Add notes
\begin{frame}
  Content...
  \note{Speaker notes here...}
\end{frame}

Conclusion

Beamer creates professional presentations with LaTeX’s precision. Master themes, customization, and content organization for compelling slideshows.

Resources

Comments