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