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