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