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