]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrarticle-beamer.layout
4b85dcba438e62d82cf12b4518a1e842f6f7c703
[lyx.git] / lib / layouts / scrarticle-beamer.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[scrartcl,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (KOMA-Script)}
3 #  \DeclareCategory{Articles}
4 # Author: Jürgen Spitzmüller <spitz@lyx.org>
5
6 Format 59
7
8 # Includes
9 Input beamer.layout
10
11 # override settings inherited from beamer.layout
12 Provides geometry 0
13 Provides hyperref 0
14 Provides color    0
15
16 Preamble
17         \usepackage{beamerarticle,pgf}
18         % this default might be overridden by plain title style
19         \newcommand\makebeamertitle{\frame{\maketitle}}%
20         \AtBeginDocument{
21                 \let\origtableofcontents=\tableofcontents
22                 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
23                 \def\gobbletableofcontents#1{\origtableofcontents}
24         }
25 EndPreamble