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