Newer
Older
Lecture_repo / Lectures_my / NumMet / 2016 / Lecture6 / beamerthemeFlip.sty
@mchrzasz mchrzasz on 12 Oct 2016 2 KB fixed small things
  1. % Main style file for the BEAMER FLIP THEME 2012
  2. % Copyright 2012 by Flip Tanedo
  3. % This file may be distributed and/or modified
  4. % 1. under the LaTeX Project Public License and/or
  5. % 2. under the GNU Public License.
  6. %
  7. % Comments: This is still a work in progress.
  8. % A good way to present: http://www.cs.hmc.edu/~oneill/freesoftware/pdftokeynote.html
  9.  
  10. % \usepackage{beamerthemesplit}
  11. \mode<presentation>
  12.  
  13.  
  14. %% These are the options that are fed in through the driver file
  15. %% Some of them get passed on to the other theme files
  16. \DeclareOptionBeamer{bullet}{\PassOptionsToPackage{bullet=#1}{beamerinnerthemeFlip}}
  17. \DeclareOptionBeamer{bigpagenumber}{\PassOptionsToPackage{bigpagenumber}{beamerouterthemeFlip}}
  18. \DeclareOptionBeamer{topline}[true]{\PassOptionsToPackage{topline=#1}{beamerouterthemeFlip}}
  19. \DeclareOptionBeamer{shadow}[false]{\PassOptionsToPackage{shadow=#1}{beamerinnerthemeFlip}}
  20.  
  21. \DeclareOptionBeamer{watermark}{\PassOptionsToPackage{watermark=#1}{beamerouterthemeFlip}}
  22.  
  23. \ProcessOptionsBeamer
  24.  
  25. \useinnertheme{Flip} % Calls beamerinnerthemeFlip.sty
  26. \useoutertheme{Flip} % Calls beamerouterthemeFlip.sty
  27. \usecolortheme{Flip} % Calls beamercolorthemeFlip.sty
  28.  
  29.  
  30.  
  31. %%%%%%%%%%%%%%%%%%%%%%%%
  32. % Background Gradient %
  33. %%%%%%%%%%%%%%%%%%%%%%%%
  34.  
  35.  
  36. %% Usually I would leave this on
  37. %% However, there seems to be problems with XeLaTeX
  38. %% http://tex.stackexchange.com/questions/29497/xelatex-preventing-beamer-from-using-different-backgrounds
  39. \setbeamertemplate{background canvas}[vertical shading][bottom=blue!.1, middle=white, top=white]
  40.  
  41. %% HOWEVER: it seems to make it impossible to change this later on in the document
  42.  
  43.  
  44. %% For a dark background:
  45. % \setbeamertemplate{background canvas}[vertical shading][bottom=keynotebottom, middle=keynotemiddle, top=keynotetop]
  46.  
  47.  
  48. %% An alternate way: \beamertemplateshadingbackground{blue!.1}{red!2}
  49. %% In general: you want the gradient to be subtle!
  50.  
  51.  
  52. %%%%%%%%%%%%%%%%%%%%%%%
  53. % Navigation symbols %
  54. %%%%%%%%%%%%%%%%%%%%%%%
  55.  
  56. \setbeamertemplate{navigation symbols}{} % Turns off PDF navigation symbols
  57.  
  58. \mode<all>
  59. \endinput