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