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