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