Wiki source code of Professional Powerpoint Slides with LaTeX
Last modified by chrisby on 2024/08/24 14:47
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | I found [this tutorial](https://www.youtube.com/watch?v=Iwpi1Lm6dFo) on how to create a professional PowerPoint presentation very helpful. To implement the dark theme and the highlighting in a way that is easy to work with, I created a minimalistic LaTeX template. It works in Texmaker. | ||
2 | |||
3 | \documentclass{beamer} | ||
4 | |||
5 | \setbeamertemplate{background canvas}[canvas] | ||
6 | \setbeamercolor{background canvas}{bg=black} | ||
7 | \setbeamercolor{normal text}{fg=white} | ||
8 | \setbeamercolor{frametitle}{fg=white} | ||
9 | \setbeamertemplate{navigation symbols}{} | ||
10 | \setbeamertemplate{itemize item}{\color{darkgray}\textbullet} | ||
11 | \setbeamertemplate{itemize subitem}{\color{darkgray}--} | ||
12 | \setbeamertemplate{frametitle}{\vspace{0.5cm} \Huge\insertframetitle} | ||
13 | |||
14 | \newcommand{\bluritem}[3]{% | ||
15 | \LARGE \item<#1-> \textbf{\only<#1>{\textbf{\color{white} #3}}\only<#2->{\textcolor{darkgray}{#3}}} | ||
16 | } | ||
17 | |||
18 | \newcommand{\finalitem}[2]{% | ||
19 | \LARGE \item<#1-> \textbf {\color{white} #2} | ||
20 | } | ||
21 | |||
22 | \begin{document} | ||
23 | |||
24 | \begin{frame} | ||
25 | \frametitle{Heading} | ||
26 | \begin{itemize} | ||
27 | \bluritem{1}{2}{abc} | ||
28 | \bluritem{2}{3}{def} | ||
29 | |||
30 | \begin{itemize} | ||
31 | \bluritem{3}{4}{ghi} | ||
32 | \bluritem{4}{5}{jkl} | ||
33 | \finalitem{5}{mno} | ||
34 | \end{itemize} | ||
35 | \end{itemize} | ||
36 | \end{frame} | ||
37 | |||
38 | \end{document} |