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>
6 # Based on the Article textclass "article.layout"
9 # General textclass parameters
13 MaxCounter Counter_EnumI
25 Pagestyle plain|headings|empty
30 #####################################
32 # Layout-specific preamble
34 #####################################
38 \newcounter{slidetype}
39 \setcounter{slidetype}{0}
42 \newcommand{\noslidecentering}{
45 \newcommand{\slidecentering}{
48 \newcommand{\lyxendslide}[1]{
52 \ifcase \value{slidetype}%
58 \setcounter{slidetype}{0}
61 \AtEndDocument{\lyxendslide{.}}
65 ############################
67 # Standard style definition
70 ############################
79 AlignPossible Block, Left, Right, Center
85 ##############################
87 # New Definitions for Slides
89 ##############################
91 # Slide style definition
106 LeftMargin MMMMxMMMMxxxNewSlide
107 LabelString "_____________________________NewSlide: "
122 \newcommand{\lyxnewslide}[1]{
124 \setcounter{slidetype}{1}
130 # Overlay style definition
133 LatexName lyxnewoverlay
145 LeftMargin MMMMxNewOverlay
146 LabelString "- - - - - - - - - - NewOverlay: "
164 \newcommand{\lyxnewoverlay}[1]{
166 \setcounter{slidetype}{2}
172 ## Note style definition
187 LeftMargin MMMMxMMxxNewNote
188 LabelString "........................NewNote: "
206 \newcommand{\lyxnewnote}[1]{
208 \setcounter{slidetype}{3}
214 ## Invisible environment
217 LatexName lyxinvisible
223 LabelString "<Invisible Text Follows>"
237 \newcommand{\lyxinvisible}[1]{
243 ## Visible environment
252 LabelString "<Visible Text Follows>"
266 \newcommand{\lyxvisible}[1]{
272 ########################################################################
274 # Definitions taken from article.layout.
276 # Note that the "Section" family of environments is missing, as is
277 # "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date".
279 # I may choose to reintroduce these and/or remove others at a later
284 ########################################################################
291 # Style definition for end of a slide
297 NoStyle Right_Address