]> git.lyx.org Git - lyx.git/blob - lib/layouts/article-beamer.layout
Correct default font of beamer article layouts
[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 60
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
15 DefaultFont
16         Family                Roman
17         Series                Medium
18         Shape                 Up
19         Size                  Normal
20         Color                 None
21 EndFont
22
23 Preamble
24         \usepackage{beamerarticle,pgf}
25         % this default might be overridden by plain title style
26         \newcommand\makebeamertitle{\frame{\maketitle}}%
27         \AtBeginDocument{
28                 \let\origtableofcontents=\tableofcontents
29                 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
30                 \def\gobbletableofcontents#1{\origtableofcontents}
31         }
32 EndPreamble