]> git.lyx.org Git - lyx.git/blob - lib/layouts/powerdot.layout
Change name and email in some other files
[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 89
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   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       Blue
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       Magenta
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       Green
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       Cyan
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       Red
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       Blue
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 End
378
379 Style EnumerateType1
380   CopyStyle       Enumerate
381   Argument 1
382     LabelString   "Enumerate Type"
383     Tooltip       "Enumerate type specification (see powerdot manual)"
384     DefaultArg    "type=1"
385   EndArgument
386 End
387
388 ###
389 # Bibliography style definition
390 ###
391 Style Bibliography
392   Category      BackMatter
393   Margin        First_Dynamic
394   LatexType     Bib_Environment
395   LatexName     thebibliography
396   NextNoIndent  1
397   ToggleIndent  Never
398   LeftMargin    MM
399   ParSkip       0.4
400   ItemSep       0
401   TopSep        0.7
402   BottomSep     0.7
403   ParSep        0.5
404   Align         Block
405   AlignPossible Block, Left
406   LabelType     Bibliography
407   LabelString   ""
408   LabelBottomSep 0
409   TocLevel       1
410   IsTocCaption   0
411   Argument listpreamble:1
412     LabelString    "Bib preamble"
413     MenuString     "Bibliography Preamble"
414     Tooltip        "LaTeX code to be inserted before the first bibliography item"
415     PassThru       1
416     Font
417       Family typewriter
418       Color latex
419     EndFont
420   EndArgument
421 End
422
423 ###
424 # Quotation style definition
425 ###
426 Style Quotation
427   Category      MainText
428   Margin        Static
429   LatexType     Environment
430   LatexName     quotation
431   NextNoIndent  1
432   ToggleIndent  Always
433   LeftMargin    MMM
434   RightMargin   MMM
435   ParIndent     MM
436   ParSkip       0
437   ItemSep       0
438   TopSep        0.5
439   BottomSep     0.5
440   ParSep        0
441   Align         Block
442   AlignPossible Block, Left, Right, Center
443 End
444
445 ###
446 # Quote style definition
447 ###
448 Style Quote
449   Category      MainText
450   Margin        Static
451   LatexType     Environment
452   LatexName     quote
453   NextNoIndent  1
454   ToggleIndent  Never
455   LeftMargin    MMM
456   RightMargin   MMM
457   TopSep        0.5
458   ParSep        0.5
459   BottomSep     0.5
460   Align         Block
461   AlignPossible Block, Left, Right, Center
462   LabelType     No_Label
463 End
464
465 ###
466 # Verse style definition
467 ###
468 Style Verse
469 # LaTeX type is first dynamic because of LaTeX implementation.
470 # In LyX this does not make sense.
471   Category      MainText
472   LatexType     Environment
473   LatexName     verse
474   Margin        First_Dynamic
475   NextNoIndent  1
476   LeftMargin    MMMM
477   LabelIndent   MMMM
478   ParSkip       0.4
479   TopSep        0.7
480   BottomSep     0.7
481   ParSep        0.5
482   Align         Block
483   AlignPossible Block, Left
484   LabelType     No_Label
485 End
486
487 ###
488 # Twocolumn style definition
489 ###
490 Style Twocolumn
491   Category      MainText
492   LatexType     command
493   LatexName     twocolumn
494   Margin        First_Dynamic
495   NextNoIndent  1
496   ParSkip       0.4
497   TopSep        0.7
498   BottomSep     0.7
499   ParSep        0.5
500   Align         Block
501   AlignPossible Block, Left, Right, Center
502   LabelType     No_Label
503   Argument 1
504     LabelString   "Column Options"
505     Tooltip       "Twocolumn options (see powerdot manual)"
506   EndArgument
507   Argument 2
508     LabelString   "Left Column"
509     Tooltip       "Enter the text of the left column here (right column in main paragraph)"
510     Mandatory     1
511     AutoInsert    1
512   EndArgument
513 End
514
515 ###
516 # Overlay style definitions
517 ###
518 Style Pause
519   Category         Overlays
520   KeepEmpty        1
521   LatexType        Command
522   LatexName        pause
523   Margin           First_Dynamic
524   Argument 1
525     LabelString    "Pause number"
526     Tooltip        "Number of slide where the context below the pause gets visible"
527   EndArgument
528   NextNoIndent     1
529   ParSkip          0
530   TopSep           0
531   BottomSep        0.25
532   ParSep           0
533   Align            Center
534   LabelType        Static
535   LabelBottomSep   0
536   LeftMargin       MMMMM
537   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
538   LabelFont
539     Family         typewriter
540     Series         Medium
541     Size           Normal
542     Color          latex
543   EndFont
544 End
545
546 ###
547 # Float definitions
548 ###
549 Input stdfloatnames.inc
550
551 Float
552         Type                  table
553         GuiName               Table
554         AllowedPlacement      H
555         AllowsSideways        0
556         AllowsWide            0
557         Extension             lot
558         NumberWithin          none
559         Style                 plain
560         ListName              "List of Tables"
561         IsPredefined          true
562         UsesFloatPkg          false
563         ListCommand           listoftables
564         RefPrefix             tab
565 End
566
567
568 Float
569         Type                  figure
570         GuiName               Figure
571         AllowedPlacement      H
572         AllowsSideways        0
573         AllowsWide            0
574         Extension             lof
575         NumberWithin          none
576         Style                 plain
577         ListName              "List of Figures"
578         IsPredefined          true
579         UsesFloatPkg          false
580         ListCommand           listoffigures
581         RefPrefix             fig
582 End
583
584
585 Float
586         Type                  algorithm
587         GuiName               Algorithm
588         AllowedPlacement      H
589         AllowsSideways        0
590         AllowsWide            0
591         Extension             loa
592         NumberWithin          none
593         Style                 ruled
594         ListName              "List of Algorithms"
595         IsPredefined          false
596         UsesFloatPkg          true
597         RefPrefix             alg
598 End
599
600 ###
601 # Counters definitions
602 ###
603 Counter enumi
604         GuiName "Numbered List (Level 1)"
605 End
606
607 Counter enumii
608         GuiName "Numbered List (Level 2)"
609   Within        enumi
610 End
611
612 Counter enumiii
613         GuiName "Numbered List (Level 3)"
614   Within        enumii
615 End
616
617 Counter enumiv
618         GuiName "Numbered List (Level 4)"
619   Within        enumiii
620 End
621
622 Counter bibitem
623         GuiName "Bibliography Item"
624 End
625
626 Counter figure
627         GuiName Figure
628 End
629
630 Counter table
631         GuiName Table
632 End
633
634 Counter algorithm
635         GuiName Algorithm
636 End
637
638 ###
639 # Charstyle definitions
640 ###
641
642 InsetLayout Flex:Onslide
643   LyXType          charstyle
644   LabelString      "Visible"
645   LatexType        command
646   LatexName        onslide
647   Argument 1
648     LabelString    "On Slides"
649     MenuString     "Overlay Specification|S"
650     Tooltip        "Specify the overlay settings (see powerdot manual)"
651     Mandatory      1
652     DefaultArg     "1-"
653   EndArgument
654         ResetsFont true
655 End
656
657 InsetLayout Flex:Onslide+
658   CopyStyle        Flex:Onslide
659   LatexName        onslide+
660   LabelString      "Uncover"
661 End
662
663 InsetLayout Flex:Onslide*
664   CopyStyle        Flex:Onslide
665   LatexName        onslide*
666   LabelString      "Only"
667 End