Beamer is the standard LaTeX class for slides: it keeps LaTeX’s math, references, and code quality, and outputs a presentation PDF. You build slides as frames, reveal content with overlays, restyle with themes, and lay things out with columns and blocks. This page covers those four.
Frames — the unit of a slide
Use \documentclass{beamer} and write each slide as a frame (\begin{frame}{title} … \end{frame}). Inside, it is ordinary LaTeX — lists, math, figures, all as usual. Give the title as the argument or with \frametitle{...}.
\documentclass{beamer}
\usetheme{metropolis}
\begin{document}
\begin{frame}{はじめに}
\begin{itemize}
\item 要点その1
\end{itemize}
\end{frame}
\end{document}Overlays — reveal step by step
Within one frame, you can reveal content gradually. The simplest is \pause (everything after it appears on the next step). For finer control, add an overlay spec <...> to commands — \only<2>{...} (only on step 2), \uncover<2->{...} (from step 2 on, with space reserved from the start), \item<2->, \alert<3>{...} (highlight). One frame expands into as many PDF pages as there are steps.
\begin{frame}{段階表示}
最初に出る。\pause あとから出る。
\only<2->{2 枚目以降だけ}
\uncover<3->{3 枚目から(場所は確保)}
\end{frame}Themes and colors
Restyle the whole deck in one line — \usetheme{Madrid} (layout) and \usecolortheme{...} (palette). There are many built-in themes; the popular modern one is metropolis (\usetheme{metropolis}, a separate package by Matthias Vogelgesang) — flat and clean.
\usetheme{Madrid} % レイアウト / layout
\usecolortheme{seahorse} % 配色 / colors
% モダンな定番 / a modern favorite:
\usetheme{metropolis}Columns and blocks
Columns: the columns environment with \column{width} places content side by side (text plus a figure, say). Blocks: colored boxes — block (a titled box), alertblock (emphasis), and exampleblock (examples) — handy for framing key points visually.
\begin{columns}
\column{0.5\textwidth}
左の段。
\column{0.5\textwidth}
\begin{block}{ポイント}
右の段のブロック。
\end{block}
\end{columns}