\documentstyle{slides} \newenvironment{code}{\begin{verse} \tt $\{$ \\ }{$\}$ \\ \end{verse}} \newtheorem{mytheorem}{Theorem} \newtheorem{lemma}{Lemma} \begin{document} \blackandwhite{theslides} \end{document}