[Tex/LaTex] Beamer – Put a picture right of the table of contents

beamergraphicstable of contents

I have problems to put a picture right to the table of contents.
This is how it should look like:
enter image description here

I have two MWE's, becuase I already tried two different approaches.
(All the empty frames are needed to create the TOC)
The first one works with columns:

\documentclass{beamer}
\begin{document}
\begin{frame}
    \begin{columns}
        \column{7cm}
            \tableofcontents
        \column{3cm}
            \includegraphics{picture.png}
    \end{columns}
\end{frame}
\section{A section with a name}
\begin{frame}
\end{frame}
\section{A longer section name, ....................}
\begin{frame}
\end{frame}
\section{another section}
\begin{frame}
\end{frame}
\section{a medium long section name}
\begin{frame}
\end{frame}
\end{document}

In this approach the vspace between the items in the TOC disappears.

This is my second approach:

\documentclass{beamer}
\begin{document}
\begin{frame}
    \hspace{7cm}\includegraphics{picture.png}
    \tableofcontents
\end{frame}
\section{A section with a name}
\begin{frame}
\end{frame}
\section{A longer section name, ....................}
\begin{frame}
\end{frame}
\section{another section}
\begin{frame}
\end{frame}
\section{a medium long section name}
\begin{frame}
\end{frame}
\end{document}

People more experienced than me already know what happens before compiling. The TOC is shifted down.

I already thought about using this solution: Backround in TOC with beamer
But that wouldn't be a nice solution, becauase I would have to create a whole background
image, just to insert one little picture.

There must be a better solution. Is here anyone who knows it?

Best Answer

How about using minipages:

\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{minipage}[t][0.6\textheight]{0.6\textwidth}
 \vspace{0pt} 
  \tableofcontents
\end{minipage}
\begin{minipage}[t]{0.35\textwidth} 
 \vspace{0pt}  
 \includegraphics[width=.9\textwidth]{picture.jpg}
\end{minipage}
\end{frame}
\section{A section with a name}
\begin{frame}
\end{frame}
\section{A longer section name, ....................}
\begin{frame}
\end{frame}
\section{another section}
\begin{frame}
\end{frame}
\section{a medium long section name}
\begin{frame}
\end{frame}
\end{document}

This is how it will look: