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