[Tex/LaTex] Show plan before each section except the first one

beamertable of contents

I wanted to show a plan before every section in my presentation, so I have added the following code before \begin{document}

\AtBeginSection[]
{
 \begin{frame}<beamer>
 \frametitle{Plan}
 \tableofcontents[currentsection]
 \end{frame}
}

Now I would like to always do that except the first section, does anyone know how to deal with this exception?

Best Answer

Put the code you've mentioned after the \section to which you want it to apply from, rather than in the preamble

...
\section{Not in the list}
...
\AtBeginSection[]
  {
     \begin{frame}<beamer>
     \frametitle{Plan}
     \tableofcontents[currentsection]
     \end{frame}
  }
\section{First in the list}