1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[scrartcl,beamerarticle.sty,keyval.sty,pgf.sty]{article (koma + beamer)}
3 # Author : Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11 \usepackage{beamerarticle,pgf}
12 % this default might be overridden by plain title style
13 \newcommand\makebeamertitle{\frame{\maketitle}}%
15 \let\origtableofcontents=\tableofcontents
16 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
17 \def\gobbletableofcontents#1{\origtableofcontents}
21 # Frame control definition
23 # This redefinition is needed to make beamerarticle work
25 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
26 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
27 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
28 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
29 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
30 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
31 \frame<#1>[#3]{\frametitle{#4}#5}}