diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index bf355d0470..fb6622fb4d 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -8,121 +8,243 @@ Format 4 Input stdcounters.inc -# General textclass parameters -Columns 1 -Sides 1 -SecNumDepth 2 -TocDepth 2 -DefaultStyle Standard +# local counters + +Counter + Name figure + Name lyxframeend{}\section +End + + +# General textclass parameters +Columns 1 +Sides 1 +SecNumDepth 2 +TocDepth 2 +DefaultStyle Standard -# This is just to show how to declare the default font. -# The defaults are exactly those shown here. DefaultFont - Family Sans - Series Medium - Shape Up - Size Normal - Color None + Family Sans + Series Medium + Shape Up + Size Normal + Color None EndFont + # Standard style definition Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent MM - ParSkip 0.4 - Align Left - AlignPossible Block, Left, Right, Center - LabelType No_Label + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Left + AlignPossible Block, Left, Right, Center + LabelType No_Label End +# List section # Itemize style definition Style Itemize - Margin Static - LatexType Item_Environment - LatexName itemize - NextNoIndent 1 - LeftMargin MMN - LabelSep xx - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Left - AlignPossible Left - LabelType Itemize - LabelString "*" + Margin Static + LatexType Item_Environment + LatexName itemize + NextNoIndent 1 + LeftMargin MMN + LabelSep xx + ItemSep 0.2 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.3 + Align Left + AlignPossible Left + LabelType Itemize + LabelString "*" End # Enumerate style definition Style Enumerate - Margin Static - LatexType Item_Environment - LatexName enumerate - NextNoIndent 1 - LeftMargin MMN - LabelSep xx - ParSkip 0.0 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Left - AlignPossible Left - LabelType Enumerate + Margin Static + LatexType Item_Environment + LatexName enumerate + NextNoIndent 1 + LeftMargin MMN + LabelSep xx + ParSkip 0.0 + ItemSep 0.2 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.3 + Align Left + AlignPossible Left + LabelType Enumerate End # Description style definition Style Description - Margin First_Dynamic - LatexType Item_environment - LatexName description - NextNoIndent 1 - LeftMargin MM - LabelSep xxx - ParSkip 0.4 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Left - AlignPossible Left - LabelType Manual - LabelString "MM" + Margin First_Dynamic + LatexType Item_environment + LatexName description + NextNoIndent 1 + LeftMargin MM + LabelSep xxx + ParSkip 0.4 + ItemSep 0.2 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.3 + Align Left + AlignPossible Left + LabelType Manual + LabelString "MM" # label font definition LabelFont - Series Bold + Series Bold EndFont End -Style BeginFrame - KeepEmpty 1 - LatexType Command - LatexName lyxframeend{}\lyxframe - Margin First_Dynamic - NextNoIndent 1 - ParSkip 0 - TopSep 2.5 - BottomSep 0.5 - ParSep 0 - Align Center - AlignPossible Center - LabelType Static - LabelBottomSep 0 - LeftMargin M - LabelString "Frame " +# Sectioning section +# Part style definition +Style Part + Margin Dynamic + LatexType Command + LatexName part + NeedProtect 1 + NextNoIndent 1 + Labelsep xxx + ParSkip 0.4 + TopSep 4 + BottomSep 4 + ParSep 0.8 + Align Center + Alignpossible Center + LabelType Static + LabelString "Part " - Font - Series Bold - Size Largest - Color Blue + # standard font definition + Font + Family Roman + Series Bold + Size Huge + EndFont + + LabelFont + Color Latex + EndFont +End + +# Section style definition +Style Section + Margin First_Dynamic + LatexType Command + LatexName lyxframeend{}\section + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 2 + BottomSep 0.25 + ParSep 0.7 + Align Left + AlignPossible Left + LabelType Counter + LabelCounter section + LabelString "Section \arabic{section}" + OptionalArgs 1 + + Font + Family Roman + Series Bold + Size huge EndFont LabelFont - Family Roman - Color latex + Color latex + EndFont + LabelStringAppendix "\Alph{section}" + TocLevel 1 +End + +# Section* style definition +Style Section* + CopyStyle Section + Margin Static + LatexName lyxframeend{}\section* + LabelType No_Label + OptionalArgs 0 +End + +# Subsection style definition +Style Subsection + Margin First_Dynamic + LatexType Command + LatexName lyxframeend{}\subsection + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + 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}" + OptionalArgs 1 + + # standard font definition + Font + Family Roman + Series Bold + Size larger + EndFont + + LabelFont + Color latex + EndFont + LabelStringAppendix "\arabic{section}.\arabic{subsection}" + TocLevel 2 +End + +# Subsection* style definition +Style Subsection* + CopyStyle Subsection + Margin Static + LatexName lyxframeend{}\subsection* + LabelType No_Label + OptionalArgs 0 +End + +# Frame control definition +Style BeginFrame + KeepEmpty 1 + LatexType Command + LatexName lyxframeend{}\lyxframe + Margin First_Dynamic + NextNoIndent 1 + ParSkip 0 + TopSep 2.5 + BottomSep 0.5 + ParSep 0 + Align Center + AlignPossible Center + LabelType Static + LabelBottomSep 0 + LeftMargin M + LabelString "Frame " + + Font + Series Bold + Size Largest + Color Blue + EndFont + + LabelFont + Family Roman + Color latex EndFont Preamble @@ -139,9 +261,9 @@ Style BeginFrame End Style BeginPlainFrame - KeepEmpty 1 - LatexType Command - LatexName lyxframeend{}\lyxplainframe + KeepEmpty 1 + LatexType Command + LatexName lyxframeend{}\lyxplainframe Margin First_Dynamic NextNoIndent 1 ParSkip 0 @@ -153,7 +275,7 @@ Style BeginPlainFrame LabelType Static LabelBottomSep 0 LeftMargin M - LabelString "Frame (no head/foot/sidebars) " + LabelString "Frame (no head/foot/sidebars)__" Font Series Bold @@ -176,10 +298,49 @@ Style BeginPlainFrame EndPreamble End +Style AgainFrame + KeepEmpty 0 + LatexType Command + LatexName lyxframeend{}\lyxagainframe + Margin First_Dynamic + NextNoIndent 1 + ParSkip 0 + TopSep 3 + BottomSep 3 + ParSep 0 + Align Center + AlignPossible Center + LabelType Static + LabelBottomSep 0 + LeftMargin M + LabelString "Again frame with label__" + + Font + Color latex + EndFont + + LabelFont + Family Roman + Color latex + Series Bold + Size Largest + 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 - KeepEmpty 1 - LatexType Command - LatexName lyxframeend + KeepEmpty 1 + LatexType Command + LatexName lyxframeend Margin First_Dynamic ParSkip 0 TopSep 0 @@ -204,10 +365,148 @@ Style EndFrame EndPreamble End +# Frame decoration section +Style FrameSubtitle + Margin Static + LatexType Command + LatexName framesubtitle + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + AlignPossible Center + LabelType No_Label + OptionalArgs 1 + + # standard font definition + Font + Series Bold + Color Blue + EndFont + +End + + +Style Column + 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 of width:" + OptionalArgs 1 + LeftMargin "start column of width:" + + # standard font definition + LabelFont + Family Roman + Color latex + EndFont +End + + +Style Columns + + KeepEmpty 1 + Margin Static + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static + LabelSep x + + LatexName columns}%{ + LabelString "columns" + LeftMargin "columnsx" + + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 + + + # font & label font definition + + LabelFont + Family Roman + Color latex + EndFont +End + +Style ColumnsCenterAligned + KeepEmpty 1 + Margin Static + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align left + LabelType Static + LabelSep x + + LatexName centercolumns}%{ + LabelString "columns (center aligned)" + LeftMargin "columns (center aligned) x" + + 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 + EndFont +End + +Style ColumnsTopAligned + KeepEmpty 1 + Margin Static + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align left + LabelType Static + LabelSep x + + LatexName topcolumns}%{ + LabelString "columns (top aligned)" + LeftMargin "columns (top aligned) x" + + 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 Style Pause - KeepEmpty 1 - LatexType Command - LatexName pause + KeepEmpty 1 + LatexType Command + LatexName pause Margin First_Dynamic NextNoIndent 1 ParSkip 0 @@ -229,548 +528,472 @@ Style Pause EndFont End -Counter - Name section -End +Style Overprint + Margin First_Dynamic + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static + LabelSep xx -Counter - Name subsection - Within section -End + LatexName overprint + LabelString "overprint" -Counter - Name bibitem -End + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 + KeepEmpty 1 -Counter - Name figure - Name lyxframeend{}\section -End - -Counter - Name table -End - -Counter - Name enumi -End - -Counter - Name enumii - Within enumi -End - - -# Section style definition -Style Section - Margin First_Dynamic - LatexType Command - LatexName lyxframeend{}\section - NeedProtect 1 - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 2 - BottomSep 0.25 - ParSep 0.7 - Align Left - AlignPossible Left - LabelType Counter - LabelCounter section - LabelString "Section \arabic{section}" - OptionalArgs 1 - - Font - Family Roman - Series Bold - Size huge - EndFont + # font & label font definition LabelFont - Color latex + Family Roman + Color latex EndFont - LabelStringAppendix "\Alph{section}" - TocLevel 1 End -# Section* style definition -Style Section* - CopyStyle Section - Margin Static - LatexName lyxframeend{}\section* - LabelType No_Label - OptionalArgs 0 -End +Style OverlayArea + Margin First_Dynamic + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static + LabelSep xx -# Subsection style definition -Style Subsection - Margin First_Dynamic - LatexType Command - LatexName lyxframeend{}\subsection - NeedProtect 1 - NextNoIndent 1 - LabelSep xxx - 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}" - OptionalArgs 1 + LatexName overlayarea + LabelString "overlayarea" - # standard font definition - Font - Family Roman - Series Bold - Size larger - EndFont + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 + + # font & label font definition LabelFont - Color latex + Family Roman + Color latex EndFont - LabelStringAppendix "\arabic{section}.\arabic{subsection}" - TocLevel 2 End -# Subsection* style definition -Style Subsection* - CopyStyle Subsection - Margin Static - LatexName lyxframeend{}\subsection* - LabelType No_Label - OptionalArgs 0 -End +Style Uncover + Margin First_Dynamic + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static -Style AgainFrame - KeepEmpty 0 - LatexType Command - LatexName lyxframeend{}\lyxagainframe - Margin First_Dynamic - NextNoIndent 1 - ParSkip 0 - TopSep 3 - BottomSep 3 - ParSep 0 - Align Center - AlignPossible Center - LabelType Static - LabelBottomSep 0 - LeftMargin M - LabelString "Again frame with label " + LatexName uncoverenv}%{ + LabelString "uncovered on slides " - Font - Color latex - EndFont + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 + + # font & label font definition LabelFont - Family Roman - Color latex - Series Bold - Size Largest + Family Roman + 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 AlertBlock - Margin First_Dynamic - LatexType Environment - NextNoIndent 0 - ParIndent MM - Align Left - LabelType Static - LabelSep xx +Style Only + Margin First_Dynamic + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static - LatexName alertblock - LabelString "block with alerted text" + LatexName onlyenv}%{ + LabelString "only on slides_" - ParSkip 0.5 - TopSep 1 - BottomSep 1 - ParSep 0 + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 + + # font & label font definition + + LabelFont + Family Roman + Color Latex + EndFont +End + +# Blocks section +Style Block + Margin First_Dynamic + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static + LabelSep xx + + LatexName block + LabelString "block ( ERT[{title}] body ): " + + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 + + # font & label font definition + + LabelFont + Family Roman + Color latex + EndFont +End + +Style ExampleBlock + Margin First_Dynamic + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static + LabelSep xx + + LatexName exampleblock + LabelString "block ( ERT[{title}] example text ): " + + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 # font & label font definition Font - Color red + Color green EndFont LabelFont - Family Roman - Color latex + Family Roman + Color latex EndFont End +Style AlertBlock + Margin First_Dynamic + LatexType Environment + NextNoIndent 0 + ParIndent MM + Align Left + LabelType Static + LabelSep xx + + LatexName alertblock + LabelString "block ( ERT[{title}] alert text ): " + + 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 +Style Title + Margin Static + LatexType Command + InTitle 1 + LatexName title + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + AlignPossible Center + LabelType No_Label + OptionalArgs 1 + + # standard font definition + Font + Size Huge + Series Bold + Color Blue + EndFont + +End + +Style Subtitle + Margin Static + LatexType Command + InTitle 1 + LatexName subtitle + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + AlignPossible Center + LabelType No_Label + OptionalArgs 1 + + # standard font definition + Font + Size Large + Series Bold + Color Blue + EndFont + +End + # Author style definition Style Author - 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 + 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 # standard font definition Font - Size Largest - Color Blue + Size Largest + Color Blue EndFont End -# Bibliography style definition -Style Bibliography - 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 - AlignPossible Left - LabelType Bibliography - LabelString "References" - LabelBottomSep 0.7 - - # label font definition - LabelFont - Series Bold - Size Larger - EndFont -End - -Style Block - Margin First_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 - - # font & label font definition - - LabelFont - Family Roman - Color latex - EndFont -End - -Style Corollary - 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 - - # font & label font definition - - LabelFont - Series Bold - Color Blue - Size Large - EndFont -End - -Style Column - Margin Static - LatexType Command - LatexName column - ParSkip 0.5 - TopSep 1 - BottomSep 1 - ParSep 0 - Align Left - LabelType Static - LabelSep xx - LabelString "start column of width: " - OptionalArgs 1 - LeftMargin MMMMMMMMM +Style Institute + 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 # standard font definition - LabelFont - Family Roman - Color latex + Font + Size Large + Color Blue EndFont End - -Style Columns - - KeepEmpty 1 - Margin Static - LatexType Environment - NextNoIndent 0 - ParIndent MM - Align Left - LabelType Static - LabelSep xx - - LatexName columns}%{ - LabelString "columns" - LeftMargin columns - - ParSkip 0.5 - TopSep 1 - BottomSep 1 - ParSep 0 - - - # font & label font definition - - LabelFont - Family Roman - Color latex - EndFont -End - -Style ColumnsCenterAligned - KeepEmpty 1 - Margin Static - LatexType Environment - NextNoIndent 0 - ParIndent MM - Align left - LabelType Static - LabelSep xx - - LatexName centercolumns}%{ - LabelString "columns (center aligned)" - LeftMargin "columns (center aligned)" - - 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 - EndFont -End - -Style ColumnsTopAligned - KeepEmpty 1 - Margin Static - LatexType Environment - NextNoIndent 0 - ParIndent MM - Align left - LabelType Static - LabelSep xx - - LatexName topcolumns}%{ - LabelString "columns (top aligned)" - LeftMargin "columns (top aligned)" - - 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 - - # Date style definition Style Date - 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 + 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 # standard font definition Font - Size Largest - Color Blue + Size Largest + Color Blue EndFont End +# Titles & bibliography section +# Bibliography style definition +Style Bibliography + 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 + AlignPossible Left + LabelType Bibliography + LabelString "References" + LabelBottomSep 0.7 + + # label font definition + LabelFont + Series Bold + Size Larger + EndFont +End + +Style TitleGraphic + Margin Static + LatexType Command + InTitle 1 + LatexName titlegraphic + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + AlignPossible Center + LabelType No_Label + + # standard font definition + Font + Size Huge + Series Bold + Color Blue + EndFont + +End + + +# Theorems and such section +Style Corollary + 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 + + # font & label font definition + + LabelFont + Series Bold + Color Blue + Size Large + EndFont +End + Style Definition - CopyStyle Corollary - LatexName definition}%{ - LabelString "Definition. " + CopyStyle Corollary + LatexName definition}%{ + LabelString "Definition. " End Style Definitions - CopyStyle Corollary - LatexName definitions}%{ - LabelString "Definitions. " + CopyStyle Corollary + LatexName definitions}%{ + LabelString "Definitions. " End Style Example - CopyStyle Corollary - LatexName example}%{ - LabelString "Example. " + CopyStyle Corollary + LatexName example}%{ + LabelString "Example. " - LabelFont - Series Bold - Color Green + LabelFont + Series Bold + Color Green EndFont End Style Examples - CopyStyle Corollary - LatexName examples}%{ - LabelString "Examples. " + CopyStyle Corollary + LatexName examples}%{ + LabelString "Examples. " End -Style ExampleBlock - Margin First_Dynamic - LatexType Environment - NextNoIndent 0 - ParIndent MM - Align Left - LabelType Static - LabelSep xx - - LatexName exampleblock - LabelString "block showing an example" - - ParSkip 0.5 - TopSep 1 - BottomSep 1 - ParSep 0 - - # font & label font definition - - Font - Color green - EndFont - - LabelFont - Family Roman - Color latex - EndFont -End Style Fact - CopyStyle Corollary - LatexName fact}%{ - LabelString "Fact. " + CopyStyle Corollary + LatexName fact}%{ + LabelString "Fact. " End -Style FrameSubtitle - Margin Static - LatexType Command - LatexName framesubtitle - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - AlignPossible Center - LabelType No_Label - OptionalArgs 1 - - # standard font definition - Font - Series Bold - Color Blue - EndFont - +Style Proof + CopyStyle Corollary + LatexName proof}%{ + LabelString "Proof. " End -# Date style definition -Style Institute - 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 +Style Theorem + CopyStyle Corollary + LatexName theorem}%{ + LabelString "Theorem. " +End - # standard font definition - Font - Size Large - Color Blue +# Misc. section +# Separator style definition +Style Separator + 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 - 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 + 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 # define the environment lyxcode Preamble @@ -791,319 +1014,79 @@ Style LyX-Code # standard font definition Font - Family Typewriter + Family Typewriter EndFont End - + Style NoteItem - Margin Static - LatexType Command - LatexName note[item] - ParSkip 0.5 - TopSep 1 - BottomSep 1 - ParSep 0 - Align Left - LabelType Static - LabelSep xx - LabelString "note: " - OptionalArgs 1 - LeftMargin MMM - + Margin Static + LatexType Command + LatexName note[item] + ParSkip 0.5 + TopSep 1 + BottomSep 1 + ParSep 0 + Align Left + LabelType Static + LabelSep xx + LabelString "note: " + OptionalArgs 1 + LeftMargin MMM + # standard font definition LabelFont - Family Roman - Color latex - EndFont -End - - -Style Only - Margin First_Dynamic - LatexType Environment - NextNoIndent 0 - ParIndent MM - Align Left - LabelType Static - - LatexName onlyenv}%{ - LabelString "only on slides " - - ParSkip 0.5 - TopSep 1 - BottomSep 1 - ParSep 0 - - # font & label font definition - - LabelFont - Family Roman - Color Latex - EndFont -End - -Style Overprint - 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 - - # font & label font definition - - LabelFont - Family Roman - Color latex - EndFont -End - -Style OverlayArea - 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 - - # font & label font definition - - LabelFont - Family Roman - Color latex - EndFont -End - -# Part style definition -Style Part - Margin Dynamic - LatexType Command - LatexName part - NeedProtect 1 - NextNoIndent 1 - Labelsep xxx - ParSkip 0.4 - TopSep 4 - BottomSep 4 - ParSep 0.8 - Align Center - Alignpossible Center - LabelType Static - LabelString "Part " - - # standard font definition - Font - Family Roman - Series Bold - Size Huge - EndFont - - LabelFont - Color Latex - EndFont -End - -Style Proof - CopyStyle Corollary - LatexName proof}%{ - LabelString "Proof. " -End - -# Separator style definition -Style Separator - 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 - -# Title style definition -Style Title - Margin Static - LatexType Command - InTitle 1 - LatexName title - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - AlignPossible Center - LabelType No_Label - OptionalArgs 1 - - # standard font definition - Font - Size Huge - Series Bold - Color Blue - EndFont - -End - -Style TitleGraphic - Margin Static - LatexType Command - InTitle 1 - LatexName titlegraphic - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - AlignPossible Center - LabelType No_Label - - # standard font definition - Font - Size Huge - Series Bold - Color Blue - EndFont - -End - -Style Theorem - CopyStyle Corollary - LatexName theorem}%{ - LabelString "Theorem. " -End - -Style Subtitle - Margin Static - LatexType Command - InTitle 1 - LatexName subtitle - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - AlignPossible Center - LabelType No_Label - OptionalArgs 1 - - # standard font definition - Font - Size Large - Series Bold - Color Blue - EndFont - -End - - -Style Uncover - Margin First_Dynamic - LatexType Environment - NextNoIndent 0 - ParIndent MM - Align Left - LabelType Static - - LatexName uncoverenv}%{ - LabelString "uncovered on slides " - - ParSkip 0.5 - TopSep 1 - BottomSep 1 - ParSep 0 - - # font & label font definition - - LabelFont - Family Roman - Color Latex + Family Roman + Color latex EndFont End + # Input lyxmacros.inc # Charstyles: CharStyle Alert - LatexType Command - LatexName alert - Font - Color red - EndFont + LatexType Command + LatexName alert + Font + Color red + EndFont End CharStyle Structure - LatexType Command - LatexName structure - Font - Color blue - EndFont + LatexType Command + LatexName structure + Font + Color blue + EndFont End Float - Type table - GuiName Table - Placement tbp - Extension lot - NumberWithin none - Style plain - ListName "List of Tables" - LaTeXBuiltin true + Type table + GuiName Table + Placement tbp + Extension lot + NumberWithin none + Style plain + ListName "List of Tables" + LaTeXBuiltin true End Float - Type figure - GuiName Figure - Placement tbp - Extension lof - NumberWithin none - Style plain - ListName "List of Figures" - LaTeXBuiltin true + Type figure + GuiName Figure + Placement tbp + Extension lof + NumberWithin none + Style plain + ListName "List of Figures" + LaTeXBuiltin true End TitleLaTeXName frame{\maketitle} -SecNumDepth 2 -TocDepth 2 - Preamble \AtBeginDocument{