I give a lecture with 10 sections and maybe 5-10 subsections.
Using the Warsaw theme would make the available space too small.
Is there a way to make the navigation bar show:
- only the last section, current section and the next two sections?
- only the last subsection, current subsection and the next two subsections?
If there is not an option, one may have to change the \insertsubsectionnavigation
-function.
Maybe something like
\insertsubsectionnavigation["\thissectionnumber-1" to "\thissectionnumber+2"]
The problem is: I don't understand the way this function works.
Does anyone have an idea or a link to a similar topic?
Here is an example of how it should NOT look:
\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
\section{Section 1}
\section{Section 2}
\section{Section 3}
\section{Section 4}
\subsection{SubSection a}\begin{frame}Test\end{frame}
\subsection{SubSection b}\begin{frame}Test\end{frame}
\subsection{SubSection c}\begin{frame}Test\end{frame}
\subsection{SubSection d}\begin{frame}Test\end{frame}
\subsection{SubSection e}\begin{frame}Test\end{frame}
\subsection{SubSection f}\begin{frame}Test\end{frame}
\subsection{SubSection g}\begin{frame}Test\end{frame}
\subsection{SubSection h}\begin{frame}Test\end{frame}
\subsection{SubSection i}\begin{frame}Test\end{frame}
\section{Section 5}
\section{Section 6}
\section{Section 7}\begin{frame}Test\end{frame}
\end{document}
A slide would look like:
I want it to look like:
Best Answer
This is an extension of @GonzaloMedina answer from Only 3 items in navigation bar, is that possible? that covers subsections too (long Beamer code follows).