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