]> git.lyx.org Git - lyx.git/blob - lib/layouts/powerdot.layout
Handle URL escaping in beamer frames
[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 104
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       textlabel1
61   EndFont
62   HTMLTitle     true
63   DocBookTag      title
64   DocBookTagType  paragraph
65   DocBookInInfo   maybe
66 End
67
68 ###
69 # Author style definition
70 ###
71 Style Author
72   Category      TitleSlide
73   Margin        Static
74   LatexType     Command
75   InTitle       1
76   LatexName     author
77   LabelSep      xxx
78   ParSkip       0.4
79   TopSep        1.3
80   BottomSep     0.7
81   ParSep        0.7
82   Align         Center
83   LabelType     No_Label
84   Font
85     Size        Large
86     Color       textlabel1
87   EndFont
88   DocBookTag            personname
89   DocBookTagType        paragraph
90   DocBookWrapperTag     author
91   DocBookWrapperTagType inline
92   DocBookInInfo         always
93 End
94
95 ###
96 # Date style definition
97 ###
98 Style Date
99   Category      TitleSlide
100   Margin        Dynamic
101   LatexType     Command
102   InTitle       1
103   LatexName     date
104   LabelSep      xxx
105   ParSkip       0.4
106   TopSep        0.9
107   BottomSep     0.5
108   ParSep        1
109   Align         Center
110   LabelType     No_Label
111   Font
112     Size        Large
113     Color       textlabel1
114   EndFont
115 End
116
117 ###
118 # Standard style definition
119 ###
120 Style Standard
121   Category      MainText
122   Margin        Static
123   LatexType     Paragraph
124   LatexName     dummy
125   ParSkip       0.4
126   Align         Block
127   AlignPossible Block, Left, Right, Center
128   LabelType     No_Label
129   DocBookTag    para
130 End
131
132 ###
133 # Slide styles definition
134 ###
135 Style Slide
136   Category      Slides
137   TocLevel      3
138   Margin        Static
139   LatexType     Command
140   LatexName     lyxend\lyxslide
141   LabelSep      xxx
142   ParSkip       0.4
143   TopSep        1.3
144   BottomSep     0.7
145   ParSep        0.7
146   Align         Center
147   LabelType     Static
148   LabelCounter  subsection
149   LabelString   ""
150   Argument 1
151     LabelString   "Slide Option"
152     Tooltip       "Optional arguments to the slide command (see powerdot manual)"
153   EndArgument
154   Font
155     Series      Bold
156     Size        Large
157     Color       textlabel3
158   EndFont
159 End
160
161 Style EndSlide
162   Category          Slides
163   KeepEmpty         1
164   LatexType         Command
165   LatexName         lyxend
166   Margin            Static
167   ParSkip           0
168   TopSep            0
169   BottomSep         1
170   ParSep            0
171   Align             Center
172   AlignPossible     Center
173   LabelType         Static
174   LabelBottomSep    0
175   LeftMargin        MMMMMMM
176   LabelString       "~=~"
177   ResetArgs         1
178
179   Font
180     Color       None
181   EndFont
182 End
183
184
185
186 ###
187 # Wideslide style definition
188 ###
189 Style WideSlide
190   CopyStyle     Slide
191   LatexName     lyxend\lyxwideslide
192   Font
193     Color       textlabel2
194   EndFont
195 End
196
197 ###
198 # EmptySlide style definition
199 ###
200 Style EmptySlide
201   CopyStyle     Slide
202   LatexName     lyxend\lyxemptyslide
203   LeftMargin    MMMMMMMMMMMMMM
204   LabelString   "Empty slide:"
205   LabelType     Static
206   KeepEmpty     1
207   Font
208     Color       greyedouttext
209   EndFont
210 End
211
212 ###
213 # Note style definition
214 ###
215 Style Note
216   Category      Slides
217   Margin        Static
218   LatexType     Command
219   LatexName     lyxend\lyxnote
220   LabelSep      xxx
221   ParSkip       0.4
222   TopSep        1.3
223   BottomSep     0.7
224   ParSep        0.7
225   Align         Center
226   AlignPossible Center
227   LabelType     Static
228   LabelString   "Note:"
229   LeftMargin    MMMMMMM
230   KeepEmpty     1
231   ResetArgs     1
232   Font
233     Series      Bold
234     Size        Large
235     Color       textlabel3
236   EndFont
237 End
238
239 ###
240 # Section style definition
241 ###
242 Style Section
243   CopyStyle     Slide
244   Category      Sectioning
245   TocLevel      1
246   LatexName     lyxend\section
247   LabelType     Static
248   LabelCounter  section
249   LabelString   "\arabic{section}"
250   Font
251     Size        Larger
252     Color       textlabel1
253   EndFont
254   LabelStringAppendix "\Alph{section}"
255   Argument 1
256     LabelString   "Section Option"
257     Tooltip       "Optional arguments to the section command (see powerdot manual)"
258   EndArgument
259   HTMLTag       h2
260 End
261
262 ###
263 # Itemize styles definition
264 ###
265 Style Itemize
266   Category      List
267   Margin        Static
268   LatexType     Item_Environment
269   LatexName     itemize
270   NextNoIndent  1
271   ToggleIndent  Never
272   LeftMargin    MMN
273   LabelSep      xx
274   ItemSep       0.2
275   TopSep        0.7
276   BottomSep     0.7
277   ParSep        0.3
278   Align         Block
279   AlignPossible Block, Left
280   LabelType     Itemize
281   Argument 1
282     LabelString   "Itemize Type"
283     Tooltip       "Itemize type specification (see powerdot manual)"
284   EndArgument
285   Argument 2
286     LabelString   "Itemize Options"
287     Tooltip       "Optional arguments for this list (see enumitem manual)"
288   EndArgument
289   Argument listpreamble:1
290     LabelString    "List preamble"
291     MenuString     "List Preamble"
292     Tooltip        "LaTeX code to be inserted before the first item"
293     PassThru       1
294     Font
295       Family typewriter
296       Color latex
297     EndFont
298   EndArgument
299   Argument item:1
300     LabelString   "Custom Item|s"
301     Tooltip       "A customized item string"
302   EndArgument
303   Argument item:2
304     MenuString    "Item Overlay Specifications"
305     LabelString   "On Slide"
306     Tooltip       "Overlay specifications for this item"
307     LeftDelim      <
308     RightDelim     >
309   EndArgument
310   DocBookTag            itemizedlist
311   DocBookItemTag        listitem
312   DocBookItemInnerTag   para
313 End
314
315 Style ItemizeType1
316   CopyStyle     Itemize
317   Argument 1
318     LabelString   "Itemize Type"
319     Tooltip       "Itemize type specification (see powerdot manual)"
320     DefaultArg    "type=1"
321   EndArgument
322 End
323
324 ###
325 # Enumerate styles definition
326 ###
327 Style Enumerate
328   Category      List
329   Margin        Static
330   LatexType     Item_Environment
331   LatexName     enumerate
332   NextNoIndent  1
333   ToggleIndent  Never
334   LeftMargin    MMN
335   LabelSep      xx
336   ParSkip       0.0
337   ItemSep       0.2
338   TopSep        0.7
339   BottomSep     0.7
340   ParSep        0.3
341   Align         Block
342   AlignPossible Block, Left
343   LabelType     Enumerate
344   RefPrefix     enu
345   Argument 1
346     LabelString   "Enumerate Type"
347     Tooltip       "Enumerate type specification (see powerdot manual)"
348   EndArgument
349   Argument 2
350     LabelString   "Enumerate Options"
351     Tooltip       "Optional arguments for this list (see enumitem manual)"
352     Requires      1
353   EndArgument
354   Argument listpreamble:1
355     LabelString    "List preamble"
356     MenuString     "List Preamble"
357     Tooltip        "LaTeX code to be inserted before the first item"
358     PassThru       1
359     Font
360       Family typewriter
361       Color latex
362     EndFont
363   EndArgument
364   Argument item:1
365     LabelString   "Custom Item|s"
366     Tooltip       "A customized item string"
367   EndArgument
368   Argument item:2
369     MenuString    "Item Overlay Specifications"
370     LabelString   "On Slide"
371     Tooltip       "Overlay specifications for this item"
372     LeftDelim      <
373     RightDelim     >
374   EndArgument
375   DocBookTag            orderedlist
376   DocBookItemTag        listitem
377   DocBookItemInnerTag   para
378   HTMLStyle
379       ol.enumi   { list-style-type: decimal; }
380       ol.enumii  { list-style-type: lower-latin; }
381       ol.enumiii { list-style-type: lower-roman; }
382       ol.enumiv  { list-style-type: upper-latin; }
383   EndHTMLStyle
384 End
385
386 Style EnumerateType1
387   CopyStyle       Enumerate
388   Argument 1
389     LabelString   "Enumerate Type"
390     Tooltip       "Enumerate type specification (see powerdot manual)"
391     DefaultArg    "type=1"
392   EndArgument
393 End
394
395 ###
396 # Bibliography style definition
397 ###
398 Style Bibliography
399   Category      BackMatter
400   Margin        First_Dynamic
401   LatexType     Bib_Environment
402   LatexName     thebibliography
403   NextNoIndent  1
404   ToggleIndent  Never
405   LeftMargin    MM
406   ParSkip       0.4
407   ItemSep       0
408   TopSep        0.7
409   BottomSep     0.7
410   ParSep        0.5
411   Align         Block
412   AlignPossible Block, Left
413   LabelType     Bibliography
414   LabelString   ""
415   LabelBottomSep 0
416   TocLevel       1
417   IsTocCaption   0
418   Argument listpreamble:1
419     LabelString    "Bib preamble"
420     MenuString     "Bibliography Preamble"
421     Tooltip        "LaTeX code to be inserted before the first bibliography item"
422     PassThru       1
423     Font
424       Family typewriter
425       Color latex
426     EndFont
427   EndArgument
428 End
429
430 ###
431 # Quotation style definition
432 ###
433 Style Quotation
434   Category      MainText
435   Margin        Static
436   LatexType     Environment
437   LatexName     quotation
438   NextNoIndent  1
439   ToggleIndent  Always
440   LeftMargin    MMM
441   RightMargin   MMM
442   ParIndent     MM
443   ParSkip       0
444   ItemSep       0
445   TopSep        0.5
446   BottomSep     0.5
447   ParSep        0
448   Align         Block
449   AlignPossible Block, Left, Right, Center
450 End
451
452 ###
453 # Quote style definition
454 ###
455 Style Quote
456   Category      MainText
457   Margin        Static
458   LatexType     Environment
459   LatexName     quote
460   NextNoIndent  1
461   ToggleIndent  Never
462   LeftMargin    MMM
463   RightMargin   MMM
464   TopSep        0.5
465   ParSep        0.5
466   BottomSep     0.5
467   Align         Block
468   AlignPossible Block, Left, Right, Center
469   LabelType     No_Label
470 End
471
472 ###
473 # Verse style definition
474 ###
475 Style Verse
476 # LaTeX type is first dynamic because of LaTeX implementation.
477 # In LyX this does not make sense.
478   Category      MainText
479   LatexType     Environment
480   LatexName     verse
481   Margin        First_Dynamic
482   NextNoIndent  1
483   LeftMargin    MMMM
484   LabelIndent   MMMM
485   ParSkip       0.4
486   TopSep        0.7
487   BottomSep     0.7
488   ParSep        0.5
489   Align         Block
490   AlignPossible Block, Left
491   LabelType     No_Label
492 End
493
494 ###
495 # Twocolumn style definition
496 ###
497 Style Twocolumn
498   Category      MainText
499   LatexType     command
500   LatexName     twocolumn
501   Margin        First_Dynamic
502   NextNoIndent  1
503   ParSkip       0.4
504   TopSep        0.7
505   BottomSep     0.7
506   ParSep        0.5
507   Align         Block
508   AlignPossible Block, Left, Right, Center
509   LabelType     No_Label
510   Argument 1
511     LabelString   "Column Options"
512     Tooltip       "Twocolumn options (see powerdot manual)"
513   EndArgument
514   Argument 2
515     LabelString   "Left Column"
516     Tooltip       "Enter the text of the left column here (right column in main paragraph)"
517     Mandatory     1
518     AutoInsert    1
519   EndArgument
520 End
521
522 ###
523 # Overlay style definitions
524 ###
525 Style Pause
526   Category         Overlays
527   KeepEmpty        1
528   LatexType        Command
529   LatexName        pause
530   Margin           First_Dynamic
531   Argument 1
532     LabelString    "Pause number"
533     Tooltip        "Number of slide where the context below the pause gets visible"
534   EndArgument
535   NextNoIndent     1
536   ParSkip          0
537   TopSep           0
538   BottomSep        0.25
539   ParSep           0
540   Align            Center
541   LabelType        Static
542   LabelBottomSep   0
543   LeftMargin       MMMMM
544   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
545   LabelFont
546     Family         typewriter
547     Series         Medium
548     Size           Normal
549     Color          latex
550   EndFont
551 End
552
553 ###
554 # Float definitions
555 ###
556 Input stdfloatnames.inc
557
558 Float
559         Type                  table
560         GuiName               Table
561         AllowedPlacement      H
562         AllowsSideways        0
563         AllowsWide            0
564         Extension             lot
565         NumberWithin          none
566         Style                 plain
567         ListName              "List of Tables"
568         IsPredefined          true
569         UsesFloatPkg          false
570         ListCommand           listoftables
571         RefPrefix             tab
572         PrettyFormat          "Table ##"
573 End
574
575
576 Float
577         Type                  figure
578         GuiName               Figure
579         AllowedPlacement      H
580         AllowsSideways        0
581         AllowsWide            0
582         Extension             lof
583         NumberWithin          none
584         Style                 plain
585         ListName              "List of Figures"
586         IsPredefined          true
587         UsesFloatPkg          false
588         ListCommand           listoffigures
589         RefPrefix             fig
590         PrettyFormat          "Figure ##"
591 End
592
593
594 Float
595         Type                  algorithm
596         GuiName               Algorithm
597         AllowedPlacement      H
598         AllowsSideways        0
599         AllowsWide            0
600         Extension             loa
601         NumberWithin          none
602         Style                 ruled
603         ListName              "List of Algorithms"
604         IsPredefined          false
605         UsesFloatPkg          true
606         RefPrefix             alg
607         PrettyFormat          "Algorithm ##"
608 End
609
610 ###
611 # Counters definitions
612 ###
613 Counter enumi
614         GuiName "Numbered List (Level 1)"
615         PrettyFormat         "(\arabic{enumi})"
616 End
617
618 Counter enumii
619         GuiName "Numbered List (Level 2)"
620   Within        enumi
621         PrettyFormat         "(\arabic{enumii})"
622 End
623
624 Counter enumiii
625         GuiName "Numbered List (Level 3)"
626   Within        enumii
627         PrettyFormat         "(\arabic{enumiii})"
628 End
629
630 Counter enumiv
631         GuiName "Numbered List (Level 4)"
632   Within        enumiii
633         PrettyFormat         "(\arabic{enumiv})"
634 End
635
636 Counter bibitem
637         GuiName "Bibliography Item"
638 End
639
640 Counter figure
641         GuiName Figure
642 End
643
644 Counter table
645         GuiName Table
646 End
647
648 Counter algorithm
649         GuiName Algorithm
650 End
651
652 ###
653 # Charstyle definitions
654 ###
655
656 InsetLayout Flex:Onslide
657   LyXType          charstyle
658   LabelString      "Visible"
659   LatexType        command
660   LatexName        onslide
661   Argument 1
662     LabelString    "On Slides"
663     MenuString     "Overlay Specification|S"
664     Tooltip        "Specify the overlay settings (see powerdot manual)"
665     Mandatory      1
666     DefaultArg     "1-"
667   EndArgument
668         ResetsFont true
669 End
670
671 InsetLayout Flex:Onslide+
672   CopyStyle        Flex:Onslide
673   LatexName        onslide+
674   LabelString      "Uncover"
675 End
676
677 InsetLayout Flex:Onslide*
678   CopyStyle        Flex:Onslide
679   LatexName        onslide*
680   LabelString      "Only"
681 End