#% 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 5
+Format 34
Input stdcounters.inc
Input stdinsets.inc
-# local counters
-
-# Is this needed? Could probably go -- MV 16/05/2007
-Counter
- Name figure
- Name lyxframeend{}\section
-End
-
# General textclass parameters
Columns 1
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
# Enumerate style definition
Style Enumerate
+ Category List
Margin Static
LatexType Item_Environment
LatexName enumerate
ParSep 0.3
Align Left
LabelType Enumerate
+ RefPrefix enu
End
# Description style definition
Style Description
+ Category List
Margin First_Dynamic
LatexType Item_environment
LatexName description
# Sectioning section
# Part style definition
Style Part
+ Category Section
Margin Dynamic
LatexType Command
LatexName part
Align Center
LabelType Static
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
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
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
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
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
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
# Frame decoration section
Style FrameSubtitle
+ Category Frames
Margin Static
LatexType Command
LatexName framesubtitle
Style Column
+ Category Columns
Margin Static
LatexType Command
LatexName column
Style Columns
+ Category Columns
KeepEmpty 1
Margin Static
LatexType Environment
End
Style ColumnsCenterAligned
+ Category Columns
KeepEmpty 1
Margin Static
LatexType Environment
End
Style ColumnsTopAligned
+ Category Columns
KeepEmpty 1
Margin Static
LatexType Environment
# Frame progression section
Style Pause
+ Category Overlays
KeepEmpty 1
LatexType Command
LatexName pause
End
Style Overprint
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
End
Style OverlayArea
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
End
Style Uncover
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
End
Style Only
+ Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
# 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
End
Style Subtitle
+ Category Titling
Margin Static
LatexType Command
InTitle 1
# Author style definition
Style Author
+ Category Titling
Margin Static
LatexType Command
InTitle 1
End
Style Institute
+ Category Titling
Margin Dynamic
LatexType Command
InTitle 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
# Titles & bibliography section
# Bibliography style definition
Style Bibliography
+ Category BackMatter
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
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
Series Bold
Color Blue
EndFont
-
End
# Theorems and such section
Style Corollary
+ Category Theorems
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
# 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]
# Charstyles:
-InsetLayout CharStyle:Alert
- LyXType charstyle
- LabelString Alert
- LatexType Command
+InsetLayout Flex:Alert
+ LyXType charstyle
+ LabelString Alert
+ LatexType command
LatexName alert
Font
Color red
End
-InsetLayout CharStyle:Structure
- LyXType charstyle
- LabelString 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
+
# 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{
}
EndPreamble
+Input theorems-refprefix.inc