]> git.lyx.org Git - lyx.git/blob - lib/layouts/slides.layout
Categorize existing layouts
[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 36
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         Margin            Static
63         LatexType         Paragraph
64         LatexName         dummy
65         ParIndent         M
66         ParSkip           0.4
67         Align             Block
68         AlignPossible     Block, Left, Right, Center
69         LabelType         No_Label
70 End
71
72
73 #  Note that the "Section" family of environments is missing, as is
74 #  "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date".
75 #  I may choose to reintroduce these and/or remove others at a later
76 #  date.
77 #  -jw 10/2/96
78
79 Input stdinsets.inc
80 Input stdlists.inc
81 Input stdlayouts.inc
82 Input lyxmacros.inc
83 Input stdcounters.inc
84 Input stdfloats.inc
85
86 NoStyle Address
87 NoStyle Right_Address
88
89
90 Style Slide
91         TocLevel          1
92         LatexType         Command
93         LatexName         lyxnewslide
94         KeepEmpty         1
95         Margin            Static
96         NextNoIndent      1
97         ParSkip           0.4
98         TopSep            1.0
99         BottomSep         1.0
100         ParSep            0.5
101         Align             Left
102         LabelType         Static
103         LabelBottomSep    0.5
104         LabelSep          xx
105         LeftMargin        "New Slide:xx"
106         LabelString       "New Slide:"
107         Font
108           Family          Typewriter
109           Series          Bold
110           Size            Large
111           Color           Blue
112         EndFont
113         LabelFont
114           Family          Typewriter
115           Size            Large
116           Color           Blue
117         EndFont
118         Preamble
119                 \newcommand{\lyxnewslide}[1]{
120                          \lyxendslide{.}
121                          \setcounter{slidetype}{1}
122                          \begin{slide}
123                 }
124         EndPreamble
125 End
126
127
128 Style Overlay
129         LatexType         Command
130         LatexName         lyxnewoverlay
131         KeepEmpty         1
132         Margin            Static
133         NextNoIndent      1
134         ParSkip           0.4
135         TopSep            1.0
136         BottomSep         1.0
137         ParSep            0.5
138         Align             Left
139         LabelType         Static
140         LabelBottomSep    0.5
141         LabelSep          xx
142         LeftMargin        "New Overlay:xx"
143         LabelString       "New Overlay:"
144         Font
145           Family          Typewriter
146           Series          Bold
147           Size            Large
148           Shape                       SmallCaps
149           Color           Magenta
150         EndFont
151         LabelFont
152           Family          Typewriter
153           Series          Bold
154           Size            Large
155           Shape                       SmallCaps
156           Color           Magenta
157         EndFont
158         Preamble
159                 \newcommand{\lyxnewoverlay}[1]{
160                          \lyxendslide{.}
161                          \setcounter{slidetype}{2}
162                          \begin{overlay}
163                 }
164         EndPreamble
165 End
166
167
168 Style Note
169         LatexType         Command
170         LatexName         lyxnewnote
171         KeepEmpty         1
172         Margin            Static
173         NextNoIndent      1
174         ParSkip           0.4
175         TopSep            1.0
176         BottomSep         1.0
177         ParSep            0.5
178         Align             Left
179         LabelType         Static
180         LabelBottomSep    0.5
181         LabelSep          xx
182         LeftMargin        "New Note:xx"
183         LabelString       "New Note:"
184         Font
185           Family          Typewriter
186           Series          Bold
187           Size            Large
188           Shape                       Italic
189           Color           Magenta
190         EndFont
191         LabelFont
192           Family          Typewriter
193           Series          Bold
194           Size            Large
195           Shape                       Italic
196           Color           Magenta
197         EndFont
198         Preamble
199                 \newcommand{\lyxnewnote}[1]{
200                          \lyxendslide{.}
201                          \setcounter{slidetype}{3}
202                          \begin{note}
203                 }
204         EndPreamble
205 End
206
207
208 Style InvisibleText
209         LatexType         Command
210         LatexName         lyxinvisible
211         KeepEmpty         1
212         Margin            Static
213         Align             Center
214         LabelType         Static
215         LabelString       "<Invisible Text Follows>"
216         Font
217           Family          Roman
218           Size            Normal
219           Color           Cyan
220         EndFont
221         LabelFont
222           Family          Roman
223           Size            Normal
224           Color           Cyan
225         EndFont
226         Preamble
227                 \newcommand{\lyxinvisible}[1]{\invisible}
228         EndPreamble
229 End
230
231
232 Style VisibleText
233         LatexType         Command
234         LatexName         lyxvisible
235         KeepEmpty         1
236         Margin            Static
237         Align             Center
238         LabelType         Static
239         LabelString       "<Visible Text Follows>"
240         Font
241           Family          Roman
242           Size            Normal
243           Color           Green
244         EndFont
245         LabelFont
246           Family          Roman
247           Size            Normal
248           Color           Green
249         EndFont
250         Preamble
251                 \newcommand{\lyxvisible}[1]{\visible}
252         EndPreamble
253 End