]> git.lyx.org Git - features.git/commitdiff
* lib/layouts/beamer.layout:
authorJürgen Spitzmüller <spitz@lyx.org>
Sat, 22 Sep 2007 16:36:18 +0000 (16:36 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sat, 22 Sep 2007 16:36:18 +0000 (16:36 +0000)
        - add plain title layout (bug 3133)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20436 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/beamer.layout

index b2b5f7e4f8b9fae86769bf68874ac430b5dde0c4..efce37cd777783dc54ce0b5822a0b07bf10ba047 100644 (file)
@@ -750,6 +750,14 @@ Style Title
 
 End
 
+Style Title_(Plain_Frame)
+  CopyStyle        Title
+  Preamble
+     % plain title style, override default
+     \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
+  EndPreamble
+End
+
 Style Subtitle
   Margin           Static
   LatexType        Command
@@ -1099,10 +1107,13 @@ Float
   LaTeXBuiltin     true
 End
 
-TitleLaTeXName frame{\maketitle}
-
+# to give users the choice of a title frame with and without
+# head-/footline, we define our own maketitle command
+TitleLaTeXName makebeamertitle
 
 Preamble
+  % this default might be overridden by plain title style
+  \newcommand\makebeamertitle{\frame{\maketitle}}%
   \AtBeginDocument{
     \let\origtableofcontents=\tableofcontents
     \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}