I want to make some changes in headline navigation (sections and subsections navigation) in split theme. I've tried to add this to my document to override default style:
Code: Select all
\setbeamertemplate{headline}
{%
\leavevmode%
\@tempdimb=2.4375ex%
\@beamer@sectionmax=2
\@beamer@subsectionmax=2
\ifnum\beamer@subsectionmax<\beamer@sectionmax%
\multiply\@tempdimb by\beamer@sectionmax%
\else%
\multiply\@tempdimb by\beamer@subsectionmax%
\fi%
\ifdim\@tempdimb>0pt%
\advance\@tempdimb by 1.125ex%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{section in head/foot}%
\vbox to\@tempdimb{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}%
\vbox to\@tempdimb{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}%
\end{beamercolorbox}%
\fi%
}
When I try to compile it, I get an error:
Code: Select all
! Undefined control sequence.
\beamer@@tmpl@headline ...ionmax=2 \ifnum \beamer
@subsectionmax<\beamer @ se...
Thanks in advance for help!
PS. Sorry for my mistakes in English, I'm not native speaker.