X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbeamer.layout;h=b6ce6c7910e7b728d5f9903cf404eeeab91eb462;hb=229052b29a5116e263fbc380cc4fa0f34c837e75;hp=b96f91c477ddca93e0389021333ec46ffaa8c3e3;hpb=460b44b8f5e94d2e48302ea8cdeae475295f624b;p=lyx.git diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index b96f91c477..b6ce6c7910 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -1,12 +1,12 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[beamer,amssymb.sty,hyperref.sty,pgf.sty,xcolor.sty,xxcolor.sty]{Beamer} +# \DeclareLaTeXClass[beamer]{Beamer} # \DeclareCategory{Presentations} # Original Author: Till Tantau # Revised and extended by Jürgen Spitzmüller , Uwe Stöhr , # Richard Heck , Martin Vermeer and probably others. -Format 44 +Format 79 # # GLOBAL SETTINGS @@ -83,10 +83,11 @@ Style Itemize LatexType Item_Environment LatexName itemize Argument 1 - LabelString "Overlay Specifications|S" + LabelString "Overlay Specifications|v" Tooltip "Overlay specifications for this list" LeftDelim [< RightDelim >] + PassThru 1 EndArgument Argument item:1 LabelString "Custom Item|s" @@ -98,8 +99,20 @@ Style Itemize Tooltip "Overlay specifications for this item" LeftDelim < RightDelim > + PassThru 1 + EndArgument + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont EndArgument NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ItemSep 0.2 @@ -116,10 +129,11 @@ Style Enumerate LatexType Item_Environment LatexName enumerate Argument 1 - LabelString "Overlay Specifications|S" + LabelString "Overlay Specifications|v" Tooltip "Overlay specifications for this list" LeftDelim [< RightDelim >] + PassThru 1 EndArgument Argument 2 LabelString "Mini Template" @@ -135,8 +149,20 @@ Style Enumerate Tooltip "Overlay specifications for this item" LeftDelim < RightDelim > + PassThru 1 + EndArgument + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont EndArgument NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ParSkip 0.0 @@ -155,21 +181,33 @@ Style Description LatexType Item_environment LatexName description Argument 1 - LabelString "Overlay Specifications|S" + LabelString "Overlay Specifications|v" Tooltip "Overlay specifications for this list" LeftDelim [< RightDelim >] + PassThru 1 EndArgument Argument 2 LabelString "Longest label|s" Tooltip "The longest label in this list (to determine the indendation width)" EndArgument + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument Argument item:1 MenuString "Item Overlay Specifications" LabelString "On Slide" Tooltip "Overlay specifications for this item" LeftDelim < RightDelim > + PassThru 1 EndArgument NextNoIndent 1 LeftMargin MM @@ -181,7 +219,7 @@ Style Description ParSep 0.3 Align Left LabelType Manual - LabelFont + LabelFont Series Bold EndFont End @@ -202,13 +240,17 @@ Style Part Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Short Title|S" Tooltip "The part as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 EndArgument NeedProtect 1 NextNoIndent 1 + ToggleIndent Never Labelsep xx ParSkip 0.4 TopSep 4 @@ -218,7 +260,7 @@ Style Part LabelType Static LabelString "Part" RefPrefix part - Font + Font Family Roman Series Bold Size Huge @@ -226,7 +268,7 @@ Style Part LabelFont Color Latex EndFont - TocLevel 0 + TocLevel -1 End Style Section @@ -236,6 +278,7 @@ Style Section LatexName section NeedProtect 1 NextNoIndent 1 + ToggleIndent Never LabelSep xx ParSkip 0.4 TopSep 2 @@ -252,17 +295,20 @@ Style Section Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Short Title|S" Tooltip "The section as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 EndArgument - Font + Font Family Roman Series Bold Size huge EndFont - LabelFont + LabelFont Color latex EndFont LabelStringAppendix "\Alph{section}" @@ -282,6 +328,7 @@ Style Section* Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument LaTeXParam * End @@ -293,6 +340,7 @@ Style Subsection LatexName subsection NeedProtect 1 NextNoIndent 1 + ToggleIndent Never LabelSep xx ParSkip 0.4 TopSep 2 @@ -302,24 +350,27 @@ Style Subsection LabelType Static LabelCounter subsection LabelString "Subsection \arabic{section}.\arabic{subsection}" - RefPrefix sub + RefPrefix subsec Argument 1 LabelString "Mode" MenuString "Mode Specification|S" Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Short Title|S" Tooltip "The subsection as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 EndArgument - Font + Font Family Roman Series Bold Size larger EndFont - LabelFont + LabelFont Color latex EndFont LabelStringAppendix "\arabic{section}.\arabic{subsection}" @@ -339,6 +390,7 @@ Style Subsection* Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument LaTeXParam * End @@ -350,6 +402,7 @@ Style Subsubsection LatexName subsubsection NeedProtect 1 NextNoIndent 1 + ToggleIndent Never LabelSep xx ParSkip 0.4 TopSep 2 @@ -366,17 +419,20 @@ Style Subsubsection Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Short Title|S" Tooltip "The subsubsection as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 EndArgument - Font + Font Family Roman Series Bold Size large EndFont - LabelFont + LabelFont Color latex EndFont LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}" @@ -396,6 +452,7 @@ Style Subsubsection* Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument LaTeXParam * End @@ -407,10 +464,11 @@ End Style Frame Category Frames - Margin Dynamic + Margin First_Dynamic + LeftMargin xx LatexType Environment LatexName frame - LabelString "Frame" + LabelString "Frame" TocLevel 4 KeepEmpty 1 NextNoIndent 1 @@ -428,16 +486,18 @@ Style Frame EndFont Argument 1 LabelString "Action" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Overlay specifications for this frame" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Default Overlay Specifications" Tooltip "Default overlay specifications within this frame" LeftDelim [< RightDelim >] + PassThru 1 EndArgument Argument 3 MenuString "Frame Options" @@ -446,7 +506,7 @@ Style Frame EndArgument Argument 4 LabelString "Frame Title" - Tooltip "Enter the block title here" + Tooltip "Enter the frame title here" LeftDelim { RightDelim } Decoration conglomerate @@ -455,7 +515,14 @@ Style Frame Size largest EndFont AutoInsert 1 + IsTocCaption 1 EndArgument + AutoNests + Standard,Itemize,Enumerate,Description,FrameTitle,FrameSubtitle,Column, + Columns,ColumnsCenterAligned,ColumnsTopAligned,Pause,Overprint,OverlayArea,Only,Block, + ExampleBlock,AlertBlock,Bibliography,Quotation,Quote,Verse,Corollary,Definition,Definitions, + Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code + EndAutoNests End Style PlainFrame @@ -487,16 +554,18 @@ Style AgainFrame LatexName againframe Argument 1 LabelString "Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Overlay specifications for this frame" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Default Overlay Specifications" Tooltip "Default overlay specifications within this frame" LeftDelim [< RightDelim >] + PassThru 1 EndArgument Argument 3 MenuString "Frame Options" @@ -517,11 +586,12 @@ Style AgainFrame Font Color latex EndFont - LabelFont + LabelFont Family Roman Color latex Size Largest EndFont + TocLevel 4 End Style FrameTitle @@ -536,20 +606,22 @@ Style FrameTitle ParSep 1 Align Block LabelType No_Label - Font + Font Color Blue Size Largest EndFont Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Short Frame Title|S" Tooltip "A short form of the frame title used in some themes" + InsertCotext 1 EndArgument End @@ -565,15 +637,16 @@ Style FrameSubtitle ParSep 1 Align Block LabelType No_Label - Font + Font Color Blue EndFont Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -596,13 +669,14 @@ Style Column LabelType Static LabelSep xx LabelString "Start column (increase depth!), width:" + ToggleIndent Never Argument 1 MenuString "Column Options" LabelString "Options" Tooltip "Column options (see beamer manual)" EndArgument LeftMargin "Start column (increase depth!), width:xx" - LabelFont + LabelFont Family Roman Color latex EndFont @@ -629,10 +703,15 @@ Style Columns TopSep 1 BottomSep 1 ParSep 0 - LabelFont + LabelFont Family Roman Color latex EndFont + AutoNests + Standard,Column,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,Block, + ExampleBlock,AlertBlock,Bibliography,Quotation,Quote,Verse,Corollary,Definition,Definitions, + Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code + EndAutoNests End Style ColumnsCenterAligned @@ -695,12 +774,23 @@ Style Overprint LabelString "Width" Tooltip "The width of the overprint area (default: text width)" EndArgument + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument Argument item:1 MenuString "Item Overlay Specifications" LabelString "On Slide" Tooltip "Overlay specifications for this item" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument NextNoIndent 1 @@ -713,7 +803,7 @@ Style Overprint Align Left LabelType Static LabelString "Overprint" - LabelFont + LabelFont Family Roman Color latex EndFont @@ -734,7 +824,7 @@ Style OverlayArea TopSep 1 BottomSep 1 ParSep 0 - LabelFont + LabelFont Family Roman Color latex EndFont @@ -766,16 +856,17 @@ Style Uncover TopSep 1 BottomSep 1 ParSep 0 - LabelFont + LabelFont Family Roman Color Latex EndFont Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -800,10 +891,11 @@ Style Only EndFont Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -837,6 +929,7 @@ Style Block Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Block Title" @@ -849,6 +942,10 @@ Style Block EndFont AutoInsert 1 EndArgument + AutoNests + Standard,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,Quotation, + Quote,Verse,Corollary,Definition,Definitions,Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code + EndAutoNests End Style ExampleBlock @@ -890,8 +987,9 @@ Style Title Argument 1 LabelString "Short Title|S" Tooltip "Short title which appears in the sidebar/header" + InsertCotext 1 EndArgument - Font + Font Size Huge Series Bold Color Blue @@ -922,8 +1020,9 @@ Style Subtitle Argument 1 LabelString "Short Subtitle|S" Tooltip "Short subtitle which appears in the sidebar/header" + InsertCotext 1 EndArgument - Font + Font Size Large Series Bold Color Blue @@ -945,8 +1044,9 @@ Style Author Argument 1 LabelString "Short Author|S" Tooltip "Short author which appears in the sidebar/header" + InsertCotext 1 EndArgument - Font + Font Size Largest Color Blue EndFont @@ -967,8 +1067,9 @@ Style Institute Argument 1 LabelString "Short Institute|S" Tooltip "Short institute which appears in the sidebar/header" + InsertCotext 1 EndArgument - Font + Font Size Large Color Blue EndFont @@ -1010,8 +1111,9 @@ Style Date Argument 1 LabelString "Short Date|S" Tooltip "Short date which appears in the sidebar/header" + InsertCotext 1 EndArgument - Font + Font Size Largest Color Blue EndFont @@ -1030,7 +1132,7 @@ Style TitleGraphic ParSep 1 Align Center LabelType No_Label - Font + Font Size Huge Series Bold Color Blue @@ -1048,6 +1150,7 @@ Style Bibliography LatexType Bib_Environment LatexName thebibliography NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -1058,10 +1161,22 @@ Style Bibliography LabelType Bibliography LabelString "References" LabelBottomSep 0.7 - LabelFont + LabelFont Series Bold Size Larger EndFont + TocLevel 1 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End @@ -1075,6 +1190,7 @@ Style Quotation LatexType Environment LatexName quotation NextNoIndent 1 + ToggleIndent Always LeftMargin MMM RightMargin MMM ParIndent MM @@ -1087,10 +1203,11 @@ Style Quotation AlignPossible Block, Left, Right, Center Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -1100,6 +1217,7 @@ Style Quote LatexType Environment LatexName quote NextNoIndent 1 + ToggleIndent Never LeftMargin MMM RightMargin MMM TopSep 0.5 @@ -1110,10 +1228,11 @@ Style Quote LabelType No_Label Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -1136,10 +1255,11 @@ Style Verse LabelType No_Label Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -1175,11 +1295,15 @@ Style Corollary Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Additional Theorem Text" Tooltip "Additional text appended to the theorem header" EndArgument + AutoNests + Standard,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,LyX-Code + EndAutoNests End Style Definition @@ -1216,6 +1340,12 @@ Style Fact LabelString "Fact." End +Style Lemma + CopyStyle Corollary + LatexName lemma + LabelString "Lemma." +End + Style Proof CopyStyle Corollary LatexName proof @@ -1233,29 +1363,6 @@ 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 @@ -1285,7 +1392,7 @@ Style LyX-Code \item[]} {\end{list}} EndPreamble - Font + Font Family Typewriter EndFont End @@ -1305,17 +1412,21 @@ Style NoteItem LabelSep xx LabelString "Note:" LeftMargin "Note:xx" - LabelFont + LabelFont Family Roman Color latex EndFont Argument 1 LabelString "On Slide" - MenuString "Overlay Specifications|S" + MenuString "Overlay Specifications|v" Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument + IsAutoNestedBy + Itemize,Enumerate + EndIsAutoNestedBy End @@ -1338,7 +1449,10 @@ InsetLayout Flex:Bold Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Emphasize @@ -1355,7 +1469,10 @@ InsetLayout Flex:Emphasize Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Alert @@ -1372,7 +1489,10 @@ InsetLayout Flex:Alert Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Structure @@ -1389,7 +1509,10 @@ InsetLayout Flex:Structure Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Only @@ -1406,8 +1529,11 @@ InsetLayout Flex:Only Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Uncover @@ -1424,8 +1550,11 @@ InsetLayout Flex:Uncover Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Visible @@ -1442,8 +1571,11 @@ InsetLayout Flex:Visible Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Invisible @@ -1460,8 +1592,11 @@ InsetLayout Flex:Invisible Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Alternative @@ -1478,12 +1613,15 @@ InsetLayout Flex:Alternative Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Default Text" Tooltip "Enter the default text here" Mandatory 1 EndArgument + ResetsFont true + CustomPars false End InsetLayout Flex:Beamer_Note @@ -1501,11 +1639,13 @@ InsetLayout Flex:Beamer_Note Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Note Options" Tooltip "Specifiy note options (see beamer manual)" EndArgument + ResetsFont true End InsetLayout Flex:ArticleMode @@ -1516,6 +1656,7 @@ InsetLayout Flex:ArticleMode Decoration classic LabelString Article MultiPar true + ResetsFont true End InsetLayout Flex:PresentationMode @@ -1526,6 +1667,7 @@ InsetLayout Flex:PresentationMode Decoration classic LabelString Presentation MultiPar true + ResetsFont true End @@ -1533,6 +1675,8 @@ End # FLOATS # +Input stdfloatnames.inc + Float Type table GuiName Table @@ -1561,158 +1705,3 @@ End Input theorems-refprefix.inc - - -########################################## -# OBSOLETE STUFF -# Everything below should be removed -# (but this is a file format change) -# -# TODO: -# * conversion of old frame -# and plain frame to new layout -########################################## - -# -# Backwards compatible definitions -# - -AddToPreamble -\providecommand\lyxframeend{} -EndPreamble - -IfStyle Section - LatexName lyxframeend{}\section -End - -IfStyle Section* - LatexName lyxframeend{}\section -End - -IfStyle Subsection - LatexName lyxframeend{}\subsection -End - -IfStyle Subsection* - LatexName lyxframeend{}\subsection -End - -IfStyle Subsubsection - LatexName lyxframeend{}\subsubsection -End - -IfStyle Subsubsection* - LatexName lyxframeend{}\subsubsection -End - -IfStyle AgainFrame - LatexName lyxframeend{}\againframe -End - - -# -# Deprecated Styles -# - -Style BeginFrame - Category "Deprecated Styles" - 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 "Deprecated Styles" - 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 EndFrame - Category "Deprecated Styles" - 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