Skip to content

Instantly share code, notes, and snippets.

@hng
Created May 17, 2013
Embed
What would you like to do?
\documentclass[table]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{enumerate}
\usepackage{colortbl}
\usepackage{graphicx}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usepackage{fancybox}
%\usepackage{beamerthemesplit} // Activate for custom appearance
\usetheme{CambridgeUS} %boxes
\usecolortheme{rose}
\makeatletter
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{\insertshortinstitute}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother
\title{Title}
\subtitle{Subtitle}
\author{Your Name}
\date{\today}
\begin{document}
\AtBeginSection[]
{
\begin{frame}{}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}{}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
\frame{\titlepage}
\frame{\tableofcontents}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment