]> git.lyx.org Git - lyx.git/blob - lib/layouts/seminar.layout
Intro.lyx: change a sentence to avoid misunderstandings
[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 49
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         CopyStyle               --Separator-- 
88         LatexType               Environment
89         LatexName               slide
90         NextNoIndent            1
91         Margin                  Static
92         LeftMargin              N
93         ParIndent               ""
94         TopSep                  0.4
95         LabelType               Above
96         LabelString             "Landscape Slide:"
97 End
98 Style Slide
99         Obsoletedby             LandscapeSlide
100 End
101
102 Style PortraitSlide
103         CopyStyle               LandscapeSlide
104         LatexName               slide*
105         LabelString             "Portrait Slide:"
106 End
107 Style Slide*
108         ObsoletedBy             PortraitSlide
109 End
110
111 # EndOfSlide was a dummy style whose main purpose is to separate subsequent
112 # Slide environments. Nowadays lyx has the special --Separator-- style as
113 # workaround:
114 Style EndOfSlide
115         ObsoletedBy             --Separator--
116 End
117
118 Style ListOfSlides
119         CopyStyle               --Separator--
120         LatexType               Command
121         LatexName               listofslides
122         TopSep                  0.5
123         BottomSep               0.5
124         Align                   Center
125 #       BottomSep               0
126         LabelString             "[List Of Slides]"
127 End
128 Style SlideContents
129         CopyStyle               ListOfSlides
130         LatexName               slidecontents
131         LabelString             "[Slide Contents]"
132 End
133
134 Style ProgressContents
135         CopyStyle               ListOfSlides
136         LatexName               Slidecontents
137         LabelString             "[Progress Contents]"
138 End