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