summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2663a5)
raw | patch | inline | side by side (parent: e2663a5)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 31 May 2016 05:24:42 +0000 (07:24 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 4 Jun 2016 10:19:59 +0000 (12:19 +0200) |
beamertokkee.sty | patch | blob | history | |
example.tex | patch | blob | history |
diff --git a/beamertokkee.sty b/beamertokkee.sty
index 93235e9fae83551e6c29a3b2eab160f2251591b9..ca7072e44f31071b9cdc56366214ffde20488e5a 100644 (file)
--- a/beamertokkee.sty
+++ b/beamertokkee.sty
\def\insertcopyrightinfo{#2}%
\def\beamer@shortcopyrightinfo{#1}%
}
-\copyrightinfo{\copyright{} \the\year{} Sebastian tokkee Harl, All rights reserved.}
+% Default:
+\copyrightinfo{\copyright{} \the\year{} Sebastian `tokkee' Harl, All rights reserved.}
+
+\RequirePackage{tikz}
+
+\usetikzlibrary{shadows}
+
+\newcommand\titlebox[1]{%
+ \begin{tikzpicture}%
+ \usebeamercolor[bg]{title}%
+ \usebeamerfont{title}%
+ \usebeamercolor[fg]{title}%
+ \draw[thick,draw=gray] (0,0)%
+ node [fill=tokkeelightgray,draw,drop shadow,%
+ rounded corners,inner sep=10pt,align=center]%
+ {#1};%
+ \end{tikzpicture}%
+}
\endinput
diff --git a/example.tex b/example.tex
index fda75ea1d8ad71e674c26d1988d119ce6b00082d..fef796d4f9b8848bba2bea4d3377c4c285c319d1 100644 (file)
--- a/example.tex
+++ b/example.tex
\date{\today}
\institute{tokkee.net}
\author{Sebastian Harl\\ $<$sh@tokkee.org$>$}
-\copyrightinfo{\copyright{} 2013 Sebastian 'tokkee' Harl, All rights reserved.}
+\copyrightinfo{\copyright{} 2013 Sebastian `tokkee' Harl, All rights reserved.}
+
+\AtBeginSection[]
+{
+ \begin{frame}
+ \begin{center}
+ \Large
+ \titlebox{\secname}
+ \end{center}
+ \end{frame}
+}
\begin{document}
\frame[plain]{\titlepage}