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