]> git.lyx.org Git - lyx.git/blob - lib/layouts/beamer.layout
Amend ddc5fed0ad00a3
[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 End
557
558 Style PlainFrame
559   CopyStyle         Frame
560   LabelString       "Frame (plain)"
561   Argument 3
562     MenuString      "Frame Options"
563     LabelString     "Options"
564     Tooltip         "Frame options (see beamer manual)"
565     PresetArg       "plain"
566   EndArgument
567 End
568
569 Style FragileFrame
570   CopyStyle         Frame
571   LabelString       "Frame (fragile)"
572   Argument 3
573     MenuString      "Frame Options"
574     LabelString     "Options"
575     Tooltip         "Frame options (see beamer manual)"
576     PresetArg       "fragile"
577   EndArgument
578 End
579
580 Style AgainFrame
581   Category          Frames
582   KeepEmpty         0
583   LatexType         Command
584   LatexName         againframe
585   Argument 1
586     LabelString     "Slide"
587     MenuString      "Overlay Specifications|v"
588     Tooltip         "Overlay specifications for this frame"
589     LeftDelim       <
590     RightDelim      >
591     PassThru       1
592   EndArgument
593   Argument 2
594     LabelString     "Default Overlay Specifications"
595     Tooltip         "Default overlay specifications within this frame"
596     LeftDelim       [<
597     RightDelim      >]
598     PassThru       1
599   EndArgument
600   Argument 3
601     MenuString      "Frame Options"
602     LabelString     "Options"
603     Tooltip         "Frame options (see beamer manual)"
604   EndArgument
605   Margin            First_Dynamic
606   NextNoIndent      1
607   ParSkip           0
608   TopSep            3
609   BottomSep         3
610   ParSep            0
611   LabelType         Static
612   LabelBottomSep    0
613   LeftMargin        M
614   LabelSep          xx
615   LabelString       "Repeat frame with label"
616   Font
617     Color           latex
618   EndFont
619   LabelFont
620     Family          Roman
621     Color           latex
622     Size            Largest
623   EndFont
624   TocLevel          4
625 End
626
627 Style FrameTitle
628   Category         Frames
629   Margin           Static
630   LatexType        Command
631   LatexName        frametitle
632   ParSkip          0.4
633   ItemSep          0
634   TopSep           0
635   BottomSep        1
636   ParSep           1
637   Align            Block
638   LabelType        No_Label
639   Font
640     Color          textlabel1
641     Size           Largest
642   EndFont
643   Argument 1
644     LabelString    "On Slide"
645     MenuString     "Overlay Specifications|v"
646     Tooltip        "Specify the overlay settings (see beamer manual)"
647     LeftDelim      <
648     RightDelim     >
649     PassThru       1
650   EndArgument
651   Argument 2
652     LabelString    "Short Frame Title|S"
653     Tooltip        "A short form of the frame title used in some themes"
654     InsertCotext   1
655   EndArgument
656 End
657
658 Style FrameSubtitle
659   Category         Frames
660   Margin           Static
661   LatexType        Command
662   LatexName        framesubtitle
663   ParSkip          0.4
664   ItemSep          0
665   TopSep           0
666   BottomSep        1
667   ParSep           1
668   Align            Block
669   LabelType        No_Label
670   Font
671     Color          textlabel1
672   EndFont
673   Argument 1
674     LabelString    "On Slide"
675     MenuString     "Overlay Specifications|v"
676     Tooltip        "Specify the overlay settings (see beamer manual)"
677     LeftDelim      <
678     RightDelim     >
679     PassThru       1
680   EndArgument
681 End
682
683
684 #
685 # COLUMNS
686 #
687
688 Style Column
689   Category         Columns
690   Margin           Dynamic
691   LatexType        Command
692   LatexName        column
693   ParSkip          0.5
694   TopSep           1
695   BottomSep        1
696   ParSep           0
697   ParIndent        MM
698   Align            Left
699   LabelType        Static
700   LabelSep         xx
701   LabelString      "Start column (increase depth!), width:"
702   ToggleIndent     Never
703   Argument 1
704     MenuString     "Column Options"
705     LabelString    "Options"
706     Tooltip        "Column options (see beamer manual)"
707   EndArgument
708   LabelFont
709     Family         Roman
710     Color          latex
711   EndFont
712 End
713
714 Style Columns
715   Category         Columns
716   KeepEmpty        1
717   Margin           First_Dynamic
718   LatexType        Environment
719   NextNoIndent     1
720   ParIndent        MM
721   Align            Left
722   LabelType        Static
723   LabelSep         xx
724   LatexName        columns
725   LabelString      "Columns"
726   Argument 1
727     LabelString    "Column Placement Options"
728     Tooltip        "Column placement options (t, T, c, b)"
729   EndArgument
730   ParSkip          0.5
731   TopSep           1
732   BottomSep        1
733   ParSep           0
734   LabelFont
735     Family         Roman
736     Color          latex
737   EndFont
738   AutoNests 
739         Standard,Column,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,Block,
740         ExampleBlock,AlertBlock,Bibliography,Quotation,Quote,Verse,Corollary,Definition,Definitions,
741         Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
742   EndAutoNests
743 End
744
745 Style ColumnsCenterAligned
746   CopyStyle        Columns
747   LatexParam       [c]
748   LabelString      "Columns (center aligned)"
749   ResetArgs        1
750 End
751
752 Style ColumnsTopAligned
753   CopyStyle        Columns
754   LatexParam       [t]
755   LabelString      "Columns (top aligned)"
756   ResetArgs        1
757 End
758
759
760 #
761 # OVERLAYS
762 #
763
764 Style Pause
765   Category         Overlays
766   KeepEmpty        1
767   LatexType        Command
768   LatexName        pause
769   Margin           First_Dynamic
770   Argument 1
771     LabelString    "Pause number"
772     Tooltip        "Number of slide where the context below the pause gets visible"
773   EndArgument
774   NextNoIndent     1
775   ParSkip          0
776   TopSep           0
777   BottomSep        0.25
778   ParSep           0
779   Align            Center
780   LabelType        Static
781   LabelBottomSep   0
782   LeftMargin       MMMMM
783   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
784   LabelFont
785     Family         typewriter
786     Series         Medium
787     Size           Normal
788     Color          latex
789   EndFont
790 End
791
792 Style Overprint
793   Category         Overlays
794   Margin           Static
795   LatexType        Item_Environment
796   LatexName        overprint
797   ItemCommand      onslide
798   Argument 1
799     MenuString     "Overprint Area Width"
800     LabelString    "Width"
801     Tooltip        "The width of the overprint area (default: text width)"
802   EndArgument
803   Argument listpreamble:1
804     LabelString    "List preamble"
805     MenuString     "List Preamble"
806     Tooltip        "LaTeX code to be inserted before the first item"
807     PassThru       1
808     Font
809       Family typewriter
810       Color latex
811     EndFont
812   EndArgument
813   Argument item:1
814     MenuString    "Item Overlay Specifications"
815     LabelString   "On Slide"
816     Tooltip       "Overlay specifications for this item"
817     LeftDelim      <
818     RightDelim     >
819     PassThru       1
820     AutoInsert     1
821   EndArgument
822   NextNoIndent     1
823   LeftMargin       MMMMMMMMN
824   LabelSep         xx
825   ItemSep          0.2
826   TopSep           0.7
827   BottomSep        0.7
828   ParSep           0.3
829   Align            Left
830   LabelType        Itemize
831   LabelString      "Overprint"
832   LabelFont
833     Family         Roman
834     Color          latex
835   EndFont
836 End
837
838 Style OverlayArea
839   Category         Overlays
840   Margin           First_Dynamic
841   LatexType        Environment
842   NextNoIndent     0
843   ParIndent        MM
844   Align            Left
845   LabelType        Static
846   LabelSep         xx
847   LatexName        overlayarea
848   LabelString      "Overlayarea"
849   ParSkip          0.5
850   TopSep           1
851   BottomSep        1
852   ParSep           0
853   LabelFont
854     Family         Roman
855     Color          latex
856   EndFont
857   Argument 1
858     LabelString    "Overlay Area Width"
859     Tooltip        "The width of the overlay area"
860     Mandatory      1
861   EndArgument
862   Argument 2
863     MenuString     "Overlay Area Height"
864     LabelString    "Height"
865     Tooltip        "The height of the overlay area"
866     Mandatory      1
867   EndArgument
868 End
869
870 Style Uncover
871   Category         Overlays
872   Margin           First_Dynamic
873   LatexType        Environment
874   NextNoIndent     0
875   ParIndent        MM
876   Align            Left
877   LabelType        Static
878   LatexName        uncoverenv
879   LabelSep         xx
880   LabelString      "Uncovered on slides"
881   ParSkip          0.5
882   TopSep           1
883   BottomSep        1
884   ParSep           0
885   LabelFont
886     Family         Roman
887     Color          Latex
888   EndFont
889   Argument 1
890     LabelString    "On Slide"
891     MenuString     "Overlay Specifications|v"
892     Tooltip        "Specify the overlay settings (see beamer manual)"
893     LeftDelim      <
894     RightDelim     >
895     PassThru       1
896   EndArgument
897 End
898
899 Style Only
900   Category         Overlays
901   Margin           First_Dynamic
902   LatexType        Environment
903   NextNoIndent     0
904   ParIndent        MM
905   Align            Left
906   LabelType        Static
907   LatexName        onlyenv
908   LabelSep         xx
909   LabelString      "Only on slides"
910   ParSkip          0.5
911   TopSep           1
912   BottomSep        1
913   ParSep           0
914   LabelFont
915     Family         Roman
916     Color          Latex
917   EndFont
918   Argument 1
919     LabelString    "On Slide"
920     MenuString     "Overlay Specifications|v"
921     Tooltip        "Specify the overlay settings (see beamer manual)"
922     LeftDelim      <
923     RightDelim     >
924     PassThru       1
925   EndArgument
926 End
927
928
929 #
930 # BLOCKS
931 #
932
933 Style Block
934   Category         Blocks
935   Margin           Dynamic
936   LatexType        Environment
937   NextNoIndent     1
938   KeepEmpty        1
939   Align            Left
940   LabelType        Static
941   LabelSep         xx
942   LatexName        block
943   LabelString      "Block:"
944   ParSkip          0.5
945   TopSep           1
946   BottomSep        1
947   ParSep           0
948   LabelFont
949     Family         Roman
950     Color          latex
951   EndFont
952   Argument 1
953     LabelString    "Action"
954     MenuString     "Action Specification|S"
955     Tooltip        "Specify the overlay settings (see beamer manual)"
956     LeftDelim      <
957     RightDelim     >
958     PassThru       1
959   EndArgument
960   Argument 2
961     LabelString    "Block Title"
962     Tooltip        "Enter the block title here"
963     Mandatory      1
964     Decoration     conglomerate
965     Font
966       Color        textlabel1
967       Size         large
968     EndFont
969     AutoInsert     1
970   EndArgument
971   AutoNests 
972         Standard,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,Quotation,
973         Quote,Verse,Corollary,Definition,Definitions,Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
974   EndAutoNests
975 End
976
977 Style ExampleBlock
978   CopyStyle        Block
979   LatexName        exampleblock
980   LabelString      "Example Block:"
981   Font
982     Color          textlabel2
983   EndFont
984 End
985
986 Style AlertBlock
987   CopyStyle        Block
988   LatexName        alertblock
989   LabelString      "Alert Block:"
990   Font
991     Color          error
992   EndFont
993 End
994
995
996 #
997 # TITLING
998 #
999
1000 Style Title
1001   Category         Titling
1002   Margin           Static
1003   LatexType        Command
1004   InTitle          1
1005   LatexName        title
1006   ParSkip          0.4
1007   ItemSep          0
1008   TopSep           0
1009   BottomSep        1
1010   ParSep           1
1011   Align            Center
1012   LabelType        No_Label
1013   Argument 1
1014     LabelString   "Short Title|S"
1015     Tooltip       "Short title which appears in the sidebar/header"
1016     InsertCotext   1
1017         # TODO: In DocBook, output it in a titleabbrev outside this title.
1018   EndArgument
1019   Font
1020     Size           Huge
1021     Series         Bold
1022     Color          textlabel1
1023   EndFont
1024   DocBookTag       title
1025   DocBookTagType   paragraph
1026   DocBookInInfo    maybe
1027 End
1028
1029 Style Title_(Plain_Frame)
1030   CopyStyle        Title
1031   Preamble
1032      % plain title style, override default
1033      \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
1034   EndPreamble
1035 End
1036
1037 Style Subtitle
1038   Category         Titling
1039   Margin           Static
1040   LatexType        Command
1041   InTitle          1
1042   LatexName        subtitle
1043   ParSkip          0.4
1044   ItemSep          0
1045   TopSep           0
1046   BottomSep        1
1047   ParSep           1
1048   Align            Center
1049   LabelType        No_Label
1050   Argument 1
1051     LabelString   "Short Subtitle|S"
1052     Tooltip       "Short subtitle which appears in the sidebar/header"
1053     InsertCotext   1
1054   EndArgument
1055   Font
1056     Size           Large
1057     Series         Bold
1058     Color          textlabel1
1059   EndFont
1060   DocBookTag       subtitle
1061   DocBookInInfo    maybe
1062 End
1063
1064 Style Author
1065   Category         Titling
1066   Margin           Static
1067   LatexType        Command
1068   InTitle          1
1069   LatexName        author
1070   ParSkip          0.4
1071   TopSep           1.3
1072   BottomSep        0.7
1073   ParSep           0.7
1074   Align            Center
1075   LabelType        No_Label
1076   Argument 1
1077     LabelString   "Short Author|S"
1078     Tooltip       "Short author which appears in the sidebar/header"
1079     InsertCotext   1
1080   EndArgument
1081   Font
1082     Size           Largest
1083     Color          textlabel1
1084   EndFont
1085   DocBookTag            personname
1086   DocBookTagType        paragraph
1087   DocBookWrapperTag     author
1088   DocBookWrapperTagType inline
1089   DocBookInInfo         always
1090 End
1091
1092 Style Institute
1093   Category         Titling
1094   Margin           Dynamic
1095   LatexType        Command
1096   InTitle          1
1097   LatexName        institute
1098   ParSkip          0.4
1099   TopSep           0.9
1100   BottomSep        0.5
1101   ParSep           1
1102   Align            Center
1103   LabelType        No_Label
1104   Argument 1
1105     LabelString   "Short Institute|S"
1106     Tooltip       "Short institute which appears in the sidebar/header"
1107     InsertCotext   1
1108   EndArgument
1109   Font
1110     Size           Large
1111     Color          textlabel1
1112   EndFont
1113 End
1114
1115 InsetLayout "Flex:InstituteMark"
1116   LyxType          custom
1117   LatexType        command
1118   LatexName        inst
1119   LabelString      "Institute Mark"
1120   Font
1121     Color          foreground
1122     Size           Small
1123     Family         Roman
1124     Shape          Up
1125     Series         Medium
1126     Misc           No_Emph
1127     Misc           No_Noun
1128     Misc           No_Bar
1129   EndFont
1130   LabelFont
1131     Color          textlabel1
1132     Size           Small
1133   EndFont
1134 End
1135
1136 Style Date
1137   Category         Titling
1138   Margin           Dynamic
1139   LatexType        Command
1140   InTitle          1
1141   LatexName        date
1142   ParSkip          0.4
1143   TopSep           0.9
1144   BottomSep        0.5
1145   ParSep           1
1146   Align            Center
1147   LabelType        No_Label
1148   Argument 1
1149     LabelString   "Short Date|S"
1150     Tooltip       "Short date which appears in the sidebar/header"
1151     InsertCotext   1
1152   EndArgument
1153   Font
1154     Size           Largest
1155     Color          textlabel1
1156   EndFont
1157 End
1158
1159 Style TitleGraphic
1160   Category         Titling
1161   Margin           Static
1162   LatexType        Command
1163   InTitle          1
1164   LatexName        titlegraphic
1165   ParSkip          0.4
1166   ItemSep          0
1167   TopSep           0
1168   BottomSep        1
1169   ParSep           1
1170   Align            Center
1171   LabelType        No_Label
1172   Font
1173     Size           Huge
1174     Series         Bold
1175     Color          textlabel1
1176   EndFont
1177 End
1178
1179
1180 #
1181 # BACK MATTER
1182 #
1183
1184 Style Bibliography
1185   Category         BackMatter
1186   Margin           First_Dynamic
1187   LatexType        Bib_Environment
1188   LatexName        thebibliography
1189   NextNoIndent     1
1190   ToggleIndent     Never
1191   LeftMargin       MM
1192   ParSkip          0.4
1193   ItemSep          0
1194   TopSep           0.7
1195   BottomSep        0.7
1196   ParSep           0.5
1197   Align            Left
1198   LabelType        Bibliography
1199   LabelString      "References"
1200   LabelBottomSep   0.7
1201   LabelFont
1202     Series         Bold
1203     Size           Larger
1204   EndFont
1205   TocLevel         1
1206   IsTocCaption     0
1207   Argument listpreamble:1
1208     LabelString    "Bib preamble"
1209     MenuString     "Bibliography Preamble"
1210     Tooltip        "LaTeX code to be inserted before the first bibliography item"
1211     PassThru       1
1212     Font
1213       Family typewriter
1214       Color latex
1215     EndFont
1216   EndArgument
1217 End
1218
1219
1220 #
1221 # QUOTATION
1222 #
1223
1224 Style Quotation
1225   Category         MainText
1226   Margin           Static
1227   LatexType        Environment
1228   LatexName        quotation
1229   NextNoIndent     1
1230   ToggleIndent     Always
1231   LeftMargin       MMM
1232   RightMargin      MMM
1233   ParIndent        MM
1234   ParSkip          0
1235   ItemSep          0
1236   TopSep           0.5
1237   BottomSep        0.5
1238   ParSep           0
1239   Align            Block
1240   AlignPossible    Block, Left, Right, Center
1241   Argument 1
1242     LabelString    "On Slide"
1243     MenuString     "Overlay Specifications|v"
1244     Tooltip        "Specify the overlay settings (see beamer manual)"
1245     LeftDelim      <
1246     RightDelim     >
1247     PassThru       1
1248   EndArgument
1249 End
1250
1251 Style Quote
1252   Category         MainText
1253   Margin           Static
1254   LatexType        Environment
1255   LatexName        quote
1256   NextNoIndent     1
1257   ToggleIndent     Never
1258   LeftMargin       MMM
1259   RightMargin      MMM
1260   TopSep           0.5
1261   ParSep           0.5
1262   BottomSep        0.5
1263   Align            Block
1264   AlignPossible    Block, Left, Right, Center
1265   LabelType        No_Label
1266   Argument 1
1267     LabelString    "On Slide"
1268     MenuString     "Overlay Specifications|v"
1269     Tooltip        "Specify the overlay settings (see beamer manual)"
1270     LeftDelim      <
1271     RightDelim     >
1272     PassThru       1
1273   EndArgument
1274 End
1275
1276 Style Verse
1277   # LaTeX type is first dynamic because of LaTeX implementation.
1278   # In LyX this does not make sense.
1279   Category         MainText
1280   LatexType        Environment
1281   LatexName        verse
1282   Margin           First_Dynamic
1283   NextNoIndent     1
1284   LeftMargin       MMMM
1285   LabelIndent      MMMM
1286   ParSkip          0.4
1287   TopSep           0.7
1288   BottomSep        0.7
1289   ParSep           0.5
1290   Align            Block
1291   AlignPossible    Block, Left
1292   LabelType        No_Label
1293   Argument 1
1294     LabelString    "On Slide"
1295     MenuString     "Overlay Specifications|v"
1296     Tooltip        "Specify the overlay settings (see beamer manual)"
1297     LeftDelim      <
1298     RightDelim     >
1299     PassThru       1
1300   EndArgument
1301 End
1302
1303
1304 #
1305 # THEOREMS AND SUCH
1306 #
1307
1308 Style Corollary
1309    Category        Reasoning
1310    Margin          First_Dynamic
1311    LatexType       Environment
1312    NextNoIndent    0
1313    ParIndent       MM
1314    Align           Left
1315    LabelType       Static
1316    LabelSep        xx
1317    LatexName       corollary
1318    LabelString     "Corollary."
1319    ParSkip         0.5
1320    TopSep          1
1321    BottomSep       1
1322    ParSep          0
1323    KeepEmpty       1
1324    LabelFont
1325      Series        Bold
1326      Color         textlabel1
1327      Size          Large
1328    EndFont
1329   Argument 1
1330     LabelString    "Action"
1331     MenuString     "Action Specifications|S"
1332     Tooltip        "Specify the overlay settings (see beamer manual)"
1333     LeftDelim      <
1334     RightDelim     >
1335     PassThru       1
1336   EndArgument
1337   Argument 2
1338     LabelString    "Additional Theorem Text"
1339     Tooltip        "Additional text appended to the theorem header"
1340   EndArgument
1341   AutoNests 
1342         Standard,Itemize,Enumerate,Description,Pause,Overprint,OverlayArea,Only,LyX-Code
1343   EndAutoNests
1344 End
1345
1346 Style Definition
1347   CopyStyle        Corollary
1348   LatexName        definition
1349   LabelString      "Definition."
1350 End
1351
1352 Style Definitions
1353   CopyStyle        Corollary
1354   LatexName        definitions
1355   LabelString      "Definitions."
1356 End
1357
1358 Style Example
1359   CopyStyle        Corollary
1360   LatexName        example
1361   LabelString      "Example."
1362   LabelFont
1363     Series         Bold
1364     Color          textlabel2
1365   EndFont
1366 End
1367
1368 Style Examples
1369   CopyStyle        Corollary
1370   LatexName        examples
1371   LabelString      "Examples."
1372 End
1373
1374 Style Fact
1375   CopyStyle        Corollary
1376   LatexName        fact
1377   LabelString      "Fact."
1378 End
1379
1380 Style Lemma
1381   CopyStyle        Corollary
1382   LatexName        lemma
1383   LabelString      "Lemma."
1384 End
1385
1386 Style Proof
1387   CopyStyle        Corollary
1388   LatexName        proof
1389   LabelString      "Proof."
1390 End
1391
1392 Style Theorem
1393   CopyStyle        Corollary
1394   LatexName        theorem
1395   LabelString      "Theorem."
1396 End
1397
1398
1399 #
1400 # MISC.
1401 #
1402
1403 Style LyX-Code
1404   Category         MainText
1405   Margin           Static
1406   LatexType        Environment
1407   LatexName        lyxcode
1408   NextNoIndent     1
1409   LeftMargin       MMM
1410   RightMargin      MMM
1411   TopSep           0.5
1412   BottomSep        0.5
1413   Align            Left
1414   AlignPossible    Block, Left, Right, Center
1415   LabelType        No_Label
1416   FreeSpacing      1
1417   Preamble
1418   \newenvironment{lyxcode}
1419     {\par\begin{list}{}{
1420       \setlength{\rightmargin}{\leftmargin}
1421       \setlength{\listparindent}{0pt}% needed for AMS classes
1422       \raggedright
1423       \setlength{\itemsep}{0pt}
1424       \setlength{\parsep}{0pt}
1425       \normalfont\ttfamily}%
1426      \def\{{\char`\{}
1427      \def\}{\char`\}}
1428      \def\textasciitilde{\char`\~}
1429      \item[]}
1430     {\end{list}}
1431   EndPreamble
1432   Font
1433     Family         Typewriter
1434   EndFont
1435   DocBookTag            programlisting
1436   DocBookTagType        paragraph
1437   DocBookAttr                   language='lyx'
1438 End
1439  
1440 Style NoteItem
1441   Category         MainText
1442   Margin           Static
1443   LatexType        Command
1444   LatexName        note
1445   LatexParam       [item]
1446   ParSkip          0.5
1447   TopSep           1
1448   BottomSep        1
1449   ParSep           0
1450   Align            Left
1451   LabelType        Static
1452   LabelSep         xx
1453   LabelString      "Note:"
1454   LeftMargin       "Note:xx"
1455   LabelFont
1456     Family         Roman
1457     Color          latex
1458   EndFont
1459   Argument 1
1460     LabelString    "On Slide"
1461     MenuString     "Overlay Specifications|v"
1462     Tooltip        "Specify the overlay settings (see beamer manual)"
1463     LeftDelim      <
1464     RightDelim     >
1465     PassThru       1
1466   EndArgument
1467   IsAutoNestedBy
1468     Itemize,Enumerate
1469   EndIsAutoNestedBy
1470 End
1471  
1472
1473 #
1474 # CHARSTYLES
1475 #
1476
1477
1478 InsetLayout Flex:Bold
1479   LyXType          charstyle
1480   LabelString      Bold
1481   LatexType        command
1482   LatexName        textbf
1483   Font
1484     Series         bold
1485   EndFont
1486   Argument 1
1487     LabelString    "Action"
1488     MenuString     "Action Specifications|S"
1489     Tooltip        "Specify the overlay settings (see beamer manual)"
1490     LeftDelim      <
1491     RightDelim     >
1492     PassThru       1
1493   EndArgument
1494   ResetsFont       true
1495   CustomPars       false
1496 End
1497
1498 InsetLayout Flex:Emphasize
1499   LyXType          charstyle
1500   LabelString      Emph.
1501   LatexType        command
1502   LatexName        emph
1503   Font
1504     Shape          italic
1505   EndFont
1506   Argument 1
1507     LabelString    "Action"
1508     MenuString     "Action Specifications|S"
1509     Tooltip        "Specify the overlay settings (see beamer manual)"
1510     LeftDelim      <
1511     RightDelim     >
1512     PassThru       1
1513   EndArgument
1514   ResetsFont       true
1515   CustomPars       false
1516 End
1517
1518 InsetLayout Flex:Alert
1519   LyXType          charstyle
1520   LabelString      Alert
1521   LatexType        command
1522   LatexName        alert
1523   Font
1524     Color          error
1525   EndFont
1526   Argument 1
1527     LabelString    "Action"
1528     MenuString     "Action Specifications|S"
1529     Tooltip        "Specify the overlay settings (see beamer manual)"
1530     LeftDelim      <
1531     RightDelim     >
1532     PassThru       1
1533   EndArgument
1534   ResetsFont       true
1535   CustomPars       false
1536 End
1537
1538 InsetLayout Flex:Structure
1539   LyXType          charstyle
1540   LabelString      Structure
1541   LatexType        command
1542   LatexName        structure
1543   Font
1544     Color          textlabel1
1545   EndFont
1546   Argument 1
1547     LabelString    "Action"
1548     MenuString     "Action Specifications|S"
1549     Tooltip        "Specify the overlay settings (see beamer manual)"
1550     LeftDelim      <
1551     RightDelim     >
1552     PassThru       1
1553   EndArgument
1554   ResetsFont       true
1555   CustomPars       false
1556 End
1557
1558 InsetLayout Flex:Only
1559   LyXType          charstyle
1560   LabelString      Only
1561   LatexType        command
1562   LatexName        only
1563   Font
1564     Color          textlabel3
1565   EndFont
1566   Argument 1
1567     LabelString    "Action"
1568     MenuString     "Action Specifications|S"
1569     Tooltip        "Specify the overlay settings (see beamer manual)"
1570     LeftDelim      <
1571     RightDelim     >
1572     PassThru       1
1573     AutoInsert     1
1574   EndArgument
1575   ResetsFont       true
1576   CustomPars       false
1577 End
1578
1579 InsetLayout Flex:Uncover
1580   LyXType          charstyle
1581   LabelString      Uncover
1582   LatexType        command
1583   LatexName        uncover
1584   Font
1585     Color          textlabel3
1586   EndFont
1587   Argument 1
1588     LabelString    "Action"
1589     MenuString     "Action Specifications|S"
1590     Tooltip        "Specify the overlay settings (see beamer manual)"
1591     LeftDelim      <
1592     RightDelim     >
1593     PassThru       1
1594     AutoInsert     1
1595   EndArgument
1596   ResetsFont       true
1597   CustomPars       false
1598 End
1599
1600 InsetLayout Flex:Visible
1601   LyXType          charstyle
1602   LabelString      Visible
1603   LatexType        command
1604   LatexName        visible
1605   Font
1606     Color          textlabel3
1607   EndFont
1608   Argument 1
1609     LabelString    "Action"
1610     MenuString     "Action Specifications|S"
1611     Tooltip        "Specify the overlay settings (see beamer manual)"
1612     LeftDelim      <
1613     RightDelim     >
1614     PassThru       1
1615     AutoInsert     1
1616   EndArgument
1617   ResetsFont       true
1618   CustomPars       false
1619 End
1620
1621 InsetLayout Flex:Invisible
1622   LyXType          charstyle
1623   LabelString      Invisible
1624   LatexType        command
1625   LatexName        invisible
1626   Font
1627     Color          textlabel3
1628   EndFont
1629   Argument 1
1630     LabelString    "Action"
1631     MenuString     "Action Specifications|S"
1632     Tooltip        "Specify the overlay settings (see beamer manual)"
1633     LeftDelim      <
1634     RightDelim     >
1635     PassThru       1
1636     AutoInsert     1
1637   EndArgument
1638   ResetsFont       true
1639   CustomPars       false
1640 End
1641
1642 InsetLayout Flex:Alternative
1643   LyXType          charstyle
1644   LabelString      Alternative
1645   LatexType        command
1646   LatexName        alt
1647   Font
1648     Color          textlabel3
1649   EndFont
1650   Argument 1
1651     LabelString    "Action"
1652     MenuString     "Action Specifications|S"
1653     Tooltip        "Specify the overlay settings (see beamer manual)"
1654     LeftDelim      <
1655     RightDelim     >
1656     PassThru       1
1657     AutoInsert     1
1658   EndArgument
1659   Argument 2
1660     LabelString    "Default Text"
1661     Tooltip        "Enter the default text here"
1662     Mandatory      1
1663     AutoInsert     1
1664   EndArgument
1665   ResetsFont       true
1666   CustomPars       false
1667 End
1668
1669 InsetLayout Flex:Beamer_Note
1670   LyXType          custom
1671   LabelString      Note
1672   LatexType        command
1673   LatexName        note
1674   Decoration       Classic
1675   Font
1676     Color          textlabel1
1677   EndFont
1678   Argument 1
1679     LabelString    "Action"
1680     MenuString     "Action Specifications|S"
1681     Tooltip        "Specify the overlay settings (see beamer manual)"
1682     LeftDelim      <
1683     RightDelim     >
1684     PassThru       1
1685   EndArgument
1686   Argument 2
1687     LabelString    "Note Options"
1688     Tooltip        "Specifiy note options (see beamer manual)"
1689   EndArgument
1690   ResetsFont       true
1691 End
1692
1693 InsetLayout Flex:ArticleMode
1694    LyXType         custom
1695    LatexName       mode
1696    LatexParam      <article>
1697    LatexType       command
1698    Decoration      classic
1699    LabelString     Article
1700    MultiPar        true
1701    ResetsFont      true
1702 End
1703
1704 InsetLayout Flex:PresentationMode
1705    LyXType         custom
1706    LatexName       mode
1707    LatexParam      <presentation>
1708    LatexType       command
1709    Decoration      classic
1710    LabelString     Presentation
1711    MultiPar        true
1712    ResetsFont      true
1713 End
1714
1715
1716 #
1717 # FLOATS
1718 #
1719
1720 Input stdfloatnames.inc
1721
1722 Float
1723   Type             table
1724   GuiName          Table
1725   Placement        tbp
1726   Extension        lot
1727   NumberWithin     none
1728   Style            plain
1729   ListName         "List of Tables"
1730   IsPredefined     true
1731   UsesFloatPkg     false
1732   ListCommand      listoftables
1733   PrettyFormat     "Table ##"
1734 End
1735
1736 Float
1737   Type             figure
1738   GuiName          Figure
1739   Placement        tbp
1740   Extension        lof
1741   NumberWithin     none
1742   Style            plain
1743   ListName         "List of Figures"
1744   IsPredefined     true
1745   UsesFloatPkg     false
1746   ListCommand      listoffigures
1747   PrettyFormat     "Figure ##"
1748 End
1749
1750
1751 Input theorems-refprefix.inc