Giter Club home page Giter Club logo

minimal-beamer-slides-template's Introduction

minimal-beamer-slides-template

This repository contains a minimal template for LaTeX Beamer slideshows. I extracted this from my talks as I find the styling very nice and focused on the content. All of the default navigation mumbo jumbo has been removed. It uses Fira Sans and Fira Code fonts throughout.

It is configured to produce two PDFs, one with notes and one without. The notes are placed on the right of the main content, in a double-width PDF. You can use SplitShow in OS X and pdfpc in Linux to display the slides on an external monitor and your notes on your laptop screen.

Samples

Usage

  1. Clone this repository and delete the .git directory, or just download the files.
  2. Remove the samples directory.
  3. Start editing src/metadata.tex and src/slides.tex as described below.
  4. Run make or make watch (see Build).

Metadata

The file src/slides.tex contains the data needed to create the title page and the Twitter handle in the footer. The default one includes src/graphics/logo.png, a placeholder which you can either remove or replace.

Slides

The file src/slides.tex is where you write your slides. The template includes some handy commands for the things I use regularly, like big centered headings and emphasized short texts.

The first slide uses \titlepage, you can leave that as is.

\begin{frame}
  \titlepage
\end{frame}

You can either use \note[item]{...} like in the previous example, or the custom \notelist command:

\begin{frame}
  \notelist{
    \item A bit easier, I think
  }
\end{frame}

There's three custom commands for centered text:

  • \singletitle for section titles
  • \singlesubheading for sub-sections
  • \singletext for emphasizing a short quote or statement

For including text, the template uses the listings package together with an adaptation of the Paramount color scheme.

\begin{frame}
  \frametitle{Code Listing}
  \lstinputlisting[language=c]{src/listings/hello.c}
  \notelist{
    \item Hello world is a cool example
  }
\end{frame}

Dark Theme

If you want a dark theme for your slides, remove the comment in src/master.tex at the following include:

\include{src/includes/dark-theme}

You now have a black background with white text.

Build

Run make to produce the PDFs.

make

You should now have target/slides/slides.pdf and target/slides-no-notes/slides-no-notes.pdf.

If you have NodeJS you can also run the watched build:

make watch

NOTE: If you want the watch to react to other file extensions than .tex and .png you need to add those in the Makefile.

License

The MIT License (MIT)

Copyright (c) 2016, Oskar Wickström

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

minimal-beamer-slides-template's People

Contributors

dusansimic avatar owickstrom avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.