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