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