From: Sebastian Harl Date: Tue, 31 May 2016 05:31:18 +0000 (+0200) Subject: beamerthemetokkee: Use \titlebox{} for the title page. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c135732833ed39c695ad8c8dc67d580147b407e9;p=tokkeebeamer.git beamerthemetokkee: Use \titlebox{} for the title page. --- diff --git a/beamerthemetokkee.sty b/beamerthemetokkee.sty index df3522d..94551b5 100644 --- a/beamerthemetokkee.sty +++ b/beamerthemetokkee.sty @@ -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} @@ -23,22 +24,16 @@ \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