X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fpowerdot.layout;h=f46220c24ad54076721c4c3fa3416114405150c9;hb=d02147b79e5107b1345536f2a276b0aeebd42da5;hp=5b775c89e3009861c425cd5fa4911264b7f42bbb;hpb=83c0ffa01d4c4273ee323f1293d8f877604cbd53;p=lyx.git diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout index 5b775c89e3..f46220c24a 100644 --- a/lib/layouts/powerdot.layout +++ b/lib/layouts/powerdot.layout @@ -1,18 +1,25 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[powerdot,enumitem.sty,pstricks.sty,xkeyval.sty]{presentation (powerdot)} +# \DeclareLaTeXClass[powerdot,enumitem.sty,hyperref.sty,pstricks.sty,pst-grad.sty,verbatim.sty,xcolor.sty,xkeyval.sty]{Powerdot} +# \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 54 + +Input stdcounters.inc +Input stdinsets.inc ### # General textclass parameters ### -Format 5 -Columns 1 -Sides 1 -Provides url 1 +Columns 1 +Sides 1 +Provides url 1 +Provides hyperref 1 +Provides geometry 1 DefaultStyle Standard +ExcludesModule enumitem DefaultFont Family Sans @@ -34,6 +41,7 @@ End # Title style definition ### Style Title + Category TitleSlide Margin Static LatexType Command InTitle 1 @@ -45,18 +53,19 @@ Style Title ParSep 1 Align Center LabelType No_Label - Font Series Bold Size Largest Color Blue EndFont + HTMLTitle true End ### # Author style definition ### Style Author + Category TitleSlide Margin Static LatexType Command InTitle 1 @@ -68,7 +77,6 @@ Style Author ParSep 0.7 Align Center LabelType No_Label - Font Size Large Color Blue @@ -79,6 +87,7 @@ End # Date style definition ### Style Date + Category TitleSlide Margin Dynamic LatexType Command InTitle 1 @@ -90,7 +99,6 @@ Style Date ParSep 1 Align Center LabelType No_Label - Font Size Large Color Blue @@ -101,19 +109,21 @@ End # Standard style definition ### Style Standard + Category MainText Margin Static - LatexType Paragraph - LatexName dummy + LatexType Paragraph + LatexName dummy ParSkip 0.4 Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + AlignPossible Block, Left, Right, Center + LabelType No_Label End ### # Slide styles definition ### Style Slide + Category Slides TocLevel 3 Margin Static LatexType Command @@ -124,11 +134,13 @@ Style Slide BottomSep 0.7 ParSep 0.7 Align Center - LabelType Counter - LabelCounter subsection - LabelString " " - OptionalArgs 1 - + LabelType Static + LabelCounter subsection + LabelString " " + Argument 1 + LabelString "Slide Option" + Tooltip "Optional arguments to the slide command (see powerdot manual)" + EndArgument Font Series Bold Size Large @@ -137,6 +149,7 @@ Style Slide End Style EndSlide + Category Slides KeepEmpty 1 LatexType Command LatexName lyxend @@ -151,7 +164,7 @@ Style EndSlide LabelBottomSep 0 LeftMargin MMMMMMM LabelString "~=~" - OptionalArgs 0 + ResetArgs 1 Font Color None @@ -166,7 +179,6 @@ End Style WideSlide CopyStyle Slide LatexName lyxend\lyxwideslide - Font Color Green EndFont @@ -178,11 +190,10 @@ End Style EmptySlide CopyStyle Slide LatexName lyxend\lyxemptyslide - LeftMargin MMMMMMMMMMMMMM - LabelString "Empty slide:" - LabelType Static + LeftMargin MMMMMMMMMMMMMM + LabelString "Empty slide:" + LabelType Static KeepEmpty 1 - Font Color Cyan EndFont @@ -192,6 +203,7 @@ End # Note style definition ### Style Note + Category Slides Margin Static LatexType Command LatexName lyxend\lyxnote @@ -201,12 +213,12 @@ Style Note BottomSep 0.7 ParSep 0.7 Align Center - AlignPossible Center - LabelType Static - LabelString "Note:" - LeftMargin MMMMMMM + AlignPossible Center + LabelType Static + LabelString "Note:" + LeftMargin MMMMMMM KeepEmpty 1 - OptionalArgs 0 + ResetArgs 1 Font Series Bold Size Large @@ -219,53 +231,83 @@ End ### Style Section CopyStyle Slide + Category Sectioning TocLevel 1 LatexName lyxend\section - LabelType Counter - LabelCounter section - LabelString "\arabic{section}" - + LabelType Static + LabelCounter section + LabelString "\arabic{section}" Font Size Larger Color Blue EndFont LabelStringAppendix "\Alph{section}" + Argument 1 + LabelString "Section Option" + Tooltip "Optional arguments to the section command (see powerdot manual)" + EndArgument End ### # Itemize styles definition ### Style Itemize + Category List Margin Static LatexType Item_Environment LatexName itemize - NextNoIndent 1 - LeftMargin MMN + NextNoIndent 1 + ToggleIndent Never + LeftMargin MMN LabelSep xx ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block - AlignPossible Block, Left + AlignPossible Block, Left LabelType Itemize - LabelString * + 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 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 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 - LeftMargin MMN + NextNoIndent 1 + ToggleIndent Never + LeftMargin MMN LabelSep xx ParSkip 0.0 ItemSep 0.2 @@ -273,46 +315,75 @@ Style Enumerate BottomSep 0.7 ParSep 0.3 Align Block - AlignPossible Block, Left + 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 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 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 - LeftMargin MM + NextNoIndent 1 + ToggleIndent Never + LeftMargin MM ParSkip 0.4 ItemSep 0 TopSep 0.7 BottomSep 0.7 ParSep 0.5 Align Block - AlignPossible Block, Left + AlignPossible Block, Left LabelType Bibliography - LabelString "" - LabelBottomSep 0 + LabelString "" + LabelBottomSep 0 End ### # Quotation style definition ### Style Quotation + Category MainText Margin Static LatexType Environment LatexName quotation - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM + NextNoIndent 1 + ToggleIndent Always + LeftMargin MMM + RightMargin MMM ParIndent MM ParSkip 0 ItemSep 0 @@ -320,24 +391,26 @@ Style Quotation BottomSep 0.5 ParSep 0 Align Block - AlignPossible Block, Left, Right, Center + AlignPossible Block, Left, Right, Center End ### # Quote style definition ### Style Quote + Category MainText Margin Static LatexType Environment LatexName quote - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM + NextNoIndent 1 + ToggleIndent Never + LeftMargin MMM + RightMargin MMM TopSep 0.5 ParSep 0.5 BottomSep 0.5 Align Block - AlignPossible Block, Left, Right, Center + AlignPossible Block, Left, Right, Center LabelType No_Label End @@ -347,19 +420,79 @@ 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 - NextNoIndent 1 - LeftMargin MMMM - LabelIndent MMMM + NextNoIndent 1 + LeftMargin MMMM + LabelIndent MMMM + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block, Left + LabelType No_Label +End + +### +# 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 + 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 ### @@ -371,12 +504,14 @@ End ### Float Type table - GuiName Table + GuiName Table Extension lot NumberWithin none Style plain ListName "List of Tables" - LaTeXBuiltin true + IsPredefined true + UsesFloatPkg false + ListCommand listoftables End Float @@ -386,7 +521,9 @@ Float NumberWithin none Style plain ListName "List of Figures" - LaTeXBuiltin true + IsPredefined true + UsesFloatPkg false + ListCommand listoffigures End Float @@ -396,43 +533,67 @@ Float NumberWithin none Style ruled ListName "List of Algorithms" - LaTeXBuiltin false + IsPredefined false + UsesFloatPkg true End ### # Counters definitions ### -Counter - Name enumi +Counter enumi End -Counter - Name enumii +Counter enumii Within enumi End -Counter - Name enumiii +Counter enumiii Within enumii End -Counter - Name enumiv +Counter enumiv Within enumiii End -Counter - Name bibitem +Counter bibitem End -Counter - Name figure +Counter figure +End + +Counter table +End + +Counter 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 -Counter - Name table +InsetLayout Flex:Onslide+ + CopyStyle Flex:Onslide + LatexName onslide+ + LabelString "Uncover" End -Counter - Name algorithm +InsetLayout Flex:Onslide* + CopyStyle Flex:Onslide + LatexName onslide* + LabelString "Only" End