Closed thegaryking closed 7 years ago
See sections 3.13 and 12.9 in the beamer user guide.
those sections show how to use various verbatim commands, but that's only part of the solution. ideally we'd also have a look and feel for code, like the example in Matt's slides. so there are design choices, which I think we should make consistent with the overall style of the theme. and since code is so common, having some easy way to do this would be good
Ah, makes sense now. OK, I have a first take implemented, please look at the demo (slide 8) and let me know what you think.
I'm pretty happy with the way this looks currently. Go ahead and re-open this issue if you want any adjustments to the colors, fonts, etc.
Can we add some kind of command to display computer code? e.g., \begin{code} a = 4+1 \end{code} or \code{} so it has a mono font and also some type of display colors. there's an example on page 33 of http://www.mattblackwell.org/files/teaching/gov2000/s01-intro-slides-print.pdf