#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[beamer,pgf.sty,xcolor.sty]{presentation (beamer)}
+# \DeclareLaTeXClass[beamer,amssymb.sty,hyperref.sty,pgf.sty,xcolor.sty,xxcolor.sty]{presentation (beamer)}
# Author : Till Tantau <tantau@users.sourceforge.net>
# $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
# Includes
-Format 4
+Format 34
Input stdcounters.inc
-
-# local counters
-
-# Is this needed? Could probably go -- MV 16/05/2007
-Counter
- Name figure
- Name lyxframeend{}\section
-End
+Input stdinsets.inc
# General textclass parameters
SecNumDepth 2
TocDepth 2
DefaultStyle Standard
+Provides hyperref 1
+Provides geometry 1
DefaultFont
Family Sans
# Standard style definition
Style Standard
+ Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
# List section
# Itemize style definition
Style Itemize
+ Category List
Margin Static
LatexType Item_Environment
LatexName itemize
BottomSep 0.7
ParSep 0.3
Align Left
- AlignPossible Left
LabelType Itemize
LabelString "*"
End
# Enumerate style definition
Style Enumerate
+ Category List
Margin Static
LatexType Item_Environment
LatexName enumerate
BottomSep 0.7
ParSep 0.3
Align Left
- AlignPossible Left
LabelType Enumerate
+ RefPrefix enu
End
# Description style definition
Style Description
+ Category List
Margin First_Dynamic
LatexType Item_environment
LatexName description
OptionalArgs 2
NextNoIndent 1
LeftMargin MM
- LabelSep xxx
+ LabelSep xx
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Left
- AlignPossible Left
LabelType Manual
LabelString "MM"
# Sectioning section
# Part style definition
Style Part
+ Category Section
Margin Dynamic
LatexType Command
LatexName part
OptionalArgs 1
NeedProtect 1
NextNoIndent 1
- Labelsep xxx
+ Labelsep xx
ParSkip 0.4
TopSep 4
BottomSep 4
ParSep 0.8
Align Center
- Alignpossible Center
LabelType Static
- LabelString "Part "
+ LabelString "Part"
+ RefPrefix part
# standard font definition
Font
LabelFont
Color Latex
EndFont
+ TocLevel 0
End
# Section style definition
Style Section
+ Category Section
Margin First_Dynamic
LatexType Command
LatexName lyxframeend{}\section
NeedProtect 1
NextNoIndent 1
- LabelSep xxx
+ LabelSep xx
ParSkip 0.4
TopSep 2
BottomSep 0.25
ParSep 0.7
Align Left
- AlignPossible Left
LabelType Counter
LabelCounter section
LabelString "Section \arabic{section}"
+ RefPrefix sec
OptionalArgs 1
Font
# Section* style definition
Style Section*
CopyStyle Section
+ Category Unnumbered
Margin Static
LatexName lyxframeend{}\section*
LabelType No_Label
# Subsection style definition
Style Subsection
+ Category Section
Margin First_Dynamic
LatexType Command
LatexName lyxframeend{}\subsection
NeedProtect 1
NextNoIndent 1
- LabelSep xxx
+ LabelSep xx
ParSkip 0.4
TopSep 2
BottomSep 0.25
ParSep 0.5
Align Left
- AlignPossible Left
LabelType Counter
LabelCounter subsection
LabelString "Subsection \arabic{section}.\arabic{subsection}"
+ RefPrefix sub
OptionalArgs 1
# standard font definition
# Subsection* style definition
Style Subsection*
CopyStyle Subsection
+ Category Unnumbered
Margin Static
LatexName lyxframeend{}\subsection*
LabelType No_Label
# Frame control definition
Style BeginFrame
+ Category Frames
+ TocLevel 4
KeepEmpty 1
LatexType Command
LatexName lyxframeend{}\lyxframe
BottomSep 0.5
ParSep 0
Align Center
- AlignPossible Center
LabelType Static
LabelBottomSep 0
LeftMargin M
- LabelString "Frame "
+ LabelSep xx
+ LabelString "Frame"
Font
Series Bold
EndFont
Preamble
- \makeatletter
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
\def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
\frame<#1>[#2][#3]{\frametitle{#4}#5}}
- \makeatother
EndPreamble
End
Style BeginPlainFrame
+ Category Frames
+ TocLevel 4
KeepEmpty 1
LatexType Command
LatexName lyxframeend{}\lyxplainframe
BottomSep 0.5
ParSep 0
Align Center
- AlignPossible center
LabelType Static
LabelBottomSep 0
LeftMargin M
- LabelString "Frame (no head/foot/sidebars)__"
+ LabelSep xx
+ LabelString "Frame (no head/foot/sidebars)"
Font
Series Bold
EndFont
Preamble
- \makeatletter
\long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
\def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
\long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
\frame<#1>[plain]{\frametitle{#2}#3}}
- \makeatother
EndPreamble
End
Style AgainFrame
+ Category Frames
KeepEmpty 0
LatexType Command
LatexName lyxframeend{}\lyxagainframe
BottomSep 3
ParSep 0
Align Center
- AlignPossible Center
LabelType Static
LabelBottomSep 0
LeftMargin M
- LabelString "Again frame with label__"
+ LabelSep xx
+ LabelString "Again frame with label"
Font
Color latex
EndFont
Preamble
- \makeatletter
\long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
\def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
\def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
\long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
\againframe<#1>[#2]{#3}}
- \makeatother
EndPreamble
End
Style EndFrame
+ Category Frames
KeepEmpty 1
LatexType Command
LatexName lyxframeend
BottomSep 3
ParSep 0
Align Center
- AlignPossible Center
LabelType Static
LabelBottomSep 0
LeftMargin MMMMM
- LabelString "________________________________"
+ LabelString "________________________________"
LabelFont
Family typewriter
# Frame decoration section
Style FrameSubtitle
+ Category Frames
Margin Static
LatexType Command
LatexName framesubtitle
BottomSep 1
ParSep 1
Align Center
- AlignPossible Center
LabelType No_Label
OptionalArgs 1
Style Column
+ Category Columns
Margin Static
LatexType Command
LatexName column
Align Left
LabelType Static
LabelSep xx
- LabelString "start column (increase depth!), width:"
+ LabelString "Start column (increase depth!), width:"
OptionalArgs 1
- LeftMargin "start column (increase depth!), width:"
+ LeftMargin "Start column (increase depth!), width:xx"
# standard font definition
LabelFont
Style Columns
-
+ Category Columns
KeepEmpty 1
Margin Static
LatexType Environment
ParIndent MM
Align Left
LabelType Static
- LabelSep x
+ LabelSep xx
LatexName columns}%{
- LabelString "columns"
- LeftMargin "columnsx"
+ LabelString "Columns"
+ LeftMargin "Columnsxx"
ParSkip 0.5
TopSep 1
End
Style ColumnsCenterAligned
+ Category Columns
KeepEmpty 1
Margin Static
LatexType Environment
ParIndent MM
Align left
LabelType Static
- LabelSep x
+ LabelSep xx
LatexName centercolumns}%{
- LabelString "columns (center aligned)"
- LeftMargin "columns (center aligned) x"
+ LabelString "Columns (center aligned)"
+ LeftMargin "Columns (center aligned)xx"
ParSkip 0.5
TopSep 1
End
Style ColumnsTopAligned
+ Category Columns
KeepEmpty 1
Margin Static
LatexType Environment
ParIndent MM
Align left
LabelType Static
- LabelSep x
+ LabelSep xx
LatexName topcolumns}%{
- LabelString "columns (top aligned)"
- LeftMargin "columns (top aligned) x"
+ LabelString "Columns (top aligned)"
+ LeftMargin "Columns (top aligned)xx"
ParSkip 0.5
TopSep 1
# Frame progression section
Style Pause
+ Category Overlays
KeepEmpty 1
LatexType Command
LatexName pause
BottomSep 0.25
ParSep 0
Align Center
- AlignPossible Center
LabelType Static
LabelBottomSep 0
LeftMargin MMMMM
End
Style Overprint
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelSep xx
LatexName overprint
- LabelString "overprint"
+ LabelString "Overprint"
ParSkip 0.5
TopSep 1
End
Style OverlayArea
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelSep xx
LatexName overlayarea
- LabelString "overlayarea"
+ LabelString "Overlayarea"
ParSkip 0.5
TopSep 1
End
Style Uncover
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelType Static
LatexName uncoverenv}%{
- LabelString "uncovered on slides "
+ LabelSep xx
+ LabelString "Uncovered on slides"
ParSkip 0.5
TopSep 1
End
Style Only
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelType Static
LatexName onlyenv}%{
- LabelString "only on slides_"
+ LabelSep xx
+ LabelString "Only on slides"
ParSkip 0.5
TopSep 1
# Blocks section
Style Block
+ Category Blocks
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelSep xx
LatexName block
- LabelString "block ( ERT[{title}] body ): "
-
+ LabelString "Block:"
+
ParSkip 0.5
TopSep 1
BottomSep 1
End
Style ExampleBlock
+ Category Blocks
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelSep xx
LatexName exampleblock
- LabelString "block ( ERT[{title}] example text ): "
-
+ LabelString "Example Block:"
+
ParSkip 0.5
TopSep 1
BottomSep 1
End
Style AlertBlock
+ Category Blocks
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelSep xx
LatexName alertblock
- LabelString "block ( ERT[{title}] alert text ): "
-
+ LabelString "Alert Block:"
+
ParSkip 0.5
TopSep 1
BottomSep 1
# Title slide data section
# Title style definition
Style Title
+ Category Titling
Margin Static
LatexType Command
InTitle 1
BottomSep 1
ParSep 1
Align Center
- AlignPossible Center
LabelType No_Label
OptionalArgs 1
End
+Style Title_(Plain_Frame)
+ CopyStyle Title
+ Preamble
+ % plain title style, override default
+ \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
+ EndPreamble
+End
+
Style Subtitle
+ Category Titling
Margin Static
LatexType Command
InTitle 1
BottomSep 1
ParSep 1
Align Center
- AlignPossible Center
LabelType No_Label
OptionalArgs 1
# Author style definition
Style Author
+ Category Titling
Margin Static
LatexType Command
InTitle 1
LatexName author
- LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
- AlignPossible Center
LabelType No_Label
OptionalArgs 1
End
Style Institute
+ Category Titling
Margin Dynamic
LatexType Command
InTitle 1
LatexName institute
- LabelSep xxx
ParSkip 0.4
TopSep 0.9
BottomSep 0.5
ParSep 1
Align Center
- AlignPossible Center
LabelType No_Label
OptionalArgs 1
EndFont
End
+InsetLayout InstituteMark
+ LyxType custom
+ LatexType command
+ LatexName inst
+ LabelString "Institute mark"
+ Font
+ Color foreground
+ Size Small
+ Family Roman
+ Shape Up
+ Series Medium
+ Misc No_Emph
+ Misc No_Noun
+ Misc No_Bar
+ EndFont
+ LabelFont
+ Color blue
+ Size Small
+ EndFont
+End
+
# Date style definition
Style Date
+ Category Titling
Margin Dynamic
LatexType Command
InTitle 1
LatexName date
- LabelSep xxx
ParSkip 0.4
TopSep 0.9
BottomSep 0.5
ParSep 1
Align Center
- AlignPossible Center
LabelType No_Label
OptionalArgs 1
# Titles & bibliography section
# Bibliography style definition
Style Bibliography
+ Category BackMatter
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
BottomSep 0.7
ParSep 0.5
Align Left
- AlignPossible Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 0.7
EndFont
End
+Style Quotation
+ Category MainText
+ Margin Static
+ LatexType Environment
+ LatexName quotation}%{
+ NextNoIndent 1
+ LeftMargin MMM
+ RightMargin MMM
+ ParIndent MM
+ ParSkip 0
+ ItemSep 0
+ TopSep 0.5
+ BottomSep 0.5
+ ParSep 0
+ Align Block
+ AlignPossible Block, Left, Right, Center
+End
+
+
+Style Quote
+ Category MainText
+ Margin Static
+ LatexType Environment
+ LatexName quote}%{
+ NextNoIndent 1
+ LeftMargin MMM
+ RightMargin MMM
+ TopSep 0.5
+ ParSep 0.5
+ BottomSep 0.5
+ Align Block
+ AlignPossible Block, Left, Right, Center
+ LabelType No_Label
+End
+
+
+Style Verse
+ # LaTeX type is first dynamic because of LaTeX implementation.
+ # In LyX this does not make sense.
+ Category MainText
+ LatexType Environment
+ LatexName verse}%{
+ Margin First_Dynamic
+ NextNoIndent 1
+ LeftMargin MMMM
+ LabelIndent MMMM
+ ParSkip 0.4
+ TopSep 0.7
+ BottomSep 0.7
+ ParSep 0.5
+ Align Block
+ AlignPossible Block, Left
+ LabelType No_Label
+End
+
+
Style TitleGraphic
+ Category Titling
Margin Static
LatexType Command
InTitle 1
BottomSep 1
ParSep 1
Align Center
- AlignPossible Center
LabelType No_Label
# standard font definition
Series Bold
Color Blue
EndFont
-
End
# Theorems and such section
Style Corollary
+ Category Theorems
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
LabelSep xx
LatexName corollary}%{
- LabelString "Corollary_"
+ LabelString "Corollary."
ParSkip 0.5
TopSep 1
Style Definition
CopyStyle Corollary
LatexName definition}%{
- LabelString "Definition. "
+ LabelString "Definition."
End
Style Definitions
CopyStyle Corollary
LatexName definitions}%{
- LabelString "Definitions. "
+ LabelString "Definitions."
End
Style Example
CopyStyle Corollary
LatexName example}%{
- LabelString "Example. "
+ LabelString "Example."
LabelFont
Series Bold
Style Examples
CopyStyle Corollary
LatexName examples}%{
- LabelString "Examples. "
+ LabelString "Examples."
End
Style Fact
CopyStyle Corollary
LatexName fact}%{
- LabelString "Fact. "
+ LabelString "Fact."
End
Style Proof
CopyStyle Corollary
LatexName proof}%{
- LabelString "Proof. "
+ LabelString "Proof."
End
Style Theorem
CopyStyle Corollary
LatexName theorem}%{
- LabelString "Theorem. "
+ LabelString "Theorem."
End
# Misc. section
# Separator style definition
Style Separator
+ Category MainText
LatexType Paragraph
LatexName dummy
ParIndent MM
End
Style LyX-Code
+ Category MainText
Margin Static
LatexType Environment
LatexName lyxcode
# define the environment lyxcode
Preamble
\newenvironment{lyxcode}
- {\begin{list}{}{
+ {\par\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
End
Style NoteItem
+ Category MainText
Margin Static
LatexType Command
LatexName note[item]
Align Left
LabelType Static
LabelSep xx
- LabelString "note: "
+ LabelString "Note:"
OptionalArgs 1
- LeftMargin MMM
+ LeftMargin "Note:xx"
# standard font definition
LabelFont
# Charstyles:
-CharStyle Alert
- LatexType Command
+InsetLayout Flex:Alert
+ LyXType charstyle
+ LabelString Alert
+ LatexType command
LatexName alert
Font
Color red
End
-CharStyle Structure
- LatexType Command
+InsetLayout Flex:Structure
+ LyXType charstyle
+ LabelString Structure
+ LatexType command
LatexName structure
Font
Color blue
End
+InsetLayout Flex:ArticleMode
+ 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
+End
+
+
Float
Type table
GuiName Table
NumberWithin none
Style plain
ListName "List of Tables"
- LaTeXBuiltin true
+ IsPredefined true
+ UsesFloatPkg false
+ ListCommand listoftables
End
-
+
+
Float
Type figure
GuiName Figure
NumberWithin none
Style plain
ListName "List of Figures"
- LaTeXBuiltin true
+ IsPredefined true
+ UsesFloatPkg false
+ ListCommand listoffigures
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
+AddToPreamble
+ % this default might be overridden by plain title style
+ \newcommand\makebeamertitle{\frame{\maketitle}}%
\AtBeginDocument{
\let\origtableofcontents=\tableofcontents
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
}
EndPreamble
+Input theorems-refprefix.inc