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