Newer
Older
Presentations / DIS2015 / CPV / beamerthemeSybila.sty
@mchrzasz mchrzasz on 29 Apr 2015 6 KB updated CPV
  1. \mode<presentation>
  2.  
  3. %-------------------------------------------------------------------------------
  4. % Themes
  5. %-------------------------------------------------------------------------------
  6.  
  7. \useoutertheme{split}
  8. %\useinnertheme{rounded}
  9. \usefonttheme{structurebold}
  10. \useoutertheme{shadow}
  11. \useinnertheme[shadow=true]{rounded}
  12. % Solid \item symbols
  13. \useinnertheme{circles}
  14. \setbeamertemplate{itemize items}[default]
  15. \setbeamertemplate{enumerate items}[default]
  16.  
  17.  
  18. %-------------------------------------------------------------------------------
  19. % Templates
  20. %-------------------------------------------------------------------------------
  21.  
  22. \beamertemplatenavigationsymbolsempty
  23. \beamertemplateheadempty
  24. %\beamertemplateshadowblocks
  25.  
  26. %-------------------------------------------------------------------------------
  27. % Own templates
  28. %-------------------------------------------------------------------------------
  29.  
  30. % Normal title page.
  31. \defbeamertemplate*{title page}{simple}[1][]
  32. {
  33. \vfill
  34. \begin{centering}
  35. \begin{beamercolorbox}[center, rounded=true]{title}
  36. \usebeamerfont{title}\inserttitle\par%
  37. \ifx\insertsubtitle\@empty%
  38. \else%
  39. \vskip0.25em%
  40. {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
  41. \fi%
  42. \end{beamercolorbox}%
  43.  
  44. \vskip1em
  45.  
  46. \begin{beamercolorbox}[sep=8pt,center,#1]{author}
  47. \usebeamerfont{author}\insertauthor
  48. \end{beamercolorbox}
  49.  
  50. \vskip1em
  51.  
  52. \begin{beamercolorbox}[sep=8pt,center,#1]{institute}
  53. \usebeamerfont{date}\insertinstitute
  54. \end{beamercolorbox}
  55. {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  56. \vskip1em
  57.  
  58. \begin{beamercolorbox}[sep=8pt,center,#1]{date}
  59. \usebeamerfont{date}\insertdate
  60. \end{beamercolorbox}
  61. \end{centering}
  62. \vfill
  63. }
  64. \defbeamertemplate*{footline}{shadow theme}
  65. {%
  66. \leavevmode%
  67. \hbox{\begin{beamercolorbox}[wd=.35\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fil,rightskip=0.3cm,center]{author in head/foot}%
  68. \usebeamerfont{author in head/foot}\insertshortauthor \insertinstitute\par
  69. \end{beamercolorbox}%
  70. \begin{beamercolorbox}[wd=.65\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
  71. \usebeamerfont{title in head/foot}\insertshorttitle \hfill \insertframenumber\,/\,\inserttotalframenumber\hfill%
  72. \end{beamercolorbox}}%
  73. \vskip0pt%
  74. }
  75. %-------------------------------------------------------------------------------
  76. % Logo
  77. %-------------------------------------------------------------------------------
  78.  
  79. %\logo{\hspace*{0.6\textwidth}\includegraphics[width=1.8cm]{images/uzh.jpg}\hspace*{0.3cm}}
  80. \logo{%
  81. \includegraphics[width=1.8cm,keepaspectratio]{images/uzh.jpg}\hspace*{0.3cm}%
  82. % \includegraphics[height=0.6cm,keepaspectratio]{images/ifj.png}%
  83. }
  84. \newif\ifplacelogo
  85. \logo{\ifplacelogo \includegraphics[width=1.8cm,keepaspectratio]{images/uzh.jpg}\hspace*{0.3cm} \fi} % replace with your own command
  86.  
  87. %-------------------------------------------------------------------------------
  88. % Colors
  89. %-------------------------------------------------------------------------------
  90.  
  91. \setbeamercovered{dynamic}
  92.  
  93. %\definecolor{mygreen}{RGB}{51,80,255}
  94. \definecolor{mygreen}{RGB}{0, 204,0}
  95. \definecolor{mygreentitle}{RGB}{0, 170,0}
  96. %\definecolor{lightgreen}{RGB}{218, 241, 241}
  97. \definecolor{lightgreen}{RGB}{65,255,65}
  98.  
  99. \setbeamercolor{math text}{fg=white!0!black} % white
  100. \setbeamercolor{title}{bg=mygreen, fg=black}
  101. \setbeamercolor{frametitle}{bg=mygreentitle, fg=black}
  102. \setbeamercolor{footline}{bg=black,fg=white}
  103. \setbeamercolor{author in head/foot}{bg=lightgreen,fg=black}
  104. \setbeamercolor{title in head/foot}{bg=mygreen, fg=black}
  105. \setbeamercolor{block title}{bg=white!45!black}
  106. \setbeamercolor{block title example}{bg=white!45!black}
  107. \setbeamercolor{block title alerted}{bg=white!15!black}
  108.  
  109. %\colorlet{redshaded}{red!25!bg}
  110. %\colorlet{shaded}{black!25!bg}
  111. %\colorlet{shadedshaded}{black!10!bg}
  112. %\colorlet{blackshaded}{black!40!bg}
  113.  
  114.  
  115.  
  116. %-------------------------------------------------------------------------------
  117. % Hacking colors
  118. %-------------------------------------------------------------------------------
  119. \colorlet{titleleft}{mygreen!100!black}
  120. \colorlet{titleright}{mygreen!55!black}
  121. \setbeamercolor*{frametitle}{fg=black}
  122. \makeatletter
  123. \pgfdeclarehorizontalshading[titleleft,titleright]{beamer@frametitleshade}{\paperheight}{%
  124. color(0pt)=(titleleft);
  125. color(\paperwidth)=(titleright)}
  126. \makeatother
  127. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134. \usecolortheme{whale}
  135. \usecolortheme{orchid}
  136.  
  137. %-------------------------------------------------------------------------------
  138. % Fonts
  139. %-------------------------------------------------------------------------------
  140.  
  141. \setbeamerfont{block title}{size={}}
  142. \setbeamerfont{date}{size=\small}
  143.  
  144. %-------------------------------------------------------------------------------
  145. % Other
  146. %-------------------------------------------------------------------------------
  147.  
  148. \titlegraphic{
  149. \includegraphics[width=3.0cm]{images/uzh.jpg}\hspace*{0.3cm}
  150. \includegraphics[height=1.8cm,keepaspectratio]{images/logo.png}\hspace*{0.3cm}
  151. \includegraphics[height=1.0cm]{images/Babar_with_banner.jpg}
  152. }
  153.  
  154. \mode
  155. <all>