% Beamer sTeX slide theme; % Copyright (c) 20 Michael Kohlhase . \ProvidesPackage{beamertheme-sTeX} \typeout{Beamer sTeX theme} \RequirePackage{xspace} % General appearance of theorems, like "ams style", but without the block env. \setbeamertemplate{theorem begin} {% \inserttheoremheadfont \inserttheoremname \inserttheoremnumber \ifx \inserttheoremaddition \empty \else\ (\inserttheoremaddition)\fi \inserttheorempunctuation\xspace \inserttheorembodyfont } \setbeamertemplate{theorem end}{} % THEME \mode %% Logo images \pgfdeclareimage[height=2ex]{instlogo}{sTeX-logo} \pgfdeclareimage[height=2ex]{cclogo}{cc_somerights} %% A simple frame title with a long rule under it. \setbeamertemplate{frametitle}{% \usebeamerfont{frametitle}\insertframetitle\strut% \vskip-.1\baselineskip% \leaders\vrule width \paperwidth\vskip0.4pt% \vskip0pt% \nointerlineskip } %% A Footer line with a Institution and CC logos \setbeamertemplate{footline}[text line]{% \usebeamercolor[fg]{titlelike} \pgfuseimage{instlogo}\hspace*{1cm}\insertshortauthor: \insertshorttitle\hfill{}% \insertframenumber\hfill\insertshortdate\hspace*{1cm}\pgfuseimage{cclogo}% } %% Turn off the navigation symbols \setbeamertemplate{navigation symbols}{} %% Inner theme \useinnertheme{default} %\setbeamertemplate{enumerate item}{(\alph{enumi})} %\setbeamertemplate{enumerate subitem}{(\roman{enumii})} \mode %% Redefine various margin sizes \setbeamersize{text margin left=3mm} \setbeamersize{text margin right=3mm} \setbeamersize{description width=0.57cm} \setlength\leftmargini{1em} \setlength\leftmarginii{1em} \setlength\leftmarginiii{1em} \providecommand{\vstretch}[1]{\vspace*{\stretch{#1}}}