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