change color scheme and include logo if one exists
authorDon Armstrong <don@donarmstrong.com>
Thu, 30 Jul 2015 17:49:33 +0000 (10:49 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 30 Jul 2015 17:49:33 +0000 (10:49 -0700)
.gitignore
using_make_for_science.Rnw

index 78be273..211da93 100644 (file)
@@ -7,3 +7,9 @@ auto
 /using_make_for_science.log
 /using_make_for_science.out
 /using_make_for_science.pdf
+/logo.pdf
+/using_make_for_science.bbl
+/using_make_for_science.nav
+/using_make_for_science.run.xml
+/using_make_for_science.snm
+/using_make_for_science.toc
index d17222f..2aa23c9 100644 (file)
@@ -33,8 +33,6 @@
   \usepackage{geometry}
   \usepackage{pdflscape}
   \usepackage[hyperfigures,bookmarks,colorlinks]{hyperref}
-}
-\mode<article>{
   \oddsidemargin 0.0in 
   \textwidth 6.5in
   \raggedbottom
 
 \mode<presentation>{ 
   \usetheme{CambridgeUS}
-  \usecolortheme{beaver}
+  % http://identitystandards.illinois.edu/graphicstandardsmanual/generalguidelines/colors.html
+  \definecolor{ilboldblue}{HTML}{002058}
+  \definecolor{ilboldorange}{HTML}{E87722}
+  \definecolor{ilblue}{HTML}{606EB2}
+  \definecolor{ilorange}{HTML}{D45D00}
+  \setbeamercolor{alerted text}{fg=ilboldblue}
+  \setbeamercolor*{palette primary}{fg=ilblue,bg=ilorange}
+  \setbeamercolor*{palette secondary}{fg=ilblue!20!white,bg=ilorange}
+  \setbeamercolor*{palette tertiary}{bg=ilblue,fg=ilorange}
+  \setbeamercolor*{palette quaternary}{fg=ilblue,bg=ilorange}
+  
+  \setbeamercolor*{sidebar}{fg=ilorange,bg=ilboldblue}
+  
+  \setbeamercolor*{palette sidebar primary}{fg=ilblue!10!white,bg=ilorange}
+  \setbeamercolor*{palette sidebar secondary}{fg=ilorange}
+  \setbeamercolor*{palette sidebar tertiary}{fg=ilblue}
+  \setbeamercolor*{palette sidebar quaternary}{fg=ilorange}
+  
+  % \setbeamercolor*{titlelike}{parent=palette primary}
+  \setbeamercolor{titlelike}{parent=palette primary,fg=ilboldblue,bg=ilorange}
+  \setbeamercolor{frametitle}{fg=ilboldorange,bg=ilblue!80!white}
+  \setbeamercolor{frametitle right}{fg=ilboldblue,bg=ilorange}
+  
+  \setbeamercolor*{separation line}{}
+  \setbeamercolor*{fine separation line}{}
   \setbeamercovered{transparent}  
   \logo{\begin{tikzpicture}% Pale figure
-      {\node[opacity=0.3] {%\includegraphics[width=2cm]{LOGO}%
+      {\node[opacity=0.7]{\IfFileExists{./logo.pdf}{\includegraphics[height=1.5cm]{logo.pdf}}{}%
         };}%
     \end{tikzpicture}}
 }