X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fscrarticle-beamer.layout;h=8c23828e8d8be05f3bb4de26b0b3414e364903d2;hb=72ee3a1b17a79b9098d14b2815d4c9ab4d85bf43;hp=b0c8c81d9d79c40179dc19c5a211813a51c0bda9;hpb=5142d1c86ada8df7451534402e2a1716678ee8b7;p=lyx.git diff --git a/lib/layouts/scrarticle-beamer.layout b/lib/layouts/scrarticle-beamer.layout index b0c8c81d9d..8c23828e8d 100644 --- a/lib/layouts/scrarticle-beamer.layout +++ b/lib/layouts/scrarticle-beamer.layout @@ -1,8 +1,9 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[scrartcl,beamerarticle.sty,keyval.sty,pgf.sty]{article (koma + beamer)} +# \DeclareLaTeXClass[scrartcl,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (KOMA-Script)} +# \DeclareCategory{Articles} # Author : Jürgen Spitzmüller -Format 29 +Format 36 # Includes Input beamer.layout @@ -22,7 +23,6 @@ EndPreamble Style BeginFrame # This redefinition is needed to make beamerarticle work Preamble - \makeatletter \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}% \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}% \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}} @@ -30,6 +30,5 @@ Style BeginFrame \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}} \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{% \frame<#1>[#3]{\frametitle{#4}#5}} - \makeatother EndPreamble End