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