lyx_mirror/lib/layouts/article-beamer.layout
Juergen Spitzmueller 90f6eb01a4 Include all [scr]article styles in beamer article layouts.
File format change. On format reversion, we need to put some extra code
in the local layout that emulates the 2.3 behavior.
Simply Input'ing the respective layouts is unfortunately not enough,
due to the insertion order.

See #9977
2016-08-04 11:42:06 +02:00

34 lines
948 B
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (Standard Class)}
# \DeclareCategory{Articles}
# Author: Jürgen Spitzmüller <spitz@lyx.org>
Format 60
# Includes
Input article.layout
Input beamer.layout
# override settings inherited from beamer.layout (Paul Rubin <rubin@msu.edu>)
Provides geometry 0
Provides hyperref 0
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
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