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