X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbeamer.layout;h=787f18a40de73fd12279b99017c59e7ffbc16a36;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=589d1ea000fdbf4444f48d220f7af02ac43c9b02;hpb=3a4b233dbd9810608ad1d79a1d866c8ab3ce2f29;p=lyx.git diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index 589d1ea000..787f18a40d 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -3,10 +3,10 @@ # \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 66 +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 @@ -101,6 +105,16 @@ Style Itemize 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 @@ -111,6 +125,9 @@ Style Itemize ParSep 0.3 Align Left LabelType Itemize + DocBookTag itemizedlist + DocBookItemTag listitem + DocBookItemInnerTag para End Style Enumerate @@ -141,6 +158,16 @@ Style Enumerate 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 @@ -153,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 @@ -171,6 +207,16 @@ Style Description 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" @@ -192,6 +238,12 @@ Style Description LabelFont Series Bold EndFont + DocBookTag variablelist + DocBookItemWrapperTag varlistentry + DocBookItemTag listitem + DocBookItemInnerTag para + DocBookItemLabelTag term + DocBookItemLabelTagType paragraph End @@ -301,6 +353,7 @@ Style Section* PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End Style Subsection @@ -363,6 +416,7 @@ Style Subsection* PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End Style Subsubsection @@ -425,6 +479,7 @@ Style Subsubsection* PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End @@ -481,7 +536,7 @@ Style Frame RightDelim } Decoration conglomerate Font - Color blue + Color textlabel1 Size largest EndFont AutoInsert 1 @@ -561,6 +616,7 @@ Style AgainFrame Color latex Size Largest EndFont + TocLevel 4 End Style FrameTitle @@ -576,7 +632,7 @@ Style FrameTitle Align Block LabelType No_Label Font - Color Blue + Color textlabel1 Size Largest EndFont Argument 1 @@ -607,7 +663,7 @@ Style FrameSubtitle Align Block LabelType No_Label Font - Color Blue + Color textlabel1 EndFont Argument 1 LabelString "On Slide" @@ -621,12 +677,12 @@ End # -# COLUMS +# COLUMNS # Style Column Category Columns - Margin Static + Margin Dynamic LatexType Command LatexName column ParSkip 0.5 @@ -644,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 @@ -654,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)" @@ -677,7 +731,7 @@ Style Columns Color latex EndFont AutoNests - Standard,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,Block, + 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 @@ -687,7 +741,6 @@ Style ColumnsCenterAligned CopyStyle Columns LatexParam [c] LabelString "Columns (center aligned)" - LeftMargin "Columns (center aligned)xx" ResetArgs 1 End @@ -695,7 +748,6 @@ Style ColumnsTopAligned CopyStyle Columns LatexParam [t] LabelString "Columns (top aligned)" - LeftMargin "Columns (top aligned)xx" ResetArgs 1 End @@ -743,6 +795,16 @@ 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" @@ -896,7 +958,7 @@ Style Block Mandatory 1 Decoration conglomerate Font - Color blue + Color textlabel1 Size large EndFont AutoInsert 1 @@ -912,7 +974,7 @@ Style ExampleBlock LatexName exampleblock LabelString "Example Block:" Font - Color green + Color textlabel2 EndFont End @@ -921,7 +983,7 @@ Style AlertBlock LatexName alertblock LabelString "Alert Block:" Font - Color red + Color error EndFont End @@ -947,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) @@ -984,8 +1050,10 @@ Style Subtitle Font Size Large Series Bold - Color Blue + Color textlabel1 EndFont + DocBookTag subtitle + DocBookInInfo maybe End Style Author @@ -1007,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 @@ -1030,7 +1103,7 @@ Style Institute EndArgument Font Size Large - Color Blue + Color textlabel1 EndFont End @@ -1050,7 +1123,7 @@ InsetLayout "Flex:InstituteMark" Misc No_Bar EndFont LabelFont - Color blue + Color textlabel1 Size Small EndFont End @@ -1074,7 +1147,7 @@ Style Date EndArgument Font Size Largest - Color Blue + Color textlabel1 EndFont End @@ -1094,7 +1167,7 @@ Style TitleGraphic Font Size Huge Series Bold - Color Blue + Color textlabel1 EndFont End @@ -1124,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 @@ -1233,7 +1318,7 @@ Style Corollary KeepEmpty 1 LabelFont Series Bold - Color Blue + Color textlabel1 Size Large EndFont Argument 1 @@ -1271,7 +1356,7 @@ Style Example LabelString "Example." LabelFont Series Bold - Color Green + Color textlabel2 EndFont End @@ -1342,6 +1427,9 @@ Style LyX-Code Font Family Typewriter EndFont + DocBookTag programlisting + DocBookTagType paragraph + DocBookAttr language='lyx' End Style NoteItem @@ -1371,6 +1459,9 @@ Style NoteItem RightDelim > PassThru 1 EndArgument + IsAutoNestedBy + Itemize,Enumerate + EndIsAutoNestedBy End @@ -1396,6 +1487,7 @@ InsetLayout Flex:Bold PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Emphasize @@ -1415,6 +1507,7 @@ InsetLayout Flex:Emphasize PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Alert @@ -1423,7 +1516,7 @@ InsetLayout Flex:Alert LatexType command LatexName alert Font - Color red + Color error EndFont Argument 1 LabelString "Action" @@ -1434,6 +1527,7 @@ InsetLayout Flex:Alert PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Structure @@ -1442,7 +1536,7 @@ InsetLayout Flex:Structure LatexType command LatexName structure Font - Color blue + Color textlabel1 EndFont Argument 1 LabelString "Action" @@ -1453,6 +1547,7 @@ InsetLayout Flex:Structure PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Only @@ -1461,7 +1556,7 @@ InsetLayout Flex:Only LatexType command LatexName only Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1473,6 +1568,7 @@ InsetLayout Flex:Only AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Uncover @@ -1481,7 +1577,7 @@ InsetLayout Flex:Uncover LatexType command LatexName uncover Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1493,6 +1589,7 @@ InsetLayout Flex:Uncover AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Visible @@ -1501,7 +1598,7 @@ InsetLayout Flex:Visible LatexType command LatexName visible Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1513,6 +1610,7 @@ InsetLayout Flex:Visible AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Invisible @@ -1521,7 +1619,7 @@ InsetLayout Flex:Invisible LatexType command LatexName invisible Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1533,6 +1631,7 @@ InsetLayout Flex:Invisible AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Alternative @@ -1541,7 +1640,7 @@ InsetLayout Flex:Alternative LatexType command LatexName alt Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1550,13 +1649,16 @@ InsetLayout Flex:Alternative 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 + CustomPars false End InsetLayout Flex:Beamer_Note @@ -1566,7 +1668,7 @@ InsetLayout Flex:Beamer_Note LatexName note Decoration Classic Font - Color blue + Color textlabel1 EndFont Argument 1 LabelString "Action"