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