Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have two follow up questions to an earlier post: Singapore Beamer Theme - add bottom bar with author info.

  1. How do I add a horizontal line just above the footline contents?
  2. If I add a footline to all slides, how do I remove it from the first slide without removing the original theme's properties?
share|improve this question

1 Answer 1

up vote 8 down vote accepted
  1. You can use a beamercolorbox with colored background.
  2. You can redefine locally the footline template to be empty for a particular frame.

An example:

\documentclass{beamer}
\usetheme{Singapore}

\setbeamercolor{footlinerule}{use=structure,bg=structure.fg!25!bg,green}

\setbeamertemplate{footline}
{%
  \begin{beamercolorbox}[wd=\paperwidth,ht=0.5ex,dp=0ex,center]{footlinerule}
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=\paperwidth,ht=0.6ex,dp=0ex,center]{empty}
  \end{beamercolorbox}%
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{author in head/foot}%
    \usebeamerfont{author in
head/foot}%
  \insertshortauthor\hspace{1em}(\insertshortinstitute)
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,right]{date in head/foot}%
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
  \end{beamercolorbox}}%
  \vskip0pt%
}%

\author[\parbox{.2\paperwidth}{\raggedleft Author One \\ Author Two}]{Author One and Author Two}
\institute{The Institute}
\title{The Title}

\begin{document}

{
\setbeamertemplate{footline}{}
\begin{frame}
test
\end{frame}
}

\begin{frame}
test
\end{frame}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.