]> git.lyx.org Git - lyx.git/blob - lib/layouts/beamer.layout
Reference prefixes for enumerations.
[lyx.git] / lib / layouts / beamer.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[beamer,pgf.sty,xcolor.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 27
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   RequiredArgs     1
669   
670   ParSkip          0.5
671   TopSep           1
672   BottomSep        1
673   ParSep           0
674
675   # font & label font definition
676
677   LabelFont
678     Family         Roman
679     Color          latex
680   EndFont
681 End
682
683 Style ExampleBlock
684   Category         Blocks
685   Margin           First_Dynamic
686   LatexType        Environment
687   NextNoIndent     0
688   ParIndent        MM
689   Align            Left
690   LabelType        Static
691   LabelSep         xx
692
693   LatexName        exampleblock
694   LabelString      "Example Block:"
695   RequiredArgs     1
696   
697   ParSkip          0.5
698   TopSep           1
699   BottomSep        1
700   ParSep           0
701
702   # font & label font definition
703
704   Font
705     Color          green
706   EndFont
707
708   LabelFont 
709     Family         Roman
710     Color          latex
711   EndFont
712 End
713
714 Style AlertBlock
715   Category         Blocks
716   Margin           First_Dynamic
717   LatexType        Environment
718   NextNoIndent     0
719   ParIndent        MM
720   Align            Left
721   LabelType        Static
722   LabelSep         xx
723
724   LatexName        alertblock
725   LabelString      "Alert Block:"
726   RequiredArgs     1
727   
728   ParSkip          0.5
729   TopSep           1
730   BottomSep        1
731   ParSep           0
732
733   # font & label font definition
734
735   Font
736     Color          red
737   EndFont
738
739   LabelFont 
740     Family         Roman
741     Color          latex
742   EndFont
743 End
744
745 # Title slide data section
746 # Title style definition
747 Style Title
748   Category         Titling
749   Margin           Static
750   LatexType        Command
751   InTitle          1
752   LatexName        title
753   ParSkip          0.4
754   ItemSep          0
755   TopSep           0
756   BottomSep        1
757   ParSep           1
758   Align            Center
759   LabelType        No_Label
760   OptionalArgs     1
761
762   # standard font definition
763   Font 
764     Size           Huge
765     Series         Bold
766     Color          Blue
767   EndFont
768
769 End
770
771 Style Title_(Plain_Frame)
772   CopyStyle        Title
773   Preamble
774      % plain title style, override default
775      \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
776   EndPreamble
777 End
778
779 Style Subtitle
780   Category         Titling
781   Margin           Static
782   LatexType        Command
783   InTitle          1
784   LatexName        subtitle
785   ParSkip          0.4
786   ItemSep          0
787   TopSep           0
788   BottomSep        1
789   ParSep           1
790   Align            Center
791   LabelType        No_Label
792   OptionalArgs     1
793
794   # standard font definition
795   Font 
796     Size           Large
797     Series         Bold
798     Color          Blue
799   EndFont
800
801 End
802
803 # Author style definition
804 Style Author
805   Category         Titling
806   Margin           Static
807   LatexType        Command
808   InTitle          1
809   LatexName        author
810   ParSkip          0.4
811   TopSep           1.3
812   BottomSep        0.7
813   ParSep           0.7
814   Align            Center
815   LabelType        No_Label
816   OptionalArgs     1
817
818   # standard font definition
819   Font 
820     Size           Largest
821     Color          Blue
822   EndFont
823
824 End
825
826 Style Institute
827   Category         Titling
828   Margin           Dynamic
829   LatexType        Command
830   InTitle          1
831   LatexName        institute
832   ParSkip          0.4
833   TopSep           0.9
834   BottomSep        0.5
835   ParSep           1
836   Align            Center
837   LabelType        No_Label
838   OptionalArgs     1
839
840   # standard font definition
841   Font 
842     Size           Large
843     Color          Blue
844   EndFont
845 End
846
847 InsetLayout InstituteMark
848   LyxType          custom
849   LatexType        command
850   LatexName        inst
851   LabelString      "Institute mark"
852   Font
853     Color          foreground
854     Size           Small
855     Family         Roman
856     Shape          Up
857     Series         Medium
858     Misc           No_Emph
859     Misc           No_Noun
860     Misc           No_Bar
861   EndFont
862   LabelFont
863     Color          blue
864     Size           Small
865   EndFont
866 End
867
868 # Date style definition
869 Style Date
870   Category         Titling
871   Margin           Dynamic
872   LatexType        Command
873   InTitle          1
874   LatexName        date
875   ParSkip          0.4
876   TopSep           0.9
877   BottomSep        0.5
878   ParSep           1
879   Align            Center
880   LabelType        No_Label
881   OptionalArgs     1
882
883   # standard font definition
884   Font 
885     Size           Largest
886     Color          Blue
887   EndFont
888 End
889
890 # Titles & bibliography section
891 # Bibliography style definition
892 Style Bibliography
893   Category         BackMatter
894   Margin           First_Dynamic
895   LatexType        Bib_Environment
896   LatexName        thebibliography
897   NextNoIndent     1
898   LeftMargin       MM
899   ParSkip          0.4
900   ItemSep          0
901   TopSep           0.7
902   BottomSep        0.7
903   ParSep           0.5
904   Align            Left
905   LabelType        Bibliography
906   LabelString      "References"
907   LabelBottomSep   0.7
908
909   # label font definition
910   LabelFont 
911     Series         Bold
912     Size           Larger
913   EndFont
914 End
915
916 Style Quotation
917   Category         MainText
918   Margin           Static
919   LatexType        Environment
920   LatexName        quotation}%{
921   NextNoIndent     1
922   LeftMargin       MMM
923   RightMargin      MMM
924   ParIndent        MM
925   ParSkip          0
926   ItemSep          0
927   TopSep           0.5
928   BottomSep        0.5
929   ParSep           0
930   Align            Block
931   AlignPossible    Block, Left, Right, Center
932 End
933
934
935 Style Quote
936   Category         MainText
937   Margin           Static
938   LatexType        Environment
939   LatexName        quote}%{
940   NextNoIndent     1
941   LeftMargin       MMM
942   RightMargin      MMM
943   TopSep           0.5
944   ParSep           0.5
945   BottomSep        0.5
946   Align            Block
947   AlignPossible    Block, Left, Right, Center
948   LabelType        No_Label
949 End
950
951
952 Style Verse
953   # LaTeX type is first dynamic because of LaTeX implementation.
954   # In LyX this does not make sense.
955   Category         MainText
956   LatexType        Environment
957   LatexName        verse}%{
958   Margin           First_Dynamic
959   NextNoIndent     1
960   LeftMargin       MMMM
961   LabelIndent      MMMM
962   ParSkip          0.4
963   TopSep           0.7
964   BottomSep        0.7
965   ParSep           0.5
966   Align            Block
967   AlignPossible    Block, Left
968   LabelType        No_Label
969 End
970
971
972 Style TitleGraphic
973   Category         Titling
974   Margin           Static
975   LatexType        Command
976   InTitle          1
977   LatexName        titlegraphic
978   ParSkip          0.4
979   ItemSep          0
980   TopSep           0
981   BottomSep        1
982   ParSep           1
983   Align            Center
984   LabelType        No_Label
985
986   # standard font definition
987   Font 
988     Size           Huge
989     Series         Bold
990     Color          Blue
991   EndFont
992 End
993
994
995 # Theorems and such section
996 Style Corollary
997    Category        Theorems
998    Margin          First_Dynamic
999    LatexType       Environment
1000    NextNoIndent    0
1001    ParIndent       MM
1002    Align           Left
1003    LabelType       Static
1004    LabelSep        xx
1005
1006    LatexName       corollary}%{
1007    LabelString     "Corollary."
1008  
1009    ParSkip         0.5
1010    TopSep          1
1011    BottomSep       1
1012    ParSep          0
1013    KeepEmpty       1
1014  
1015    # font & label font definition
1016  
1017    LabelFont
1018      Series        Bold
1019      Color         Blue
1020      Size          Large
1021    EndFont
1022 End
1023
1024 Style Definition
1025   CopyStyle        Corollary
1026   LatexName        definition}%{
1027   LabelString      "Definition."
1028 End
1029
1030 Style Definitions
1031   CopyStyle        Corollary
1032   LatexName        definitions}%{
1033   LabelString      "Definitions."
1034 End
1035
1036 Style Example
1037   CopyStyle        Corollary
1038   LatexName        example}%{
1039   LabelString      "Example."
1040
1041   LabelFont
1042     Series         Bold
1043     Color          Green
1044   EndFont
1045 End
1046
1047 Style Examples
1048   CopyStyle        Corollary
1049   LatexName        examples}%{
1050   LabelString      "Examples."
1051 End
1052
1053
1054 Style Fact
1055   CopyStyle        Corollary
1056   LatexName        fact}%{
1057   LabelString      "Fact."
1058 End
1059
1060 Style Proof
1061   CopyStyle        Corollary
1062   LatexName        proof}%{
1063   LabelString      "Proof."
1064 End
1065
1066 Style Theorem
1067   CopyStyle        Corollary
1068   LatexName        theorem}%{
1069   LabelString      "Theorem."
1070 End
1071
1072 # Misc. section
1073 # Separator style definition
1074 Style Separator
1075   Category         MainText
1076   LatexType        Paragraph
1077   LatexName        dummy
1078   ParIndent        MM
1079   ParSkip          0.4
1080   Align            Left
1081   AlignPossible    Block, Left, Right, Center
1082   Margin           First_Dynamic
1083   TopSep           0
1084   BottomSep        0
1085   ParSep           0
1086   LabelType        Static
1087   LabelBottomSep   0
1088   LabelString      "___"
1089   KeepEmpty        1
1090
1091   LabelFont 
1092     Series         Medium
1093     Size           Normal
1094     Color          latex
1095   EndFont
1096 End
1097  
1098 Style LyX-Code
1099   Category              MainText
1100   Margin           Static
1101   LatexType        Environment
1102   LatexName        lyxcode
1103   NextNoIndent     1
1104   LeftMargin       MMM
1105   RightMargin      MMM
1106   TopSep           0.5
1107   BottomSep        0.5
1108   Align            Left
1109   AlignPossible    Block, Left, Right, Center
1110   LabelType        No_Label
1111   FreeSpacing      1
1112
1113   # define the environment lyxcode
1114   Preamble
1115   \newenvironment{lyxcode}
1116     {\par\begin{list}{}{
1117       \setlength{\rightmargin}{\leftmargin}
1118       \setlength{\listparindent}{0pt}% needed for AMS classes
1119       \raggedright
1120       \setlength{\itemsep}{0pt}
1121       \setlength{\parsep}{0pt}
1122       \normalfont\ttfamily}%
1123      \def\{{\char`\{}
1124      \def\}{\char`\}}
1125      \def\textasciitilde{\char`\~}
1126      \item[]}
1127     {\end{list}}
1128   EndPreamble
1129
1130   # standard font definition
1131   Font 
1132     Family         Typewriter
1133   EndFont
1134 End
1135  
1136 Style NoteItem
1137   Category         MainText
1138   Margin           Static
1139   LatexType        Command
1140   LatexName        note[item]
1141   ParSkip          0.5
1142   TopSep           1
1143   BottomSep        1
1144   ParSep           0
1145   Align            Left
1146   LabelType        Static
1147   LabelSep         xx
1148   LabelString      "Note:"
1149   OptionalArgs     1
1150   LeftMargin       "Note:xx"
1151  
1152   # standard font definition
1153   LabelFont 
1154     Family         Roman
1155     Color          latex
1156   EndFont
1157 End
1158  
1159
1160 # Input lyxmacros.inc
1161
1162 # Charstyles:
1163
1164 InsetLayout CharStyle:Alert
1165   LyXType charstyle
1166   LabelString Alert
1167   LatexType        command
1168   LatexName        alert
1169   Font
1170     Color          red
1171   EndFont
1172 End
1173
1174
1175 InsetLayout CharStyle:Structure
1176   LyXType charstyle
1177   LabelString Structure
1178   LatexType        command
1179   LatexName        structure
1180   Font
1181     Color          blue
1182   EndFont
1183 End
1184
1185
1186 InsetLayout Custom:ArticleMode
1187    LyXType      custom
1188    LatexName    mode<article>
1189    LatexType    command
1190    Decoration   classic
1191    LabelString  Article
1192    MultiPar     true
1193 End
1194
1195
1196 InsetLayout Custom:PresentationMode
1197    LyXType      custom
1198    LatexName    mode<presentation>
1199    LatexType    command
1200    Decoration   classic
1201    LabelString  Presentation
1202    MultiPar     true
1203 End
1204
1205
1206 Float
1207   Type             table
1208   GuiName          Table
1209   Placement        tbp
1210   Extension        lot
1211   NumberWithin     none
1212   Style            plain
1213   ListName         "List of Tables"
1214   NeedsFloatPkg    false
1215         ListCommand      listoftables
1216 End
1217
1218
1219 Float
1220   Type             figure
1221   GuiName          Figure
1222   Placement        tbp
1223   Extension        lof
1224   NumberWithin     none
1225   Style            plain
1226   ListName         "List of Figures"
1227   NeedsFloatPkg    false
1228         ListCommand      listoffigures
1229 End
1230
1231
1232 # to give users the choice of a title frame with and without
1233 # head-/footline, we define our own maketitle command
1234 TitleLaTeXName makebeamertitle
1235
1236 AddToPreamble
1237   % this default might be overridden by plain title style
1238   \newcommand\makebeamertitle{\frame{\maketitle}}%
1239   \AtBeginDocument{
1240     \let\origtableofcontents=\tableofcontents
1241     \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1242     \def\gobbletableofcontents#1{\origtableofcontents}
1243   }
1244 EndPreamble
1245
1246 Input theorems-refprefix.inc