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