4
votes
1answer
57 views

Restatable example containing code listing

I am creating a beamer presentation, and I'm using the packages thmtools, thm-restate and listings. Inside one of my \frames, I want to create an example block containing a code listing. Later, I want ...
2
votes
1answer
1k views

redefine theorem environment with beamer

beamer seems to define theorem-environments such as definition, but i want to be able to define them myself. In particular I want to use thmtools. \documentclass{beamer} \usetheme{Singapore} ...