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