X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fpowerdot.layout;h=383f41471c31b8e11350357838ae9200d99f4b4a;hb=051c5f27284f00c20e95c5732bcfb04632c7cb18;hp=56f59ccd38991ae8dab80aaa5a83980c5c7a4270;hpb=b0aa0db10aae4a51d48f060e642f05542e89f370;p=lyx.git diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout index 56f59ccd38..383f41471c 100644 --- a/lib/layouts/powerdot.layout +++ b/lib/layouts/powerdot.layout @@ -3,12 +3,13 @@ # \DeclareCategory{Presentations} # PowerDot textclass definition file. # Created: 29-Aug-05 by Mael Hilléreau -# Last modified: 20-May-06 by Uwe Stöhr +# Modified: 20-May-06 by Uwe Stöhr, 18-Mar-2013 Jürgen Spitzmüller -Format 42 +Format 99 Input stdcounters.inc Input stdinsets.inc +Input stdfloats.inc ### # General textclass parameters @@ -19,6 +20,7 @@ Provides url 1 Provides hyperref 1 Provides geometry 1 DefaultStyle Standard +ExcludesModule enumitem DefaultFont Family Sans @@ -40,6 +42,7 @@ End # Title style definition ### Style Title + Category TitleSlide Margin Static LatexType Command InTitle 1 @@ -54,15 +57,19 @@ Style Title Font Series Bold Size Largest - Color Blue + Color textlabel1 EndFont HTMLTitle true + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End ### # Author style definition ### Style Author + Category TitleSlide Margin Static LatexType Command InTitle 1 @@ -76,14 +83,20 @@ Style Author LabelType No_Label Font Size Large - Color Blue + Color textlabel1 EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always End ### # Date style definition ### Style Date + Category TitleSlide Margin Dynamic LatexType Command InTitle 1 @@ -97,7 +110,7 @@ Style Date LabelType No_Label Font Size Large - Color Blue + Color textlabel1 EndFont End @@ -105,6 +118,7 @@ End # Standard style definition ### Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -112,12 +126,14 @@ Style Standard Align Block AlignPossible Block, Left, Right, Center LabelType No_Label + DocBookTag para End ### # Slide styles definition ### Style Slide + Category Slides TocLevel 3 Margin Static LatexType Command @@ -128,9 +144,9 @@ Style Slide BottomSep 0.7 ParSep 0.7 Align Center - LabelType Counter + LabelType Static LabelCounter subsection - LabelString " " + LabelString "" Argument 1 LabelString "Slide Option" Tooltip "Optional arguments to the slide command (see powerdot manual)" @@ -138,11 +154,12 @@ Style Slide Font Series Bold Size Large - Color Magenta + Color textlabel3 EndFont End Style EndSlide + Category Slides KeepEmpty 1 LatexType Command LatexName lyxend @@ -173,7 +190,7 @@ Style WideSlide CopyStyle Slide LatexName lyxend\lyxwideslide Font - Color Green + Color textlabel2 EndFont End @@ -188,7 +205,7 @@ Style EmptySlide LabelType Static KeepEmpty 1 Font - Color Cyan + Color greyedouttext EndFont End @@ -196,6 +213,7 @@ End # Note style definition ### Style Note + Category Slides Margin Static LatexType Command LatexName lyxend\lyxnote @@ -214,7 +232,7 @@ Style Note Font Series Bold Size Large - Color Red + Color textlabel3 EndFont End @@ -223,26 +241,34 @@ End ### Style Section CopyStyle Slide + Category Sectioning TocLevel 1 LatexName lyxend\section - LabelType Counter + LabelType Static LabelCounter section LabelString "\arabic{section}" Font Size Larger - Color Blue + Color textlabel1 EndFont LabelStringAppendix "\Alph{section}" + Argument 1 + LabelString "Section Option" + Tooltip "Optional arguments to the section command (see powerdot manual)" + EndArgument + HTMLTag h2 End ### # Itemize styles definition ### Style Itemize + Category List Margin Static LatexType Item_Environment LatexName itemize NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ItemSep 0.2 @@ -252,21 +278,59 @@ Style Itemize Align Block AlignPossible Block, Left LabelType Itemize + Argument 1 + LabelString "Itemize Type" + Tooltip "Itemize type specification (see powerdot manual)" + EndArgument + Argument 2 + LabelString "Itemize Options" + Tooltip "Optional arguments for this list (see enumitem manual)" + 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 + LabelString "Custom Item|s" + Tooltip "A customized item string" + EndArgument + Argument item:2 + MenuString "Item Overlay Specifications" + LabelString "On Slide" + Tooltip "Overlay specifications for this item" + LeftDelim < + RightDelim > + EndArgument + DocBookTag itemizedlist + DocBookItemTag listitem + DocBookItemInnerTag para End Style ItemizeType1 CopyStyle Itemize - LatexParam [type=1] + Argument 1 + LabelString "Itemize Type" + Tooltip "Itemize type specification (see powerdot manual)" + DefaultArg "type=1" + EndArgument End ### # Enumerate styles definition ### Style Enumerate + Category List Margin Static LatexType Item_Environment LatexName enumerate NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ParSkip 0.0 @@ -278,21 +342,66 @@ Style Enumerate AlignPossible Block, Left LabelType Enumerate RefPrefix enu + Argument 1 + LabelString "Enumerate Type" + Tooltip "Enumerate type specification (see powerdot manual)" + EndArgument + Argument 2 + LabelString "Enumerate Options" + Tooltip "Optional arguments for this list (see enumitem manual)" + Requires 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 + Argument item:1 + LabelString "Custom Item|s" + Tooltip "A customized item string" + EndArgument + Argument item:2 + MenuString "Item Overlay Specifications" + LabelString "On Slide" + Tooltip "Overlay specifications for this item" + LeftDelim < + RightDelim > + EndArgument + 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 EnumerateType1 - CopyStyle Enumerate - LatexParam [type=1] + CopyStyle Enumerate + Argument 1 + LabelString "Enumerate Type" + Tooltip "Enumerate type specification (see powerdot manual)" + DefaultArg "type=1" + EndArgument End ### # Bibliography style definition ### Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -304,16 +413,30 @@ Style Bibliography LabelType Bibliography LabelString "" LabelBottomSep 0 + 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 ### # Quotation style definition ### Style Quotation + Category MainText Margin Static LatexType Environment LatexName quotation NextNoIndent 1 + ToggleIndent Always LeftMargin MMM RightMargin MMM ParIndent MM @@ -330,10 +453,12 @@ End # Quote style definition ### Style Quote + Category MainText Margin Static LatexType Environment LatexName quote NextNoIndent 1 + ToggleIndent Never LeftMargin MMM RightMargin MMM TopSep 0.5 @@ -350,6 +475,7 @@ End Style Verse # LaTeX type is first dynamic because of LaTeX implementation. # In LyX this does not make sense. + Category MainText LatexType Environment LatexName verse Margin First_Dynamic @@ -366,73 +492,183 @@ Style Verse End ### -# Caption style definition +# Twocolumn style definition +### +Style Twocolumn + Category MainText + LatexType command + LatexName twocolumn + Margin First_Dynamic + NextNoIndent 1 + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label + Argument 1 + LabelString "Column Options" + Tooltip "Twocolumn options (see powerdot manual)" + EndArgument + Argument 2 + LabelString "Left Column" + Tooltip "Enter the text of the left column here (right column in main paragraph)" + Mandatory 1 + AutoInsert 1 + EndArgument +End + +### +# Overlay style definitions ### +Style Pause + Category Overlays + KeepEmpty 1 + LatexType Command + LatexName pause + Margin First_Dynamic + Argument 1 + LabelString "Pause number" + Tooltip "Number of slide where the context below the pause gets visible" + EndArgument + NextNoIndent 1 + ParSkip 0 + TopSep 0 + BottomSep 0.25 + ParSep 0 + Align Center + LabelType Static + LabelBottomSep 0 + LeftMargin MMMMM + LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _" + LabelFont + Family typewriter + Series Medium + Size Normal + Color latex + EndFont +End ### -# Floats definitions +# Float definitions ### +Input stdfloatnames.inc + Float - Type table - GuiName Table - Extension lot - NumberWithin none - Style plain - ListName "List of Tables" - IsPredefined true - UsesFloatPkg false - ListCommand listoftables -End - + Type table + GuiName Table + AllowedPlacement H + AllowsSideways 0 + AllowsWide 0 + Extension lot + NumberWithin none + Style plain + ListName "List of Tables" + IsPredefined true + UsesFloatPkg false + ListCommand listoftables + RefPrefix tab +End + + Float - Type figure - GuiName Figure - Extension lof - NumberWithin none - Style plain - ListName "List of Figures" - IsPredefined true - UsesFloatPkg false - ListCommand listoffigures + Type figure + GuiName Figure + AllowedPlacement H + AllowsSideways 0 + AllowsWide 0 + Extension lof + NumberWithin none + Style plain + ListName "List of Figures" + IsPredefined true + UsesFloatPkg false + ListCommand listoffigures + RefPrefix fig End + Float - Type algorithm - GuiName Algorithm - Extension loa - NumberWithin none - Style ruled - ListName "List of Algorithms" - IsPredefined false - UsesFloatPkg true + Type algorithm + GuiName Algorithm + AllowedPlacement H + AllowsSideways 0 + AllowsWide 0 + Extension loa + NumberWithin none + Style ruled + ListName "List of Algorithms" + IsPredefined false + UsesFloatPkg true + RefPrefix alg End ### # Counters definitions ### Counter enumi + GuiName "Numbered List (Level 1)" End Counter enumii + GuiName "Numbered List (Level 2)" Within enumi End Counter enumiii + GuiName "Numbered List (Level 3)" Within enumii End Counter enumiv + GuiName "Numbered List (Level 4)" Within enumiii End Counter bibitem + GuiName "Bibliography Item" End Counter figure + GuiName Figure End Counter table + GuiName Table End Counter algorithm + GuiName Algorithm +End + +### +# Charstyle definitions +### + +InsetLayout Flex:Onslide + LyXType charstyle + LabelString "Visible" + LatexType command + LatexName onslide + Argument 1 + LabelString "On Slides" + MenuString "Overlay Specification|S" + Tooltip "Specify the overlay settings (see powerdot manual)" + Mandatory 1 + DefaultArg "1-" + EndArgument + ResetsFont true +End + +InsetLayout Flex:Onslide+ + CopyStyle Flex:Onslide + LatexName onslide+ + LabelString "Uncover" +End + +InsetLayout Flex:Onslide* + CopyStyle Flex:Onslide + LatexName onslide* + LabelString "Only" End