# [Tex/LaTex] Code in beamer presentation

beamer

Good day! So, I need to present my disertation code to my thesis advisors, but I'm quite unsure how to actually do it in a proper way. I found this presentation showing some ideas.

Is there a way of making the slides 48-67 in beamer without using tikz? Any ideas to implement the whole ideas the author propose?

You can add code in the same way as in "normal" latex documents, for example using the listings package or minted.

One thing to do: you have to use the [fragile] option for frames containing code.

A quick example:

\documentclass{beamer}

\usepackage{listings}

\begin{document}

\begin{frame}[fragile]
\begin{lstlisting}
%CODE HERE
\end{lstlisting}
\end{frame}

\end{document}


(to adjust the colours etc. as in the slides you linked to, have a look at the listings documentation)