# Code in beamer presentation [closed]

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?

## closed as unclear what you're asking by TeXnician, Troy, Stefan Pinnow, Maarten Dhondt, SchweinebackeAug 9 '17 at 7:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome! I'm afraid that you may find it difficult to get help with the current state of your question. First, a question on this site should be self-contained and not rely on external links, which don't remain useful when their content changes. Second, posting an example with 67+ slides is sure to put people off: how much time do you think people will want to spend answering one question? Third, you're asking to re-code 19 of those slides and to implement an unspecified number of the author's (unimplemented?) ideas. The mind-reading alone is a major project: not an answer on this site. – cfr Aug 4 '17 at 1:44
• Please make a minimal document which illustrates a specific issue you want help with, post the code and format it by highlighting and using ctrl+k. Then explain the particular question you have about that code. This will make it much easier for people to understand the problem and try out solutions - and so much more likely they will. – cfr Aug 4 '17 at 1:46
• To the close-voters: wait a few days before closing: i.stack.imgur.com/KSSY4.png. Let's give the OP time to refine his/her question! – CarLaTeX Aug 4 '17 at 2:09
• @CarLaTeX This flowchart is ridiculous and pointless. If the question is bad, I vote to close. If there is an edit making the question valid, I vote to reopen. – Henri Menke Aug 4 '17 at 2:16
• @HenriMenke The flowchart is Paulo Cereda's. The question (as is) is to be closed, but not at once, let's give the OP some time to refine it. See also here: tex.meta.stackexchange.com/a/2743/101651. – CarLaTeX Aug 4 '17 at 2:27

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)