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