]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/slides.layout
Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move...
[lyx.git] / lib / layouts / slides.layout
index 54acef587645cddd8a77d9bd1423fa71c87041d9..4af11766d86586211c5dec0d8b15882ad533d36a 100644 (file)
@@ -1,16 +1,17 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{slides (default)}
+#  \DeclareLaTeXClass{presentation (slides)}
 # Slides textclass definition file.
 # Author : John Weiss <jpweiss@idsi.net>
 #
 # Based on the Article textclass "article.layout"
 #
 
-# General textclass parameters
+
+Format 5
 Columns        1
 Sides          1
 PageStyle      Plain
-MaxCounter     Counter_EnumI
+
 
 DefaultFont
        Family       Sans
@@ -20,6 +21,7 @@ DefaultFont
        Color        None
 EndFont
 
+
 ClassOptions
        FontSize   |
        Pagestyle  plain|headings|empty
@@ -27,13 +29,6 @@ ClassOptions
 End
 
 
-#####################################
-#
-#  Layout-specific preamble
-#
-#####################################
-
-
 Preamble
        \newcounter{slidetype}
        \setcounter{slidetype}{0}
@@ -62,13 +57,6 @@ Preamble
 EndPreamble
 
 
-############################
-#
-# Standard style definition
-# Always comes first.
-#
-############################
-
 Style Standard
        Margin            Static
        LatexType         Paragraph
@@ -81,14 +69,23 @@ Style Standard
 End
 
 
+#  Note that the "Section" family of environments is missing, as is
+#  "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date".
+#  I may choose to reintroduce these and/or remove others at a later
+#  date.
+#  -jw 10/2/96
+
+Input stdinsets.inc
+Input stdlists.inc
+Input stdlayouts.inc
+Input lyxmacros.inc
+Input stdcounters.inc
+Input stdfloats.inc
+
+NoStyle Address
+NoStyle Right_Address
 
-##############################
-#
-# New Definitions for Slides
-#
-##############################
 
-# Slide style definition
 Style Slide
        LatexType         Command
        LatexName         lyxnewslide
@@ -103,31 +100,30 @@ Style Slide
        AlignPossible     Left
        LabelType         Static
        LabelBottomSep    0.5
-       LeftMargin        MMMMxMMMMxxxNewSlide
-       LabelString       "_____________________________NewSlide: "
-
-       Font 
+       LabelSep          xx
+       LeftMargin        "New Slide:xx"
+       LabelString       "New Slide:"
+       Font
          Family          Typewriter
          Series          Bold
          Size            Large
          Color           Blue
        EndFont
-       LabelFont 
+       LabelFont
          Family          Typewriter
          Size            Large
          Color           Blue
        EndFont
-
        Preamble
-       \newcommand{\lyxnewslide}[1]{
-          \lyxendslide{.}
-          \setcounter{slidetype}{1}
-          \begin{slide}
-       }
+               \newcommand{\lyxnewslide}[1]{
+                        \lyxendslide{.}
+                        \setcounter{slidetype}{1}
+                        \begin{slide}
+               }
        EndPreamble
 End
 
-# Overlay style definition
+
 Style Overlay
        LatexType         Command
        LatexName         lyxnewoverlay
@@ -142,34 +138,33 @@ Style Overlay
        AlignPossible     Left
        LabelType         Static
        LabelBottomSep    0.5
-       LeftMargin        MMMMxNewOverlay
-       LabelString       "- - - - - - - - - - NewOverlay: "
-
-       Font 
+       LabelSep          xx
+       LeftMargin        "New Overlay:xx"
+       LabelString       "New Overlay:"
+       Font
          Family          Typewriter
          Series          Bold
          Size            Large
          Shape                       SmallCaps
          Color           Magenta
        EndFont
-       LabelFont 
+       LabelFont
          Family          Typewriter
          Series          Bold
          Size            Large
          Shape                       SmallCaps
          Color           Magenta
        EndFont
-
        Preamble
-       \newcommand{\lyxnewoverlay}[1]{
-          \lyxendslide{.}
-          \setcounter{slidetype}{2}
-          \begin{overlay}
-       }
+               \newcommand{\lyxnewoverlay}[1]{
+                        \lyxendslide{.}
+                        \setcounter{slidetype}{2}
+                        \begin{overlay}
+               }
        EndPreamble
 End
 
-## Note style definition
+
 Style Note
        LatexType         Command
        LatexName         lyxnewnote
@@ -184,34 +179,33 @@ Style Note
        AlignPossible     Left
        LabelType         Static
        LabelBottomSep    0.5
-       LeftMargin        MMMMxMMxxNewNote
-       LabelString       "........................NewNote: "
-
-       Font 
+       LabelSep          xx
+       LeftMargin        "New Note:xx"
+       LabelString       "New Note:"
+       Font
          Family          Typewriter
          Series          Bold
          Size            Large
          Shape                       Italic
          Color           Magenta
        EndFont
-       LabelFont 
+       LabelFont
          Family          Typewriter
          Series          Bold
          Size            Large
          Shape                       Italic
          Color           Magenta
        EndFont
-
        Preamble
-       \newcommand{\lyxnewnote}[1]{
-          \lyxendslide{.}
-          \setcounter{slidetype}{3}
-          \begin{note}
-       }
+               \newcommand{\lyxnewnote}[1]{
+                        \lyxendslide{.}
+                        \setcounter{slidetype}{3}
+                        \begin{note}
+               }
        EndPreamble
 End
 
-## Invisible environment
+
 Style InvisibleText
        LatexType         Command
        LatexName         lyxinvisible
@@ -221,26 +215,22 @@ Style InvisibleText
        AlignPossible     Center
        LabelType         Static
        LabelString       "<Invisible Text Follows>"
-
-       Font 
+       Font
          Family          Roman
          Size            Normal
          Color           Cyan
        EndFont
-       LabelFont 
+       LabelFont
          Family          Roman
          Size            Normal
          Color           Cyan
        EndFont
-
        Preamble
-       \newcommand{\lyxinvisible}[1]{
-          \invisible
-       }
+               \newcommand{\lyxinvisible}[1]{\invisible}
        EndPreamble
 End
 
-## Visible environment
+
 Style VisibleText
        LatexType         Command
        LatexName         lyxvisible
@@ -250,58 +240,17 @@ Style VisibleText
        AlignPossible     Center
        LabelType         Static
        LabelString       "<Visible Text Follows>"
-
-       Font 
+       Font
          Family          Roman
          Size            Normal
          Color           Green
        EndFont
-       LabelFont 
+       LabelFont
          Family          Roman
          Size            Normal
          Color           Green
        EndFont
-
        Preamble
-       \newcommand{\lyxvisible}[1]{
-          \visible
-       }
+               \newcommand{\lyxvisible}[1]{\visible}
        EndPreamble
 End
-
-########################################################################
-#
-# Definitions taken from article.layout.
-#
-#  Note that the "Section" family of environments is missing, as is
-#  "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date".
-#
-#  I may choose to reintroduce these and/or remove others at a later
-#  date.
-# 
-#  -jw 10/2/96
-#
-########################################################################
-
-Input stdlists.inc
-Input stdlayouts.inc
-Input lyxmacros.inc
-Input stdcounters.inc
-Input stdfloats.inc
-
-#Input obsolete.inc
-
-# Style definition for end of a slide
-Style End_All_Slides
-       ObsoletedBy       Comment
-End
-
-NoStyle Address
-NoStyle Right_Address
-
-
-
-
-#############
-#
-# End  File