]> git.lyx.org Git - lyx.git/blob - lib/layouts/slides.layout
Add lib/doc/Shortcuts.lyx and menu entry Help->Shortcuts. Please help complete this...
[lyx.git] / lib / layouts / slides.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{presentation (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 5
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         LatexType         Command
91         LatexName         lyxnewslide
92         KeepEmpty         1
93         Margin            Static
94         NextNoIndent      1
95         ParSkip           0.4
96         TopSep            1.0
97         BottomSep         1.0
98         ParSep            0.5
99         Align             Left
100         LabelType         Static
101         LabelBottomSep    0.5
102         LabelSep          xx
103         LeftMargin        "New Slide:xx"
104         LabelString       "New Slide:"
105         Font
106           Family          Typewriter
107           Series          Bold
108           Size            Large
109           Color           Blue
110         EndFont
111         LabelFont
112           Family          Typewriter
113           Size            Large
114           Color           Blue
115         EndFont
116         Preamble
117                 \newcommand{\lyxnewslide}[1]{
118                          \lyxendslide{.}
119                          \setcounter{slidetype}{1}
120                          \begin{slide}
121                 }
122         EndPreamble
123 End
124
125
126 Style Overlay
127         LatexType         Command
128         LatexName         lyxnewoverlay
129         KeepEmpty         1
130         Margin            Static
131         NextNoIndent      1
132         ParSkip           0.4
133         TopSep            1.0
134         BottomSep         1.0
135         ParSep            0.5
136         Align             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         LabelType         Static
178         LabelBottomSep    0.5
179         LabelSep          xx
180         LeftMargin        "New Note:xx"
181         LabelString       "New Note:"
182         Font
183           Family          Typewriter
184           Series          Bold
185           Size            Large
186           Shape                       Italic
187           Color           Magenta
188         EndFont
189         LabelFont
190           Family          Typewriter
191           Series          Bold
192           Size            Large
193           Shape                       Italic
194           Color           Magenta
195         EndFont
196         Preamble
197                 \newcommand{\lyxnewnote}[1]{
198                          \lyxendslide{.}
199                          \setcounter{slidetype}{3}
200                          \begin{note}
201                 }
202         EndPreamble
203 End
204
205
206 Style InvisibleText
207         LatexType         Command
208         LatexName         lyxinvisible
209         KeepEmpty         1
210         Margin            Static
211         Align             Center
212         LabelType         Static
213         LabelString       "<Invisible Text Follows>"
214         Font
215           Family          Roman
216           Size            Normal
217           Color           Cyan
218         EndFont
219         LabelFont
220           Family          Roman
221           Size            Normal
222           Color           Cyan
223         EndFont
224         Preamble
225                 \newcommand{\lyxinvisible}[1]{\invisible}
226         EndPreamble
227 End
228
229
230 Style VisibleText
231         LatexType         Command
232         LatexName         lyxvisible
233         KeepEmpty         1
234         Margin            Static
235         Align             Center
236         LabelType         Static
237         LabelString       "<Visible Text Follows>"
238         Font
239           Family          Roman
240           Size            Normal
241           Color           Green
242         EndFont
243         LabelFont
244           Family          Roman
245           Size            Normal
246           Color           Green
247         EndFont
248         Preamble
249                 \newcommand{\lyxvisible}[1]{\visible}
250         EndPreamble
251 End