]> git.lyx.org Git - lyx.git/blob - lib/layouts/beamer.layout
a04d48b73ac7a480286a9a2ba1069b30e6593cb0
[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       "Again 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    "Columns Options"
523     Tooltip        "Columns options (see beamer manual)"
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   Category         Columns
537   KeepEmpty        1
538   Margin           Static
539   LatexType        Environment
540   NextNoIndent     0
541   ParIndent        MM
542   Align            left
543   LabelType        Static
544   LabelSep         xx
545   LatexName        centercolumns}%{
546   LabelString      "Columns (center aligned)"
547   LeftMargin       "Columns (center aligned)xx"
548   ParSkip          0.5
549   TopSep           1
550   BottomSep        1
551   ParSep           0
552   Preamble
553   \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
554   EndPreamble
555   LabelFont 
556     Family         Roman
557     Color          latex
558   EndFont
559 End
560
561 Style ColumnsTopAligned
562   Category         Columns
563   KeepEmpty        1
564   Margin           Static
565   LatexType        Environment
566   NextNoIndent     0
567   ParIndent        MM
568   Align            left
569   LabelType        Static
570   LabelSep         xx
571   LatexName        topcolumns}%{
572   LabelString      "Columns (top aligned)"
573   LeftMargin       "Columns (top aligned)xx"
574   ParSkip          0.5
575   TopSep           1
576   BottomSep        1
577   ParSep           0
578   Preamble
579   \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
580   EndPreamble
581   LabelFont 
582     Family         Roman
583     Color          latex
584   EndFont
585 End
586
587
588 #
589 # OVERLAYS
590 #
591
592 Style Pause
593   Category         Overlays
594   KeepEmpty        1
595   LatexType        Command
596   LatexName        pause
597   Margin           First_Dynamic
598   Argument 1
599     LabelString    "Pause number"
600     Tooltip        "Number of slide where the pause takes effect"
601   EndArgument
602   NextNoIndent     1
603   ParSkip          0
604   TopSep           0
605   BottomSep        0.25
606   ParSep           0
607   Align            Center
608   LabelType        Static
609   LabelBottomSep   0
610   LeftMargin       MMMMM
611   LabelString      "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
612   LabelFont
613     Family         typewriter
614     Series         Medium
615     Size           Normal
616     Color          latex
617   EndFont
618 End
619
620 Style Overprint
621   Category         Overlays
622   Margin           First_Dynamic
623   LatexType        Environment
624   NextNoIndent     0
625   ParIndent        MM
626   Align            Left
627   LabelType        Static
628   LabelSep         xx
629   LatexName        overprint
630   LabelString      "Overprint"
631   ParSkip          0.5
632   TopSep           1
633   BottomSep        1
634   ParSep           0
635   KeepEmpty        1
636   LabelFont 
637     Family         Roman
638     Color          latex
639   EndFont
640 End
641
642 Style OverlayArea
643   Category         Overlays
644   Margin           First_Dynamic
645   LatexType        Environment
646   NextNoIndent     0
647   ParIndent        MM
648   Align            Left
649   LabelType        Static
650   LabelSep         xx
651   LatexName        overlayarea
652   LabelString      "Overlayarea"
653   ParSkip          0.5
654   TopSep           1
655   BottomSep        1
656   ParSep           0
657   LabelFont 
658     Family         Roman
659     Color          latex
660   EndFont
661 End
662
663 Style Uncover
664   Category         Overlays
665   Margin           First_Dynamic
666   LatexType        Environment
667   NextNoIndent     0
668   ParIndent        MM
669   Align            Left
670   LabelType        Static
671   LatexName        uncoverenv}%{
672   LabelSep         xx
673   LabelString      "Uncovered on slides"
674   ParSkip          0.5
675   TopSep           1
676   BottomSep        1
677   ParSep           0
678   LabelFont 
679     Family         Roman
680     Color          Latex
681   EndFont
682 End
683
684 Style Only
685   Category         Overlays
686   Margin           First_Dynamic
687   LatexType        Environment
688   NextNoIndent     0
689   ParIndent        MM
690   Align            Left
691   LabelType        Static
692   LatexName        onlyenv}%{
693   LabelSep         xx
694   LabelString      "Only on slides"
695   ParSkip          0.5
696   TopSep           1
697   BottomSep        1
698   ParSep           0
699   LabelFont
700     Family         Roman
701     Color          Latex
702   EndFont
703 End
704
705
706 #
707 # BLOCKS
708 #
709
710 Style Block
711   Category         Blocks
712   Margin           Dynamic
713   LatexType        Environment
714   NextNoIndent     0
715   ParIndent        MM
716   Align            Left
717   LabelType        Static
718   LabelSep         xx
719   LatexName        block
720   LabelString      "Block:"  
721   ParSkip          0.5
722   TopSep           1
723   BottomSep        1
724   ParSep           0
725   LabelFont
726     Family         Roman
727     Color          latex
728   EndFont
729 End
730
731 Style ExampleBlock
732   Category         Blocks
733   Margin           First_Dynamic
734   LatexType        Environment
735   NextNoIndent     0
736   ParIndent        MM
737   Align            Left
738   LabelType        Static
739   LabelSep         xx
740   LatexName        exampleblock
741   LabelString      "Example Block:"
742   ParSkip          0.5
743   TopSep           1
744   BottomSep        1
745   ParSep           0
746   Font
747     Color          green
748   EndFont
749   LabelFont 
750     Family         Roman
751     Color          latex
752   EndFont
753 End
754
755 Style AlertBlock
756   Category         Blocks
757   Margin           First_Dynamic
758   LatexType        Environment
759   NextNoIndent     0
760   ParIndent        MM
761   Align            Left
762   LabelType        Static
763   LabelSep         xx
764   LatexName        alertblock
765   LabelString      "Alert Block:"
766   ParSkip          0.5
767   TopSep           1
768   BottomSep        1
769   ParSep           0
770   Font
771     Color          red
772   EndFont
773   LabelFont 
774     Family         Roman
775     Color          latex
776   EndFont
777 End
778
779
780 #
781 # TITLING
782 #
783
784 Style Title
785   Category         Titling
786   Margin           Static
787   LatexType        Command
788   InTitle          1
789   LatexName        title
790   ParSkip          0.4
791   ItemSep          0
792   TopSep           0
793   BottomSep        1
794   ParSep           1
795   Align            Center
796   LabelType        No_Label
797   Argument 1
798     LabelString   "Short Title|S"
799     Tooltip       "Short title which appears in the sidebar/header"
800   EndArgument
801   Font 
802     Size           Huge
803     Series         Bold
804     Color          Blue
805   EndFont
806 End
807
808 Style Title_(Plain_Frame)
809   CopyStyle        Title
810   Preamble
811      % plain title style, override default
812      \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
813   EndPreamble
814 End
815
816 Style Subtitle
817   Category         Titling
818   Margin           Static
819   LatexType        Command
820   InTitle          1
821   LatexName        subtitle
822   ParSkip          0.4
823   ItemSep          0
824   TopSep           0
825   BottomSep        1
826   ParSep           1
827   Align            Center
828   LabelType        No_Label
829   Argument 1
830     LabelString   "Short Subtitle|S"
831     Tooltip       "Short subtitle which appears in the sidebar/header"
832   EndArgument
833   Font 
834     Size           Large
835     Series         Bold
836     Color          Blue
837   EndFont
838 End
839
840 Style Author
841   Category         Titling
842   Margin           Static
843   LatexType        Command
844   InTitle          1
845   LatexName        author
846   ParSkip          0.4
847   TopSep           1.3
848   BottomSep        0.7
849   ParSep           0.7
850   Align            Center
851   LabelType        No_Label
852   Argument 1
853     LabelString   "Short Author|S"
854     Tooltip       "Short author which appears in the sidebar/header"
855   EndArgument
856   Font 
857     Size           Largest
858     Color          Blue
859   EndFont
860 End
861
862 Style Institute
863   Category         Titling
864   Margin           Dynamic
865   LatexType        Command
866   InTitle          1
867   LatexName        institute
868   ParSkip          0.4
869   TopSep           0.9
870   BottomSep        0.5
871   ParSep           1
872   Align            Center
873   LabelType        No_Label
874   Argument 1
875     LabelString   "Short Institute|S"
876     Tooltip       "Short institute which appears in the sidebar/header"
877   EndArgument
878   Font 
879     Size           Large
880     Color          Blue
881   EndFont
882 End
883
884 InsetLayout "Flex:InstituteMark"
885   LyxType          custom
886   LatexType        command
887   LatexName        inst
888   LabelString      "Institute mark"
889   Font
890     Color          foreground
891     Size           Small
892     Family         Roman
893     Shape          Up
894     Series         Medium
895     Misc           No_Emph
896     Misc           No_Noun
897     Misc           No_Bar
898   EndFont
899   LabelFont
900     Color          blue
901     Size           Small
902   EndFont
903 End
904
905 Style Date
906   Category         Titling
907   Margin           Dynamic
908   LatexType        Command
909   InTitle          1
910   LatexName        date
911   ParSkip          0.4
912   TopSep           0.9
913   BottomSep        0.5
914   ParSep           1
915   Align            Center
916   LabelType        No_Label
917   Argument 1
918     LabelString   "Short Date|S"
919     Tooltip       "Short date which appears in the sidebar/header"
920   EndArgument
921   Font 
922     Size           Largest
923     Color          Blue
924   EndFont
925 End
926
927 Style TitleGraphic
928   Category         Titling
929   Margin           Static
930   LatexType        Command
931   InTitle          1
932   LatexName        titlegraphic
933   ParSkip          0.4
934   ItemSep          0
935   TopSep           0
936   BottomSep        1
937   ParSep           1
938   Align            Center
939   LabelType        No_Label
940   Font 
941     Size           Huge
942     Series         Bold
943     Color          Blue
944   EndFont
945 End
946
947
948 #
949 # BACK MATTER
950 #
951
952 Style Bibliography
953   Category         BackMatter
954   Margin           First_Dynamic
955   LatexType        Bib_Environment
956   LatexName        thebibliography
957   NextNoIndent     1
958   LeftMargin       MM
959   ParSkip          0.4
960   ItemSep          0
961   TopSep           0.7
962   BottomSep        0.7
963   ParSep           0.5
964   Align            Left
965   LabelType        Bibliography
966   LabelString      "References"
967   LabelBottomSep   0.7
968   LabelFont 
969     Series         Bold
970     Size           Larger
971   EndFont
972 End
973
974
975 #
976 # QUOTATION
977 #
978
979 Style Quotation
980   Category         MainText
981   Margin           Static
982   LatexType        Environment
983   LatexName        quotation}%{
984   NextNoIndent     1
985   LeftMargin       MMM
986   RightMargin      MMM
987   ParIndent        MM
988   ParSkip          0
989   ItemSep          0
990   TopSep           0.5
991   BottomSep        0.5
992   ParSep           0
993   Align            Block
994   AlignPossible    Block, Left, Right, Center
995 End
996
997 Style Quote
998   Category         MainText
999   Margin           Static
1000   LatexType        Environment
1001   LatexName        quote}%{
1002   NextNoIndent     1
1003   LeftMargin       MMM
1004   RightMargin      MMM
1005   TopSep           0.5
1006   ParSep           0.5
1007   BottomSep        0.5
1008   Align            Block
1009   AlignPossible    Block, Left, Right, Center
1010   LabelType        No_Label
1011 End
1012
1013 Style Verse
1014   # LaTeX type is first dynamic because of LaTeX implementation.
1015   # In LyX this does not make sense.
1016   Category         MainText
1017   LatexType        Environment
1018   LatexName        verse}%{
1019   Margin           First_Dynamic
1020   NextNoIndent     1
1021   LeftMargin       MMMM
1022   LabelIndent      MMMM
1023   ParSkip          0.4
1024   TopSep           0.7
1025   BottomSep        0.7
1026   ParSep           0.5
1027   Align            Block
1028   AlignPossible    Block, Left
1029   LabelType        No_Label
1030 End
1031
1032
1033 #
1034 # THEOREMS AND SUCH
1035 #
1036
1037 Style Corollary
1038    Category        Theorems
1039    Margin          First_Dynamic
1040    LatexType       Environment
1041    NextNoIndent    0
1042    ParIndent       MM
1043    Align           Left
1044    LabelType       Static
1045    LabelSep        xx
1046    LatexName       corollary}%{
1047    LabelString     "Corollary."
1048    ParSkip         0.5
1049    TopSep          1
1050    BottomSep       1
1051    ParSep          0
1052    KeepEmpty       1
1053    LabelFont
1054      Series        Bold
1055      Color         Blue
1056      Size          Large
1057    EndFont
1058 End
1059
1060 Style Definition
1061   CopyStyle        Corollary
1062   LatexName        definition}%{
1063   LabelString      "Definition."
1064 End
1065
1066 Style Definitions
1067   CopyStyle        Corollary
1068   LatexName        definitions}%{
1069   LabelString      "Definitions."
1070 End
1071
1072 Style Example
1073   CopyStyle        Corollary
1074   LatexName        example}%{
1075   LabelString      "Example."
1076   LabelFont
1077     Series         Bold
1078     Color          Green
1079   EndFont
1080 End
1081
1082 Style Examples
1083   CopyStyle        Corollary
1084   LatexName        examples}%{
1085   LabelString      "Examples."
1086 End
1087
1088 Style Fact
1089   CopyStyle        Corollary
1090   LatexName        fact}%{
1091   LabelString      "Fact."
1092 End
1093
1094 Style Proof
1095   CopyStyle        Corollary
1096   LatexName        proof}%{
1097   LabelString      "Proof."
1098 End
1099
1100 Style Theorem
1101   CopyStyle        Corollary
1102   LatexName        theorem}%{
1103   LabelString      "Theorem."
1104 End
1105
1106
1107 #
1108 # MISC.
1109 #
1110
1111 Style Separator
1112   Category         MainText
1113   LatexType        Paragraph
1114   LatexName        dummy
1115   ParIndent        MM
1116   ParSkip          0.4
1117   Align            Left
1118   AlignPossible    Block, Left, Right, Center
1119   Margin           First_Dynamic
1120   TopSep           0
1121   BottomSep        0
1122   ParSep           0
1123   LabelType        Static
1124   LabelBottomSep   0
1125   LabelString      "___"
1126   KeepEmpty        1
1127   LabelFont 
1128     Series         Medium
1129     Size           Normal
1130     Color          latex
1131   EndFont
1132 End
1133  
1134 Style LyX-Code
1135   Category         MainText
1136   Margin           Static
1137   LatexType        Environment
1138   LatexName        lyxcode
1139   NextNoIndent     1
1140   LeftMargin       MMM
1141   RightMargin      MMM
1142   TopSep           0.5
1143   BottomSep        0.5
1144   Align            Left
1145   AlignPossible    Block, Left, Right, Center
1146   LabelType        No_Label
1147   FreeSpacing      1
1148   Preamble
1149   \newenvironment{lyxcode}
1150     {\par\begin{list}{}{
1151       \setlength{\rightmargin}{\leftmargin}
1152       \setlength{\listparindent}{0pt}% needed for AMS classes
1153       \raggedright
1154       \setlength{\itemsep}{0pt}
1155       \setlength{\parsep}{0pt}
1156       \normalfont\ttfamily}%
1157      \def\{{\char`\{}
1158      \def\}{\char`\}}
1159      \def\textasciitilde{\char`\~}
1160      \item[]}
1161     {\end{list}}
1162   EndPreamble
1163   Font 
1164     Family         Typewriter
1165   EndFont
1166 End
1167  
1168 Style NoteItem
1169   Category         MainText
1170   Margin           Static
1171   LatexType        Command
1172   LatexName        note[item]
1173   ParSkip          0.5
1174   TopSep           1
1175   BottomSep        1
1176   ParSep           0
1177   Align            Left
1178   LabelType        Static
1179   LabelSep         xx
1180   LabelString      "Note:"
1181   LeftMargin       "Note:xx"
1182   LabelFont 
1183     Family         Roman
1184     Color          latex
1185   EndFont
1186 End
1187  
1188
1189 # Input lyxmacros.inc
1190
1191 #
1192 # CHARSTYLES
1193 #
1194
1195 InsetLayout Flex:Alert
1196   LyXType          charstyle
1197   LabelString      Alert
1198   LatexType        command
1199   LatexName        alert
1200   Font
1201     Color          red
1202   EndFont
1203 End
1204
1205 InsetLayout Flex:Structure
1206   LyXType          charstyle
1207   LabelString      Structure
1208   LatexType        command
1209   LatexName        structure
1210   Font
1211     Color          blue
1212   EndFont
1213 End
1214
1215 InsetLayout Flex:ArticleMode
1216    LyXType         custom
1217    LatexName       mode<article>
1218    LatexType       command
1219    Decoration      classic
1220    LabelString     Article
1221    MultiPar        true
1222 End
1223
1224 InsetLayout Flex:PresentationMode
1225    LyXType         custom
1226    LatexName       mode<presentation>
1227    LatexType       command
1228    Decoration      classic
1229    LabelString     Presentation
1230    MultiPar        true
1231 End
1232
1233
1234 #
1235 # FLOATS
1236 #
1237
1238 Float
1239   Type             table
1240   GuiName          Table
1241   Placement        tbp
1242   Extension        lot
1243   NumberWithin     none
1244   Style            plain
1245   ListName         "List of Tables"
1246   IsPredefined     true
1247   UsesFloatPkg     false
1248   ListCommand      listoftables
1249 End
1250
1251 Float
1252   Type             figure
1253   GuiName          Figure
1254   Placement        tbp
1255   Extension        lof
1256   NumberWithin     none
1257   Style            plain
1258   ListName         "List of Figures"
1259   IsPredefined     true
1260   UsesFloatPkg     false
1261   ListCommand      listoffigures
1262 End
1263
1264
1265 Input theorems-refprefix.inc