]> git.lyx.org Git - lyx.git/blob - lib/layouts/article-beamer.layout
94c1f1a91fdfb48f5fad3e76dc4515fcaf349a03
[lyx.git] / lib / layouts / article-beamer.layout
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>
5
6 Format 59
7
8 # Includes
9 Input beamer.layout
10
11 # override settings inherited from beamer.layout (Paul Rubin <rubin@msu.edu>)
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