]> git.lyx.org Git - lyx.git/blob - lib/layouts/beamer.layout
54258e9cc3f1b842889b1be00c47f401b6d23ab0
[lyx.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   \AtBeginDocument{%
51     \let\origtableofcontents=\tableofcontents
52     \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
53     \def\gobbletableofcontents#1{\origtableofcontents}
54   }
55 EndPreamble
56
57
58 #
59 # STANDARD STYLE
60 #
61
62 Style Standard
63   Category         MainText
64   Margin           Static
65   LatexType        Paragraph
66   LatexName        dummy
67   ParIndent        MM
68   ParSkip          0.4
69   Align            Left
70   AlignPossible    Block, Left, Right, Center
71   LabelType        No_Label
72 End
73
74
75 #
76 # LISTS
77 #
78
79 Style Itemize
80   Category         List
81   Margin           Static
82   LatexType        Item_Environment
83   LatexName        itemize
84   Argument 1
85     LabelString    "Overlay Specifications|S"
86     Tooltip        "Overlay specifications for this list"
87   EndArgument
88   NextNoIndent     1
89   LeftMargin       MMN
90   LabelSep         xx
91   ItemSep          0.2
92   TopSep           0.7
93   BottomSep        0.7
94   ParSep           0.3
95   Align            Left
96   LabelType        Itemize
97 End
98
99 Style Enumerate
100   Category         List
101   Margin           Static
102   LatexType        Item_Environment
103   LatexName        enumerate
104   Argument 1
105     LabelString    "Overlay Specifications|S"
106     Tooltip        "Overlay specifications for this list"
107   EndArgument
108   Argument 2
109     LabelString    "Mini template"
110     Tooltip        "Mini template for this List"
111   EndArgument
112   NextNoIndent     1
113   LeftMargin       MMN
114   LabelSep         xx
115   ParSkip          0.0
116   ItemSep          0.2
117   TopSep           0.7
118   BottomSep        0.7
119   ParSep           0.3
120   Align            Left
121   LabelType        Enumerate
122   RefPrefix        enu
123 End
124
125 Style Description
126   Category         List
127   Margin           First_Dynamic
128   LatexType        Item_environment
129   LatexName        description
130   Argument 1
131     LabelString    "Overlay Specifications|S"
132     Tooltip        "Overlay specifications for this list"
133   EndArgument
134   Argument 2
135     LabelString    "Longest label|s"
136     Tooltip        "The longest label in this list"
137   EndArgument
138   NextNoIndent     1
139   LeftMargin       MM
140   LabelSep         xx
141   ParSkip          0.4
142   ItemSep          0.2
143   TopSep           0.7
144   BottomSep        0.7
145   ParSep           0.3
146   Align            Left
147   LabelType        Manual
148   LabelFont 
149     Series         Bold
150   EndFont
151 End
152
153
154 #
155 # SECTIONING
156 #
157
158 Style Part
159   Category         Section
160   Margin           Dynamic
161   LatexType        Command
162   LatexName        part
163   Argument 1
164     LabelString    "Short Title|S"
165     Tooltip        "The part as it appears in the table of contents/running headers"
166   EndArgument
167   NeedProtect      1
168   NextNoIndent     1
169   Labelsep         xx
170   ParSkip          0.4
171   TopSep           4
172   BottomSep        4
173   ParSep           0.8
174   Align            Center
175   LabelType        Static
176   LabelString      "Part"
177   RefPrefix        part
178   Font 
179     Family         Roman
180     Series         Bold
181     Size           Huge
182   EndFont
183   LabelFont
184     Color          Latex
185   EndFont
186   TocLevel         0
187 End
188
189 Style Section
190   Category         Section
191   Margin           First_Dynamic
192   LatexType        Command
193   LatexName        lyxframeend{}\section
194   NeedProtect      1
195   NextNoIndent     1
196   LabelSep         xx
197   ParSkip          0.4
198   TopSep           2
199   BottomSep        0.25
200   ParSep           0.7
201   Align            Left
202   LabelType        Counter
203   LabelCounter     section
204   LabelString      "Section \arabic{section}"
205   RefPrefix        sec
206   Argument 1
207     LabelString    "Short Title|S"
208     Tooltip        "The section as it appears in the table of contents/running headers"
209   EndArgument
210   Font 
211     Family         Roman
212     Series         Bold
213     Size           huge
214   EndFont
215   LabelFont 
216     Color          latex
217   EndFont
218   LabelStringAppendix "\Alph{section}"
219   TocLevel         1
220 End
221
222 Style Section*
223   CopyStyle        Section
224   Category         Unnumbered
225   Margin           Static
226   LatexName        lyxframeend{}\section*
227   LabelType        No_Label
228   ResetArgs        1
229 End
230
231 Style Subsection
232   Category         Section
233   Margin           First_Dynamic
234   LatexType        Command
235   LatexName        lyxframeend{}\subsection
236   NeedProtect      1
237   NextNoIndent     1
238   LabelSep         xx
239   ParSkip          0.4
240   TopSep           2
241   BottomSep        0.25
242   ParSep           0.5
243   Align            Left
244   LabelType        Counter
245   LabelCounter     subsection
246   LabelString      "Subsection \arabic{section}.\arabic{subsection}"
247   RefPrefix        sub
248   Argument 1
249     LabelString    "Short Title|S"
250     Tooltip        "The subsection as it appears in the table of contents/running headers"
251   EndArgument
252   Font 
253     Family         Roman
254     Series         Bold
255     Size           larger
256   EndFont
257   LabelFont 
258     Color          latex
259   EndFont
260   LabelStringAppendix "\arabic{section}.\arabic{subsection}"
261   TocLevel         2
262 End
263
264 Style Subsection*
265   CopyStyle        Subsection
266   Category         Unnumbered
267   Margin           Static
268   LatexName        lyxframeend{}\subsection*
269   LabelType        No_Label
270   ResetArgs        1
271 End
272
273 Style Subsubsection
274   Category         Section
275   Margin           First_Dynamic
276   LatexType        Command
277   LatexName        lyxframeend{}\subsubsection
278   NeedProtect      1
279   NextNoIndent     1
280   LabelSep         xx
281   ParSkip          0.4
282   TopSep           2
283   BottomSep        0.25
284   ParSep           0.5
285   Align            Left
286   LabelType        Counter
287   LabelCounter     subsubsection
288   LabelString      "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
289   RefPrefix        sub
290   Argument 1
291     LabelString    "Short Title|S"
292     Tooltip        "The subsubsection as it appears in the table of contents/running headers"
293   EndArgument
294   Font 
295     Family         Roman
296     Series         Bold
297     Size           large
298   EndFont
299   LabelFont 
300     Color          latex
301   EndFont
302   LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
303   TocLevel         3
304 End
305
306 Style Subsubsection*
307   CopyStyle        Subsubsection
308   Category         Unnumbered
309   Margin           Static
310   LatexName        lyxframeend{}\subsubsection*
311   LabelType        No_Label
312   ResetArgs        1
313 End
314
315
316 #
317 # FRAMES
318 #
319
320 Style BeginFrame
321   Category         Frames
322   TocLevel         4
323   KeepEmpty        1
324   LatexType        Command
325   LatexName        lyxframeend{}\lyxframe
326   Argument 1
327     LabelString    "Frame Options"
328     Tooltip        "Frame options (see beamer manual)"
329   EndArgument
330   Margin           First_Dynamic
331   NextNoIndent     1
332   ParSkip          0
333   TopSep           2.5
334   BottomSep        0.5
335   ParSep           0
336   Align            Center
337   LabelType        Static
338   LabelBottomSep   0
339   LeftMargin       M
340   LabelSep         xx
341   LabelString      "Frame"
342   Font
343     Series         Bold
344     Size           Largest
345     Color          Blue
346   EndFont
347   LabelFont 
348     Family         Roman
349     Color          latex
350   EndFont
351   Preamble
352     \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
353     \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
354     \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
355     \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
356     \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
357     \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
358       \frame<#1>[#2][#3]{\frametitle{#4}#5}}
359   EndPreamble
360 End
361
362 Style BeginPlainFrame
363   Category          Frames
364   TocLevel          4
365   KeepEmpty         1
366   LatexType         Command
367   LatexName         lyxframeend{}\lyxplainframe
368   Margin            First_Dynamic
369   NextNoIndent      1
370   ParSkip           0
371   TopSep            2.5
372   BottomSep         0.5
373   ParSep            0
374   Align             Center
375   LabelType         Static
376   LabelBottomSep    0
377   LeftMargin        M
378   LabelSep          xx
379   LabelString       "Frame (no head/foot/sidebars)"
380   Font
381     Series          Bold
382     Size            Largest
383     Color           Blue
384   EndFont
385   LabelFont 
386     Family          Roman
387     Color           latex
388   EndFont
389   Preamble
390     \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
391     \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
392     \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
393       \frame<#1>[plain]{\frametitle{#2}#3}}
394   EndPreamble
395 End
396
397 Style AgainFrame
398   Category          Frames
399   KeepEmpty         0
400   LatexType         Command
401   LatexName         lyxframeend{}\lyxagainframe
402   Argument 1
403     LabelString     "Overlay Specifications|S"
404     Tooltip         "Overlay specifications for this list"
405   EndArgument
406   Argument 2
407     LabelString     "Frame Options"
408     Tooltip         "Frame options (see beamer manual)"
409   EndArgument
410   Margin            First_Dynamic
411   NextNoIndent      1
412   ParSkip           0
413   TopSep            3
414   BottomSep         3
415   ParSep            0
416   Align             Center
417   LabelType         Static
418   LabelBottomSep    0
419   LeftMargin        M
420   LabelSep          xx
421   LabelString       "Repeat frame with label"
422   Font
423     Color           latex
424   EndFont
425   LabelFont 
426     Family          Roman
427     Color           latex
428     Series          Bold
429     Size            Largest
430   EndFont
431   Preamble
432     \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
433     \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
434     \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
435     \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
436       \againframe<#1>[#2]{#3}}
437   EndPreamble
438 End
439
440 Style EndFrame
441   Category          Frames
442   KeepEmpty         1
443   LatexType         Command
444   LatexName         lyxframeend
445   Margin            First_Dynamic
446   ParSkip           0
447   TopSep            0
448   BottomSep         3
449   ParSep            0
450   Align             Center
451   LabelType         Static
452   LabelBottomSep    0
453   LeftMargin        MMMMM
454   LabelString       "________________________________"
455   LabelFont 
456     Family          typewriter
457     Series          Medium
458     Size            Normal
459     Color           latex
460   EndFont
461   Preamble
462     \def\lyxframeend{} % In case there is a superfluous frame end
463   EndPreamble
464 End
465
466 Style FrameSubtitle
467   Category         Frames
468   Margin           Static
469   LatexType        Command
470   LatexName        framesubtitle
471   ParSkip          0.4
472   ItemSep          0
473   TopSep           0
474   BottomSep        1
475   ParSep           1
476   Align            Center
477   LabelType        No_Label
478   Font 
479     Series         Bold
480     Color          Blue
481   EndFont
482 End
483
484
485 #
486 # COLUMS
487 #
488
489 Style Column
490   Category         Columns
491   Margin           Static
492   LatexType        Command
493   LatexName        column
494   ParSkip          0.5
495   TopSep           1
496   BottomSep        1
497   ParSep           0
498   ParIndent        MM
499   Align            Left
500   LabelType        Static
501   LabelSep         xx
502   LabelString      "Start column (increase depth!), width:"
503   Argument 1
504     LabelString    "Column Options"
505     Tooltip        "Column options (see beamer manual)"
506   EndArgument
507   LeftMargin       "Start column (increase depth!), width:xx"
508   LabelFont 
509     Family         Roman
510     Color          latex
511   EndFont
512 End
513
514 Style Columns
515   Category         Columns
516   KeepEmpty        1
517   Margin           Static
518   LatexType        Environment
519   NextNoIndent     0
520   ParIndent        MM
521   Align            Left
522   LabelType        Static
523   LabelSep         xx
524   LatexName        columns
525   LabelString      "Columns"
526   LeftMargin       "Columnsxx"
527   Argument 1
528     LabelString    "Column Placement Options"
529     Tooltip        "Column placement options (t, T, c, b)"
530   EndArgument
531   ParSkip          0.5
532   TopSep           1
533   BottomSep        1
534   ParSep           0
535   LabelFont 
536     Family         Roman
537     Color          latex
538   EndFont
539 End
540
541 Style ColumnsCenterAligned
542   CopyStyle        Columns
543   LatexParam       [c]
544   LabelString      "Columns (center aligned)"
545   LeftMargin       "Columns (center aligned)xx"
546   ResetArgs        1
547 End
548
549 Style ColumnsTopAligned
550   CopyStyle        Columns
551   LatexParam       [t]
552   LabelString      "Columns (top aligned)"
553   LeftMargin       "Columns (top aligned)xx"
554   ResetArgs        1
555 End
556
557
558 #
559 # OVERLAYS
560 #
561
562 Style Pause
563   Category         Overlays
564   KeepEmpty        1
565   LatexType        Command
566   LatexName        pause
567   Margin           First_Dynamic
568   Argument 1
569     LabelString    "Pause number"
570     Tooltip        "Number of slide where the context below the pause gets visible"
571   EndArgument
572   NextNoIndent     1
573   ParSkip          0
574   TopSep           0
575   BottomSep        0.25
576   ParSep           0
577   Align            Center
578   LabelType        Static
579   LabelBottomSep   0
580   LeftMargin       MMMMM
581   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
582   LabelFont
583     Family         typewriter
584     Series         Medium
585     Size           Normal
586     Color          latex
587   EndFont
588 End
589
590 Style Overprint
591   Category         Overlays
592   Margin           First_Dynamic
593   LatexType        Environment
594   NextNoIndent     0
595   ParIndent        MM
596   Align            Left
597   LabelType        Static
598   LabelSep         xx
599   LatexName        overprint
600   LabelString      "Overprint"
601   ParSkip          0.5
602   TopSep           1
603   BottomSep        1
604   ParSep           0
605   KeepEmpty        1
606   LabelFont 
607     Family         Roman
608     Color          latex
609   EndFont
610 End
611
612 Style OverlayArea
613   Category         Overlays
614   Margin           First_Dynamic
615   LatexType        Environment
616   NextNoIndent     0
617   ParIndent        MM
618   Align            Left
619   LabelType        Static
620   LabelSep         xx
621   LatexName        overlayarea
622   LabelString      "Overlayarea"
623   ParSkip          0.5
624   TopSep           1
625   BottomSep        1
626   ParSep           0
627   LabelFont 
628     Family         Roman
629     Color          latex
630   EndFont
631 End
632
633 Style Uncover
634   Category         Overlays
635   Margin           First_Dynamic
636   LatexType        Environment
637   NextNoIndent     0
638   ParIndent        MM
639   Align            Left
640   LabelType        Static
641   LatexName        uncoverenv}%{
642   LabelSep         xx
643   LabelString      "Uncovered on slides"
644   ParSkip          0.5
645   TopSep           1
646   BottomSep        1
647   ParSep           0
648   LabelFont 
649     Family         Roman
650     Color          Latex
651   EndFont
652 End
653
654 Style Only
655   Category         Overlays
656   Margin           First_Dynamic
657   LatexType        Environment
658   NextNoIndent     0
659   ParIndent        MM
660   Align            Left
661   LabelType        Static
662   LatexName        onlyenv}%{
663   LabelSep         xx
664   LabelString      "Only on slides"
665   ParSkip          0.5
666   TopSep           1
667   BottomSep        1
668   ParSep           0
669   LabelFont
670     Family         Roman
671     Color          Latex
672   EndFont
673 End
674
675
676 #
677 # BLOCKS
678 #
679
680 Style Block
681   Category         Blocks
682   Margin           Dynamic
683   LatexType        Environment
684   NextNoIndent     0
685   ParIndent        MM
686   Align            Left
687   LabelType        Static
688   LabelSep         xx
689   LatexName        block
690   LabelString      "Block:"  
691   ParSkip          0.5
692   TopSep           1
693   BottomSep        1
694   ParSep           0
695   LabelFont
696     Family         Roman
697     Color          latex
698   EndFont
699 End
700
701 Style ExampleBlock
702   Category         Blocks
703   Margin           First_Dynamic
704   LatexType        Environment
705   NextNoIndent     0
706   ParIndent        MM
707   Align            Left
708   LabelType        Static
709   LabelSep         xx
710   LatexName        exampleblock
711   LabelString      "Example Block:"
712   ParSkip          0.5
713   TopSep           1
714   BottomSep        1
715   ParSep           0
716   Font
717     Color          green
718   EndFont
719   LabelFont 
720     Family         Roman
721     Color          latex
722   EndFont
723 End
724
725 Style AlertBlock
726   Category         Blocks
727   Margin           First_Dynamic
728   LatexType        Environment
729   NextNoIndent     0
730   ParIndent        MM
731   Align            Left
732   LabelType        Static
733   LabelSep         xx
734   LatexName        alertblock
735   LabelString      "Alert Block:"
736   ParSkip          0.5
737   TopSep           1
738   BottomSep        1
739   ParSep           0
740   Font
741     Color          red
742   EndFont
743   LabelFont 
744     Family         Roman
745     Color          latex
746   EndFont
747 End
748
749
750 #
751 # TITLING
752 #
753
754 Style Title
755   Category         Titling
756   Margin           Static
757   LatexType        Command
758   InTitle          1
759   LatexName        title
760   ParSkip          0.4
761   ItemSep          0
762   TopSep           0
763   BottomSep        1
764   ParSep           1
765   Align            Center
766   LabelType        No_Label
767   Argument 1
768     LabelString   "Short Title|S"
769     Tooltip       "Short title which appears in the sidebar/header"
770   EndArgument
771   Font 
772     Size           Huge
773     Series         Bold
774     Color          Blue
775   EndFont
776 End
777
778 Style Title_(Plain_Frame)
779   CopyStyle        Title
780   Preamble
781      % plain title style, override default
782      \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
783   EndPreamble
784 End
785
786 Style Subtitle
787   Category         Titling
788   Margin           Static
789   LatexType        Command
790   InTitle          1
791   LatexName        subtitle
792   ParSkip          0.4
793   ItemSep          0
794   TopSep           0
795   BottomSep        1
796   ParSep           1
797   Align            Center
798   LabelType        No_Label
799   Argument 1
800     LabelString   "Short Subtitle|S"
801     Tooltip       "Short subtitle which appears in the sidebar/header"
802   EndArgument
803   Font 
804     Size           Large
805     Series         Bold
806     Color          Blue
807   EndFont
808 End
809
810 Style Author
811   Category         Titling
812   Margin           Static
813   LatexType        Command
814   InTitle          1
815   LatexName        author
816   ParSkip          0.4
817   TopSep           1.3
818   BottomSep        0.7
819   ParSep           0.7
820   Align            Center
821   LabelType        No_Label
822   Argument 1
823     LabelString   "Short Author|S"
824     Tooltip       "Short author which appears in the sidebar/header"
825   EndArgument
826   Font 
827     Size           Largest
828     Color          Blue
829   EndFont
830 End
831
832 Style Institute
833   Category         Titling
834   Margin           Dynamic
835   LatexType        Command
836   InTitle          1
837   LatexName        institute
838   ParSkip          0.4
839   TopSep           0.9
840   BottomSep        0.5
841   ParSep           1
842   Align            Center
843   LabelType        No_Label
844   Argument 1
845     LabelString   "Short Institute|S"
846     Tooltip       "Short institute which appears in the sidebar/header"
847   EndArgument
848   Font 
849     Size           Large
850     Color          Blue
851   EndFont
852 End
853
854 InsetLayout "Flex:InstituteMark"
855   LyxType          custom
856   LatexType        command
857   LatexName        inst
858   LabelString      "Institute Mark"
859   Font
860     Color          foreground
861     Size           Small
862     Family         Roman
863     Shape          Up
864     Series         Medium
865     Misc           No_Emph
866     Misc           No_Noun
867     Misc           No_Bar
868   EndFont
869   LabelFont
870     Color          blue
871     Size           Small
872   EndFont
873 End
874
875 Style Date
876   Category         Titling
877   Margin           Dynamic
878   LatexType        Command
879   InTitle          1
880   LatexName        date
881   ParSkip          0.4
882   TopSep           0.9
883   BottomSep        0.5
884   ParSep           1
885   Align            Center
886   LabelType        No_Label
887   Argument 1
888     LabelString   "Short Date|S"
889     Tooltip       "Short date which appears in the sidebar/header"
890   EndArgument
891   Font 
892     Size           Largest
893     Color          Blue
894   EndFont
895 End
896
897 Style TitleGraphic
898   Category         Titling
899   Margin           Static
900   LatexType        Command
901   InTitle          1
902   LatexName        titlegraphic
903   ParSkip          0.4
904   ItemSep          0
905   TopSep           0
906   BottomSep        1
907   ParSep           1
908   Align            Center
909   LabelType        No_Label
910   Font 
911     Size           Huge
912     Series         Bold
913     Color          Blue
914   EndFont
915 End
916
917
918 #
919 # BACK MATTER
920 #
921
922 Style Bibliography
923   Category         BackMatter
924   Margin           First_Dynamic
925   LatexType        Bib_Environment
926   LatexName        thebibliography
927   NextNoIndent     1
928   LeftMargin       MM
929   ParSkip          0.4
930   ItemSep          0
931   TopSep           0.7
932   BottomSep        0.7
933   ParSep           0.5
934   Align            Left
935   LabelType        Bibliography
936   LabelString      "References"
937   LabelBottomSep   0.7
938   LabelFont 
939     Series         Bold
940     Size           Larger
941   EndFont
942 End
943
944
945 #
946 # QUOTATION
947 #
948
949 Style Quotation
950   Category         MainText
951   Margin           Static
952   LatexType        Environment
953   LatexName        quotation}%{
954   NextNoIndent     1
955   LeftMargin       MMM
956   RightMargin      MMM
957   ParIndent        MM
958   ParSkip          0
959   ItemSep          0
960   TopSep           0.5
961   BottomSep        0.5
962   ParSep           0
963   Align            Block
964   AlignPossible    Block, Left, Right, Center
965 End
966
967 Style Quote
968   Category         MainText
969   Margin           Static
970   LatexType        Environment
971   LatexName        quote}%{
972   NextNoIndent     1
973   LeftMargin       MMM
974   RightMargin      MMM
975   TopSep           0.5
976   ParSep           0.5
977   BottomSep        0.5
978   Align            Block
979   AlignPossible    Block, Left, Right, Center
980   LabelType        No_Label
981 End
982
983 Style Verse
984   # LaTeX type is first dynamic because of LaTeX implementation.
985   # In LyX this does not make sense.
986   Category         MainText
987   LatexType        Environment
988   LatexName        verse}%{
989   Margin           First_Dynamic
990   NextNoIndent     1
991   LeftMargin       MMMM
992   LabelIndent      MMMM
993   ParSkip          0.4
994   TopSep           0.7
995   BottomSep        0.7
996   ParSep           0.5
997   Align            Block
998   AlignPossible    Block, Left
999   LabelType        No_Label
1000 End
1001
1002
1003 #
1004 # THEOREMS AND SUCH
1005 #
1006
1007 Style Corollary
1008    Category        Theorems
1009    Margin          First_Dynamic
1010    LatexType       Environment
1011    NextNoIndent    0
1012    ParIndent       MM
1013    Align           Left
1014    LabelType       Static
1015    LabelSep        xx
1016    LatexName       corollary}%{
1017    LabelString     "Corollary."
1018    ParSkip         0.5
1019    TopSep          1
1020    BottomSep       1
1021    ParSep          0
1022    KeepEmpty       1
1023    LabelFont
1024      Series        Bold
1025      Color         Blue
1026      Size          Large
1027    EndFont
1028 End
1029
1030 Style Definition
1031   CopyStyle        Corollary
1032   LatexName        definition}%{
1033   LabelString      "Definition."
1034 End
1035
1036 Style Definitions
1037   CopyStyle        Corollary
1038   LatexName        definitions}%{
1039   LabelString      "Definitions."
1040 End
1041
1042 Style Example
1043   CopyStyle        Corollary
1044   LatexName        example}%{
1045   LabelString      "Example."
1046   LabelFont
1047     Series         Bold
1048     Color          Green
1049   EndFont
1050 End
1051
1052 Style Examples
1053   CopyStyle        Corollary
1054   LatexName        examples}%{
1055   LabelString      "Examples."
1056 End
1057
1058 Style Fact
1059   CopyStyle        Corollary
1060   LatexName        fact}%{
1061   LabelString      "Fact."
1062 End
1063
1064 Style Proof
1065   CopyStyle        Corollary
1066   LatexName        proof}%{
1067   LabelString      "Proof."
1068 End
1069
1070 Style Theorem
1071   CopyStyle        Corollary
1072   LatexName        theorem}%{
1073   LabelString      "Theorem."
1074 End
1075
1076
1077 #
1078 # MISC.
1079 #
1080
1081 Style Separator
1082   Category         MainText
1083   LatexType        Paragraph
1084   LatexName        dummy
1085   ParIndent        MM
1086   ParSkip          0.4
1087   Align            Left
1088   AlignPossible    Block, Left, Right, Center
1089   Margin           First_Dynamic
1090   TopSep           0
1091   BottomSep        0
1092   ParSep           0
1093   LabelType        Static
1094   LabelBottomSep   0
1095   LabelString      "___"
1096   KeepEmpty        1
1097   LabelFont 
1098     Series         Medium
1099     Size           Normal
1100     Color          latex
1101   EndFont
1102 End
1103  
1104 Style LyX-Code
1105   Category         MainText
1106   Margin           Static
1107   LatexType        Environment
1108   LatexName        lyxcode
1109   NextNoIndent     1
1110   LeftMargin       MMM
1111   RightMargin      MMM
1112   TopSep           0.5
1113   BottomSep        0.5
1114   Align            Left
1115   AlignPossible    Block, Left, Right, Center
1116   LabelType        No_Label
1117   FreeSpacing      1
1118   Preamble
1119   \newenvironment{lyxcode}
1120     {\par\begin{list}{}{
1121       \setlength{\rightmargin}{\leftmargin}
1122       \setlength{\listparindent}{0pt}% needed for AMS classes
1123       \raggedright
1124       \setlength{\itemsep}{0pt}
1125       \setlength{\parsep}{0pt}
1126       \normalfont\ttfamily}%
1127      \def\{{\char`\{}
1128      \def\}{\char`\}}
1129      \def\textasciitilde{\char`\~}
1130      \item[]}
1131     {\end{list}}
1132   EndPreamble
1133   Font 
1134     Family         Typewriter
1135   EndFont
1136 End
1137  
1138 Style NoteItem
1139   Category         MainText
1140   Margin           Static
1141   LatexType        Command
1142   LatexName        note
1143   LatexParam       [item]
1144   ParSkip          0.5
1145   TopSep           1
1146   BottomSep        1
1147   ParSep           0
1148   Align            Left
1149   LabelType        Static
1150   LabelSep         xx
1151   LabelString      "Note:"
1152   LeftMargin       "Note:xx"
1153   LabelFont 
1154     Family         Roman
1155     Color          latex
1156   EndFont
1157 End
1158  
1159
1160 #
1161 # CHARSTYLES
1162 #
1163
1164 InsetLayout Flex:Alert
1165   LyXType          charstyle
1166   LabelString      Alert
1167   LatexType        command
1168   LatexName        alert
1169   Font
1170     Color          red
1171   EndFont
1172 End
1173
1174 InsetLayout Flex:Structure
1175   LyXType          charstyle
1176   LabelString      Structure
1177   LatexType        command
1178   LatexName        structure
1179   Font
1180     Color          blue
1181   EndFont
1182 End
1183
1184 InsetLayout Flex:ArticleMode
1185    LyXType         custom
1186    LatexName       mode<article>
1187    LatexType       command
1188    Decoration      classic
1189    LabelString     Article
1190    MultiPar        true
1191 End
1192
1193 InsetLayout Flex:PresentationMode
1194    LyXType         custom
1195    LatexName       mode
1196    LatexParam      <presentation>
1197    LatexType       command
1198    Decoration      classic
1199    LabelString     Presentation
1200    MultiPar        true
1201 End
1202
1203
1204 #
1205 # FLOATS
1206 #
1207
1208 Float
1209   Type             table
1210   GuiName          Table
1211   Placement        tbp
1212   Extension        lot
1213   NumberWithin     none
1214   Style            plain
1215   ListName         "List of Tables"
1216   IsPredefined     true
1217   UsesFloatPkg     false
1218   ListCommand      listoftables
1219 End
1220
1221 Float
1222   Type             figure
1223   GuiName          Figure
1224   Placement        tbp
1225   Extension        lof
1226   NumberWithin     none
1227   Style            plain
1228   ListName         "List of Figures"
1229   IsPredefined     true
1230   UsesFloatPkg     false
1231   ListCommand      listoffigures
1232 End
1233
1234
1235 Input theorems-refprefix.inc