beamerthemekit.sty 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. %% LaTeX-Beamer template for KIT design
  2. %% Widescreen
  3. %% by Erik Burger, Christian Hammer, David Dauer
  4. %% title picture by Klaus Krogmann
  5. %%
  6. %% version 2.2 for Beamer v3.30
  7. %%
  8. %% mostly compatible to KIT corporate design v2.0
  9. %% http://intranet.kit.edu/gestaltungsrichtlinien.php
  10. %%
  11. %% Problems, bugs and comments to
  12. %% burger@kit.edu
  13. \usepackage{../templates/beamerthemekitbase}
  14. \setbeamertemplate{title page}
  15. {
  16. \thispagestyle{empty}
  17. %middle block with name of institute
  18. \begin{textblock*}{\paperwidth}(1mm,42mm)
  19. \begin{pgfpicture}{0mm}{0mm}{\paperwidth-2mm}{6mm}
  20. \color{black!50}
  21. \pgfpathrectangle{\pgfpoint{0mm}{0mm}}{\pgfpoint{\paperwidth-2mm}{6mm}}
  22. \pgfusepath{fill}
  23. \pgftext[at=\pgfpoint{5mm}{3mm},left,center]{\textcolor{white}{\tiny\uppercase\expandafter{\insertinstitute}}}
  24. \end{pgfpicture}
  25. \end{textblock*}
  26. %elements on title page
  27. %KIT logo
  28. \begin{textblock*}{24mm}(6mm,5mm)
  29. \iflanguage{english}{%
  30. \includegraphics[width=23mm]{logos/kitlogo_en_rgb}
  31. }{%
  32. \includegraphics[width=23mm]{logos/kitlogo_de_rgb}
  33. }%
  34. \end{textblock*}
  35. %institute logo
  36. \begin{textblock*}{20mm}(104mm,4mm)
  37. \includegraphics[width=20mm]{logos/\@titlelogo}
  38. \end{textblock*}
  39. %title
  40. \begin{textblock*}{120mm}(6mm,14mm)
  41. \begin{beamercolorbox}[wd=118mm,ht=14mm,dp=3mm,left]{white}%
  42. \Large\textbf{\inserttitle}
  43. \end{beamercolorbox}
  44. \end{textblock*}
  45. %subtitle
  46. \begin{textblock*}{120mm}(6mm,31mm)
  47. \scriptsize \insertsubtitle
  48. \end{textblock*}
  49. %author
  50. \begin{textblock*}{120mm}(6mm,35mm)
  51. \scriptsize\insertauthor~\textbar~\insertshortdate
  52. \end{textblock*}
  53. %legal KIT text
  54. \begin{textblock*}{80mm}[0,1](6mm,94mm)
  55. \fontsize{4pt}{6pt}\selectfont
  56. \iflanguage{english}{
  57. KIT -- University of the State of Baden-Wuerttemberg and\\National Laboratory of the Helmholtz Association}
  58. {KIT -- Universit{\"a}t des Landes Baden-W{\"u}rttemberg und\\nationales Forschungszentrum in der Helmholtz-Gemeinschaft}
  59. \end{textblock*}
  60. \begin{textblock*}{16mm}(110mm,90mm)
  61. \fontsize{8pt}{8pt}\selectfont
  62. \bfseries
  63. \textcolor{white}{
  64. \href{http://www.kit.edu}{www.kit.edu}
  65. }
  66. \end{textblock*}
  67. % title image
  68. \begin{textblock*}{\paperwidth}(1mm,48.5mm)
  69. \begin{overpic}[width=126mm,height=40mm]{logos/\@titleimage}
  70. \put(-6,-3){
  71. %mask curve for lower left corner of title image
  72. \begin{pgfpicture}{0mm}{0mm}{3mm}{3mm}
  73. \pgfpathqmoveto{0mm}{0mm}
  74. \pgfpathlineto{\pgfpoint{3mm}{0mm}}
  75. \pgfpathlineto{\pgfpoint{3mm}{1mm}}
  76. {\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}
  77. \pgfpathlineto{\pgfpoint{1mm}{1mm}}
  78. \pgfpathlineto{\pgfpoint{1mm}{3mm}}}
  79. \pgfpathmoveto{\pgfpoint{1mm}{3mm}}
  80. \pgfpathlineto{\pgfpoint{0mm}{3mm}}
  81. \pgfpathlineto{\pgfpoint{0mm}{0mm}}
  82. \pgfpathclose
  83. \color{black!15}
  84. \pgfusepath{fill}
  85. \end{pgfpicture}
  86. }
  87. \end{overpic}
  88. \end{textblock*}
  89. }
  90. %background for pages
  91. %CH: for plain frames
  92. \newlength{\kitbottom}%
  93. \usebackgroundtemplate{
  94. \setlength{\kitbottom}{\ifbeamer@plainframe1mm\else9mm\fi}%
  95. \begin{pgfpicture}{0mm}{0mm}{\paperwidth}{\paperheight}
  96. {\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}
  97. \pgfpathmoveto{\pgfpoint{\paperwidth-1mm}{\kitbottom}}
  98. \pgfpathlineto{\pgfpoint{1mm}{\kitbottom}}
  99. \pgfpathlineto{\pgfpoint{1mm}{\paperheight-1mm}}}
  100. {\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}
  101. \pgfpathmoveto{\pgfpoint{1mm}{\paperheight-1mm}}
  102. \pgfpathlineto{\pgfpoint{\paperwidth-1mm}{\paperheight-1mm}}
  103. \pgfpathlineto{\pgfpoint{\paperwidth-1mm}{\kitbottom}}}
  104. \color{white}
  105. \pgfusepath{fill}
  106. \end{pgfpicture}%
  107. }
  108. %frametitle
  109. \setbeamertemplate{frametitle}
  110. {
  111. \vspace{2mm} %\hspace*{-4mm}
  112. \vbox{\hsize=9cm\bfseries\insertframetitle}
  113. \begin{textblock*}{15mm}(108mm,4mm)
  114. \iflanguage{english}{%
  115. \includegraphics[width=14mm]{logos/kitlogo_en_rgb}
  116. }{%
  117. \includegraphics[width=14mm]{logos/kitlogo_de_rgb}
  118. }%
  119. \end{textblock*}
  120. % obsolete as of KIT-CD v2.0
  121. %\begin{textblock*}{1.5mm}(1mm,1mm)
  122. %\begin{pgfpicture}{0mm}{0mm}{1.5mm}{9mm}
  123. %\color{kit-green100}
  124. %\pgfpathrectangle{\pgfpoint{0mm}{0mm}}{\pgfpoint{1.5mm}{9mm}}
  125. %\pgfusepath{fill}
  126. %\end{pgfpicture}%
  127. %\end{textblock*}
  128. }
  129. \setbeamertemplate{headline}
  130. {
  131. }
  132. %footer
  133. \setbeamertemplate{footline}
  134. {
  135. \vskip.4mm
  136. \begin{beamercolorbox}[ht=2.2mm, dp=3mm]{section in head/foot}
  137. %include mini frame navigation
  138. \insertnavigation{\paperwidth}
  139. \vskip -2.2mm
  140. \end{beamercolorbox}
  141. \hbox{
  142. \begin{beamercolorbox}[wd=0.7\textwidth,ht=2.2mm,dp=2mm,left,leftskip=1.3em]{author in head/foot}%
  143. \usebeamerfont{author in head/foot}%
  144. \insertshortauthor\hspace{2.5pt}--\hspace{2.5pt}\insertshorttitle
  145. \end{beamercolorbox}%
  146. \begin{beamercolorbox}[wd=0.2\textwidth,ht=2.2mm,dp=2mm,center]{title in head/foot}%
  147. \usebeamerfont{title in head/foot}%
  148. \insertshortdate
  149. \end{beamercolorbox}%
  150. \begin{beamercolorbox}[wd=0.05\paperwidth,ht=2.2mm,dp=2mm,right]{date in head/foot}%
  151. \usebeamerfont{date in head/foot}%
  152. \insertframenumber{}/\inserttotalframenumber
  153. \end{beamercolorbox}%
  154. }
  155. \vskip -0.75mm
  156. }