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