a preprocessor to write slides in beamer more easily