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