Skip to content

Instantly share code, notes, and snippets.

@ramnathv
Created April 7, 2012 09:17
Show Gist options
  • Save ramnathv/2326753 to your computer and use it in GitHub Desktop.
Save ramnathv/2326753 to your computer and use it in GitHub Desktop.
Macros for Use with Beamer
% set slide background to a specified color
\newcommand{\setbgcol}[1]{\setbeamercolor{background canvas}{bg = #1}}
% set slide background to a specified pic
\newcommand{\setbgpic}[1]{
\usebackgroundtemplate{
\includegraphics[width=\paperwidth]{#1}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment