Code deduplication, and listing stylings.

+ Removed code duplication between `modules.tex` and `examples/`
+ Added a `stdout` style in `conf.ltx` for all non-code listings.
+ Made listings Float where applicable.