X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbeamer.layout;h=787f18a40de73fd12279b99017c59e7ffbc16a36;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=a56dbd9d28c9839cac9173393ce0b3a69c1d0e76;hpb=f70e78487e0cc8939e7496998a0bd4e3be2fd76c;p=lyx.git diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index a56dbd9d28..787f18a40d 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. +# Richard Kimberly Heck , Martin Vermeer and probably others. -Format 54 +Format 98 # # GLOBAL SETTINGS @@ -18,6 +18,8 @@ Input stdinsets.inc # Beamer does not work with enumitem. # See bug #7047. +# For upstream (Beamer) feature request: +# https://github.com/josephwright/beamer/issues/342 ExcludesModule enumitem # General textclass parameters @@ -28,6 +30,7 @@ TocDepth 2 DefaultStyle Standard # Pre-loaded packages +Provides amsmath 1 Provides hyperref 1 Provides geometry 1 Provides color 1 @@ -70,6 +73,7 @@ Style Standard Align Left AlignPossible Block, Left, Right, Center LabelType No_Label + DocBookTag para End @@ -87,6 +91,7 @@ Style Itemize Tooltip "Overlay specifications for this list" LeftDelim [< RightDelim >] + PassThru 1 EndArgument Argument item:1 LabelString "Custom Item|s" @@ -98,6 +103,17 @@ 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 @@ -109,6 +125,9 @@ Style Itemize ParSep 0.3 Align Left LabelType Itemize + DocBookTag itemizedlist + DocBookItemTag listitem + DocBookItemInnerTag para End Style Enumerate @@ -121,6 +140,7 @@ Style Enumerate Tooltip "Overlay specifications for this list" LeftDelim [< RightDelim >] + PassThru 1 EndArgument Argument 2 LabelString "Mini Template" @@ -136,6 +156,17 @@ 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 @@ -149,6 +180,15 @@ Style Enumerate Align Left LabelType Enumerate RefPrefix enu + DocBookTag orderedlist + DocBookItemTag listitem + DocBookItemInnerTag para + HTMLStyle + ol.enumi { list-style-type: decimal; } + ol.enumii { list-style-type: lower-latin; } + ol.enumiii { list-style-type: lower-roman; } + ol.enumiv { list-style-type: upper-latin; } + EndHTMLStyle End Style Description @@ -161,17 +201,29 @@ Style Description 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 @@ -186,6 +238,12 @@ Style Description LabelFont Series Bold EndFont + DocBookTag variablelist + DocBookItemWrapperTag varlistentry + DocBookItemTag listitem + DocBookItemInnerTag para + DocBookItemLabelTag term + DocBookItemLabelTagType paragraph End @@ -204,11 +262,13 @@ 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 @@ -257,11 +317,13 @@ 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 Family Roman @@ -288,8 +350,10 @@ Style Section* Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End Style Subsection @@ -309,18 +373,20 @@ 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 Family Roman @@ -347,8 +413,10 @@ Style Subsection* Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End Style Subsubsection @@ -375,11 +443,13 @@ 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 Family Roman @@ -406,8 +476,10 @@ Style Subsubsection* Tooltip "Specify in which mode (article, presentation etc.) this header appears" LeftDelim < RightDelim > + PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End @@ -417,10 +489,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 @@ -442,12 +515,14 @@ Style Frame 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" @@ -461,11 +536,18 @@ Style Frame RightDelim } Decoration conglomerate Font - Color blue + Color textlabel1 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 @@ -501,12 +583,14 @@ Style AgainFrame 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" @@ -532,6 +616,7 @@ Style AgainFrame Color latex Size Largest EndFont + TocLevel 4 End Style FrameTitle @@ -547,7 +632,7 @@ Style FrameTitle Align Block LabelType No_Label Font - Color Blue + Color textlabel1 Size Largest EndFont Argument 1 @@ -556,6 +641,7 @@ Style FrameTitle Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Short Frame Title|S" @@ -577,7 +663,7 @@ Style FrameSubtitle Align Block LabelType No_Label Font - Color Blue + Color textlabel1 EndFont Argument 1 LabelString "On Slide" @@ -585,17 +671,18 @@ Style FrameSubtitle Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End # -# COLUMS +# COLUMNS # Style Column Category Columns - Margin Static + Margin Dynamic LatexType Command LatexName column ParSkip 0.5 @@ -613,7 +700,6 @@ Style Column LabelString "Options" Tooltip "Column options (see beamer manual)" EndArgument - LeftMargin "Start column (increase depth!), width:xx" LabelFont Family Roman Color latex @@ -623,16 +709,15 @@ End Style Columns Category Columns KeepEmpty 1 - Margin Static + Margin First_Dynamic LatexType Environment - NextNoIndent 0 + NextNoIndent 1 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)" @@ -645,13 +730,17 @@ Style Columns 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 CopyStyle Columns LatexParam [c] LabelString "Columns (center aligned)" - LeftMargin "Columns (center aligned)xx" ResetArgs 1 End @@ -659,7 +748,6 @@ Style ColumnsTopAligned CopyStyle Columns LatexParam [t] LabelString "Columns (top aligned)" - LeftMargin "Columns (top aligned)xx" ResetArgs 1 End @@ -707,12 +795,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 @@ -788,6 +887,7 @@ Style Uncover Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -816,6 +916,7 @@ Style Only Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -849,6 +950,7 @@ Style Block Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument Argument 2 LabelString "Block Title" @@ -856,11 +958,15 @@ Style Block Mandatory 1 Decoration conglomerate Font - Color blue + Color textlabel1 Size large 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 @@ -868,7 +974,7 @@ Style ExampleBlock LatexName exampleblock LabelString "Example Block:" Font - Color green + Color textlabel2 EndFont End @@ -877,7 +983,7 @@ Style AlertBlock LatexName alertblock LabelString "Alert Block:" Font - Color red + Color error EndFont End @@ -903,12 +1009,16 @@ Style Title LabelString "Short Title|S" Tooltip "Short title which appears in the sidebar/header" InsertCotext 1 + # TODO: In DocBook, output it in a titleabbrev outside this title. EndArgument Font Size Huge Series Bold - Color Blue + Color textlabel1 EndFont + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End Style Title_(Plain_Frame) @@ -940,8 +1050,10 @@ Style Subtitle Font Size Large Series Bold - Color Blue + Color textlabel1 EndFont + DocBookTag subtitle + DocBookInInfo maybe End Style Author @@ -963,8 +1075,13 @@ Style Author EndArgument Font Size Largest - Color Blue + Color textlabel1 EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always End Style Institute @@ -986,7 +1103,7 @@ Style Institute EndArgument Font Size Large - Color Blue + Color textlabel1 EndFont End @@ -1006,7 +1123,7 @@ InsetLayout "Flex:InstituteMark" Misc No_Bar EndFont LabelFont - Color blue + Color textlabel1 Size Small EndFont End @@ -1030,7 +1147,7 @@ Style Date EndArgument Font Size Largest - Color Blue + Color textlabel1 EndFont End @@ -1050,7 +1167,7 @@ Style TitleGraphic Font Size Huge Series Bold - Color Blue + Color textlabel1 EndFont End @@ -1080,6 +1197,18 @@ Style Bibliography 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 @@ -1110,6 +1239,7 @@ Style Quotation Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -1134,6 +1264,7 @@ Style Quote Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -1160,6 +1291,7 @@ Style Verse Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument End @@ -1186,7 +1318,7 @@ Style Corollary KeepEmpty 1 LabelFont Series Bold - Color Blue + Color textlabel1 Size Large EndFont Argument 1 @@ -1195,11 +1327,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 @@ -1220,7 +1356,7 @@ Style Example LabelString "Example." LabelFont Series Bold - Color Green + Color textlabel2 EndFont End @@ -1291,6 +1427,9 @@ Style LyX-Code Font Family Typewriter EndFont + DocBookTag programlisting + DocBookTagType paragraph + DocBookAttr language='lyx' End Style NoteItem @@ -1318,7 +1457,11 @@ Style NoteItem Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument + IsAutoNestedBy + Itemize,Enumerate + EndIsAutoNestedBy End @@ -1341,8 +1484,10 @@ InsetLayout Flex:Bold Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Emphasize @@ -1359,8 +1504,10 @@ InsetLayout Flex:Emphasize Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Alert @@ -1369,7 +1516,7 @@ InsetLayout Flex:Alert LatexType command LatexName alert Font - Color red + Color error EndFont Argument 1 LabelString "Action" @@ -1377,8 +1524,10 @@ InsetLayout Flex:Alert Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Structure @@ -1387,7 +1536,7 @@ InsetLayout Flex:Structure LatexType command LatexName structure Font - Color blue + Color textlabel1 EndFont Argument 1 LabelString "Action" @@ -1395,8 +1544,10 @@ InsetLayout Flex:Structure Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Only @@ -1405,7 +1556,7 @@ InsetLayout Flex:Only LatexType command LatexName only Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1413,9 +1564,11 @@ InsetLayout Flex:Only Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Uncover @@ -1424,7 +1577,7 @@ InsetLayout Flex:Uncover LatexType command LatexName uncover Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1432,9 +1585,11 @@ InsetLayout Flex:Uncover Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Visible @@ -1443,7 +1598,7 @@ InsetLayout Flex:Visible LatexType command LatexName visible Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1451,9 +1606,11 @@ InsetLayout Flex:Visible Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Invisible @@ -1462,7 +1619,7 @@ InsetLayout Flex:Invisible LatexType command LatexName invisible Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1470,9 +1627,11 @@ InsetLayout Flex:Invisible Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 AutoInsert 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Alternative @@ -1481,7 +1640,7 @@ InsetLayout Flex:Alternative LatexType command LatexName alt Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1489,13 +1648,17 @@ InsetLayout Flex:Alternative Tooltip "Specify the overlay settings (see beamer manual)" LeftDelim < RightDelim > + PassThru 1 + AutoInsert 1 EndArgument Argument 2 LabelString "Default Text" Tooltip "Enter the default text here" Mandatory 1 + AutoInsert 1 EndArgument - ResetsFont true + ResetsFont true + CustomPars false End InsetLayout Flex:Beamer_Note @@ -1505,7 +1668,7 @@ InsetLayout Flex:Beamer_Note LatexName note Decoration Classic Font - Color blue + Color textlabel1 EndFont Argument 1 LabelString "Action" @@ -1513,12 +1676,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 + ResetsFont true End InsetLayout Flex:ArticleMode @@ -1529,7 +1693,7 @@ InsetLayout Flex:ArticleMode Decoration classic LabelString Article MultiPar true - ResetsFont true + ResetsFont true End InsetLayout Flex:PresentationMode @@ -1540,7 +1704,7 @@ InsetLayout Flex:PresentationMode Decoration classic LabelString Presentation MultiPar true - ResetsFont true + ResetsFont true End @@ -1548,6 +1712,8 @@ End # FLOATS # +Input stdfloatnames.inc + Float Type table GuiName Table