]> git.lyx.org Git - lyx.git/blob - lib/layouts/beamer.layout
Handle URL escaping in beamer frames
[lyx.git] / lib / layouts / beamer.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[beamer]{Beamer}
3 #  \DeclareCategory{Presentations}
4 # Original Author: Till Tantau <tantau@users.sourceforge.net>
5 # Revised and extended by Jürgen Spitzmüller <spitz@lyx.org>, Uwe Stöhr <uwestoehr@lyx.org>,
6 #   Richard Kimberly Heck <rikiheck@lyx.org>, Martin Vermeer <martin.vermeer@hut.fi> and probably others.
7
8
9 Format 104
10
11 #
12 # GLOBAL SETTINGS
13 #
14
15 # Includes
16 Input stdcounters.inc
17 Input stdinsets.inc
18
19 # Beamer does not work with enumitem.
20 # See bug #7047.
21 # For upstream (Beamer) feature request:
22 #   https://github.com/josephwright/beamer/issues/342
23 ExcludesModule enumitem
24
25 # General textclass parameters
26 Columns            1
27 Sides              1
28 SecNumDepth        2
29 TocDepth           2
30 DefaultStyle       Standard
31
32 # Pre-loaded packages
33 Provides amsmath   1
34 Provides hyperref  1
35 Provides geometry  1
36 Provides color     1
37 Provides xcolor    1
38
39 # The default font layout
40 DefaultFont
41   Family           Sans
42   Series           Medium
43   Shape            Up
44   Size             Normal
45   Color            None
46 EndFont
47
48 # Provide an own maketitle command, which can be altered by Title_(Plain_Frame)
49 TitleLaTeXName makebeamertitle
50 AddToPreamble
51   % this default might be overridden by plain title style
52   \newcommand\makebeamertitle{\frame{\maketitle}}%
53   % (ERT) argument for the TOC
54   \AtBeginDocument{%
55     \let\origtableofcontents=\tableofcontents
56     \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
57     \def\gobbletableofcontents#1{\origtableofcontents}
58   }
59 EndPreamble
60
61
62 #
63 # STANDARD STYLE
64 #
65
66 Style Standard
67   Category         MainText
68   Margin           Static
69   LatexType        Paragraph
70   LatexName        dummy
71   ParIndent        MM
72   ParSkip          0.4
73   Align            Left
74   AlignPossible    Block, Left, Right, Center
75   LabelType        No_Label
76   DocBookTag       para
77 End
78
79
80 #
81 # LISTS
82 #
83
84 Style Itemize
85   Category         List
86   Margin           Static
87   LatexType        Item_Environment
88   LatexName        itemize
89   Argument 1
90     LabelString    "Overlay Specifications|v"
91     Tooltip        "Overlay specifications for this list"
92     LeftDelim      [<
93     RightDelim     >]
94     PassThru       1
95   EndArgument
96   Argument item:1
97     LabelString   "Custom Item|s"
98     Tooltip       "A customized item string"
99   EndArgument
100   Argument item:2
101     MenuString    "Item Overlay Specifications"
102     LabelString   "On Slide"
103     Tooltip       "Overlay specifications for this item"
104     LeftDelim      <
105     RightDelim     >
106     PassThru       1
107   EndArgument
108   Argument listpreamble:1
109     LabelString    "List preamble"
110     MenuString     "List Preamble"
111     Tooltip        "LaTeX code to be inserted before the first item"
112     PassThru       1
113     Font
114       Family typewriter
115       Color latex
116     EndFont
117   EndArgument
118   NextNoIndent     1
119   ToggleIndent     Never
120   LeftMargin       MMN
121   LabelSep         xx
122   ItemSep          0.2
123   TopSep           0.7
124   BottomSep        0.7
125   ParSep           0.3
126   Align            Left
127   LabelType        Itemize
128   DocBookTag            itemizedlist
129   DocBookItemTag        listitem
130   DocBookItemInnerTag   para
131 End
132
133 Style Enumerate
134   Category         List
135   Margin           Static
136   LatexType        Item_Environment
137   LatexName        enumerate
138   Argument 1
139     LabelString    "Overlay Specifications|v"
140     Tooltip        "Overlay specifications for this list"
141     LeftDelim      [<
142     RightDelim     >]
143     PassThru       1
144   EndArgument
145   Argument 2
146     LabelString    "Mini Template"
147     Tooltip        "Mini template for this list (see beamer manual for details)"
148   EndArgument
149   Argument item:1
150     LabelString   "Custom Item|s"
151     Tooltip       "A customized item string"
152   EndArgument
153   Argument item:2
154     MenuString    "Item Overlay Specifications"
155     LabelString   "On Slide"
156     Tooltip       "Overlay specifications for this item"
157     LeftDelim      <
158     RightDelim     >
159     PassThru       1
160   EndArgument
161   Argument listpreamble:1
162     LabelString    "List preamble"
163     MenuString     "List Preamble"
164     Tooltip        "LaTeX code to be inserted before the first item"
165     PassThru       1
166     Font
167       Family typewriter
168       Color latex
169     EndFont
170   EndArgument
171   NextNoIndent     1
172   ToggleIndent     Never
173   LeftMargin       MMN
174   LabelSep         xx
175   ParSkip          0.0
176   ItemSep          0.2
177   TopSep           0.7
178   BottomSep        0.7
179   ParSep           0.3
180   Align            Left
181   LabelType        Enumerate
182   RefPrefix        enu
183   DocBookTag            orderedlist
184   DocBookItemTag        listitem
185   DocBookItemInnerTag   para
186   HTMLStyle
187       ol.enumi   { list-style-type: decimal; }
188       ol.enumii  { list-style-type: lower-latin; }
189       ol.enumiii { list-style-type: lower-roman; }
190       ol.enumiv  { list-style-type: upper-latin; }
191   EndHTMLStyle
192 End
193
194 Style Description
195   Category         List
196   Margin           First_Dynamic
197   LatexType        Item_environment
198   LatexName        description
199   Argument 1
200     LabelString    "Overlay Specifications|v"
201     Tooltip        "Overlay specifications for this list"
202     LeftDelim      [<
203     RightDelim     >]
204     PassThru       1
205   EndArgument
206   Argument 2
207     LabelString    "Longest label|s"
208     Tooltip        "The longest label in this list (to determine the indendation width)"
209   EndArgument
210   Argument listpreamble:1
211     LabelString    "List preamble"
212     MenuString     "List Preamble"
213     Tooltip        "LaTeX code to be inserted before the first item"
214     PassThru       1
215     Font
216       Family typewriter
217       Color latex
218     EndFont
219   EndArgument
220   Argument item:1
221     MenuString    "Item Overlay Specifications"
222     LabelString   "On Slide"
223     Tooltip       "Overlay specifications for this item"
224     LeftDelim      <
225     RightDelim     >
226     PassThru       1
227   EndArgument
228   NextNoIndent     1
229   LeftMargin       MM
230   LabelSep         xx
231   ParSkip          0.4
232   ItemSep          0.2
233   TopSep           0.7
234   BottomSep        0.7
235   ParSep           0.3
236   Align            Left
237   LabelType        Manual
238   LabelFont
239     Series         Bold
240   EndFont
241   DocBookTag            variablelist
242   DocBookItemWrapperTag varlistentry
243   DocBookItemTag        listitem
244   DocBookItemInnerTag   para
245   DocBookItemLabelTag   term
246   DocBookItemLabelTagType   paragraph
247 End
248
249
250 #
251 # SECTIONING
252 #
253
254 Style Part
255   Category         Sectioning
256   Margin           Dynamic
257   LatexType        Command
258   LatexName        part
259   Argument 1
260     LabelString    "Mode"
261     MenuString     "Mode Specification|S"
262     Tooltip        "Specify in which mode (article, presentation etc.) this header appears"
263     LeftDelim      <
264     RightDelim     >
265     PassThru       1
266   EndArgument
267   Argument 2
268     LabelString    "Short Title|S"
269     Tooltip        "The part as it appears in the table of contents/running headers"
270     InsertCotext   1
271     IsTocCaption   1
272   EndArgument
273   NeedProtect      1
274   NextNoIndent     1
275   ToggleIndent     Never
276   Labelsep         xx
277   ParSkip          0.4
278   TopSep           4
279   BottomSep        4
280   ParSep           0.8
281   Align            Center
282   LabelType        Static
283   LabelString      "Part"
284   RefPrefix        part
285   Font
286     Family         Roman
287     Series         Bold
288     Size           Huge
289   EndFont
290   LabelFont
291     Color          Latex
292   EndFont
293   TocLevel         -1
294   HTMLTag          h2
295 End
296
297 Style Section
298   Category         Sectioning
299   Margin           First_Dynamic
300   LatexType        Command
301   LatexName        section
302   NeedProtect      1
303   NextNoIndent     1
304   ToggleIndent     Never
305   LabelSep         xx
306   ParSkip          0.4
307   TopSep           2
308   BottomSep        0.25
309   ParSep           0.7
310   Align            Left
311   LabelType        Static
312   LabelCounter     section
313   LabelString      "Section \arabic{section}"
314   RefPrefix        sec
315   Argument 1
316     LabelString    "Mode"
317     MenuString     "Mode Specification|S"
318     Tooltip        "Specify in which mode (article, presentation etc.) this header appears"
319     LeftDelim      <
320     RightDelim     >
321     PassThru       1
322   EndArgument
323   Argument 2
324     LabelString    "Short Title|S"
325     Tooltip        "The section as it appears in the table of contents/running headers"
326     InsertCotext   1
327     IsTocCaption   1
328   EndArgument
329   Font
330     Family         Roman
331     Series         Bold
332     Size           huge
333   EndFont
334   LabelFont
335     Color          latex
336   EndFont
337   LabelStringAppendix "\Alph{section}"
338   TocLevel         1
339   HTMLTag          h3
340 End
341
342 Style Section*
343   CopyStyle        Section
344   Category         Unnumbered
345   Margin           Static
346   LatexName        section
347   LabelType        No_Label
348   ResetArgs        1
349   Argument 1
350     LabelString    "Mode"
351     MenuString     "Mode Specification|S"
352     Tooltip        "Specify in which mode (article, presentation etc.) this header appears"
353     LeftDelim      <
354     RightDelim     >
355     PassThru       1
356   EndArgument
357   LaTeXParam       *
358   HTMLInToc        0
359   HTMLTag          h3
360 End
361
362 Style Subsection
363   Category         Sectioning
364   Margin           First_Dynamic
365   LatexType        Command
366   LatexName        subsection
367   NeedProtect      1
368   NextNoIndent     1
369   ToggleIndent     Never
370   LabelSep         xx
371   ParSkip          0.4
372   TopSep           2
373   BottomSep        0.25
374   ParSep           0.5
375   Align            Left
376   LabelType        Static
377   LabelCounter     subsection
378   LabelString      "Subsection \arabic{section}.\arabic{subsection}"
379   RefPrefix        subsec
380   Argument 1
381     LabelString    "Mode"
382     MenuString     "Mode Specification|S"
383     Tooltip        "Specify in which mode (article, presentation etc.) this header appears"
384     LeftDelim      <
385     RightDelim     >
386     PassThru       1
387   EndArgument
388   Argument 2
389     LabelString    "Short Title|S"
390     Tooltip        "The subsection as it appears in the table of contents/running headers"
391     InsertCotext   1
392     IsTocCaption   1
393   EndArgument
394   Font
395     Family         Roman
396     Series         Bold
397     Size           larger
398   EndFont
399   LabelFont
400     Color          latex
401   EndFont
402   LabelStringAppendix "\arabic{section}.\arabic{subsection}"
403   TocLevel         2
404   HTMLTag          h4
405 End
406
407 Style Subsection*
408   CopyStyle        Subsection
409   Category         Unnumbered
410   Margin           Static
411   LatexName        subsection
412   LabelType        No_Label
413   ResetArgs        1
414   Argument 1
415     LabelString    "Mode"
416     MenuString     "Mode Specification|S"
417     Tooltip        "Specify in which mode (article, presentation etc.) this header appears"
418     LeftDelim      <
419     RightDelim     >
420     PassThru       1
421   EndArgument
422   LaTeXParam       *
423   HTMLInToc        0
424 End
425
426 Style Subsubsection
427   Category         Sectioning
428   Margin           First_Dynamic
429   LatexType        Command
430   LatexName        subsubsection
431   NeedProtect      1
432   NextNoIndent     1
433   ToggleIndent     Never
434   LabelSep         xx
435   ParSkip          0.4
436   TopSep           2
437   BottomSep        0.25
438   ParSep           0.5
439   Align            Left
440   LabelType        Static
441   LabelCounter     subsubsection
442   LabelString      "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
443   RefPrefix        sub
444   Argument 1
445     LabelString    "Mode"
446     MenuString     "Mode Specification|S"
447     Tooltip        "Specify in which mode (article, presentation etc.) this header appears"
448     LeftDelim      <
449     RightDelim     >
450     PassThru       1
451   EndArgument
452   Argument 2
453     LabelString    "Short Title|S"
454     Tooltip        "The subsubsection as it appears in the table of contents/running headers"
455     InsertCotext   1
456     IsTocCaption   1
457   EndArgument
458   Font
459     Family         Roman
460     Series         Bold
461     Size           large
462   EndFont
463   LabelFont
464     Color          latex
465   EndFont
466   LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
467   TocLevel         3
468 End
469
470 Style Subsubsection*
471   CopyStyle        Subsubsection
472   Category         Unnumbered
473   Margin           Static
474   LatexName        subsubsection
475   LabelType        No_Label
476   ResetArgs        1
477   Argument 1
478     LabelString    "Mode"
479     MenuString     "Mode Specification|S"
480     Tooltip        "Specify in which mode (article, presentation etc.) this header appears"
481     LeftDelim      <
482     RightDelim     >
483     PassThru       1
484   EndArgument
485   LaTeXParam       *
486   HTMLInToc        0
487 End
488
489
490 #
491 # FRAMES
492 #
493
494 Style Frame
495   Category         Frames
496   Margin           First_Dynamic
497   LeftMargin       xx
498   LatexType        Environment
499   LatexName        frame
500   LabelString      "Frame"
501   TocLevel         4
502   KeepEmpty        1
503   NextNoIndent     1
504   Align            Left
505   LabelType        Static
506   LabelSep         xx
507   ParSkip          0.5
508   TopSep           1
509   BottomSep        1
510   ParSep           0
511   HTMLLabel        NONE
512   LabelFont
513     Size           largest
514     Family         Roman
515     Color          latex
516   EndFont
517   Argument 1
518     LabelString     "Action"
519     MenuString      "Overlay Specifications|v"
520     Tooltip         "Overlay specifications for this frame"
521     LeftDelim       <
522     RightDelim      >
523     PassThru       1
524   EndArgument
525   Argument 2
526     LabelString     "Default Overlay Specifications"
527     Tooltip         "Default overlay specifications within this frame"
528     LeftDelim       [<
529     RightDelim      >]
530     PassThru       1
531   EndArgument
532   Argument 3
533     MenuString      "Frame Options"
534     LabelString     "Options"
535     Tooltip         "Frame options (see beamer manual)"
536   EndArgument
537   Argument 4
538     LabelString    "Frame Title"
539     Tooltip        "Enter the frame title here"
540     LeftDelim      {
541     RightDelim     }
542     Decoration     conglomerate
543     Font
544       Color        textlabel1
545       Size         largest
546     EndFont
547     AutoInsert     1
548     IsTocCaption   1
549   EndArgument
550   AutoNests 
551         Standard,Itemize,Enumerate,Description,FrameTitle,FrameSubtitle,Column,
552         Columns,ColumnsCenterAligned,ColumnsTopAligned,Pause,Overprint,OverlayArea,Only,Block,
553         ExampleBlock,AlertBlock,Bibliography,Quotation,Quote,Verse,Corollary,Definition,Definitions,
554         Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
555   EndAutoNests
556   NeedCProtect    -1
557   NoPassThruChars  "%#"
558 End
559
560 Style PlainFrame
561   CopyStyle         Frame
562   LabelString       "Frame (plain)"
563   Argument 3
564     MenuString      "Frame Options"
565     LabelString     "Options"
566     Tooltip         "Frame options (see beamer manual)"
567     PresetArg       "plain"
568   EndArgument
569 End
570
571 Style FragileFrame
572   CopyStyle         Frame
573   LabelString       "Frame (fragile)"
574   Argument 3
575     MenuString      "Frame Options"
576     LabelString     "Options"
577     Tooltip         "Frame options (see beamer manual)"
578     PresetArg       "fragile"
579   EndArgument
580   NeedCProtect      0
581   NoPassThruChars   ""
582 End
583
584 Style AgainFrame
585   Category          Frames
586   KeepEmpty         0
587   LatexType         Command
588   LatexName         againframe
589   Argument 1
590     LabelString     "Slide"
591     MenuString      "Overlay Specifications|v"
592     Tooltip         "Overlay specifications for this frame"
593     LeftDelim       <
594     RightDelim      >
595     PassThru       1
596   EndArgument
597   Argument 2
598     LabelString     "Default Overlay Specifications"
599     Tooltip         "Default overlay specifications within this frame"
600     LeftDelim       [<
601     RightDelim      >]
602     PassThru       1
603   EndArgument
604   Argument 3
605     MenuString      "Frame Options"
606     LabelString     "Options"
607     Tooltip         "Frame options (see beamer manual)"
608   EndArgument
609   Margin            First_Dynamic
610   NextNoIndent      1
611   ParSkip           0
612   TopSep            3
613   BottomSep         3
614   ParSep            0
615   LabelType         Static
616   LabelBottomSep    0
617   LeftMargin        M
618   LabelSep          xx
619   LabelString       "Repeat frame with label"
620   Font
621     Color           latex
622   EndFont
623   LabelFont
624     Family          Roman
625     Color           latex
626     Size            Largest
627   EndFont
628   TocLevel          4
629 End
630
631 Style FrameTitle
632   Category         Frames
633   Margin           Static
634   LatexType        Command
635   LatexName        frametitle
636   ParSkip          0.4
637   ItemSep          0
638   TopSep           0
639   BottomSep        1
640   ParSep           1
641   Align            Block
642   LabelType        No_Label
643   Font
644     Color          textlabel1
645     Size           Largest
646   EndFont
647   Argument 1
648     LabelString    "On Slide"
649     MenuString     "Overlay Specifications|v"
650     Tooltip        "Specify the overlay settings (see beamer manual)"
651     LeftDelim      <
652     RightDelim     >
653     PassThru       1
654   EndArgument
655   Argument 2
656     LabelString    "Short Frame Title|S"
657     Tooltip        "A short form of the frame title used in some themes"
658     InsertCotext   1
659   EndArgument
660 End
661
662 Style FrameSubtitle
663   Category         Frames
664   Margin           Static
665   LatexType        Command
666   LatexName        framesubtitle
667   ParSkip          0.4
668   ItemSep          0
669   TopSep           0
670   BottomSep        1
671   ParSep           1
672   Align            Block
673   LabelType        No_Label
674   Font
675     Color          textlabel1
676   EndFont
677   Argument 1
678     LabelString    "On Slide"
679     MenuString     "Overlay Specifications|v"
680     Tooltip        "Specify the overlay settings (see beamer manual)"
681     LeftDelim      <
682     RightDelim     >
683     PassThru       1
684   EndArgument
685 End
686
687
688 #
689 # COLUMNS
690 #
691
692 Style Column
693   Category         Columns
694   Margin           Dynamic
695   LatexType        Command
696   LatexName        column
697   ParSkip          0.5
698   TopSep           1
699   BottomSep        1
700   ParSep           0
701   ParIndent        MM
702   Align            Left
703   LabelType        Static
704   LabelSep         xx
705   LabelString      "Start column (increase depth!), width:"
706   ToggleIndent     Never
707   Argument 1
708     MenuString     "Column Options"
709     LabelString    "Options"
710     Tooltip        "Column options (see beamer manual)"
711   EndArgument
712   LabelFont
713     Family         Roman
714     Color          latex
715   EndFont
716 End
717
718 Style Columns
719   Category         Columns
720   KeepEmpty        1
721   Margin           First_Dynamic
722   LatexType        Environment
723   NextNoIndent     1
724   ParIndent        MM
725   Align            Left
726   LabelType        Static
727   LabelSep         xx
728   LatexName        columns
729   LabelString      "Columns"
730   Argument 1
731     LabelString    "Column Placement Options"
732     Tooltip        "Column placement options (t, T, c, b)"
733   EndArgument
734   ParSkip          0.5
735   TopSep           1
736   BottomSep        1
737   ParSep           0
738   LabelFont
739     Family         Roman
740     Color          latex
741   EndFont
742   AutoNests 
743         Standard,Column,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,Block,
744         ExampleBlock,AlertBlock,Bibliography,Quotation,Quote,Verse,Corollary,Definition,Definitions,
745         Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
746   EndAutoNests
747 End
748
749 Style ColumnsCenterAligned
750   CopyStyle        Columns
751   LatexParam       [c]
752   LabelString      "Columns (center aligned)"
753   ResetArgs        1
754 End
755
756 Style ColumnsTopAligned
757   CopyStyle        Columns
758   LatexParam       [t]
759   LabelString      "Columns (top aligned)"
760   ResetArgs        1
761 End
762
763
764 #
765 # OVERLAYS
766 #
767
768 Style Pause
769   Category         Overlays
770   KeepEmpty        1
771   LatexType        Command
772   LatexName        pause
773   Margin           First_Dynamic
774   Argument 1
775     LabelString    "Pause number"
776     Tooltip        "Number of slide where the context below the pause gets visible"
777   EndArgument
778   NextNoIndent     1
779   ParSkip          0
780   TopSep           0
781   BottomSep        0.25
782   ParSep           0
783   Align            Center
784   LabelType        Static
785   LabelBottomSep   0
786   LeftMargin       MMMMM
787   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
788   LabelFont
789     Family         typewriter
790     Series         Medium
791     Size           Normal
792     Color          latex
793   EndFont
794 End
795
796 Style Overprint
797   Category         Overlays
798   Margin           Static
799   LatexType        Item_Environment
800   LatexName        overprint
801   ItemCommand      onslide
802   Argument 1
803     MenuString     "Overprint Area Width"
804     LabelString    "Width"
805     Tooltip        "The width of the overprint area (default: text width)"
806   EndArgument
807   Argument listpreamble:1
808     LabelString    "List preamble"
809     MenuString     "List Preamble"
810     Tooltip        "LaTeX code to be inserted before the first item"
811     PassThru       1
812     Font
813       Family typewriter
814       Color latex
815     EndFont
816   EndArgument
817   Argument item:1
818     MenuString    "Item Overlay Specifications"
819     LabelString   "On Slide"
820     Tooltip       "Overlay specifications for this item"
821     LeftDelim      <
822     RightDelim     >
823     PassThru       1
824     AutoInsert     1
825   EndArgument
826   NextNoIndent     1
827   LeftMargin       MMMMMMMMN
828   LabelSep         xx
829   ItemSep          0.2
830   TopSep           0.7
831   BottomSep        0.7
832   ParSep           0.3
833   Align            Left
834   LabelType        Itemize
835   LabelString      "Overprint"
836   LabelFont
837     Family         Roman
838     Color          latex
839   EndFont
840 End
841
842 Style OverlayArea
843   Category         Overlays
844   Margin           First_Dynamic
845   LatexType        Environment
846   NextNoIndent     0
847   ParIndent        MM
848   Align            Left
849   LabelType        Static
850   LabelSep         xx
851   LatexName        overlayarea
852   LabelString      "Overlayarea"
853   ParSkip          0.5
854   TopSep           1
855   BottomSep        1
856   ParSep           0
857   LabelFont
858     Family         Roman
859     Color          latex
860   EndFont
861   Argument 1
862     LabelString    "Overlay Area Width"
863     Tooltip        "The width of the overlay area"
864     Mandatory      1
865   EndArgument
866   Argument 2
867     MenuString     "Overlay Area Height"
868     LabelString    "Height"
869     Tooltip        "The height of the overlay area"
870     Mandatory      1
871   EndArgument
872 End
873
874 Style Uncover
875   Category         Overlays
876   Margin           First_Dynamic
877   LatexType        Environment
878   NextNoIndent     0
879   ParIndent        MM
880   Align            Left
881   LabelType        Static
882   LatexName        uncoverenv
883   LabelSep         xx
884   LabelString      "Uncovered on slides"
885   ParSkip          0.5
886   TopSep           1
887   BottomSep        1
888   ParSep           0
889   LabelFont
890     Family         Roman
891     Color          Latex
892   EndFont
893   Argument 1
894     LabelString    "On Slide"
895     MenuString     "Overlay Specifications|v"
896     Tooltip        "Specify the overlay settings (see beamer manual)"
897     LeftDelim      <
898     RightDelim     >
899     PassThru       1
900   EndArgument
901 End
902
903 Style Only
904   Category         Overlays
905   Margin           First_Dynamic
906   LatexType        Environment
907   NextNoIndent     0
908   ParIndent        MM
909   Align            Left
910   LabelType        Static
911   LatexName        onlyenv
912   LabelSep         xx
913   LabelString      "Only on slides"
914   ParSkip          0.5
915   TopSep           1
916   BottomSep        1
917   ParSep           0
918   LabelFont
919     Family         Roman
920     Color          Latex
921   EndFont
922   Argument 1
923     LabelString    "On Slide"
924     MenuString     "Overlay Specifications|v"
925     Tooltip        "Specify the overlay settings (see beamer manual)"
926     LeftDelim      <
927     RightDelim     >
928     PassThru       1
929   EndArgument
930 End
931
932
933 #
934 # BLOCKS
935 #
936
937 Style Block
938   Category         Blocks
939   Margin           Dynamic
940   LatexType        Environment
941   NextNoIndent     1
942   KeepEmpty        1
943   Align            Left
944   LabelType        Static
945   LabelSep         xx
946   LatexName        block
947   LabelString      "Block:"
948   ParSkip          0.5
949   TopSep           1
950   BottomSep        1
951   ParSep           0
952   LabelFont
953     Family         Roman
954     Color          latex
955   EndFont
956   Argument 1
957     LabelString    "Action"
958     MenuString     "Action Specification|S"
959     Tooltip        "Specify the overlay settings (see beamer manual)"
960     LeftDelim      <
961     RightDelim     >
962     PassThru       1
963   EndArgument
964   Argument 2
965     LabelString    "Block Title"
966     Tooltip        "Enter the block title here"
967     Mandatory      1
968     Decoration     conglomerate
969     Font
970       Color        textlabel1
971       Size         large
972     EndFont
973     AutoInsert     1
974   EndArgument
975   AutoNests 
976         Standard,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,Quotation,
977         Quote,Verse,Corollary,Definition,Definitions,Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
978   EndAutoNests
979 End
980
981 Style ExampleBlock
982   CopyStyle        Block
983   LatexName        exampleblock
984   LabelString      "Example Block:"
985   Font
986     Color          textlabel2
987   EndFont
988 End
989
990 Style AlertBlock
991   CopyStyle        Block
992   LatexName        alertblock
993   LabelString      "Alert Block:"
994   Font
995     Color          error
996   EndFont
997 End
998
999
1000 #
1001 # TITLING
1002 #
1003
1004 Style Title
1005   Category         Titling
1006   Margin           Static
1007   LatexType        Command
1008   InTitle          1
1009   LatexName        title
1010   ParSkip          0.4
1011   ItemSep          0
1012   TopSep           0
1013   BottomSep        1
1014   ParSep           1
1015   Align            Center
1016   LabelType        No_Label
1017   Argument 1
1018     LabelString   "Short Title|S"
1019     Tooltip       "Short title which appears in the sidebar/header"
1020     InsertCotext   1
1021         # TODO: In DocBook, output it in a titleabbrev outside this title.
1022   EndArgument
1023   Font
1024     Size           Huge
1025     Series         Bold
1026     Color          textlabel1
1027   EndFont
1028   DocBookTag       title
1029   DocBookTagType   paragraph
1030   DocBookInInfo    maybe
1031 End
1032
1033 Style Title_(Plain_Frame)
1034   CopyStyle        Title
1035   Preamble
1036      % plain title style, override default
1037      \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
1038   EndPreamble
1039 End
1040
1041 Style Subtitle
1042   Category         Titling
1043   Margin           Static
1044   LatexType        Command
1045   InTitle          1
1046   LatexName        subtitle
1047   ParSkip          0.4
1048   ItemSep          0
1049   TopSep           0
1050   BottomSep        1
1051   ParSep           1
1052   Align            Center
1053   LabelType        No_Label
1054   Argument 1
1055     LabelString   "Short Subtitle|S"
1056     Tooltip       "Short subtitle which appears in the sidebar/header"
1057     InsertCotext   1
1058   EndArgument
1059   Font
1060     Size           Large
1061     Series         Bold
1062     Color          textlabel1
1063   EndFont
1064   DocBookTag       subtitle
1065   DocBookInInfo    maybe
1066 End
1067
1068 Style Author
1069   Category         Titling
1070   Margin           Static
1071   LatexType        Command
1072   InTitle          1
1073   LatexName        author
1074   ParSkip          0.4
1075   TopSep           1.3
1076   BottomSep        0.7
1077   ParSep           0.7
1078   Align            Center
1079   LabelType        No_Label
1080   Argument 1
1081     LabelString   "Short Author|S"
1082     Tooltip       "Short author which appears in the sidebar/header"
1083     InsertCotext   1
1084   EndArgument
1085   Font
1086     Size           Largest
1087     Color          textlabel1
1088   EndFont
1089   DocBookTag            personname
1090   DocBookTagType        paragraph
1091   DocBookWrapperTag     author
1092   DocBookWrapperTagType inline
1093   DocBookInInfo         always
1094 End
1095
1096 Style Institute
1097   Category         Titling
1098   Margin           Dynamic
1099   LatexType        Command
1100   InTitle          1
1101   LatexName        institute
1102   ParSkip          0.4
1103   TopSep           0.9
1104   BottomSep        0.5
1105   ParSep           1
1106   Align            Center
1107   LabelType        No_Label
1108   Argument 1
1109     LabelString   "Short Institute|S"
1110     Tooltip       "Short institute which appears in the sidebar/header"
1111     InsertCotext   1
1112   EndArgument
1113   Font
1114     Size           Large
1115     Color          textlabel1
1116   EndFont
1117 End
1118
1119 InsetLayout "Flex:InstituteMark"
1120   LyxType          custom
1121   LatexType        command
1122   LatexName        inst
1123   LabelString      "Institute Mark"
1124   Font
1125     Color          foreground
1126     Size           Small
1127     Family         Roman
1128     Shape          Up
1129     Series         Medium
1130     Misc           No_Emph
1131     Misc           No_Noun
1132     Misc           No_Bar
1133   EndFont
1134   LabelFont
1135     Color          textlabel1
1136     Size           Small
1137   EndFont
1138 End
1139
1140 Style Date
1141   Category         Titling
1142   Margin           Dynamic
1143   LatexType        Command
1144   InTitle          1
1145   LatexName        date
1146   ParSkip          0.4
1147   TopSep           0.9
1148   BottomSep        0.5
1149   ParSep           1
1150   Align            Center
1151   LabelType        No_Label
1152   Argument 1
1153     LabelString   "Short Date|S"
1154     Tooltip       "Short date which appears in the sidebar/header"
1155     InsertCotext   1
1156   EndArgument
1157   Font
1158     Size           Largest
1159     Color          textlabel1
1160   EndFont
1161 End
1162
1163 Style TitleGraphic
1164   Category         Titling
1165   Margin           Static
1166   LatexType        Command
1167   InTitle          1
1168   LatexName        titlegraphic
1169   ParSkip          0.4
1170   ItemSep          0
1171   TopSep           0
1172   BottomSep        1
1173   ParSep           1
1174   Align            Center
1175   LabelType        No_Label
1176   Font
1177     Size           Huge
1178     Series         Bold
1179     Color          textlabel1
1180   EndFont
1181 End
1182
1183
1184 #
1185 # BACK MATTER
1186 #
1187
1188 Style Bibliography
1189   Category         BackMatter
1190   Margin           First_Dynamic
1191   LatexType        Bib_Environment
1192   LatexName        thebibliography
1193   NextNoIndent     1
1194   ToggleIndent     Never
1195   LeftMargin       MM
1196   ParSkip          0.4
1197   ItemSep          0
1198   TopSep           0.7
1199   BottomSep        0.7
1200   ParSep           0.5
1201   Align            Left
1202   LabelType        Bibliography
1203   LabelString      "References"
1204   LabelBottomSep   0.7
1205   LabelFont
1206     Series         Bold
1207     Size           Larger
1208   EndFont
1209   TocLevel         1
1210   IsTocCaption     0
1211   Argument listpreamble:1
1212     LabelString    "Bib preamble"
1213     MenuString     "Bibliography Preamble"
1214     Tooltip        "LaTeX code to be inserted before the first bibliography item"
1215     PassThru       1
1216     Font
1217       Family typewriter
1218       Color latex
1219     EndFont
1220   EndArgument
1221 End
1222
1223
1224 #
1225 # QUOTATION
1226 #
1227
1228 Style Quotation
1229   Category         MainText
1230   Margin           Static
1231   LatexType        Environment
1232   LatexName        quotation
1233   NextNoIndent     1
1234   ToggleIndent     Always
1235   LeftMargin       MMM
1236   RightMargin      MMM
1237   ParIndent        MM
1238   ParSkip          0
1239   ItemSep          0
1240   TopSep           0.5
1241   BottomSep        0.5
1242   ParSep           0
1243   Align            Block
1244   AlignPossible    Block, Left, Right, Center
1245   Argument 1
1246     LabelString    "On Slide"
1247     MenuString     "Overlay Specifications|v"
1248     Tooltip        "Specify the overlay settings (see beamer manual)"
1249     LeftDelim      <
1250     RightDelim     >
1251     PassThru       1
1252   EndArgument
1253 End
1254
1255 Style Quote
1256   Category         MainText
1257   Margin           Static
1258   LatexType        Environment
1259   LatexName        quote
1260   NextNoIndent     1
1261   ToggleIndent     Never
1262   LeftMargin       MMM
1263   RightMargin      MMM
1264   TopSep           0.5
1265   ParSep           0.5
1266   BottomSep        0.5
1267   Align            Block
1268   AlignPossible    Block, Left, Right, Center
1269   LabelType        No_Label
1270   Argument 1
1271     LabelString    "On Slide"
1272     MenuString     "Overlay Specifications|v"
1273     Tooltip        "Specify the overlay settings (see beamer manual)"
1274     LeftDelim      <
1275     RightDelim     >
1276     PassThru       1
1277   EndArgument
1278 End
1279
1280 Style Verse
1281   # LaTeX type is first dynamic because of LaTeX implementation.
1282   # In LyX this does not make sense.
1283   Category         MainText
1284   LatexType        Environment
1285   LatexName        verse
1286   Margin           First_Dynamic
1287   NextNoIndent     1
1288   LeftMargin       MMMM
1289   LabelIndent      MMMM
1290   ParSkip          0.4
1291   TopSep           0.7
1292   BottomSep        0.7
1293   ParSep           0.5
1294   Align            Block
1295   AlignPossible    Block, Left
1296   LabelType        No_Label
1297   Argument 1
1298     LabelString    "On Slide"
1299     MenuString     "Overlay Specifications|v"
1300     Tooltip        "Specify the overlay settings (see beamer manual)"
1301     LeftDelim      <
1302     RightDelim     >
1303     PassThru       1
1304   EndArgument
1305 End
1306
1307
1308 #
1309 # THEOREMS AND SUCH
1310 #
1311
1312 Style Corollary
1313    Category        Reasoning
1314    Margin          First_Dynamic
1315    LatexType       Environment
1316    NextNoIndent    0
1317    ParIndent       MM
1318    Align           Left
1319    LabelType       Static
1320    LabelSep        xx
1321    LatexName       corollary
1322    LabelString     "Corollary."
1323    ParSkip         0.5
1324    TopSep          1
1325    BottomSep       1
1326    ParSep          0
1327    KeepEmpty       1
1328    LabelFont
1329      Series        Bold
1330      Color         textlabel1
1331      Size          Large
1332    EndFont
1333   Argument 1
1334     LabelString    "Action"
1335     MenuString     "Action Specifications|S"
1336     Tooltip        "Specify the overlay settings (see beamer manual)"
1337     LeftDelim      <
1338     RightDelim     >
1339     PassThru       1
1340   EndArgument
1341   Argument 2
1342     LabelString    "Additional Theorem Text"
1343     Tooltip        "Additional text appended to the theorem header"
1344   EndArgument
1345   AutoNests 
1346         Standard,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,LyX-Code
1347   EndAutoNests
1348 End
1349
1350 Style Definition
1351   CopyStyle        Corollary
1352   LatexName        definition
1353   LabelString      "Definition."
1354 End
1355
1356 Style Definitions
1357   CopyStyle        Corollary
1358   LatexName        definitions
1359   LabelString      "Definitions."
1360 End
1361
1362 Style Example
1363   CopyStyle        Corollary
1364   LatexName        example
1365   LabelString      "Example."
1366   LabelFont
1367     Series         Bold
1368     Color          textlabel2
1369   EndFont
1370 End
1371
1372 Style Examples
1373   CopyStyle        Corollary
1374   LatexName        examples
1375   LabelString      "Examples."
1376 End
1377
1378 Style Fact
1379   CopyStyle        Corollary
1380   LatexName        fact
1381   LabelString      "Fact."
1382 End
1383
1384 Style Lemma
1385   CopyStyle        Corollary
1386   LatexName        lemma
1387   LabelString      "Lemma."
1388 End
1389
1390 Style Proof
1391   CopyStyle        Corollary
1392   LatexName        proof
1393   LabelString      "Proof."
1394 End
1395
1396 Style Theorem
1397   CopyStyle        Corollary
1398   LatexName        theorem
1399   LabelString      "Theorem."
1400 End
1401
1402
1403 #
1404 # MISC.
1405 #
1406
1407 Style LyX-Code
1408   Category         MainText
1409   Margin           Static
1410   LatexType        Environment
1411   LatexName        lyxcode
1412   NextNoIndent     1
1413   LeftMargin       MMM
1414   RightMargin      MMM
1415   TopSep           0.5
1416   BottomSep        0.5
1417   Align            Left
1418   AlignPossible    Block, Left, Right, Center
1419   LabelType        No_Label
1420   FreeSpacing      1
1421   Preamble
1422   \newenvironment{lyxcode}
1423     {\par\begin{list}{}{
1424       \setlength{\rightmargin}{\leftmargin}
1425       \setlength{\listparindent}{0pt}% needed for AMS classes
1426       \raggedright
1427       \setlength{\itemsep}{0pt}
1428       \setlength{\parsep}{0pt}
1429       \normalfont\ttfamily}%
1430      \def\{{\char`\{}
1431      \def\}{\char`\}}
1432      \def\textasciitilde{\char`\~}
1433      \item[]}
1434     {\end{list}}
1435   EndPreamble
1436   Font
1437     Family         Typewriter
1438   EndFont
1439   DocBookTag            programlisting
1440   DocBookTagType        paragraph
1441   DocBookAttr                   language='lyx'
1442 End
1443  
1444 Style NoteItem
1445   Category         MainText
1446   Margin           Static
1447   LatexType        Command
1448   LatexName        note
1449   LatexParam       [item]
1450   ParSkip          0.5
1451   TopSep           1
1452   BottomSep        1
1453   ParSep           0
1454   Align            Left
1455   LabelType        Static
1456   LabelSep         xx
1457   LabelString      "Note:"
1458   LeftMargin       "Note:xx"
1459   LabelFont
1460     Family         Roman
1461     Color          latex
1462   EndFont
1463   Argument 1
1464     LabelString    "On Slide"
1465     MenuString     "Overlay Specifications|v"
1466     Tooltip        "Specify the overlay settings (see beamer manual)"
1467     LeftDelim      <
1468     RightDelim     >
1469     PassThru       1
1470   EndArgument
1471   IsAutoNestedBy
1472     Itemize,Enumerate
1473   EndIsAutoNestedBy
1474 End
1475  
1476
1477 #
1478 # CHARSTYLES
1479 #
1480
1481
1482 InsetLayout Flex:Bold
1483   LyXType          charstyle
1484   LabelString      Bold
1485   LatexType        command
1486   LatexName        textbf
1487   Font
1488     Series         bold
1489   EndFont
1490   Argument 1
1491     LabelString    "Action"
1492     MenuString     "Action Specifications|S"
1493     Tooltip        "Specify the overlay settings (see beamer manual)"
1494     LeftDelim      <
1495     RightDelim     >
1496     PassThru       1
1497   EndArgument
1498   ResetsFont       true
1499   CustomPars       false
1500 End
1501
1502 InsetLayout Flex:Emphasize
1503   LyXType          charstyle
1504   LabelString      Emph.
1505   LatexType        command
1506   LatexName        emph
1507   Font
1508     Shape          italic
1509   EndFont
1510   Argument 1
1511     LabelString    "Action"
1512     MenuString     "Action Specifications|S"
1513     Tooltip        "Specify the overlay settings (see beamer manual)"
1514     LeftDelim      <
1515     RightDelim     >
1516     PassThru       1
1517   EndArgument
1518   ResetsFont       true
1519   CustomPars       false
1520 End
1521
1522 InsetLayout Flex:Alert
1523   LyXType          charstyle
1524   LabelString      Alert
1525   LatexType        command
1526   LatexName        alert
1527   Font
1528     Color          error
1529   EndFont
1530   Argument 1
1531     LabelString    "Action"
1532     MenuString     "Action Specifications|S"
1533     Tooltip        "Specify the overlay settings (see beamer manual)"
1534     LeftDelim      <
1535     RightDelim     >
1536     PassThru       1
1537   EndArgument
1538   ResetsFont       true
1539   CustomPars       false
1540 End
1541
1542 InsetLayout Flex:Structure
1543   LyXType          charstyle
1544   LabelString      Structure
1545   LatexType        command
1546   LatexName        structure
1547   Font
1548     Color          textlabel1
1549   EndFont
1550   Argument 1
1551     LabelString    "Action"
1552     MenuString     "Action Specifications|S"
1553     Tooltip        "Specify the overlay settings (see beamer manual)"
1554     LeftDelim      <
1555     RightDelim     >
1556     PassThru       1
1557   EndArgument
1558   ResetsFont       true
1559   CustomPars       false
1560 End
1561
1562 InsetLayout Flex:Only
1563   LyXType          charstyle
1564   LabelString      Only
1565   LatexType        command
1566   LatexName        only
1567   Font
1568     Color          textlabel3
1569   EndFont
1570   Argument 1
1571     LabelString    "Action"
1572     MenuString     "Action Specifications|S"
1573     Tooltip        "Specify the overlay settings (see beamer manual)"
1574     LeftDelim      <
1575     RightDelim     >
1576     PassThru       1
1577     AutoInsert     1
1578   EndArgument
1579   ResetsFont       true
1580   CustomPars       false
1581 End
1582
1583 InsetLayout Flex:Uncover
1584   LyXType          charstyle
1585   LabelString      Uncover
1586   LatexType        command
1587   LatexName        uncover
1588   Font
1589     Color          textlabel3
1590   EndFont
1591   Argument 1
1592     LabelString    "Action"
1593     MenuString     "Action Specifications|S"
1594     Tooltip        "Specify the overlay settings (see beamer manual)"
1595     LeftDelim      <
1596     RightDelim     >
1597     PassThru       1
1598     AutoInsert     1
1599   EndArgument
1600   ResetsFont       true
1601   CustomPars       false
1602 End
1603
1604 InsetLayout Flex:Visible
1605   LyXType          charstyle
1606   LabelString      Visible
1607   LatexType        command
1608   LatexName        visible
1609   Font
1610     Color          textlabel3
1611   EndFont
1612   Argument 1
1613     LabelString    "Action"
1614     MenuString     "Action Specifications|S"
1615     Tooltip        "Specify the overlay settings (see beamer manual)"
1616     LeftDelim      <
1617     RightDelim     >
1618     PassThru       1
1619     AutoInsert     1
1620   EndArgument
1621   ResetsFont       true
1622   CustomPars       false
1623 End
1624
1625 InsetLayout Flex:Invisible
1626   LyXType          charstyle
1627   LabelString      Invisible
1628   LatexType        command
1629   LatexName        invisible
1630   Font
1631     Color          textlabel3
1632   EndFont
1633   Argument 1
1634     LabelString    "Action"
1635     MenuString     "Action Specifications|S"
1636     Tooltip        "Specify the overlay settings (see beamer manual)"
1637     LeftDelim      <
1638     RightDelim     >
1639     PassThru       1
1640     AutoInsert     1
1641   EndArgument
1642   ResetsFont       true
1643   CustomPars       false
1644 End
1645
1646 InsetLayout Flex:Alternative
1647   LyXType          charstyle
1648   LabelString      Alternative
1649   LatexType        command
1650   LatexName        alt
1651   Font
1652     Color          textlabel3
1653   EndFont
1654   Argument 1
1655     LabelString    "Action"
1656     MenuString     "Action Specifications|S"
1657     Tooltip        "Specify the overlay settings (see beamer manual)"
1658     LeftDelim      <
1659     RightDelim     >
1660     PassThru       1
1661     AutoInsert     1
1662   EndArgument
1663   Argument 2
1664     LabelString    "Default Text"
1665     Tooltip        "Enter the default text here"
1666     Mandatory      1
1667     AutoInsert     1
1668   EndArgument
1669   ResetsFont       true
1670   CustomPars       false
1671 End
1672
1673 InsetLayout Flex:Beamer_Note
1674   LyXType          custom
1675   LabelString      Note
1676   LatexType        command
1677   LatexName        note
1678   Decoration       Classic
1679   Font
1680     Color          textlabel1
1681   EndFont
1682   Argument 1
1683     LabelString    "Action"
1684     MenuString     "Action Specifications|S"
1685     Tooltip        "Specify the overlay settings (see beamer manual)"
1686     LeftDelim      <
1687     RightDelim     >
1688     PassThru       1
1689   EndArgument
1690   Argument 2
1691     LabelString    "Note Options"
1692     Tooltip        "Specifiy note options (see beamer manual)"
1693   EndArgument
1694   ResetsFont       true
1695 End
1696
1697 InsetLayout Flex:ArticleMode
1698    LyXType         custom
1699    LatexName       mode
1700    LatexParam      <article>
1701    LatexType       command
1702    Decoration      classic
1703    LabelString     Article
1704    MultiPar        true
1705    ResetsFont      true
1706 End
1707
1708 InsetLayout Flex:PresentationMode
1709    LyXType         custom
1710    LatexName       mode
1711    LatexParam      <presentation>
1712    LatexType       command
1713    Decoration      classic
1714    LabelString     Presentation
1715    MultiPar        true
1716    ResetsFont      true
1717 End
1718
1719
1720 #
1721 # FLOATS
1722 #
1723
1724 Input stdfloatnames.inc
1725
1726 Float
1727   Type             table
1728   GuiName          Table
1729   Placement        tbp
1730   Extension        lot
1731   NumberWithin     none
1732   Style            plain
1733   ListName         "List of Tables"
1734   IsPredefined     true
1735   UsesFloatPkg     false
1736   ListCommand      listoftables
1737   PrettyFormat     "Table ##"
1738 End
1739
1740 Float
1741   Type             figure
1742   GuiName          Figure
1743   Placement        tbp
1744   Extension        lof
1745   NumberWithin     none
1746   Style            plain
1747   ListName         "List of Figures"
1748   IsPredefined     true
1749   UsesFloatPkg     false
1750   ListCommand      listoffigures
1751   PrettyFormat     "Figure ##"
1752 End
1753
1754
1755 Input theorems-refprefix.inc