One possible solution is to use modes and to define a command \Section
with tow arguments: one (the first one) optional argument will hold the short title for the navigation bar in presentation
mode and the second, mandatory argument, will hold the title for the section both in presentation
and in article
modes. A complete example follows.
Processing the following test document:
%\documentclass{article}
\documentclass{beamer}
%\usepackage{beamerarticle}
\newcommand\Section[2][]{%
\section<presentation>[#1]{#2}
\section<article>{#2}
}
\usetheme{Berlin}
\begin{document}
\begin{frame}
\tableofcontents
\end{frame}
\Section[Short title 1]{First Section's Full Title}
\begin{frame}
test
\end{frame}
\end{document}
produces the following frame (short tile in the navigation bar, full title in the ToC):
Now, using the article version:
\documentclass{article}
%\documentclass{beamer}
\usepackage{beamerarticle}
\newcommand\Section[2][]{%
\section<presentation>[#1]{#2}
\section<article>{#2}
}
\usetheme{Berlin}
\begin{document}
\begin{frame}
\tableofcontents
\end{frame}
\Section[Short title 1]{First Section's Full Title}
\begin{frame}
test
\end{frame}
\end{document}
we receive the following ToC (full title in the ToC):
The beamer
class uses an independent counter for the table of contents, so it's not sufficient to set the section
counter, but also the TeX counter \beamer@tocsectionnumber
(which must be operated on with primitive commands). I suggest using a command for setting directly the requested number:
\setnextsection{9}
which is easier than setting it one less than wanted.
\documentclass{beamer}
% This gets rid of the font warnings
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\makeatletter
\newcommand{\setnextsection}[1]{%
\setcounter{section}{\numexpr#1-1\relax}%
\beamer@tocsectionnumber=\numexpr#1-1\relax\space}
\makeatother
\setbeamertemplate{section in toc}[sections numbered]
\setbeamercolor{headline colour}{fg=blue,bg=yellow}
\setbeamertemplate{headline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=4ex,dp=1.5ex]{headline colour}%
\raggedright
\hspace*{2em}%
{\small%
\ifx\insertsection\empty%
\relax%
\else
Section \#\thesection\ \insertsectionhead%
\fi
}%
\hspace*{2em}%
\end{beamercolorbox}%
}%
}
\begin{document}
\begin{frame}
{Table of Contents}
\tableofcontents
\end{frame}
\section{First}
\begin{frame}
Something in the First section.
\end{frame}
\setnextsection{9}
\section{Ninth}
\begin{frame}
Another thing in the Ninth section.
\end{frame}
\end{document}
Best Answer
This comes as first idea: