]> git.lyx.org Git - lyx.git/blob - lib/layouts/seminar.layout
Cleanup seminar.layout after the upgrade to format 50.
[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         LatexType               Environment
90         LatexName               slide
91         NextNoIndent            1
92         Margin                  Static
93         LeftMargin              N
94         ParIndent               ""
95         TopSep                  0.4
96         Align                   Block
97         LabelType               Above
98         LabelString             "Landscape Slide:"
99         LabelFont
100           Family                Roman
101           Series                Medium
102           Size                  Normal
103           Color                 Blue
104         EndFont
105         HTMLLabel               NONE
106 End
107
108 Style Slide
109         Obsoletedby             LandscapeSlide
110 End
111
112 Style PortraitSlide
113         CopyStyle               LandscapeSlide
114         LatexName               slide*
115         LabelString             "Portrait Slide:"
116 End
117 Style Slide*
118         ObsoletedBy             PortraitSlide
119 End
120
121 Style ListOfSlides
122         Category                MainText
123         KeepEmpty               1
124         LatexType               Command
125         LatexName               listofslides
126         Margin                  Dynamic
127         ParIndent               MM
128         TopSep                  0.5
129         BottomSep               0.5
130         Align                   Center
131         LabelType               Static
132         LabelString             "[List Of Slides]"
133         LabelFont
134           Family                Roman
135           Series                Medium
136           Size                  Normal
137           Color                 Blue
138         EndFont
139         HTMLLabel               NONE
140 End
141
142 Style SlideContents
143         CopyStyle               ListOfSlides
144         LatexName               slidecontents
145         LabelString             "[Slide Contents]"
146 End
147
148 Style ProgressContents
149         CopyStyle               ListOfSlides
150         LatexName               Slidecontents
151         LabelString             "[Progress Contents]"
152 End