In the \AtBeginSection guide, the \AtBeginSection is explained as follows:
\AtBeginSection[special star text]{text}
If you declare a special section using the star \section* command, the content \section* table does not appear. This decision is the first thing that comes to mind, but can change the way a section is represented in a document.
Another approach (experimental, I have never tested it) is to use a boolean parameter. If a logical parameter is specified, the code is not printed. Then you usually declare your section, but you set the boolean value around your code.
Here is an example of code that should do the trick:
\RequirePackage{ifthen} % package required \newboolean{sectiontoc} \setboolean{sectiontoc}{true} % default to true \AtBeginSection[] { \ifthenelse{\boolean{sectiontoc}}{ \begin{frame}<beamer>{Gliederung} \tableofcontents[currentsection] \end{frame} } } \newcommand{\toclesssection}[1]{ \setboolean{sectiontoc}{false} \section{
Then in the document, simply declare your special section as \toclesssection{My section without the toc} .
Lohrun
source share