Code

beamerthemetokkee: Use \titlebox{} for the title page.
authorSebastian Harl <sh@tokkee.org>
Tue, 31 May 2016 05:31:18 +0000 (07:31 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 4 Jun 2016 10:20:43 +0000 (12:20 +0200)
beamerthemetokkee.sty

index df3522d13d16cf7a6507c1b241e43ed76065e345..94551b54bc6c93e99d1382a79ac0fdadeeb040a4 100644 (file)
@@ -1,12 +1,13 @@
 \usepackage{beamertokkee}
 \usepackage{lmodern}
 
+\usepackage{beamertokkee}
+
 \usecolortheme{tokkee}
 
 \usepackage{tikz}
 
 \usetikzlibrary{positioning}
-\usetikzlibrary{shadows}
 
 \setbeamersize{text margin left=7mm, text margin right=7mm,%
        text margin top=0mm, text margin bottom=0mm}
 \setbeamertemplate{title page}
 {
        \begin{centering}
-               \begin{tikzpicture}
-                       \usebeamercolor[bg]{title}
-                       \draw[thick,draw=gray] (0,0)
-                               node [fill=tokkeelightgray,draw,drop shadow,rounded corners,inner sep=10pt,align=center]
-                               {
-                                       \,\\
-                                       \usebeamerfont{title}%
-                                       \usebeamercolor[fg]{title}%
-                                       \inserttitle\par\\[.25em]
-                                       \ifx\insertsubtitle\@empty
-                                       \else
-                                               {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}
-                                                \insertsubtitle\par}
-                                       \fi
-                               };
-               \end{tikzpicture}
+               \titlebox{%
+                       {\usebeamerfont{title}\usebeamercolor[fg]{title}%
+                        \inserttitle}
+                       \ifx\insertsubtitle\@empty%
+                       \else%
+                               \par\\[.25em]
+                               {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}%
+                                \mbox{\insertsubtitle}\par}%
+                       \fi%
+               }
 
                \vskip1em