]> git.lyx.org Git - features.git/blob - lib/layouts/seminar.layout
seminar.layout: new version from Günter Milde (bug #7624)
[features.git] / lib / layouts / seminar.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[seminar,sem-page.sty]{transparencies (seminar)}
3 # Versions:
4 #   1.0 Initial attemt at makeing a LyX layout file for the seminar class.
5 #       Author : Lars Gullik Bjønnes <larsbj@lyx.org>
6 #   1.1 08-04-2002 Günter Milde <milde users.sf.net>
7 #   1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes
8 #                                version in LyX 1.3)
9 #   1.3 2007-09-18 Günter Milde (adapted to LyX 1.5)
10 #   1.4 2008-10-08 Günter Milde (use --Separator-- "look")
11 #   1.5 2011-06-09 Günter Milde (Use Flex insets)
12
13 Format 36
14 Sides   1
15 Columns 1
16
17 ClassOptions
18         FontSize        8|9|10|11|12|14|17
19         Other           "slidesec,semrot,portrait"
20 End
21
22 # Input general definitions: (seminar is based on the article class)
23 Input article.layout
24
25 InsetLayout Flex:LandscapeSlide
26         LabelString     "Landscape Slide"
27         LatexType       Environment
28         LatexName       slide
29         LyXType         custom
30         Decoration      classic
31         MultiPar        true
32         KeepEmpty               true
33         LabelFont
34                 Size    Small
35         EndFont
36 End
37
38 InsetLayout Flex:PortraitSlide
39         CopyStyle       Flex:LandscapeSlide
40         LabelString     "Portrait Slide"
41         LatexName       slide*
42 End
43
44 # Note: \slideheading is only defined when the option slidesec is present
45 Style SlideHeading
46         CopyStyle               Section*
47         LatexName               slideheading
48         Align                   Center
49 End
50
51 # Note: \slidesubheading is only defined when the option slidesec is present
52 Style SlideSubHeading
53         CopyStyle               Subsection*
54         LatexName               slidesubheading
55         Align                   Center
56 End
57
58 InsetLayout Flex:ListOfSlides
59         CopyStyle               Flex:LandscapeSlide
60         LabelString             "List of Slides"
61         LatexType               Command
62         LatexName               listofslides
63         BgColor                 listingsbg
64         Spellcheck              0
65 End
66
67 InsetLayout Flex:SlideContents
68         CopyStyle               Flex:ListOfSlides
69         LabelString             "Slide Contents"
70         LatexName               slidecontents
71 End
72
73 InsetLayout Flex:ProgressContents
74         CopyStyle               Flex:ListOfSlides
75         LabelString             "Progress Contents"
76         LatexName               Slidecontents
77 End
78
79 # Compatibility definitions for old documents
80 # -------------------------------------------
81 #
82 # It is recommended to use the custom insets instead of paragraph styles.
83
84 Style LandscapeSlide
85         CopyStyle               --Separator-- 
86         LatexType               Environment
87         LatexName               slide
88         NextNoIndent            1
89         Margin                  Static
90         LeftMargin              N
91         ParIndent               ""
92         TopSep                  0.4
93         LabelType               Top_Environment
94         LabelString             "Landscape Slide:"
95 End
96 Style Slide
97         Obsoletedby             LandscapeSlide
98 End
99
100 Style PortraitSlide
101         CopyStyle               LandscapeSlide
102         LatexName               slide*
103         LabelString             "Portrait Slide:"
104 End
105 Style Slide*
106         ObsoletedBy             PortraitSlide
107 End
108
109 # EndOfSlide was a dummy style whose main purpose is to separate subsequent
110 # Slide environments. Nowadays lyx has the special --Separator-- style as
111 # workaround:
112 Style EndOfSlide
113         ObsoletedBy             --Separator--
114 End
115
116 Style ListOfSlides
117         CopyStyle               --Separator--
118         LatexType               Command
119         LatexName               listofslides
120         TopSep                  0.5
121         BottomSep               0.5
122         Align                   Center
123 #       BottomSep               0
124         LabelString             "[List Of Slides]"
125 End
126 Style SlideContents
127         CopyStyle               ListOfSlides
128         LatexName               slidecontents
129         LabelString             "[Slide Contents]"
130 End
131
132 Style ProgressContents
133         CopyStyle               ListOfSlides
134         LatexName               Slidecontents
135         LabelString             "[Progress Contents]"
136 End