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