Created
September 5, 2011 04:20
-
-
Save pmagwene/1194085 to your computer and use it in GitHub Desktop.
Grey and pink beamer theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% grey and pink beamer theme | |
%% from http://mikedewar.wordpress.com/2009/02/25/latex-beamer-python-beauty/ | |
\documentclass{beamer} | |
\usetheme{default} | |
\beamertemplatenavigationsymbolsempty | |
\definecolor{fore}{RGB}{249,242,215} | |
\definecolor{back}{RGB}{51,51,51} | |
\definecolor{title}{RGB}{255,0,90} | |
\setbeamercolor{titlelike}{fg=title} | |
\setbeamercolor{normal text}{fg=fore,bg=back} | |
\usepackage{listings,bera} | |
\definecolor{keywords}{RGB}{255,0,90} | |
\definecolor{comments}{RGB}{60,179,113} | |
\lstset{language=Python, | |
keywordstyle=\color{keywords}, | |
commentstyle=\color{comments}\emph} | |
\begin{document} | |
\begin{frame}[fragile] | |
\frametitle{A Page} | |
\begin{lstlisting} | |
def list_of_vectors(n,T): | |
return [matlib.zeros((n,1)) for t in T] | |
\end{lstlisting} | |
Here is an equation: | |
\begin{equation} | |
x_t = Ax_{t-1} + w_t | |
\end{equation} | |
\end{frame} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment