]> git.lyx.org Git - features.git/blob - lib/layouts/powerdot.layout
a3876620ff2622066a119ba025e0b89246075b46
[features.git] / lib / layouts / powerdot.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[powerdot,enumitem.sty,hyperref.sty,pstricks.sty,pst-grad.sty,verbatim.sty,xcolor.sty,xkeyval.sty]{Powerdot}
3 #  \DeclareCategory{Presentations}
4 # PowerDot textclass definition file.
5 # Created: 29-Aug-05 by Mael Hilléreau
6 # Modified: 20-May-06 by Uwe Stöhr, 18-Mar-2013 Jürgen Spitzmüller
7
8 Format 85
9
10 Input stdcounters.inc
11 Input stdinsets.inc
12 Input stdfloats.inc
13
14 ###
15 # General textclass parameters
16 ###
17 Columns             1
18 Sides               1
19 Provides url        1
20 Provides hyperref   1
21 Provides geometry   1
22 DefaultStyle        Standard
23 ExcludesModule      enumitem
24
25 DefaultFont
26   Family        Sans
27   Series        Medium
28   Shape         Up
29   Size          Normal
30   Color         None
31 EndFont
32
33 ###
34 # General textclass parameters
35 ###
36 ClassOptions
37   FontSize   size=8|size=9|size=10|size=11|size=12|size=14|size=17|size=20
38   PageStyle  ""
39 End
40
41 ###
42 # Title style definition
43 ###
44 Style Title
45   Category      TitleSlide
46   Margin        Static
47   LatexType     Command
48   InTitle       1
49   LatexName     title
50   ParSkip       0.4
51   ItemSep       0
52   TopSep        0
53   BottomSep     1
54   ParSep        1
55   Align         Center
56   LabelType     No_Label
57   Font
58     Series      Bold
59     Size        Largest
60     Color       Blue
61   EndFont
62   HTMLTitle     true
63 End
64
65 ###
66 # Author style definition
67 ###
68 Style Author
69   Category      TitleSlide
70   Margin        Static
71   LatexType     Command
72   InTitle       1
73   LatexName     author
74   LabelSep      xxx
75   ParSkip       0.4
76   TopSep        1.3
77   BottomSep     0.7
78   ParSep        0.7
79   Align         Center
80   LabelType     No_Label
81   Font
82     Size        Large
83     Color       Blue
84   EndFont
85 End
86
87 ###
88 # Date style definition
89 ###
90 Style Date
91   Category      TitleSlide
92   Margin        Dynamic
93   LatexType     Command
94   InTitle       1
95   LatexName     date
96   LabelSep      xxx
97   ParSkip       0.4
98   TopSep        0.9
99   BottomSep     0.5
100   ParSep        1
101   Align         Center
102   LabelType     No_Label
103   Font
104     Size        Large
105     Color       Blue
106   EndFont
107 End
108
109 ###
110 # Standard style definition
111 ###
112 Style Standard
113   Category      MainText
114   Margin        Static
115   LatexType     Paragraph
116   LatexName     dummy
117   ParSkip       0.4
118   Align         Block
119   AlignPossible Block, Left, Right, Center
120   LabelType     No_Label
121   DocBookTag    para
122 End
123
124 ###
125 # Slide styles definition
126 ###
127 Style Slide
128   Category      Slides
129   TocLevel      3
130   Margin        Static
131   LatexType     Command
132   LatexName     lyxend\lyxslide
133   LabelSep      xxx
134   ParSkip       0.4
135   TopSep        1.3
136   BottomSep     0.7
137   ParSep        0.7
138   Align         Center
139   LabelType     Static
140   LabelCounter  subsection
141   LabelString   ""
142   Argument 1
143     LabelString   "Slide Option"
144     Tooltip       "Optional arguments to the slide command (see powerdot manual)"
145   EndArgument
146   Font
147     Series      Bold
148     Size        Large
149     Color       Magenta
150   EndFont
151 End
152
153 Style EndSlide
154   Category          Slides
155   KeepEmpty         1
156   LatexType         Command
157   LatexName         lyxend
158   Margin            Static
159   ParSkip           0
160   TopSep            0
161   BottomSep         1
162   ParSep            0
163   Align             Center
164   AlignPossible     Center
165   LabelType         Static
166   LabelBottomSep    0
167   LeftMargin        MMMMMMM
168   LabelString       "~=~"
169   ResetArgs         1
170
171   Font
172     Color       None
173   EndFont
174 End
175
176
177
178 ###
179 # Wideslide style definition
180 ###
181 Style WideSlide
182   CopyStyle     Slide
183   LatexName     lyxend\lyxwideslide
184   Font
185     Color       Green
186   EndFont
187 End
188
189 ###
190 # EmptySlide style definition
191 ###
192 Style EmptySlide
193   CopyStyle     Slide
194   LatexName     lyxend\lyxemptyslide
195   LeftMargin    MMMMMMMMMMMMMM
196   LabelString   "Empty slide:"
197   LabelType     Static
198   KeepEmpty     1
199   Font
200     Color       Cyan
201   EndFont
202 End
203
204 ###
205 # Note style definition
206 ###
207 Style Note
208   Category      Slides
209   Margin        Static
210   LatexType     Command
211   LatexName     lyxend\lyxnote
212   LabelSep      xxx
213   ParSkip       0.4
214   TopSep        1.3
215   BottomSep     0.7
216   ParSep        0.7
217   Align         Center
218   AlignPossible Center
219   LabelType     Static
220   LabelString   "Note:"
221   LeftMargin    MMMMMMM
222   KeepEmpty     1
223   ResetArgs     1
224   Font
225     Series      Bold
226     Size        Large
227     Color       Red
228   EndFont
229 End
230
231 ###
232 # Section style definition
233 ###
234 Style Section
235   CopyStyle     Slide
236   Category      Sectioning
237   TocLevel      1
238   LatexName     lyxend\section
239   LabelType     Static
240   LabelCounter  section
241   LabelString   "\arabic{section}"
242   Font
243     Size        Larger
244     Color       Blue
245   EndFont
246   LabelStringAppendix "\Alph{section}"
247   Argument 1
248     LabelString   "Section Option"
249     Tooltip       "Optional arguments to the section command (see powerdot manual)"
250   EndArgument
251 End
252
253 ###
254 # Itemize styles definition
255 ###
256 Style Itemize
257   Category      List
258   Margin        Static
259   LatexType     Item_Environment
260   LatexName     itemize
261   NextNoIndent  1
262   ToggleIndent  Never
263   LeftMargin    MMN
264   LabelSep      xx
265   ItemSep       0.2
266   TopSep        0.7
267   BottomSep     0.7
268   ParSep        0.3
269   Align         Block
270   AlignPossible Block, Left
271   LabelType     Itemize
272   Argument 1
273     LabelString   "Itemize Type"
274     Tooltip       "Itemize type specification (see powerdot manual)"
275   EndArgument
276   Argument 2
277     LabelString   "Itemize Options"
278     Tooltip       "Optional arguments for this list (see enumitem manual)"
279   EndArgument
280   Argument listpreamble:1
281     LabelString    "List preamble"
282     MenuString     "List Preamble"
283     Tooltip        "LaTeX code to be inserted before the first item"
284     PassThru       1
285     Font
286       Family typewriter
287       Color latex
288     EndFont
289   EndArgument
290   Argument item:1
291     LabelString   "Custom Item|s"
292     Tooltip       "A customized item string"
293   EndArgument
294   Argument item:2
295     MenuString    "Item Overlay Specifications"
296     LabelString   "On Slide"
297     Tooltip       "Overlay specifications for this item"
298     LeftDelim      <
299     RightDelim     >
300   EndArgument
301   DocBookTag            itemizedlist
302   DocBookItemTag        listitem
303   DocBookItemInnerTag   para
304 End
305
306 Style ItemizeType1
307   CopyStyle     Itemize
308   Argument 1
309     LabelString   "Itemize Type"
310     Tooltip       "Itemize type specification (see powerdot manual)"
311     DefaultArg    "type=1"
312   EndArgument
313 End
314
315 ###
316 # Enumerate styles definition
317 ###
318 Style Enumerate
319   Category      List
320   Margin        Static
321   LatexType     Item_Environment
322   LatexName     enumerate
323   NextNoIndent  1
324   ToggleIndent  Never
325   LeftMargin    MMN
326   LabelSep      xx
327   ParSkip       0.0
328   ItemSep       0.2
329   TopSep        0.7
330   BottomSep     0.7
331   ParSep        0.3
332   Align         Block
333   AlignPossible Block, Left
334   LabelType     Enumerate
335   RefPrefix     enu
336   Argument 1
337     LabelString   "Enumerate Type"
338     Tooltip       "Enumerate type specification (see powerdot manual)"
339   EndArgument
340   Argument 2
341     LabelString   "Enumerate Options"
342     Tooltip       "Optional arguments for this list (see enumitem manual)"
343     Requires      1
344   EndArgument
345   Argument listpreamble:1
346     LabelString    "List preamble"
347     MenuString     "List Preamble"
348     Tooltip        "LaTeX code to be inserted before the first item"
349     PassThru       1
350     Font
351       Family typewriter
352       Color latex
353     EndFont
354   EndArgument
355   Argument item:1
356     LabelString   "Custom Item|s"
357     Tooltip       "A customized item string"
358   EndArgument
359   Argument item:2
360     MenuString    "Item Overlay Specifications"
361     LabelString   "On Slide"
362     Tooltip       "Overlay specifications for this item"
363     LeftDelim      <
364     RightDelim     >
365   EndArgument
366   DocBookTag            orderedlist
367   DocBookItemTag        listitem
368   DocBookItemInnerTag   para
369 End
370
371 Style EnumerateType1
372   CopyStyle       Enumerate
373   Argument 1
374     LabelString   "Enumerate Type"
375     Tooltip       "Enumerate type specification (see powerdot manual)"
376     DefaultArg    "type=1"
377   EndArgument
378 End
379
380 ###
381 # Bibliography style definition
382 ###
383 Style Bibliography
384   Category      BackMatter
385   Margin        First_Dynamic
386   LatexType     Bib_Environment
387   LatexName     thebibliography
388   NextNoIndent  1
389   ToggleIndent  Never
390   LeftMargin    MM
391   ParSkip       0.4
392   ItemSep       0
393   TopSep        0.7
394   BottomSep     0.7
395   ParSep        0.5
396   Align         Block
397   AlignPossible Block, Left
398   LabelType     Bibliography
399   LabelString   ""
400   LabelBottomSep 0
401   TocLevel       1
402   IsTocCaption   0
403   Argument listpreamble:1
404     LabelString    "Bib preamble"
405     MenuString     "Bibliography Preamble"
406     Tooltip        "LaTeX code to be inserted before the first bibliography item"
407     PassThru       1
408     Font
409       Family typewriter
410       Color latex
411     EndFont
412   EndArgument
413 End
414
415 ###
416 # Quotation style definition
417 ###
418 Style Quotation
419   Category      MainText
420   Margin        Static
421   LatexType     Environment
422   LatexName     quotation
423   NextNoIndent  1
424   ToggleIndent  Always
425   LeftMargin    MMM
426   RightMargin   MMM
427   ParIndent     MM
428   ParSkip       0
429   ItemSep       0
430   TopSep        0.5
431   BottomSep     0.5
432   ParSep        0
433   Align         Block
434   AlignPossible Block, Left, Right, Center
435 End
436
437 ###
438 # Quote style definition
439 ###
440 Style Quote
441   Category      MainText
442   Margin        Static
443   LatexType     Environment
444   LatexName     quote
445   NextNoIndent  1
446   ToggleIndent  Never
447   LeftMargin    MMM
448   RightMargin   MMM
449   TopSep        0.5
450   ParSep        0.5
451   BottomSep     0.5
452   Align         Block
453   AlignPossible Block, Left, Right, Center
454   LabelType     No_Label
455 End
456
457 ###
458 # Verse style definition
459 ###
460 Style Verse
461 # LaTeX type is first dynamic because of LaTeX implementation.
462 # In LyX this does not make sense.
463   Category      MainText
464   LatexType     Environment
465   LatexName     verse
466   Margin        First_Dynamic
467   NextNoIndent  1
468   LeftMargin    MMMM
469   LabelIndent   MMMM
470   ParSkip       0.4
471   TopSep        0.7
472   BottomSep     0.7
473   ParSep        0.5
474   Align         Block
475   AlignPossible Block, Left
476   LabelType     No_Label
477 End
478
479 ###
480 # Twocolumn style definition
481 ###
482 Style Twocolumn
483   Category      MainText
484   LatexType     command
485   LatexName     twocolumn
486   Margin        First_Dynamic
487   NextNoIndent  1
488   ParSkip       0.4
489   TopSep        0.7
490   BottomSep     0.7
491   ParSep        0.5
492   Align         Block
493   AlignPossible Block, Left, Right, Center
494   LabelType     No_Label
495   Argument 1
496     LabelString   "Column Options"
497     Tooltip       "Twocolumn options (see powerdot manual)"
498   EndArgument
499   Argument 2
500     LabelString   "Left Column"
501     Tooltip       "Enter the text of the left column here (right column in main paragraph)"
502     Mandatory     1
503     AutoInsert    1
504   EndArgument
505 End
506
507 ###
508 # Overlay style definitions
509 ###
510 Style Pause
511   Category         Overlays
512   KeepEmpty        1
513   LatexType        Command
514   LatexName        pause
515   Margin           First_Dynamic
516   Argument 1
517     LabelString    "Pause number"
518     Tooltip        "Number of slide where the context below the pause gets visible"
519   EndArgument
520   NextNoIndent     1
521   ParSkip          0
522   TopSep           0
523   BottomSep        0.25
524   ParSep           0
525   Align            Center
526   LabelType        Static
527   LabelBottomSep   0
528   LeftMargin       MMMMM
529   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
530   LabelFont
531     Family         typewriter
532     Series         Medium
533     Size           Normal
534     Color          latex
535   EndFont
536 End
537
538 ###
539 # Float definitions
540 ###
541 Input stdfloatnames.inc
542
543 Float
544         Type                  table
545         GuiName               Table
546         AllowedPlacement      H
547         AllowsSideways        0
548         AllowsWide            0
549         Extension             lot
550         NumberWithin          none
551         Style                 plain
552         ListName              "List of Tables"
553         IsPredefined          true
554         UsesFloatPkg          false
555         ListCommand           listoftables
556         RefPrefix             tab
557 End
558
559
560 Float
561         Type                  figure
562         GuiName               Figure
563         AllowedPlacement      H
564         AllowsSideways        0
565         AllowsWide            0
566         Extension             lof
567         NumberWithin          none
568         Style                 plain
569         ListName              "List of Figures"
570         IsPredefined          true
571         UsesFloatPkg          false
572         ListCommand           listoffigures
573         RefPrefix             fig
574 End
575
576
577 Float
578         Type                  algorithm
579         GuiName               Algorithm
580         AllowedPlacement      H
581         AllowsSideways        0
582         AllowsWide            0
583         Extension             loa
584         NumberWithin          none
585         Style                 ruled
586         ListName              "List of Algorithms"
587         IsPredefined          false
588         UsesFloatPkg          true
589         RefPrefix             alg
590 End
591
592 ###
593 # Counters definitions
594 ###
595 Counter enumi
596         GuiName "Numbered List (Level 1)"
597 End
598
599 Counter enumii
600         GuiName "Numbered List (Level 2)"
601   Within        enumi
602 End
603
604 Counter enumiii
605         GuiName "Numbered List (Level 3)"
606   Within        enumii
607 End
608
609 Counter enumiv
610         GuiName "Numbered List (Level 4)"
611   Within        enumiii
612 End
613
614 Counter bibitem
615         GuiName "Bibliography Item"
616 End
617
618 Counter figure
619         GuiName Figure
620 End
621
622 Counter table
623         GuiName Table
624 End
625
626 Counter algorithm
627         GuiName Algorithm
628 End
629
630 ###
631 # Charstyle definitions
632 ###
633
634 InsetLayout Flex:Onslide
635   LyXType          charstyle
636   LabelString      "Visible"
637   LatexType        command
638   LatexName        onslide
639   Argument 1
640     LabelString    "On Slides"
641     MenuString     "Overlay Specification|S"
642     Tooltip        "Specify the overlay settings (see powerdot manual)"
643     Mandatory      1
644     DefaultArg     "1-"
645   EndArgument
646         ResetsFont true
647 End
648
649 InsetLayout Flex:Onslide+
650   CopyStyle        Flex:Onslide
651   LatexName        onslide+
652   LabelString      "Uncover"
653 End
654
655 InsetLayout Flex:Onslide*
656   CopyStyle        Flex:Onslide
657   LatexName        onslide*
658   LabelString      "Only"
659 End