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