--- output: beamer_presentation: classoption: "aspectratio=169" header-includes: - \newcommand{\red}[1]{{\color{red}#1}} - \newcommand{\blue}[1]{{\color{blue}#1}} - \newcommand{\wc}[1]{\angles{w'c_i'}\!\big|_{#1}} --- Example slide -------------------- Example slide with a figure ![A caption centers the figure](figure/path.pdf)