I want to change the height of the top bar but only on the titlepage. I want to set it first to 7mm, then to 14mm. How can I do that? Now I only know that I can change the height by \usetheme[height=7mm]{Rochester}.
Asked
Active
Viewed 4,500 times
5
1 Answers
4
The Rochester theme uses the sidebar outer theme. So, we set the default height to 14mm and then temporarily change (using a group) it to 7mm and redefine the headline template for the sidebar theme.

\documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer
\let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764
\setbeamercolor{normal text}{bg=black!10}
\usetheme[height=14mm]{Rochester}
\begin{document}
\title[Title]{My title}
\subtitle{Subtitle}
\author{Author}
\institute[Institute]{My institute}
\date[Date]{My date}
\logo{\color{blue!50}\scalebox{2}{\TeX}} % you can % it
% Temporarily adjust header height to 7mm, only for title page
\begingroup
\makeatletter
\beamer@headheight=7mm
\expandafter\let\csname beamer@@tmpop@headline@sidebar theme\endcsname\relax
\defbeamertemplate*{headline}{sidebar theme}
{%
\begin{beamercolorbox}[wd=\paperwidth]{frametitle}
\vrule width0pt height \beamer@headheight%
\end{beamercolorbox}
\vspace*{\beamer@headheight}
}
\makeatother
\begin{frame}
\titlepage
\end{frame}
\endgroup
% Header height restored to 14mm
\section{A section}
\subsection{A subsection}
\begin{frame}
\frametitle{Frame title}
\framesubtitle{frame subtitle}
Some text
\end{frame}
\end{document}
Werner
- 603,163
-
-
@Krzysiek: If this answered your question, consider upvoting and accepting. See How do you accept an answer? – Werner Oct 24 '13 at 07:10
-
@Krzysiek: You should ask a follow-up question. Although I don't know the extent of such a solution, it may be too much to include in a comment (...said Fermat
:)). – Werner Oct 24 '13 at 14:08
\frametitlerow smaller inBerkeleytheme inbeamer– Werner Oct 23 '13 at 23:35