lyx_mirror/lib/layouts/beamer.layout
2012-11-25 16:36:53 +01:00

1228 lines
27 KiB
Plaintext

#% 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}
# 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.
Format 41
#
# GLOBAL SETTINGS
#
# Includes
Input stdcounters.inc
Input stdinsets.inc
# General textclass parameters
Columns 1
Sides 1
SecNumDepth 2
TocDepth 2
DefaultStyle Standard
Provides hyperref 1
Provides geometry 1
Provides color 1
Provides xcolor 1
DefaultFont
Family Sans
Series Medium
Shape Up
Size Normal
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
#
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Left
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
#
# LISTS
#
Style Itemize
Category List
Margin Static
LatexType Item_Environment
LatexName itemize
Argument 1
LabelString "Overlay Specifications|S"
Tooltip "Overlay specifications for this list"
EndArgument
NextNoIndent 1
LeftMargin MMN
LabelSep xx
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Left
LabelType Itemize
End
Style Enumerate
Category List
Margin Static
LatexType Item_Environment
LatexName enumerate
Argument 1
LabelString "Overlay Specifications|S"
Tooltip "Overlay specifications for this list"
EndArgument
Argument 2
LabelString "Mini template"
Tooltip "Mini template for this List"
EndArgument
NextNoIndent 1
LeftMargin MMN
LabelSep xx
ParSkip 0.0
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Left
LabelType Enumerate
RefPrefix enu
End
Style Description
Category List
Margin First_Dynamic
LatexType Item_environment
LatexName description
Argument 1
LabelString "Overlay Specifications|S"
Tooltip "Overlay specifications for this list"
EndArgument
Argument 2
LabelString "Longest label|s"
Tooltip "The longest label in this list"
EndArgument
NextNoIndent 1
LeftMargin MM
LabelSep xx
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Left
LabelType Manual
LabelFont
Series Bold
EndFont
End
#
# 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"
EndArgument
NeedProtect 1
NextNoIndent 1
Labelsep xx
ParSkip 0.4
TopSep 4
BottomSep 4
ParSep 0.8
Align Center
LabelType Static
LabelString "Part"
RefPrefix part
Font
Family Roman
Series Bold
Size Huge
EndFont
LabelFont
Color Latex
EndFont
TocLevel 0
End
Style Section
Category Section
Margin First_Dynamic
LatexType Command
LatexName lyxframeend{}\section
NeedProtect 1
NextNoIndent 1
LabelSep xx
ParSkip 0.4
TopSep 2
BottomSep 0.25
ParSep 0.7
Align Left
LabelType Counter
LabelCounter section
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"
EndArgument
Font
Family Roman
Series Bold
Size huge
EndFont
LabelFont
Color latex
EndFont
LabelStringAppendix "\Alph{section}"
TocLevel 1
End
Style Section*
CopyStyle Section
Category Unnumbered
Margin Static
LatexName lyxframeend{}\section*
LabelType No_Label
ResetArgs 1
End
Style Subsection
Category Section
Margin First_Dynamic
LatexType Command
LatexName lyxframeend{}\subsection
NeedProtect 1
NextNoIndent 1
LabelSep xx
ParSkip 0.4
TopSep 2
BottomSep 0.25
ParSep 0.5
Align Left
LabelType Counter
LabelCounter subsection
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"
EndArgument
Font
Family Roman
Series Bold
Size larger
EndFont
LabelFont
Color latex
EndFont
LabelStringAppendix "\arabic{section}.\arabic{subsection}"
TocLevel 2
End
Style Subsection*
CopyStyle Subsection
Category Unnumbered
Margin Static
LatexName lyxframeend{}\subsection*
LabelType No_Label
ResetArgs 1
End
Style Subsubsection
Category Section
Margin First_Dynamic
LatexType Command
LatexName lyxframeend{}\subsubsection
NeedProtect 1
NextNoIndent 1
LabelSep xx
ParSkip 0.4
TopSep 2
BottomSep 0.25
ParSep 0.5
Align Left
LabelType Counter
LabelCounter subsubsection
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"
EndArgument
Font
Family Roman
Series Bold
Size large
EndFont
LabelFont
Color latex
EndFont
LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
TocLevel 2
End
Style Subsubsection*
CopyStyle Subsubsection
Category Unnumbered
Margin Static
LatexName lyxframeend{}\subsubsection*
LabelType No_Label
ResetArgs 1
End
#
# FRAMES
#
Style BeginFrame
Category Frames
TocLevel 4
KeepEmpty 1
LatexType Command
LatexName lyxframeend{}\lyxframe
Argument 1
LabelString "Frame Options"
Tooltip "Frame options (see beamer manual)"
EndArgument
Margin First_Dynamic
NextNoIndent 1
ParSkip 0
TopSep 2.5
BottomSep 0.5
ParSep 0
Align Center
LabelType Static
LabelBottomSep 0
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<*>}}%
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
\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}}
EndPreamble
End
Style BeginPlainFrame
Category Frames
TocLevel 4
KeepEmpty 1
LatexType Command
LatexName lyxframeend{}\lyxplainframe
Margin First_Dynamic
NextNoIndent 1
ParSkip 0
TopSep 2.5
BottomSep 0.5
ParSep 0
Align Center
LabelType Static
LabelBottomSep 0
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<*>}}%
\long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
\frame<#1>[plain]{\frametitle{#2}#3}}
EndPreamble
End
Style AgainFrame
Category Frames
KeepEmpty 0
LatexType Command
LatexName lyxframeend{}\lyxagainframe
Argument 1
LabelString "Overlay Specifications|S"
Tooltip "Overlay specifications for this list"
EndArgument
Argument 2
LabelString "Frame Options"
Tooltip "Frame options (see beamer manual)"
EndArgument
Margin First_Dynamic
NextNoIndent 1
ParSkip 0
TopSep 3
BottomSep 3
ParSep 0
Align Center
LabelType Static
LabelBottomSep 0
LeftMargin M
LabelSep xx
LabelString "Repeat 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<*>}}%
\def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
\long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
\againframe<#1>[#2]{#3}}
EndPreamble
End
Style EndFrame
Category Frames
KeepEmpty 1
LatexType Command
LatexName lyxframeend
Margin First_Dynamic
ParSkip 0
TopSep 0
BottomSep 3
ParSep 0
Align Center
LabelType Static
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
Style FrameSubtitle
Category Frames
Margin Static
LatexType Command
LatexName framesubtitle
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 1
ParSep 1
Align Center
LabelType No_Label
Font
Series Bold
Color Blue
EndFont
End
#
# COLUMS
#
Style Column
Category Columns
Margin Static
LatexType Command
LatexName column
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LabelString "Start column (increase depth!), width:"
Argument 1
LabelString "Column Options"
Tooltip "Column options (see beamer manual)"
EndArgument
LeftMargin "Start column (increase depth!), width:xx"
LabelFont
Family Roman
Color latex
EndFont
End
Style Columns
Category Columns
KeepEmpty 1
Margin Static
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LatexName columns
LabelString "Columns"
LeftMargin "Columnsxx"
Argument 1
LabelString "Column Placement Options"
Tooltip "Column placement options (t, T, c, b)"
EndArgument
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
LabelFont
Family Roman
Color latex
EndFont
End
Style ColumnsCenterAligned
CopyStyle Columns
LatexParam [c]
LabelString "Columns (center aligned)"
LeftMargin "Columns (center aligned)xx"
ResetArgs 1
End
Style ColumnsTopAligned
CopyStyle Columns
LatexParam [t]
LabelString "Columns (top aligned)"
LeftMargin "Columns (top aligned)xx"
ResetArgs 1
End
#
# OVERLAYS
#
Style Pause
Category Overlays
KeepEmpty 1
LatexType Command
LatexName pause
Margin First_Dynamic
Argument 1
LabelString "Pause number"
Tooltip "Number of slide where the context below the pause gets visible"
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
EndFont
End
Style Overprint
Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LatexName overprint
LabelString "Overprint"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
KeepEmpty 1
LabelFont
Family Roman
Color latex
EndFont
End
Style OverlayArea
Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LatexName overlayarea
LabelString "Overlayarea"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
LabelFont
Family Roman
Color latex
EndFont
End
Style Uncover
Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LatexName uncoverenv}%{
LabelSep xx
LabelString "Uncovered on slides"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
LabelFont
Family Roman
Color Latex
EndFont
End
Style Only
Category Overlays
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LatexName onlyenv}%{
LabelSep xx
LabelString "Only on slides"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
LabelFont
Family Roman
Color Latex
EndFont
End
#
# BLOCKS
#
Style Block
Category Blocks
Margin Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LatexName block
LabelString "Block:"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
LabelFont
Family Roman
Color latex
EndFont
End
Style ExampleBlock
Category Blocks
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LatexName exampleblock
LabelString "Example Block:"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
Font
Color green
EndFont
LabelFont
Family Roman
Color latex
EndFont
End
Style AlertBlock
Category Blocks
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LatexName alertblock
LabelString "Alert Block:"
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
Font
Color red
EndFont
LabelFont
Family Roman
Color latex
EndFont
End
#
# TITLING
#
Style Title
Category Titling
Margin Static
LatexType Command
InTitle 1
LatexName title
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 1
ParSep 1
Align Center
LabelType No_Label
Argument 1
LabelString "Short Title|S"
Tooltip "Short title which appears in the sidebar/header"
EndArgument
Font
Size Huge
Series Bold
Color Blue
EndFont
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
LatexName subtitle
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 1
ParSep 1
Align Center
LabelType No_Label
Argument 1
LabelString "Short Subtitle|S"
Tooltip "Short subtitle which appears in the sidebar/header"
EndArgument
Font
Size Large
Series Bold
Color Blue
EndFont
End
Style Author
Category Titling
Margin Static
LatexType Command
InTitle 1
LatexName author
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
LabelType No_Label
Argument 1
LabelString "Short Author|S"
Tooltip "Short author which appears in the sidebar/header"
EndArgument
Font
Size Largest
Color Blue
EndFont
End
Style Institute
Category Titling
Margin Dynamic
LatexType Command
InTitle 1
LatexName institute
ParSkip 0.4
TopSep 0.9
BottomSep 0.5
ParSep 1
Align Center
LabelType No_Label
Argument 1
LabelString "Short Institute|S"
Tooltip "Short institute which appears in the sidebar/header"
EndArgument
Font
Size Large
Color Blue
EndFont
End
InsetLayout "Flex: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
Style Date
Category Titling
Margin Dynamic
LatexType Command
InTitle 1
LatexName date
ParSkip 0.4
TopSep 0.9
BottomSep 0.5
ParSep 1
Align Center
LabelType No_Label
Argument 1
LabelString "Short Date|S"
Tooltip "Short date which appears in the sidebar/header"
EndArgument
Font
Size Largest
Color Blue
EndFont
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
Font
Size Huge
Series Bold
Color Blue
EndFont
End
#
# BACK MATTER
#
Style Bibliography
Category BackMatter
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 0.7
LabelFont
Series Bold
Size Larger
EndFont
End
#
# QUOTATION
#
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
#
# THEOREMS AND SUCH
#
Style Corollary
Category Theorems
Margin First_Dynamic
LatexType Environment
NextNoIndent 0
ParIndent MM
Align Left
LabelType Static
LabelSep xx
LatexName corollary}%{
LabelString "Corollary."
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
KeepEmpty 1
LabelFont
Series Bold
Color Blue
Size Large
EndFont
End
Style Definition
CopyStyle Corollary
LatexName definition}%{
LabelString "Definition."
End
Style Definitions
CopyStyle Corollary
LatexName definitions}%{
LabelString "Definitions."
End
Style Example
CopyStyle Corollary
LatexName example}%{
LabelString "Example."
LabelFont
Series Bold
Color Green
EndFont
End
Style Examples
CopyStyle Corollary
LatexName examples}%{
LabelString "Examples."
End
Style Fact
CopyStyle Corollary
LatexName fact}%{
LabelString "Fact."
End
Style Proof
CopyStyle Corollary
LatexName proof}%{
LabelString "Proof."
End
Style Theorem
CopyStyle Corollary
LatexName theorem}%{
LabelString "Theorem."
End
#
# MISC.
#
Style Separator
Category MainText
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Left
AlignPossible Block, Left, Right, Center
Margin First_Dynamic
TopSep 0
BottomSep 0
ParSep 0
LabelType Static
LabelBottomSep 0
LabelString "___"
KeepEmpty 1
LabelFont
Series Medium
Size Normal
Color latex
EndFont
End
Style LyX-Code
Category MainText
Margin Static
LatexType Environment
LatexName lyxcode
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
TopSep 0.5
BottomSep 0.5
Align Left
AlignPossible Block, Left, Right, Center
LabelType No_Label
FreeSpacing 1
Preamble
\newenvironment{lyxcode}
{\par\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
\def\{{\char`\{}
\def\}{\char`\}}
\def\textasciitilde{\char`\~}
\item[]}
{\end{list}}
EndPreamble
Font
Family Typewriter
EndFont
End
Style NoteItem
Category MainText
Margin Static
LatexType Command
LatexName note[item]
ParSkip 0.5
TopSep 1
BottomSep 1
ParSep 0
Align Left
LabelType Static
LabelSep xx
LabelString "Note:"
LeftMargin "Note:xx"
LabelFont
Family Roman
Color latex
EndFont
End
#
# CHARSTYLES
#
InsetLayout Flex:Alert
LyXType charstyle
LabelString Alert
LatexType command
LatexName alert
Font
Color red
EndFont
End
InsetLayout Flex:Structure
LyXType charstyle
LabelString Structure
LatexType command
LatexName structure
Font
Color blue
EndFont
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
#
# FLOATS
#
Float
Type table
GuiName Table
Placement tbp
Extension lot
NumberWithin none
Style plain
ListName "List of Tables"
IsPredefined true
UsesFloatPkg false
ListCommand listoftables
End
Float
Type figure
GuiName Figure
Placement tbp
Extension lof
NumberWithin none
Style plain
ListName "List of Figures"
IsPredefined true
UsesFloatPkg false
ListCommand listoffigures
End
Input theorems-refprefix.inc