added latex beamer snippet