\copyrightVincent \begin{frame}[fragile]{Stellingen \& bewijzen} \begin{columns} \begin{column}{0.4\textwidth} \begin{minted}[fontsize=\scriptsize,escapeinside=~~]{tex} \usepackage{amsthm} \newtheorem{theorem}{Stelling} \newtheorem{lemma}[theorem]{Lemma} ... \begin{lemma} Lorem ipsum dolor sit ... eget dolor. \begin{proof} Aenean massa. Cum ... quis enim. \end{proof} \end{lemma} \end{minted} \end{column} \begin{column}{0.4\textwidth} \includegraphics[width=\linewidth,height=0.8\textheight,keepaspectratio]{assets/mathLemmaProof.pdf} \end{column} \end{columns} \end{frame} \begin{frame}[fragile]{Stellingen \& bewijzen} \begin{columns} \begin{column}{0.4\textwidth} \begin{minted}[fontsize=\scriptsize,escapeinside=||]{tex} \usepackage{amsthm} \newtheorem{theorem}{Stelling} \newtheorem{lemma}[theorem]{Lemma} Uit Lemma~\ref{thm:mylemma} volgt dat ... \begin{lemma}\label{thm:mylemma} Lorem ipsum dolor sit ... eget dolor. \begin{proof} Aenean massa. Cum ... quis enim. \end{proof} \end{lemma} \end{minted} \end{column} \begin{column}{0.4\textwidth} \includegraphics[width=\linewidth,height=0.8\textheight,keepaspectratio]{assets/mathLemmaProof.pdf} \end{column} \end{columns} \end{frame}