X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbeamer.layout;h=787f18a40de73fd12279b99017c59e7ffbc16a36;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=cd6ef4fefef790254cd475ca547083234d652a37;hpb=5b03606482bfd153dc97442163de19216e7c5ad0;p=lyx.git diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index cd6ef4fefe..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 63 +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 @@ -216,6 +268,7 @@ Style Part 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 @@ -270,6 +323,7 @@ Style Section 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 @@ -299,6 +353,7 @@ Style Section* PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End Style Subsection @@ -331,6 +386,7 @@ Style Subsection 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 @@ -360,6 +416,7 @@ Style Subsection* PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End Style Subsubsection @@ -392,6 +449,7 @@ Style Subsubsection 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 @@ -421,6 +479,7 @@ Style Subsubsection* PassThru 1 EndArgument LaTeXParam * + HTMLInToc 0 End @@ -477,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 @@ -550,6 +616,7 @@ Style AgainFrame Color latex Size Largest EndFont + TocLevel 4 End Style FrameTitle @@ -565,7 +632,7 @@ Style FrameTitle Align Block LabelType No_Label Font - Color Blue + Color textlabel1 Size Largest EndFont Argument 1 @@ -596,7 +663,7 @@ Style FrameSubtitle Align Block LabelType No_Label Font - Color Blue + Color textlabel1 EndFont Argument 1 LabelString "On Slide" @@ -610,12 +677,12 @@ End # -# COLUMS +# COLUMNS # Style Column Category Columns - Margin Static + Margin Dynamic LatexType Command LatexName column ParSkip 0.5 @@ -633,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 @@ -643,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)" @@ -665,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 @@ -679,7 +748,6 @@ Style ColumnsTopAligned CopyStyle Columns LatexParam [t] LabelString "Columns (top aligned)" - LeftMargin "Columns (top aligned)xx" ResetArgs 1 End @@ -727,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" @@ -880,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 @@ -892,7 +974,7 @@ Style ExampleBlock LatexName exampleblock LabelString "Example Block:" Font - Color green + Color textlabel2 EndFont End @@ -901,7 +983,7 @@ Style AlertBlock LatexName alertblock LabelString "Alert Block:" Font - Color red + Color error EndFont End @@ -927,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) @@ -964,8 +1050,10 @@ Style Subtitle Font Size Large Series Bold - Color Blue + Color textlabel1 EndFont + DocBookTag subtitle + DocBookInInfo maybe End Style Author @@ -987,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 @@ -1010,7 +1103,7 @@ Style Institute EndArgument Font Size Large - Color Blue + Color textlabel1 EndFont End @@ -1030,7 +1123,7 @@ InsetLayout "Flex:InstituteMark" Misc No_Bar EndFont LabelFont - Color blue + Color textlabel1 Size Small EndFont End @@ -1054,7 +1147,7 @@ Style Date EndArgument Font Size Largest - Color Blue + Color textlabel1 EndFont End @@ -1074,7 +1167,7 @@ Style TitleGraphic Font Size Huge Series Bold - Color Blue + Color textlabel1 EndFont End @@ -1104,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 @@ -1213,7 +1318,7 @@ Style Corollary KeepEmpty 1 LabelFont Series Bold - Color Blue + Color textlabel1 Size Large EndFont Argument 1 @@ -1228,6 +1333,9 @@ Style Corollary 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 @@ -1248,7 +1356,7 @@ Style Example LabelString "Example." LabelFont Series Bold - Color Green + Color textlabel2 EndFont End @@ -1319,6 +1427,9 @@ Style LyX-Code Font Family Typewriter EndFont + DocBookTag programlisting + DocBookTagType paragraph + DocBookAttr language='lyx' End Style NoteItem @@ -1348,6 +1459,9 @@ Style NoteItem RightDelim > PassThru 1 EndArgument + IsAutoNestedBy + Itemize,Enumerate + EndIsAutoNestedBy End @@ -1373,6 +1487,7 @@ InsetLayout Flex:Bold PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Emphasize @@ -1392,6 +1507,7 @@ InsetLayout Flex:Emphasize PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Alert @@ -1400,7 +1516,7 @@ InsetLayout Flex:Alert LatexType command LatexName alert Font - Color red + Color error EndFont Argument 1 LabelString "Action" @@ -1411,6 +1527,7 @@ InsetLayout Flex:Alert PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Structure @@ -1419,7 +1536,7 @@ InsetLayout Flex:Structure LatexType command LatexName structure Font - Color blue + Color textlabel1 EndFont Argument 1 LabelString "Action" @@ -1430,6 +1547,7 @@ InsetLayout Flex:Structure PassThru 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Only @@ -1438,7 +1556,7 @@ InsetLayout Flex:Only LatexType command LatexName only Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1450,6 +1568,7 @@ InsetLayout Flex:Only AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Uncover @@ -1458,7 +1577,7 @@ InsetLayout Flex:Uncover LatexType command LatexName uncover Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1470,6 +1589,7 @@ InsetLayout Flex:Uncover AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Visible @@ -1478,7 +1598,7 @@ InsetLayout Flex:Visible LatexType command LatexName visible Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1490,6 +1610,7 @@ InsetLayout Flex:Visible AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Invisible @@ -1498,7 +1619,7 @@ InsetLayout Flex:Invisible LatexType command LatexName invisible Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1510,6 +1631,7 @@ InsetLayout Flex:Invisible AutoInsert 1 EndArgument ResetsFont true + CustomPars false End InsetLayout Flex:Alternative @@ -1518,7 +1640,7 @@ InsetLayout Flex:Alternative LatexType command LatexName alt Font - Color red + Color textlabel3 EndFont Argument 1 LabelString "Action" @@ -1527,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 @@ -1543,7 +1668,7 @@ InsetLayout Flex:Beamer_Note LatexName note Decoration Classic Font - Color blue + Color textlabel1 EndFont Argument 1 LabelString "Action" @@ -1587,6 +1712,8 @@ End # FLOATS # +Input stdfloatnames.inc + Float Type table GuiName Table