Code-Presentations Example (different ways, shown in Beamer Metropolis)
4 yıl önce
Creative Commons CC BY 4.0
This is an example illustating how to typeset code in LaTeX, especially in beamer presentations. It uses the metropolis theme. It is a presentation with one slide per "technique" which include some explanatory comments.
Examples shown are
knitR. The main document has the ending ".Rtex" which is required if you want it to be able to run knitR. Otherwise, you can just use normal ".tex".
It is accompanied by a blog post with more information here. In this blog post, some complications which can arise when using code listings in beamer are discussed (package clashes, etc.), so this might be informative if you want to learn more.