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