add beamer support