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