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 made presentation slides using the Singapore Beamer theme. I think this theme looks very professional, but it doesn't include a bottom toolbar that includes my name and institution. How do I add a toolbar that contains this information? If there are two authors, how would I stack their names, instead of placing them next to each other (which is typically the default)?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

You can set the footline template to present the desired information. In the following example code I slightly modified the definition of the footline template as used in the infolines outer theme; of course, feel free to adapt the design according to your needs:

\documentclass{beamer}
\usetheme{Singapore}

\makeatletter
\setbeamertemplate{footline}
{
  \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}\beamer@ifempty{\insertshortinstitute}{}{(\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%
}
\makeatother

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

\begin{document}

\begin{frame}
test
\end{frame}

\end{document}

The output obtained:

enter image description here

And the footline zoomed:

enter image description here

Although in my answer I gave a possible solution to the "stacking the authors" issue, I forgot to mention it explicitly: you can use the optional argument of \author to format how the author(s) information will be displayed when the \insertshortauthor command is invoked (this command is used, in particular, in the footlinea template above).

share|improve this answer
    
How do I remove the footline from the first slide? –  richtera Apr 1 '12 at 1:38
    
@AlexRichter: use the plain option for the frame: \begin{frame}[plain] test \end{frame} –  Gonzalo Medina Apr 1 '12 at 1:40
    
How could I add a hotizonal line just above the footline contents? –  richtera Apr 1 '12 at 1:40
    
If I use "plain" on the first slide it removes the footline, but also the formatting of the theme. How can I remove only the footline from the first slide? –  richtera Apr 1 '12 at 1:50
    
@AlexRichter I think those new requirements deserve a new fresh question; the space for comments is not really appropriate to provide code. Please feel free to open a new question with your new problems (you can indicate that it's a follow-up and provide a link to this question). –  Gonzalo Medina Apr 1 '12 at 1:57

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.