Switch between beamer and beamerarticle