]> git.lyx.org Git - lyx.git/blob - lib/layouts/powerdot.layout
Merge branch 'master' of git.lyx.org:lyx
[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 80
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 End
301
302 Style ItemizeType1
303   CopyStyle     Itemize
304   Argument 1
305     LabelString   "Itemize Type"
306     Tooltip       "Itemize type specification (see powerdot manual)"
307     DefaultArg    "type=1"
308   EndArgument
309 End
310
311 ###
312 # Enumerate styles definition
313 ###
314 Style Enumerate
315   Category      List
316   Margin        Static
317   LatexType     Item_Environment
318   LatexName     enumerate
319   NextNoIndent  1
320   ToggleIndent  Never
321   LeftMargin    MMN
322   LabelSep      xx
323   ParSkip       0.0
324   ItemSep       0.2
325   TopSep        0.7
326   BottomSep     0.7
327   ParSep        0.3
328   Align         Block
329   AlignPossible Block, Left
330   LabelType     Enumerate
331   RefPrefix     enu
332   Argument 1
333     LabelString   "Enumerate Type"
334     Tooltip       "Enumerate type specification (see powerdot manual)"
335   EndArgument
336   Argument 2
337     LabelString   "Enumerate Options"
338     Tooltip       "Optional arguments for this list (see enumitem manual)"
339     Requires      1
340   EndArgument
341   Argument listpreamble:1
342     LabelString    "List preamble"
343     MenuString     "List Preamble"
344     Tooltip        "LaTeX code to be inserted before the first item"
345     PassThru       1
346     Font
347       Family typewriter
348       Color latex
349     EndFont
350   EndArgument
351   Argument item:1
352     LabelString   "Custom Item|s"
353     Tooltip       "A customized item string"
354   EndArgument
355   Argument item:2
356     MenuString    "Item Overlay Specifications"
357     LabelString   "On Slide"
358     Tooltip       "Overlay specifications for this item"
359     LeftDelim      <
360     RightDelim     >
361   EndArgument
362 End
363
364 Style EnumerateType1
365   CopyStyle       Enumerate
366   Argument 1
367     LabelString   "Enumerate Type"
368     Tooltip       "Enumerate type specification (see powerdot manual)"
369     DefaultArg    "type=1"
370   EndArgument
371 End
372
373 ###
374 # Bibliography style definition
375 ###
376 Style Bibliography
377   Category      BackMatter
378   Margin        First_Dynamic
379   LatexType     Bib_Environment
380   LatexName     thebibliography
381   NextNoIndent  1
382   ToggleIndent  Never
383   LeftMargin    MM
384   ParSkip       0.4
385   ItemSep       0
386   TopSep        0.7
387   BottomSep     0.7
388   ParSep        0.5
389   Align         Block
390   AlignPossible Block, Left
391   LabelType     Bibliography
392   LabelString   ""
393   LabelBottomSep 0
394   TocLevel       1
395   IsTocCaption   0
396   Argument listpreamble:1
397     LabelString    "Bib preamble"
398     MenuString     "Bibliography Preamble"
399     Tooltip        "LaTeX code to be inserted before the first bibliography item"
400     PassThru       1
401     Font
402       Family typewriter
403       Color latex
404     EndFont
405   EndArgument
406 End
407
408 ###
409 # Quotation style definition
410 ###
411 Style Quotation
412   Category      MainText
413   Margin        Static
414   LatexType     Environment
415   LatexName     quotation
416   NextNoIndent  1
417   ToggleIndent  Always
418   LeftMargin    MMM
419   RightMargin   MMM
420   ParIndent     MM
421   ParSkip       0
422   ItemSep       0
423   TopSep        0.5
424   BottomSep     0.5
425   ParSep        0
426   Align         Block
427   AlignPossible Block, Left, Right, Center
428 End
429
430 ###
431 # Quote style definition
432 ###
433 Style Quote
434   Category      MainText
435   Margin        Static
436   LatexType     Environment
437   LatexName     quote
438   NextNoIndent  1
439   ToggleIndent  Never
440   LeftMargin    MMM
441   RightMargin   MMM
442   TopSep        0.5
443   ParSep        0.5
444   BottomSep     0.5
445   Align         Block
446   AlignPossible Block, Left, Right, Center
447   LabelType     No_Label
448 End
449
450 ###
451 # Verse style definition
452 ###
453 Style Verse
454 # LaTeX type is first dynamic because of LaTeX implementation.
455 # In LyX this does not make sense.
456   Category      MainText
457   LatexType     Environment
458   LatexName     verse
459   Margin        First_Dynamic
460   NextNoIndent  1
461   LeftMargin    MMMM
462   LabelIndent   MMMM
463   ParSkip       0.4
464   TopSep        0.7
465   BottomSep     0.7
466   ParSep        0.5
467   Align         Block
468   AlignPossible Block, Left
469   LabelType     No_Label
470 End
471
472 ###
473 # Twocolumn style definition
474 ###
475 Style Twocolumn
476   Category      MainText
477   LatexType     command
478   LatexName     twocolumn
479   Margin        First_Dynamic
480   NextNoIndent  1
481   ParSkip       0.4
482   TopSep        0.7
483   BottomSep     0.7
484   ParSep        0.5
485   Align         Block
486   AlignPossible Block, Left, Right, Center
487   LabelType     No_Label
488   Argument 1
489     LabelString   "Column Options"
490     Tooltip       "Twocolumn options (see powerdot manual)"
491   EndArgument
492   Argument 2
493     LabelString   "Left Column"
494     Tooltip       "Enter the text of the left column here (right column in main paragraph)"
495     Mandatory     1
496     AutoInsert    1
497   EndArgument
498 End
499
500 ###
501 # Overlay style definitions
502 ###
503 Style Pause
504   Category         Overlays
505   KeepEmpty        1
506   LatexType        Command
507   LatexName        pause
508   Margin           First_Dynamic
509   Argument 1
510     LabelString    "Pause number"
511     Tooltip        "Number of slide where the context below the pause gets visible"
512   EndArgument
513   NextNoIndent     1
514   ParSkip          0
515   TopSep           0
516   BottomSep        0.25
517   ParSep           0
518   Align            Center
519   LabelType        Static
520   LabelBottomSep   0
521   LeftMargin       MMMMM
522   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
523   LabelFont
524     Family         typewriter
525     Series         Medium
526     Size           Normal
527     Color          latex
528   EndFont
529 End
530
531 ###
532 # Float definitions
533 ###
534 Input stdfloatnames.inc
535
536 Float
537         Type                  table
538         GuiName               Table
539         AllowedPlacement      H
540         AllowsSideways        0
541         AllowsWide            0
542         Extension             lot
543         NumberWithin          none
544         Style                 plain
545         ListName              "List of Tables"
546         IsPredefined          true
547         UsesFloatPkg          false
548         ListCommand           listoftables
549         RefPrefix             tab
550 End
551
552
553 Float
554         Type                  figure
555         GuiName               Figure
556         AllowedPlacement      H
557         AllowsSideways        0
558         AllowsWide            0
559         Extension             lof
560         NumberWithin          none
561         Style                 plain
562         ListName              "List of Figures"
563         IsPredefined          true
564         UsesFloatPkg          false
565         ListCommand           listoffigures
566         RefPrefix             fig
567 End
568
569
570 Float
571         Type                  algorithm
572         GuiName               Algorithm
573         AllowedPlacement      H
574         AllowsSideways        0
575         AllowsWide            0
576         Extension             loa
577         NumberWithin          none
578         Style                 ruled
579         ListName              "List of Algorithms"
580         IsPredefined          false
581         UsesFloatPkg          true
582         RefPrefix             alg
583 End
584
585 ###
586 # Counters definitions
587 ###
588 Counter enumi
589 End
590
591 Counter enumii
592   Within        enumi
593 End
594
595 Counter enumiii
596   Within        enumii
597 End
598
599 Counter enumiv
600   Within        enumiii
601 End
602
603 Counter bibitem
604 End
605
606 Counter figure
607 End
608
609 Counter table
610 End
611
612 Counter algorithm
613 End
614
615 ###
616 # Charstyle definitions
617 ###
618
619 InsetLayout Flex:Onslide
620   LyXType          charstyle
621   LabelString      "Visible"
622   LatexType        command
623   LatexName        onslide
624   Argument 1
625     LabelString    "On Slides"
626     MenuString     "Overlay Specification|S"
627     Tooltip        "Specify the overlay settings (see powerdot manual)"
628     Mandatory      1
629     DefaultArg     "1-"
630   EndArgument
631         ResetsFont true
632 End
633
634 InsetLayout Flex:Onslide+
635   CopyStyle        Flex:Onslide
636   LatexName        onslide+
637   LabelString      "Uncover"
638 End
639
640 InsetLayout Flex:Onslide*
641   CopyStyle        Flex:Onslide
642   LatexName        onslide*
643   LabelString      "Only"
644 End