IQSS / iqss-beamer-theme

A Beamer theme featuring IQSS orange.
http://IQSS.github.io/iqss-beamer-theme
25 stars 5 forks source link

code font, display #7

Closed thegaryking closed 7 years ago

thegaryking commented 7 years ago

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

izahn commented 7 years ago

See sections 3.13 and 12.9 in the beamer user guide.

thegaryking commented 7 years ago

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

izahn commented 7 years ago

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.

izahn commented 7 years ago

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.