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