]> git.lyx.org Git - lyx.git/blob - lib/layouts/slides.layout
update OSX instructions
[lyx.git] / lib / layouts / slides.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{slides (default)}
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 Columns        1
11 Sides          1
12 PageStyle      Plain
13
14
15 DefaultFont
16         Family       Sans
17         Series       Medium
18         Shape        Up
19         Size         Largest
20         Color        None
21 EndFont
22
23
24 ClassOptions
25         FontSize   |
26         Pagestyle  plain|headings|empty
27         Other      "dvips"
28 End
29
30
31 Preamble
32         \newcounter{slidetype}
33         \setcounter{slidetype}{0}
34         \newif\ifLyXsNoCenter
35         \LyXsNoCenterfalse
36         \newcommand{\noslidecentering}{
37            \LyXsNoCentertrue%
38         }
39         \newcommand{\slidecentering}{
40            \LyXsNoCenterfalse%
41         }
42         \newcommand{\lyxendslide}[1]{
43            \ifLyXsNoCenter%
44                 \vfill%
45            \fi%
46            \ifcase \value{slidetype}%
47                 \or % no action for 0
48                 \end{slide} \or%
49                 \end{overlay} \or%
50                 \end{note}%
51            \fi%
52            \setcounter{slidetype}{0}
53               \visible
54         }
55         \AtEndDocument{\lyxendslide{.}}
56 EndPreamble
57
58
59 Style Standard
60         Margin            Static
61         LatexType         Paragraph
62         LatexName         dummy
63         ParIndent         M
64         ParSkip           0.4
65         Align             Block
66         AlignPossible     Block, Left, Right, Center
67         LabelType         No_Label
68 End
69
70
71 #  Note that the "Section" family of environments is missing, as is
72 #  "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date".
73 #  I may choose to reintroduce these and/or remove others at a later
74 #  date.
75 #  -jw 10/2/96
76
77 Input stdlists.inc
78 Input stdlayouts.inc
79 Input lyxmacros.inc
80 Input stdcounters.inc
81 Input stdfloats.inc
82
83 NoStyle Address
84 NoStyle Right_Address
85
86
87 Style Slide
88         LatexType         Command
89         LatexName         lyxnewslide
90         KeepEmpty         1
91         Margin            Static
92         NextNoIndent      1
93         ParSkip           0.4
94         TopSep            1.0
95         BottomSep         1.0
96         ParSep            0.5
97         Align             Left
98         AlignPossible     Left
99         LabelType         Static
100         LabelBottomSep    0.5
101         LabelSep          xx
102         LeftMargin        "New Slide:xx"
103         LabelString       "New Slide:"
104         Font
105           Family          Typewriter
106           Series          Bold
107           Size            Large
108           Color           Blue
109         EndFont
110         LabelFont
111           Family          Typewriter
112           Size            Large
113           Color           Blue
114         EndFont
115         Preamble
116                 \newcommand{\lyxnewslide}[1]{
117                          \lyxendslide{.}
118                          \setcounter{slidetype}{1}
119                          \begin{slide}
120                 }
121         EndPreamble
122 End
123
124
125 Style Overlay
126         LatexType         Command
127         LatexName         lyxnewoverlay
128         KeepEmpty         1
129         Margin            Static
130         NextNoIndent      1
131         ParSkip           0.4
132         TopSep            1.0
133         BottomSep         1.0
134         ParSep            0.5
135         Align             Left
136         AlignPossible     Left
137         LabelType         Static
138         LabelBottomSep    0.5
139         LabelSep          xx
140         LeftMargin        "New Overlay:xx"
141         LabelString       "New Overlay:"
142         Font
143           Family          Typewriter
144           Series          Bold
145           Size            Large
146           Shape                       SmallCaps
147           Color           Magenta
148         EndFont
149         LabelFont
150           Family          Typewriter
151           Series          Bold
152           Size            Large
153           Shape                       SmallCaps
154           Color           Magenta
155         EndFont
156         Preamble
157                 \newcommand{\lyxnewoverlay}[1]{
158                          \lyxendslide{.}
159                          \setcounter{slidetype}{2}
160                          \begin{overlay}
161                 }
162         EndPreamble
163 End
164
165
166 Style Note
167         LatexType         Command
168         LatexName         lyxnewnote
169         KeepEmpty         1
170         Margin            Static
171         NextNoIndent      1
172         ParSkip           0.4
173         TopSep            1.0
174         BottomSep         1.0
175         ParSep            0.5
176         Align             Left
177         AlignPossible     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         AlignPossible     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         AlignPossible     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