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