]> git.lyx.org Git - lyx.git/blob - lib/layouts/slides.layout
Whitespace, only whitespace. Part II.
[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         LeftMargin        MMMMxMMMMxxxNewSlide
102         LabelString       "_____________________________NewSlide: "
103         Font
104           Family          Typewriter
105           Series          Bold
106           Size            Large
107           Color           Blue
108         EndFont
109         LabelFont
110           Family          Typewriter
111           Size            Large
112           Color           Blue
113         EndFont
114         Preamble
115                 \newcommand{\lyxnewslide}[1]{
116                          \lyxendslide{.}
117                          \setcounter{slidetype}{1}
118                          \begin{slide}
119                 }
120         EndPreamble
121 End
122
123
124 Style Overlay
125         LatexType         Command
126         LatexName         lyxnewoverlay
127         KeepEmpty         1
128         Margin            Static
129         NextNoIndent      1
130         ParSkip           0.4
131         TopSep            1.0
132         BottomSep         1.0
133         ParSep            0.5
134         Align             Left
135         AlignPossible     Left
136         LabelType         Static
137         LabelBottomSep    0.5
138         LeftMargin        MMMMxNewOverlay
139         LabelString       "- - - - - - - - - - NewOverlay: "
140         Font
141           Family          Typewriter
142           Series          Bold
143           Size            Large
144           Shape                       SmallCaps
145           Color           Magenta
146         EndFont
147         LabelFont
148           Family          Typewriter
149           Series          Bold
150           Size            Large
151           Shape                       SmallCaps
152           Color           Magenta
153         EndFont
154         Preamble
155                 \newcommand{\lyxnewoverlay}[1]{
156                          \lyxendslide{.}
157                          \setcounter{slidetype}{2}
158                          \begin{overlay}
159                 }
160         EndPreamble
161 End
162
163
164 Style Note
165         LatexType         Command
166         LatexName         lyxnewnote
167         KeepEmpty         1
168         Margin            Static
169         NextNoIndent      1
170         ParSkip           0.4
171         TopSep            1.0
172         BottomSep         1.0
173         ParSep            0.5
174         Align             Left
175         AlignPossible     Left
176         LabelType         Static
177         LabelBottomSep    0.5
178         LeftMargin        MMMMxMMxxNewNote
179         LabelString       "........................NewNote: "
180         Font
181           Family          Typewriter
182           Series          Bold
183           Size            Large
184           Shape                       Italic
185           Color           Magenta
186         EndFont
187         LabelFont
188           Family          Typewriter
189           Series          Bold
190           Size            Large
191           Shape                       Italic
192           Color           Magenta
193         EndFont
194         Preamble
195                 \newcommand{\lyxnewnote}[1]{
196                          \lyxendslide{.}
197                          \setcounter{slidetype}{3}
198                          \begin{note}
199                 }
200         EndPreamble
201 End
202
203
204 Style InvisibleText
205         LatexType         Command
206         LatexName         lyxinvisible
207         KeepEmpty         1
208         Margin            Static
209         Align             Center
210         AlignPossible     Center
211         LabelType         Static
212         LabelString       "<Invisible Text Follows>"
213         Font
214           Family          Roman
215           Size            Normal
216           Color           Cyan
217         EndFont
218         LabelFont
219           Family          Roman
220           Size            Normal
221           Color           Cyan
222         EndFont
223         Preamble
224                 \newcommand{\lyxinvisible}[1]{\invisible}
225         EndPreamble
226 End
227
228
229 Style VisibleText
230         LatexType         Command
231         LatexName         lyxvisible
232         KeepEmpty         1
233         Margin            Static
234         Align             Center
235         AlignPossible     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