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