* lib/layouts/beamer.layout:

- add plain title layout (bug 3133)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20436 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-09-22 16:36:18 +00:00
parent 9eb79dcfe5
commit a418607505

View File

@ -750,6 +750,14 @@ Style Title
End End
Style Title_(Plain_Frame)
CopyStyle Title
Preamble
% plain title style, override default
\renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
EndPreamble
End
Style Subtitle Style Subtitle
Margin Static Margin Static
LatexType Command LatexType Command
@ -1099,10 +1107,13 @@ Float
LaTeXBuiltin true LaTeXBuiltin true
End 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 Preamble
% this default might be overridden by plain title style
\newcommand\makebeamertitle{\frame{\maketitle}}%
\AtBeginDocument{ \AtBeginDocument{
\let\origtableofcontents=\tableofcontents \let\origtableofcontents=\tableofcontents
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}} \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}