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