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