1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[article,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (Standard Class)}
3 # \DeclareCategory{Articles}
4 # Author: Jürgen Spitzmüller <spitz@lyx.org>
11 # override settings inherited from beamer.layout (Paul Rubin <rubin@msu.edu>)
18 \usepackage{beamerarticle,pgf}
19 % this default might be overridden by plain title style
20 \newcommand\makebeamertitle{\frame{\maketitle}}%
22 \let\origtableofcontents=\tableofcontents
23 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
24 \def\gobbletableofcontents#1{\origtableofcontents}
28 ##########################################
30 # Everything below should be removed
31 # (but this is a file format change)
34 # * conversion of old frame
35 # and plain frame to new layout
36 ##########################################
39 # Backwards compatible definitions
43 \providecommand\lyxframeend{}
46 # Frame control definition
48 # This redefinition is needed to make beamerarticle work
50 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
51 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
52 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
53 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
54 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
55 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
56 \frame<#1>[#3]{\frametitle{#4}#5}}