Load "beamerarticle" first (if needed)

The beamerarticle package needs to be loaded directly after the documentclass
declaration. Loading it later (e.g. using the -H option) leads to several
errors due to package dependencies.

This patch also introduces a new variable "beamerarticle" to activate the
beamerarticle package.
This commit is contained in:
Carsten Gips 2016-08-04 16:10:02 +02:00
parent 6b2a1db0b9
commit 84335edbad

View file

@ -1,4 +1,7 @@
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
$if(beamerarticle)$
\usepackage{beamerarticle} % needs to be loaded first
$endif$
$if(fontfamily)$
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
$else$