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