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