]> git.lyx.org Git - lyx.git/blob - lib/layouts/slides.layout
Update layouts to format 98
[lyx.git] / lib / layouts / slides.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{Slides}
3 #  \DeclareCategory{Presentations}
4 # Slides textclass definition file.
5 # Author : John Weiss <jpweiss@idsi.net>
6 #
7 # Based on the Article textclass "article.layout"
8 #
9
10
11 Format 98
12 Columns        1
13 Sides          1
14 PageStyle      Plain
15
16
17 DefaultFont
18         Family       Sans
19         Series       Medium
20         Shape        Up
21         Size         Largest
22         Color        None
23 EndFont
24
25
26 ClassOptions
27         FontSize   |
28         Pagestyle  plain|headings|empty
29         Other      "dvips"
30 End
31
32
33 Preamble
34         \newcounter{slidetype}
35         \setcounter{slidetype}{0}
36         \newif\ifLyXsNoCenter
37         \LyXsNoCenterfalse
38         \newcommand{\noslidecentering}{
39            \LyXsNoCentertrue%
40         }
41         \newcommand{\slidecentering}{
42            \LyXsNoCenterfalse%
43         }
44         \newcommand{\lyxendslide}[1]{
45            \ifLyXsNoCenter%
46                 \vfill%
47            \fi%
48            \ifcase \value{slidetype}%
49                 \or % no action for 0
50                 \end{slide} \or%
51                 \end{overlay} \or%
52                 \end{note}%
53            \fi%
54            \setcounter{slidetype}{0}
55               \visible
56         }
57         \AtEndDocument{\lyxendslide{.}}
58 EndPreamble
59
60
61 Style Standard
62         Category          MainText
63         Margin            Static
64         LatexType         Paragraph
65         LatexName         dummy
66         ParIndent         M
67         ParSkip           0.4
68         Align             Block
69         AlignPossible     Block, Left, Right, Center
70         LabelType         No_Label
71         DocBookTag        para
72 End
73
74
75 #  Note that the "Section" family of environments is missing, as is
76 #  "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date".
77 #  I may choose to reintroduce these and/or remove others at a later
78 #  date.
79 #  -jw 10/2/96
80
81 Input stdinsets.inc
82 Input stdlists.inc
83 Input stdlayouts.inc
84 Input lyxmacros.inc
85 Input stdcounters.inc
86 Input stdfloats.inc
87
88 NoStyle Address
89 NoStyle Right_Address
90
91
92 Style Slide
93         TocLevel          1
94         LatexType         Command
95         LatexName         lyxnewslide
96         KeepEmpty         1
97         Margin            Static
98         NextNoIndent      1
99         ParSkip           0.4
100         TopSep            1.0
101         BottomSep         1.0
102         ParSep            0.5
103         Align             Left
104         LabelType         Static
105         LabelBottomSep    0.5
106         LabelSep          xx
107         LeftMargin        "New Slide:xx"
108         LabelString       "New Slide:"
109         Font
110           Family          Typewriter
111           Series          Bold
112           Size            Large
113           Color           textlabel1
114         EndFont
115         LabelFont
116           Family          Typewriter
117           Size            Large
118           Color           textlabel1
119         EndFont
120         Preamble
121                 \newcommand{\lyxnewslide}[1]{
122                          \lyxendslide{.}
123                          \setcounter{slidetype}{1}
124                          \begin{slide}
125                 }
126         EndPreamble
127 End
128
129
130 Style Overlay
131         LatexType         Command
132         LatexName         lyxnewoverlay
133         KeepEmpty         1
134         Margin            Static
135         NextNoIndent      1
136         ParSkip           0.4
137         TopSep            1.0
138         BottomSep         1.0
139         ParSep            0.5
140         Align             Left
141         LabelType         Static
142         LabelBottomSep    0.5
143         LabelSep          xx
144         LeftMargin        "New Overlay:xx"
145         LabelString       "New Overlay:"
146         Font
147           Family          Typewriter
148           Series          Bold
149           Size            Large
150           Shape                       SmallCaps
151           Color           textlabel3
152         EndFont
153         LabelFont
154           Family          Typewriter
155           Series          Bold
156           Size            Large
157           Shape                       SmallCaps
158           Color           textlabel3
159         EndFont
160         Preamble
161                 \newcommand{\lyxnewoverlay}[1]{
162                          \lyxendslide{.}
163                          \setcounter{slidetype}{2}
164                          \begin{overlay}
165                 }
166         EndPreamble
167 End
168
169
170 Style Note
171         LatexType         Command
172         LatexName         lyxnewnote
173         KeepEmpty         1
174         Margin            Static
175         NextNoIndent      1
176         ParSkip           0.4
177         TopSep            1.0
178         BottomSep         1.0
179         ParSep            0.5
180         Align             Left
181         LabelType         Static
182         LabelBottomSep    0.5
183         LabelSep          xx
184         LeftMargin        "New Note:xx"
185         LabelString       "New Note:"
186         Font
187           Family          Typewriter
188           Series          Bold
189           Size            Large
190           Shape                       Italic
191           Color           textlabel3
192         EndFont
193         LabelFont
194           Family          Typewriter
195           Series          Bold
196           Size            Large
197           Shape                       Italic
198           Color           textlabel3
199         EndFont
200         Preamble
201                 \newcommand{\lyxnewnote}[1]{
202                          \lyxendslide{.}
203                          \setcounter{slidetype}{3}
204                          \begin{note}
205                 }
206         EndPreamble
207 End
208
209
210 Style InvisibleText
211         LatexType         Command
212         LatexName         lyxinvisible
213         KeepEmpty         1
214         Margin            Static
215         Align             Center
216         LabelType         Static
217         LabelString       "<Invisible Text Follows>"
218         Font
219           Family          Roman
220           Size            Normal
221           Color           greyedouttext
222         EndFont
223         LabelFont
224           Family          Roman
225           Size            Normal
226           Color           greyedouttext
227         EndFont
228         Preamble
229                 \newcommand{\lyxinvisible}[1]{\invisible}
230         EndPreamble
231 End
232
233
234 Style VisibleText
235         LatexType         Command
236         LatexName         lyxvisible
237         KeepEmpty         1
238         Margin            Static
239         Align             Center
240         LabelType         Static
241         LabelString       "<Visible Text Follows>"
242         Font
243           Family          Roman
244           Size            Normal
245           Color           textlabel2
246         EndFont
247         LabelFont
248           Family          Roman
249           Size            Normal
250           Color           textlabel2
251         EndFont
252         Preamble
253                 \newcommand{\lyxvisible}[1]{\visible}
254         EndPreamble
255 End