X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Farticle-beamer.layout;h=db05171bd7a4c36ff1d540db8a063f8f13802b86;hb=625e7609f0bb4087f0cd91ae3853beee6c6ba402;hp=70b7238127e1252b8d47ab364c20c08f6c006ee1;hpb=2dfaebd2433d4dba46d50bca3d5b02044b54ff64;p=lyx.git diff --git a/lib/layouts/article-beamer.layout b/lib/layouts/article-beamer.layout index 70b7238127..db05171bd7 100644 --- a/lib/layouts/article-beamer.layout +++ b/lib/layouts/article-beamer.layout @@ -1,8 +1,9 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[article]{article (beamer)} -# Author: Jürgen Spitzmüller +# \DeclareLaTeXClass[article,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (Standard Class)} +# \DeclareCategory{Articles} +# Author: Jürgen Spitzmüller -Format 25 +Format 60 # Includes Input beamer.layout @@ -21,19 +22,3 @@ Preamble \def\gobbletableofcontents#1{\origtableofcontents} } EndPreamble - -# Frame control definition -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>[]}} - \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}} - \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