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