4

This is my first question. Be patience please.

In beamer class, I want the headline of Warsaw (you know, not only current section and subsection but also all sections and all subsections of the current section) and the footline of Madrid: author, university, short title, date and page number.

If you could also remove the toolbar in bottom right corner of the frame it would be perfect.

1

Madrid uses the footline from the infolines outer theme. You can simply copy the definition to use it together with Warsaw:

\documentclass{beamer}
\usetheme{Warsaw}

% from infolines outer theme
\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\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\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

% remove navigation
\setbeamertemplate{navigation symbols}{}

\begin{document}

\section{bla}
\subsection{blub}
\begin{frame}
    I prefer cats! =(\^{}.\^{})=
\end{frame} 

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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