├── .latexmkrc ├── p.tex ├── p-notes.tex ├── .gitignore ├── Makefile ├── slides ├── centered.tex ├── brackets.tex ├── bullets.tex ├── figure.tex ├── monospace.tex ├── link.tex └── split.tex ├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── beamercolorthemeauriga.sty ├── LICENSE.md ├── presentation.tex ├── README.md └── beamerthemeauriga.sty /.latexmkrc: -------------------------------------------------------------------------------- 1 | $bibtex_use = 2; 2 | $clean_ext = "nav snm vrb"; 3 | -------------------------------------------------------------------------------- /p.tex: -------------------------------------------------------------------------------- 1 | \newif\ifnotes\notesfalse\input{presentation.tex} 2 | -------------------------------------------------------------------------------- /p-notes.tex: -------------------------------------------------------------------------------- 1 | \newif\ifnotes\notestrue\input{presentation.tex} 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # output 2 | *.pdf 3 | 4 | # intermediate files 5 | *.aux 6 | *.bbl 7 | *.blg 8 | *.log 9 | *.nav 10 | *.out 11 | *.snm 12 | *.toc 13 | *.nav 14 | *.vrb 15 | *.fdb_latexmk 16 | *.fls 17 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: main clean FORCE 2 | 3 | main: p.pdf p-notes.pdf 4 | 5 | %.pdf: FORCE 6 | latexmk -pdflatex='lualatex -interaction nonstopmode' -pdf $(patsubst %.pdf,%.tex,$@) 7 | 8 | clean: 9 | latexmk -pdf -C 10 | -------------------------------------------------------------------------------- /slides/centered.tex: -------------------------------------------------------------------------------- 1 | \begin{frame}{A slide with centered text} 2 | 3 | \begin{center} 4 | Some statement that is centered. 5 | \end{center} 6 | 7 | \vspace{2ex} 8 | \begin{center} 9 | \scriptsize (a small note) 10 | \end{center} 11 | 12 | \end{frame} 13 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_style = space 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | 10 | [Makefile] 11 | indent_style = tab 12 | indent_size = 8 13 | 14 | [*.{tex,sty,bib}] 15 | indent_size = 2 16 | -------------------------------------------------------------------------------- /slides/brackets.tex: -------------------------------------------------------------------------------- 1 | \begin{frame}{A slide with some bracketed text} 2 | 3 | \begin{itemize} 4 | \item Some statement {\color{gray} [Some citation]} 5 | \item Another statement {\color{gray} [Another citation]} 6 | \item A final statement {\color{gray} [The last citation]} 7 | \end{itemize} 8 | 9 | \vspace{3ex} 10 | \begin{center} 11 | \scriptsize (a small note) 12 | \end{center} 13 | 14 | \end{frame} 15 | 16 | -------------------------------------------------------------------------------- /slides/bullets.tex: -------------------------------------------------------------------------------- 1 | \begin{frame}{A slide title} 2 | 3 | \begin{itemize} 4 | \item A bulleted item 5 | \item Another item 6 | \begin{itemize} 7 | \item With sub-bullets 8 | \item And another, with some \textbf{bold} text 9 | \end{itemize} 10 | \item And another, at the top level, with \textit{italic} text 11 | \end{itemize} 12 | 13 | \note{ 14 | Here's a note for this slide. 15 | } 16 | 17 | \end{frame} 18 | -------------------------------------------------------------------------------- /slides/figure.tex: -------------------------------------------------------------------------------- 1 | \begin{frame}{Full-slide figure} 2 | 3 | \begin{figure} 4 | \centering 5 | \begin{tikzpicture}[scale=0.7] 6 | \begin{axis}[ 7 | scale only axis, 8 | no markers, 9 | domain=0:2*pi, 10 | samples=100, 11 | axis lines=center, 12 | axis line style={-}, 13 | ticks=none] 14 | \addplot[red] {sin(deg(x))}; 15 | \addplot[blue] {cos(deg(x))}; 16 | \end{axis} 17 | \end{tikzpicture} 18 | \caption{The figure's caption} 19 | \end{figure} 20 | 21 | 22 | \end{frame} 23 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | push: 4 | pull_request: 5 | schedule: 6 | - cron: '0 8 * * 6' 7 | jobs: 8 | build: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - run: sudo apt-get update -y 12 | - run: >- 13 | sudo apt-get install -y 14 | texlive-latex-extra 15 | texlive-fonts-recommended 16 | texlive-fonts-extra 17 | lmodern 18 | texlive-luatex 19 | texlive-xetex 20 | fonts-hack-ttf 21 | latexmk 22 | - uses: actions/checkout@v2 23 | - run: make p.pdf p-notes.pdf 24 | -------------------------------------------------------------------------------- /slides/monospace.tex: -------------------------------------------------------------------------------- 1 | \begin{frame}[fragile]{A slide with some code} 2 | 3 | \begin{columns} 4 | \begin{column}{0.5\linewidth} 5 | \footnotesize 6 | \begin{Verbatim}[commandchars=\\\{\}] 7 | /* some code */ 8 | def foo(x): 9 | return x**0.5 + 2*x 10 | 11 | \color{blue}/* some can be highlighted */ 12 | \color{blue}foo(3) 13 | \end{Verbatim} 14 | \end{column} 15 | \begin{column}{0.5\linewidth} 16 | {\color{red} Some explanatory text, in red, with some \texttt{monospace} text.} 17 | There might be some math, too: 18 | 19 | $$\sqrt{x} + 2x$$ 20 | \end{column} 21 | \end{columns} 22 | 23 | \end{frame} 24 | -------------------------------------------------------------------------------- /slides/link.tex: -------------------------------------------------------------------------------- 1 | \begin{frame}{A slide with some text and a link} 2 | 3 | \begin{itemize} 4 | \item This slide has some text along with a link 5 | \begin{itemize} 6 | \item \textbf{Some bold text}: followed by an explanation 7 | \item \textbf{More bold text}: followed by more text 8 | \end{itemize} 9 | \item Another bullet, with sub-bullets 10 | \begin{itemize} 11 | \item A sub-bullet 12 | \item Another sub-bullet, with more text 13 | \end{itemize} 14 | \end{itemize} 15 | 16 | \vspace{2ex} 17 | \begin{center} 18 | \color{blue} \href{https://github.com/anishathalye/auriga}{github.com/anishathalye/auriga} 19 | \end{center} 20 | 21 | \end{frame} 22 | -------------------------------------------------------------------------------- /beamercolorthemeauriga.sty: -------------------------------------------------------------------------------- 1 | % Auriga theme 2 | % https://github.com/anishathalye/auriga 3 | 4 | % ==================== 5 | % Definitions 6 | % ==================== 7 | 8 | \definecolor{lightgray}{RGB}{245, 246, 250} 9 | \definecolor{darkgray}{RGB}{79,79,79} 10 | 11 | % ==================== 12 | % Theme 13 | % ==================== 14 | 15 | % Basic colors 16 | \setbeamercolor{palette primary}{fg=black,bg=white} 17 | \setbeamercolor{palette secondary}{fg=black,bg=white} 18 | \setbeamercolor{palette tertiary}{bg=black,fg=white} 19 | \setbeamercolor{palette quaternary}{fg=black,bg=white} 20 | \setbeamercolor{structure}{fg=darkgray} 21 | 22 | % Itemize 23 | \setbeamercolor{item}{fg=black} 24 | 25 | % Page numbering 26 | \setbeamercolor{page number in head/foot}{fg=structure.fg} 27 | 28 | % Frame titles 29 | \setbeamercolor{frametitle}{fg=black} 30 | -------------------------------------------------------------------------------- /slides/split.tex: -------------------------------------------------------------------------------- 1 | \begin{frame}{A 50-50 split slide} 2 | 3 | \begin{columns} 4 | \begin{column}{0.5\linewidth} 5 | \begin{itemize} 6 | \item This side has a bullet 7 | \item And another bullet, with text that wraps if it's long 8 | \end{itemize} 9 | \end{column} 10 | \begin{column}{0.5\linewidth} 11 | \begin{figure} 12 | \centering 13 | \begin{tikzpicture}[scale=2] 14 | \draw[step=0.25cm,color=gray] (-1,-1) grid (1,1); 15 | \draw[color=red] (1,0) -- (0.2,0.2) -- (0,1) -- (-0.2,0.2) -- (-1,0) 16 | -- (-0.2,-0.2) -- (0,-1) -- (0.2,-0.2) -- cycle; 17 | \end{tikzpicture} 18 | \caption{A figure caption} 19 | \end{figure} 20 | \end{column} 21 | \end{columns} 22 | 23 | \note{ 24 | This slide has notes too. 25 | } 26 | 27 | \end{frame} 28 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | **Copyright (c) Anish Athalye (me@anishathalye.com)** 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 10 | of the Software, and to permit persons to whom the Software is furnished to do 11 | so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | -------------------------------------------------------------------------------- /presentation.tex: -------------------------------------------------------------------------------- 1 | % Auriga theme 2 | % https://github.com/anishathalye/auriga 3 | 4 | \documentclass[14pt,aspectratio=169]{beamer} 5 | \usepackage{pgfpages} 6 | \usepackage{fancyvrb} 7 | \usepackage{tikz} 8 | \usepackage{pgfplots} 9 | 10 | \ifnotes 11 | \setbeamertemplate{note page}[plain] 12 | \setbeameroption{show notes on second screen=right} 13 | \fi 14 | 15 | \usetheme{auriga} 16 | \usecolortheme{auriga} 17 | 18 | % define some colors for a consistent theme across slides 19 | \definecolor{red}{RGB}{181, 23, 0} 20 | \definecolor{blue}{RGB}{0, 118, 186} 21 | \definecolor{gray}{RGB}{146, 146, 146} 22 | 23 | \title{Fancy Title: Followed by Some More Text} 24 | 25 | \author{\underline{Alyssa P. Hacker} \inst{1} \and Ben Bitdiddle \inst{2} \and Lem E. Tweakit \inst{2}} 26 | 27 | \institute[shortinst]{\inst{1} Some Institute \samelineand \inst{2} Another Institute} 28 | 29 | \begin{document} 30 | 31 | { 32 | % rather than use the frame options [noframenumbering,plain], we make the 33 | % color match, so that the indicated page numbers match PDF page numbers 34 | \setbeamercolor{page number in head/foot}{fg=white} 35 | \begin{frame} 36 | \titlepage 37 | \end{frame} 38 | } 39 | 40 | \input{slides/bullets} 41 | \input{slides/split} 42 | \input{slides/figure} 43 | \input{slides/centered} 44 | \input{slides/monospace} 45 | \input{slides/brackets} 46 | \input{slides/link} 47 | 48 | \end{document} 49 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Auriga [![Build Status](https://github.com/anishathalye/auriga/actions/workflows/ci.yml/badge.svg)](https://github.com/anishathalye/auriga/actions/workflows/ci.yml) 2 | 3 | Auriga is a minimalist LaTex [beamer] presentation theme. 4 | 5 |

6 | 7 | 8 | 9 |

10 | 11 | See how the [Auriga][auriga-presentation] themed presentation (left) compares 12 | to the beamer [default][beamer-default-presentation] (right): 13 | 14 | ![Comparison](https://raw.githubusercontent.com/anishathalye/assets/master/auriga/side-by-side.png) 15 | 16 | If you're looking for a beamer poster theme, take a look at [Gemini]. 17 | 18 | # Dependencies 19 | 20 | - A TeX installation that includes [LuaTeX] 21 | - You also need `latexmk` if you want to use the provided Makefile 22 | - LaTeX package dependencies including beamer (these usually come with your TeX 23 | installation, but if not, you can get them from [CTAN]) 24 | - [Raleway], [Lato], and [Hack], which are all available under Open Font 25 | License 26 | 27 | # Usage 28 | 29 | 1. Copy the files in this repository (or clone the repository). 30 | 31 | 1. Add slides in `slides/`, using the existing slides as templates. Add include 32 | lines for slides in `presentation.tex`. 33 | 34 | 1. Run `make` to build your presentation. This builds both `p.pdf`, the raw version 35 | of the slides, and `p-notes.pdf`, a version of slides that has speaker notes 36 | included. These can be viewed using a program like 37 | [Présentation.app][presentation-macos]. 38 | 39 | ## Notes 40 | 41 | If you're looking to use Auriga with R Markdown, see 42 | [this example](https://github.com/jrosell/rmarkdown-beamer-presentation). 43 | 44 | # Design goals 45 | 46 | * **Minimal**: clean and easy to read, so that the emphasis is on the content 47 | * **Batteries included**: works and looks good out of the box 48 | 49 | # Contributing 50 | 51 | Contributions to Auriga such as bug reports and new slide components are 52 | greatly appreciated! Given the subjective nature of design, you're encouraged 53 | to open an issue or pull request early to get feedback before investing time in 54 | implementing a new feature. 55 | 56 | # License 57 | 58 | Copyright (c) Anish Athalye. Released under the MIT License. See 59 | [LICENSE.md][license] for details. 60 | 61 | [beamer]: https://github.com/josephwright/beamer 62 | [auriga-presentation]: https://raw.githubusercontent.com/anishathalye/assets/master/auriga/auriga.pdf 63 | [beamer-default-presentation]: https://raw.githubusercontent.com/anishathalye/assets/master/auriga/beamer-default.pdf 64 | [Gemini]: https://github.com/anishathalye/gemini 65 | [LuaTeX]: http://www.luatex.org/ 66 | [CTAN]: https://ctan.org/ 67 | [Raleway]: https://www.fontsquirrel.com/fonts/raleway 68 | [Lato]: https://www.fontsquirrel.com/fonts/lato 69 | [Hack]: https://www.fontsquirrel.com/fonts/hack 70 | [presentation-macos]: http://iihm.imag.fr/blanch/software/osx-presentation/ 71 | [license]: LICENSE.md 72 | -------------------------------------------------------------------------------- /beamerthemeauriga.sty: -------------------------------------------------------------------------------- 1 | % Auriga theme 2 | % https://github.com/anishathalye/auriga 3 | 4 | % ==================== 5 | % Dependencies 6 | % ==================== 7 | 8 | \RequirePackage{exscale} 9 | \RequirePackage{ragged2e} 10 | \RequirePackage{changepage} 11 | \RequirePackage{fontspec} 12 | \RequirePackage{xpatch} 13 | 14 | % ==================== 15 | % Fonts 16 | % ==================== 17 | 18 | \newfontfamily\Raleway[Ligatures=TeX]{Raleway} 19 | \newfontfamily\Lato[Ligatures=TeX]{Lato} 20 | 21 | \usefonttheme{professionalfonts} 22 | 23 | \setsansfont{Lato}[ 24 | UprightFont=*-Regular, 25 | ItalicFont=*-Italic, 26 | BoldFont=*-Bold, 27 | BoldItalicFont=*-BoldItalic 28 | ] 29 | \setmonofont{Hack} 30 | 31 | \setbeamerfont{title page}{family=\Raleway} 32 | \setbeamerfont{title page title}{size=\LARGE,series=\bfseries} 33 | \setbeamerfont{title page author}{size=\footnotesize} 34 | \setbeamerfont{title page institute}{size=\scriptsize} 35 | \setbeamerfont{frametitle}{family=\Raleway,size=\large,series=\bfseries} 36 | \setbeamerfont{caption}{size=\footnotesize} 37 | 38 | % ==================== 39 | % Macros 40 | % ==================== 41 | 42 | \newcommand{\samelineand}{\qquad} 43 | 44 | % ==================== 45 | % Elements 46 | % ==================== 47 | 48 | % Itemize 49 | 50 | \setbeamertemplate{itemize item}[circle] 51 | \setbeamertemplate{itemize subitem}[circle] 52 | \setbeamertemplate{itemize subsubitem}[circle] 53 | \xpatchcmd{\itemize} 54 | {\def\makelabel} 55 | {\ifnum\@itemdepth=1\relax 56 | \setlength\itemsep{3ex}% separation for first level 57 | \else 58 | \ifnum\@itemdepth=2\relax 59 | \setlength\itemsep{0.5ex}% separation for second level 60 | \else 61 | \ifnum\@itemdepth=3\relax 62 | \setlength\itemsep{0.5ex}% separation for third level 63 | \fi\fi\fi\def\makelabel 64 | } 65 | {} 66 | {} 67 | 68 | % Equation 69 | \setlength\belowdisplayshortskip{2ex} 70 | 71 | % Caption 72 | \setlength{\abovecaptionskip}{2ex} 73 | \setlength{\belowcaptionskip}{1ex} 74 | \setbeamertemplate{caption} 75 | { 76 | {\usebeamerfont{caption}\insertcaption} 77 | } 78 | 79 | % Navigation 80 | \beamertemplatenavigationsymbolsempty 81 | 82 | % ==================== 83 | % Components 84 | % ==================== 85 | 86 | % Title page 87 | \setbeamertemplate{title page} 88 | { 89 | \begin{centering} 90 | \vskip5ex plus 1filll 91 | {\usebeamerfont{title page title}\usebeamercolor[fg]{title page}\inserttitle\\[1.5ex]} 92 | {\usebeamerfont{title page author}\usebeamercolor[fg]{title page}\insertauthor\\[2ex]} 93 | {\usebeamerfont{title page institute}\usebeamercolor[fg]{title page}\insertinstitute\\[1ex]} 94 | \vskip0pt plus 1filll 95 | \end{centering} 96 | } 97 | 98 | % Footer 99 | \setbeamertemplate{footline}{ 100 | \hfill% 101 | \usebeamercolor[fg]{page number in head/foot}% 102 | \usebeamerfont{page number in head/foot}% 103 | \hspace{2em}% 104 | \insertframenumber\kern1em\vskip2ex% 105 | } 106 | 107 | % Frame title 108 | \setbeamertemplate{frametitle}{ 109 | \nointerlineskip 110 | \vskip2ex 111 | {\usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle} 112 | } 113 | --------------------------------------------------------------------------------