lyx_mirror/lib/layouts/scrarticle-beamer.layout
Juergen Spitzmueller 370bbbc7f2 Old beamer frames bite the dust
With this commit, old beamer frames are converted to new ones. The old styles are removed (including the infamous \lyxframe).

This should be tested with as much beamer documents as possible (I have already done so), also, tex2lyx now probably produces invalid LyX files.
2013-03-16 12:52:00 +01:00

27 lines
772 B
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[scrartcl,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (KOMA-Script)}
# \DeclareCategory{Articles}
# Author: Jürgen Spitzmüller <spitz@lyx.org>
Format 45
# Includes
Input beamer.layout
# override settings inherited from beamer.layout
Provides geometry 0
Provides hyperref 0
Provides color 0
Provides xcolor 0
Preamble
\usepackage{beamerarticle,pgf}
% this default might be overridden by plain title style
\newcommand\makebeamertitle{\frame{\maketitle}}%
\AtBeginDocument{
\let\origtableofcontents=\tableofcontents
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
\def\gobbletableofcontents#1{\origtableofcontents}
}
EndPreamble