#% 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 7
+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
TocDepth 2
DefaultStyle Standard
Provides hyperref 1
+Provides geometry 1
DefaultFont
Family Sans
ParSep 0.3
Align Left
LabelType Enumerate
+ RefPrefix enu
End
# Description style definition
Align Center
LabelType Static
LabelString "Part"
+ RefPrefix part
# standard font definition
Font
LabelFont
Color Latex
EndFont
+ TocLevel 0
End
# Section style definition
LabelType Counter
LabelCounter section
LabelString "Section \arabic{section}"
+ RefPrefix sec
OptionalArgs 1
Font
LabelType Counter
LabelCounter subsection
LabelString "Subsection \arabic{section}.\arabic{subsection}"
+ RefPrefix sub
OptionalArgs 1
# standard font definition
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
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
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
LabelSep xx
LatexName block
- LabelString "Block ( ERT[{title}] body ):"
-
+ LabelString "Block:"
+
ParSkip 0.5
TopSep 1
BottomSep 1
LabelSep xx
LatexName exampleblock
- LabelString "Block ( ERT[{title}] example text ):"
-
+ LabelString "Example Block:"
+
ParSkip 0.5
TopSep 1
BottomSep 1
LabelSep xx
LatexName alertblock
- LabelString "Block ( ERT[{title}] alert text ):"
-
+ LabelString "Alert Block:"
+
ParSkip 0.5
TopSep 1
BottomSep 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
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
Series Bold
Color Blue
EndFont
-
End
# define the environment lyxcode
Preamble
\newenvironment{lyxcode}
- {\begin{list}{}{
+ {\par\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
# Charstyles:
-InsetLayout CharStyle:Alert
+InsetLayout Flex:Alert
LyXType charstyle
LabelString Alert
- LatexType Command
+ LatexType command
LatexName alert
Font
Color red
End
-InsetLayout CharStyle:Structure
+InsetLayout Flex:Structure
LyXType charstyle
LabelString Structure
- LatexType Command
+ LatexType command
LatexName structure
Font
Color blue
End
-InsetLayout Custom:ArticleMode
+InsetLayout Flex:ArticleMode
LyXType custom
LatexName mode<article>
LatexType command
End
-InsetLayout Custom:PresentationMode
+InsetLayout Flex:PresentationMode
LyXType custom
LatexName mode<presentation>
LatexType command
NumberWithin none
Style plain
ListName "List of Tables"
- LaTeXBuiltin true
+ IsPredefined true
+ UsesFloatPkg false
+ ListCommand listoftables
End
NumberWithin none
Style plain
ListName "List of Figures"
- LaTeXBuiltin true
+ IsPredefined true
+ UsesFloatPkg false
+ ListCommand listoffigures
End
# 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