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