#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[beamer,amssymb.sty,hyperref.sty,pgf.sty,xcolor.sty,xxcolor.sty]{Beamer}
# \DeclareCategory{Presentations}
-# Author : Till Tantau <tantau@users.sourceforge.net>
+# Original Author: Till Tantau <tantau@users.sourceforge.net>
+# Revised and extended by Jürgen Spitzmüller <spitz@lyx.org>, Uwe Stöhr <uwestoehr@lyx.org>,
+# Richard Heck <rgheck@lyx.org>, Martin Vermeer <martin.vermeer@hut.fi> and probably others.
-# $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
-# Includes
Format 41
+
+#
+# GLOBAL SETTINGS
+#
+
+# Includes
Input stdcounters.inc
Input stdinsets.inc
-
# General textclass parameters
Columns 1
Sides 1
Color None
EndFont
+# To give users the choice of a title frame with and without
+# head-/footline, we define our own maketitle command
+TitleLaTeXName makebeamertitle
+AddToPreamble
+ % 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
+
+
+#
+# STANDARD STYLE
+#
-# Standard style definition
Style Standard
Category MainText
Margin Static
LabelType No_Label
End
-# List section
-# Itemize style definition
+
+#
+# LISTS
+#
+
Style Itemize
Category List
Margin Static
LatexType Item_Environment
LatexName itemize
Argument 1
- LabelString "Overlay Specifications|S"
- Tooltip "Overlay specifications for this list"
+ LabelString "Overlay Specifications|S"
+ Tooltip "Overlay specifications for this list"
EndArgument
NextNoIndent 1
LeftMargin MMN
LabelType Itemize
End
-# Enumerate style definition
Style Enumerate
Category List
Margin Static
LatexType Item_Environment
LatexName enumerate
Argument 1
- LabelString "Overlay Specifications|S"
- Tooltip "Overlay specifications for this list"
+ LabelString "Overlay Specifications|S"
+ Tooltip "Overlay specifications for this list"
EndArgument
Argument 2
- LabelString "Mini template"
- Tooltip "Mini template for this List"
+ LabelString "Mini template"
+ Tooltip "Mini template for this List"
EndArgument
NextNoIndent 1
LeftMargin MMN
RefPrefix enu
End
-# Description style definition
Style Description
Category List
Margin First_Dynamic
LatexType Item_environment
LatexName description
Argument 1
- LabelString "Overlay Specifications|S"
- Tooltip "Overlay specifications for this list"
+ LabelString "Overlay Specifications|S"
+ Tooltip "Overlay specifications for this list"
EndArgument
Argument 2
- LabelString "Longest label|s"
- Tooltip "The longest label in this list"
+ LabelString "Longest label|s"
+ Tooltip "The longest label in this list"
EndArgument
NextNoIndent 1
LeftMargin MM
EndFont
End
-# Sectioning section
-# Part style definition
+
+#
+# SECTIONING
+#
+
Style Part
Category Section
Margin Dynamic
LatexType Command
LatexName part
Argument 1
- LabelString "Short Title|S"
- Tooltip "The part as it appears in the table of contents/running headers"
+ LabelString "Short Title|S"
+ Tooltip "The part as it appears in the table of contents/running headers"
EndArgument
NeedProtect 1
NextNoIndent 1
LabelType Static
LabelString "Part"
RefPrefix part
-
- # standard font definition
Font
Family Roman
Series Bold
Size Huge
EndFont
-
LabelFont
Color Latex
EndFont
TocLevel 0
End
-# Section style definition
Style Section
Category Section
Margin First_Dynamic
LabelString "Section \arabic{section}"
RefPrefix sec
Argument 1
- LabelString "Short Title|S"
- Tooltip "The section as it appears in the table of contents/running headers"
+ LabelString "Short Title|S"
+ Tooltip "The section as it appears in the table of contents/running headers"
EndArgument
-
Font
Family Roman
Series Bold
Size huge
EndFont
-
LabelFont
Color latex
EndFont
TocLevel 1
End
-# Section* style definition
Style Section*
CopyStyle Section
Category Unnumbered
ResetArgs 1
End
-# Subsection style definition
Style Subsection
Category Section
Margin First_Dynamic
LabelString "Subsection \arabic{section}.\arabic{subsection}"
RefPrefix sub
Argument 1
- LabelString "Short Title|S"
- Tooltip "The subsection as it appears in the table of contents/running headers"
+ LabelString "Short Title|S"
+ Tooltip "The subsection as it appears in the table of contents/running headers"
EndArgument
-
- # standard font definition
Font
Family Roman
Series Bold
Size larger
EndFont
-
LabelFont
Color latex
EndFont
TocLevel 2
End
-# Subsection* style definition
Style Subsection*
CopyStyle Subsection
Category Unnumbered
ResetArgs 1
End
-# Subsubsection style definition
Style Subsubsection
Category Section
Margin First_Dynamic
LabelString "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
RefPrefix sub
Argument 1
- LabelString "Short Title|S"
- Tooltip "The subsubsection as it appears in the table of contents/running headers"
+ LabelString "Short Title|S"
+ Tooltip "The subsubsection as it appears in the table of contents/running headers"
EndArgument
-
- # standard font definition
Font
Family Roman
Series Bold
Size large
EndFont
-
LabelFont
Color latex
EndFont
TocLevel 2
End
-# Subsubsection* style definition
Style Subsubsection*
CopyStyle Subsubsection
Category Unnumbered
ResetArgs 1
End
-# Frame control definition
+
+#
+# FRAMES
+#
+
Style BeginFrame
Category Frames
TocLevel 4
LatexType Command
LatexName lyxframeend{}\lyxframe
Argument 1
- LabelString "Frame Options"
- Tooltip "Frame options (see beamer manual)"
+ LabelString "Frame Options"
+ Tooltip "Frame options (see beamer manual)"
EndArgument
Margin First_Dynamic
NextNoIndent 1
LeftMargin M
LabelSep xx
LabelString "Frame"
-
Font
Series Bold
Size Largest
Color Blue
EndFont
-
LabelFont
Family Roman
Color latex
EndFont
-
Preamble
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
LeftMargin M
LabelSep xx
LabelString "Frame (no head/foot/sidebars)"
-
Font
Series Bold
Size Largest
Color Blue
EndFont
-
LabelFont
Family Roman
Color latex
EndFont
-
Preamble
\long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
\def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
LatexType Command
LatexName lyxframeend{}\lyxagainframe
Argument 1
- LabelString "Overlay Specifications|S"
- Tooltip "Overlay specifications for this list"
+ LabelString "Overlay Specifications|S"
+ Tooltip "Overlay specifications for this list"
EndArgument
Argument 2
- LabelString "Frame Options"
- Tooltip "Frame options (see beamer manual)"
+ LabelString "Frame Options"
+ Tooltip "Frame options (see beamer manual)"
EndArgument
Margin First_Dynamic
NextNoIndent 1
LeftMargin M
LabelSep xx
LabelString "Again frame with label"
-
Font
Color latex
EndFont
-
LabelFont
Family Roman
Color latex
Series Bold
Size Largest
EndFont
-
Preamble
\long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
\def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
LabelBottomSep 0
LeftMargin MMMMM
LabelString "________________________________"
-
LabelFont
Family typewriter
Series Medium
Size Normal
Color latex
EndFont
-
Preamble
\def\lyxframeend{} % In case there is a superfluous frame end
EndPreamble
End
-# Frame decoration section
Style FrameSubtitle
Category Frames
Margin Static
ParSep 1
Align Center
LabelType No_Label
-
- # standard font definition
Font
Series Bold
Color Blue
EndFont
-
End
+#
+# COLUMS
+#
+
Style Column
Category Columns
Margin Static
LabelSep xx
LabelString "Start column (increase depth!), width:"
Argument 1
- LabelString "Column Options"
- Tooltip "Column options (see beamer manual)"
+ LabelString "Column Options"
+ Tooltip "Column options (see beamer manual)"
EndArgument
LeftMargin "Start column (increase depth!), width:xx"
-
- # standard font definition
LabelFont
Family Roman
Color latex
EndFont
End
-
Style Columns
Category Columns
KeepEmpty 1
Align Left
LabelType Static
LabelSep xx
-
LatexName columns
LabelString "Columns"
LeftMargin "Columnsxx"
-
Argument 1
- LabelString "Columns Options"
- Tooltip "Columns options (see beamer manual)"
+ LabelString "Columns Options"
+ Tooltip "Columns options (see beamer manual)"
EndArgument
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
-
- # font & label font definition
-
LabelFont
Family Roman
Color latex
Align left
LabelType Static
LabelSep xx
-
LatexName centercolumns}%{
LabelString "Columns (center aligned)"
LeftMargin "Columns (center aligned)xx"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
Preamble
\newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
EndPreamble
- # font & label font definition
-
LabelFont
Family Roman
Color latex
Align left
LabelType Static
LabelSep xx
-
LatexName topcolumns}%{
LabelString "Columns (top aligned)"
LeftMargin "Columns (top aligned)xx"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
Preamble
\newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
EndPreamble
- # font & label font definition
-
LabelFont
Family Roman
Color latex
EndFont
End
-# Frame progression section
+
+#
+# OVERLAYS
+#
+
Style Pause
- Category Overlays
- KeepEmpty 1
- LatexType Command
- LatexName pause
- Margin First_Dynamic
+ Category Overlays
+ KeepEmpty 1
+ LatexType Command
+ LatexName pause
+ Margin First_Dynamic
Argument 1
- LabelString "Pause number"
- Tooltip "Number of slide where the pause takes effect"
+ LabelString "Pause number"
+ Tooltip "Number of slide where the pause takes effect"
EndArgument
- NextNoIndent 1
- ParSkip 0
- TopSep 0
- BottomSep 0.25
- ParSep 0
- Align Center
- LabelType Static
- LabelBottomSep 0
- LeftMargin MMMMM
- LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
-
- LabelFont
- Family typewriter
- Series Medium
- Size Normal
- Color latex
+ NextNoIndent 1
+ ParSkip 0
+ TopSep 0
+ BottomSep 0.25
+ ParSep 0
+ Align Center
+ LabelType Static
+ LabelBottomSep 0
+ LeftMargin MMMMM
+ LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
+ LabelFont
+ Family typewriter
+ Series Medium
+ Size Normal
+ Color latex
EndFont
End
Align Left
LabelType Static
LabelSep xx
-
LatexName overprint
LabelString "Overprint"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
KeepEmpty 1
-
- # font & label font definition
-
LabelFont
Family Roman
Color latex
Align Left
LabelType Static
LabelSep xx
-
LatexName overlayarea
LabelString "Overlayarea"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
- # font & label font definition
-
LabelFont
Family Roman
Color latex
ParIndent MM
Align Left
LabelType Static
-
LatexName uncoverenv}%{
LabelSep xx
LabelString "Uncovered on slides"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
- # font & label font definition
-
LabelFont
Family Roman
Color Latex
ParIndent MM
Align Left
LabelType Static
-
LatexName onlyenv}%{
LabelSep xx
LabelString "Only on slides"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
- # font & label font definition
-
LabelFont
Family Roman
Color Latex
EndFont
End
-# Blocks section
+
+#
+# BLOCKS
+#
+
Style Block
Category Blocks
Margin Dynamic
Align Left
LabelType Static
LabelSep xx
-
LatexName block
- LabelString "Block:"
-
+ LabelString "Block:"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
- # font & label font definition
-
LabelFont
Family Roman
Color latex
Align Left
LabelType Static
LabelSep xx
-
LatexName exampleblock
LabelString "Example Block:"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
- # font & label font definition
-
Font
Color green
EndFont
-
LabelFont
Family Roman
Color latex
Align Left
LabelType Static
LabelSep xx
-
LatexName alertblock
LabelString "Alert Block:"
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
-
- # font & label font definition
-
Font
Color red
EndFont
-
LabelFont
Family Roman
Color latex
EndFont
End
-# Title slide data section
-# Title style definition
+
+#
+# TITLING
+#
+
Style Title
Category Titling
Margin Static
LabelString "Short Title|S"
Tooltip "Short title which appears in the sidebar/header"
EndArgument
-
- # standard font definition
Font
Size Huge
Series Bold
Color Blue
EndFont
-
End
Style Title_(Plain_Frame)
LabelString "Short Subtitle|S"
Tooltip "Short subtitle which appears in the sidebar/header"
EndArgument
-
- # standard font definition
Font
Size Large
Series Bold
Color Blue
EndFont
-
End
-# Author style definition
Style Author
Category Titling
Margin Static
LabelString "Short Author|S"
Tooltip "Short author which appears in the sidebar/header"
EndArgument
-
- # standard font definition
Font
Size Largest
Color Blue
EndFont
-
End
Style Institute
LabelString "Short Institute|S"
Tooltip "Short institute which appears in the sidebar/header"
EndArgument
-
- # standard font definition
Font
Size Large
Color Blue
EndFont
End
-# Date style definition
Style Date
Category Titling
Margin Dynamic
LabelString "Short Date|S"
Tooltip "Short date which appears in the sidebar/header"
EndArgument
-
- # standard font definition
Font
Size Largest
Color Blue
EndFont
End
-# Titles & bibliography section
-# Bibliography style definition
+Style TitleGraphic
+ Category Titling
+ Margin Static
+ LatexType Command
+ InTitle 1
+ LatexName titlegraphic
+ ParSkip 0.4
+ ItemSep 0
+ TopSep 0
+ BottomSep 1
+ ParSep 1
+ Align Center
+ LabelType No_Label
+ Font
+ Size Huge
+ Series Bold
+ Color Blue
+ EndFont
+End
+
+
+#
+# BACK MATTER
+#
+
Style Bibliography
Category BackMatter
Margin First_Dynamic
LabelType Bibliography
LabelString "References"
LabelBottomSep 0.7
-
- # label font definition
LabelFont
Series Bold
Size Larger
EndFont
End
+
+#
+# QUOTATION
+#
+
Style Quotation
Category MainText
Margin Static
AlignPossible Block, Left, Right, Center
End
-
Style Quote
Category MainText
Margin Static
LabelType No_Label
End
-
Style Verse
# LaTeX type is first dynamic because of LaTeX implementation.
# In LyX this does not make sense.
End
-Style TitleGraphic
- Category Titling
- Margin Static
- LatexType Command
- InTitle 1
- LatexName titlegraphic
- ParSkip 0.4
- ItemSep 0
- TopSep 0
- BottomSep 1
- ParSep 1
- Align Center
- LabelType No_Label
+#
+# THEOREMS AND SUCH
+#
- # standard font definition
- Font
- Size Huge
- Series Bold
- Color Blue
- EndFont
-End
-
-
-# Theorems and such section
Style Corollary
Category Theorems
Margin First_Dynamic
Align Left
LabelType Static
LabelSep xx
-
LatexName corollary}%{
LabelString "Corollary."
-
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
KeepEmpty 1
-
- # font & label font definition
-
LabelFont
Series Bold
Color Blue
CopyStyle Corollary
LatexName example}%{
LabelString "Example."
-
LabelFont
Series Bold
Color Green
LabelString "Examples."
End
-
Style Fact
CopyStyle Corollary
LatexName fact}%{
LabelString "Theorem."
End
-# Misc. section
-# Separator style definition
+
+#
+# MISC.
+#
+
Style Separator
Category MainText
LatexType Paragraph
LabelBottomSep 0
LabelString "___"
KeepEmpty 1
-
LabelFont
Series Medium
Size Normal
End
Style LyX-Code
- Category MainText
+ Category MainText
Margin Static
LatexType Environment
LatexName lyxcode
AlignPossible Block, Left, Right, Center
LabelType No_Label
FreeSpacing 1
-
- # define the environment lyxcode
Preamble
\newenvironment{lyxcode}
{\par\begin{list}{}{
\item[]}
{\end{list}}
EndPreamble
-
- # standard font definition
Font
Family Typewriter
EndFont
LabelSep xx
LabelString "Note:"
LeftMargin "Note:xx"
-
- # standard font definition
LabelFont
Family Roman
Color latex
# Input lyxmacros.inc
-# Charstyles:
+#
+# CHARSTYLES
+#
InsetLayout Flex:Alert
- LyXType charstyle
- LabelString Alert
+ LyXType charstyle
+ LabelString Alert
LatexType command
LatexName alert
Font
EndFont
End
-
InsetLayout Flex:Structure
- LyXType charstyle
- LabelString Structure
+ LyXType charstyle
+ LabelString Structure
LatexType command
LatexName structure
Font
EndFont
End
-
InsetLayout Flex:ArticleMode
- LyXType custom
- LatexName mode<article>
- LatexType command
- Decoration classic
- LabelString Article
- MultiPar true
+ LyXType custom
+ LatexName mode<article>
+ LatexType command
+ Decoration classic
+ LabelString Article
+ MultiPar true
End
-
InsetLayout Flex:PresentationMode
- LyXType custom
- LatexName mode<presentation>
- LatexType command
- Decoration classic
- LabelString Presentation
- MultiPar true
+ LyXType custom
+ LatexName mode<presentation>
+ LatexType command
+ Decoration classic
+ LabelString Presentation
+ MultiPar true
End
+#
+# FLOATS
+#
+
Float
Type table
GuiName Table
ListCommand listoftables
End
-
Float
Type figure
GuiName Figure
End
-# to give users the choice of a title frame with and without
-# head-/footline, we define our own maketitle command
-TitleLaTeXName makebeamertitle
-
-AddToPreamble
- % 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
-
Input theorems-refprefix.inc