LaTeX slides: make a presentation with Beamer
To make slides in LaTeX, use the beamer class: start with\documentclass{beamer} and put each slide in aframe environment. Beamer comes with every TeX distribution and compiles to a PDF, which you present full screen in any PDF viewer. It is the LaTeX equivalent of a PowerPoint deck.
\documentclass{beamer}
\usetheme{Madrid}
\title{My Talk}
\author{Jane Doe}
\date{\today}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{First slide}
\begin{itemize}
\item One point
\item Another point
\end{itemize}
\end{frame}
\end{document}The text in braces after \begin{frame} is the slide title. \titlepage builds the title slide from\title, \author and \date. Delete the \usetheme line for Beamer's plain default look.
Themes
\usetheme{Name} changes the whole look. Themes that come with Beamer include Madrid, Berlin,Warsaw, CambridgeUS andCopenhagen. TeX Live also ships separate themes such asmetropolis, which wants XeLaTeX or LuaLaTeX for its fonts.\usecolortheme{Name} changes only the colours, for example beaver or dolphin.
Widescreen, reveals and columns
\documentclass[aspectratio=169]{beamer}
\begin{document}
\begin{frame}{Step by step}
\begin{itemize}
\item<1-> Shown from the start
\item<2-> Shown from the second step
\end{itemize}
\pause[3]
This line appears last.
\end{frame}
\begin{frame}{Two columns}
\begin{columns}
\column{0.5\textwidth}
Text on the left.
\column{0.5\textwidth}
\includegraphics[width=\linewidth]{example-image}
\end{columns}
\end{frame}
\end{document}aspectratio=169makes 16:9 slides. The default is 4:3.\item<2->shows an item from the second step of the slide on. Each step is a separate PDF page, so clicking forward in the viewer reveals the next item.\pause[3]hides everything after it until step 3. A bare\pausewaits for the next step.columnssplits a slide; widths are fractions of\textwidth. Beamer loadsgraphicxitself.
Can LaTeX make a PowerPoint file?
Not directly. Beamer produces a PDF, not a .pptx. A PDF presents the same on every computer, keeps your fonts and equations exactly as compiled, and opens in any PDF viewer's presentation or full-screen mode.
Slide templates
Every presentation template here is a Beamer (or similar) deck that compiles as downloaded. Good starting points: the plainBeamer Presentation, the modern Moloch theme, andSimplePlus. For a printed poster instead of slides, see theconference poster templates.
Related
Lists on slides are covered in LaTeX lists, and text size in LaTeX font size. For maths on slides, see LaTeX math symbols.