kgourgou / beamercolorthemesolarized

Beamer color theme using the Solarized palette

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beamer Color Theme Solarized

A color theme for Beamer using the Solarized palette, and inspired by the css stylesheet of ethanshoover.com.

See the Solarized homepage and its github page more information about the color palette and themes for Vim, Emacs, etc.

If you use R, I have also written a ggplot plot theme using the Solarized colors, which is available https://github.com/jrnold/ggthemes.

Installation

Download the theme from https://github.com/jrnold/beamercolorthemesolarized and place it in either the same folder as your presentation .tex file or in the LaTeX installation tree.

Usage

To load the color theme, add the following line to your document,

\usecolortheme[<options>]{solarized}

The following <options> may be given when loading the theme,

  • light Use the light theme (default).
  • dark Use the dark theme.
  • accent= <color> The accent color. <color> can be any of the non-base Solarized colors: yellow (default), orange, red, magenta, violet, blue, cyan, or green.

For example, to use a dark theme with a cyan accent,

\usecolortheme[dark,accent=cyan]{solarized}

In addition to the beamer colors that it sets, this package defines colors which can be used elsewhere, e.g. in \setbeamercolor.

The package defines the sixteen colors of the Solarized palette.

solarizedBase03    #002b36
solarizedBase02    #073642
solarizedBase01    #586e75
solarizedBase00    #657b83
solarizedBase0     #839496
solarizedBase1     #93a1a1
solarizedBase2     #eee8d5
solarizedBase3     #fdf6e3
solarizedYellow    #b58900
solarizedOrange    #cb4b16
solarizedRed       #dc322f
solarizedMagenta   #d33682
solarizedViolet    #6c71c4
solarizedBlue      #268bd2
solarizedCyan      #2aa198
solarizedGreen     #859900

Additionally, it defines these colors, the values of which are dependent on the options specified when the theme is loaded.

  • solarizedAccent Accent color.
  • solarizedRebase03, solarizedRebase02, solarizedRebase01, solarizedRebase00: Background colors; dark colors if the dark theme is used, light colors if light theme.
  • solarizedRebase0, solarizedRebase1, solarizedRebase2, solarizedRebase3: Foreground colors; light colors if the dark theme is used, dark colors if light theme.

Examples

Some example slides (using the example slides from the Beamer documentation).

Example 1

A light background with yellow accents (the default).

\usecolortheme{solarized}

https://raw.github.com/jrnold/beamercolorthemesolarized/master/examples/example_yellow_light-1.png

https://raw.github.com/jrnold/beamercolorthemesolarized/master/examples/example_yellow_light-2.png

Example 2

A light background with blue accents.

\usecolortheme[accent=blue]{solarized}

https://raw.github.com/jrnold/beamercolorthemesolarized/master/examples/example_blue_light-1.png

https://raw.github.com/jrnold/beamercolorthemesolarized/master/examples/example_blue_light-2.png

Example 3

A dark background with yellow accents.

\usecolortheme[dark]{solarized}

https://raw.github.com/jrnold/beamercolorthemesolarized/master/examples/example_yellow_dark-1.png

https://raw.github.com/jrnold/beamercolorthemesolarized/master/examples/example_yellow_dark-2.png

About

Beamer color theme using the Solarized palette


Languages

Language:TeX 100.0%