]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/slides.layout
layout files: add the new AllowedPlacement
[lyx.git] / lib / layouts / slides.layout
index 54acef587645cddd8a77d9bd1423fa71c87041d9..c9d3b5680e97319bee9194e188d64268b34610ec 100644 (file)
@@ -1,16 +1,18 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{slides (default)}
+#  \DeclareLaTeXClass{Slides}
+#  \DeclareCategory{Presentations}
 # Slides textclass definition file.
 # Author : John Weiss <jpweiss@idsi.net>
 #
 # Based on the Article textclass "article.layout"
 #
 
-# General textclass parameters
+
+Format 54
 Columns        1
 Sides          1
 PageStyle      Plain
-MaxCounter     Counter_EnumI
+
 
 DefaultFont
        Family       Sans
@@ -20,6 +22,7 @@ DefaultFont
        Color        None
 EndFont
 
+
 ClassOptions
        FontSize   |
        Pagestyle  plain|headings|empty
@@ -27,13 +30,6 @@ ClassOptions
 End
 
 
-#####################################
-#
-#  Layout-specific preamble
-#
-#####################################
-
-
 Preamble
        \newcounter{slidetype}
        \setcounter{slidetype}{0}
@@ -62,14 +58,8 @@ Preamble
 EndPreamble
 
 
-############################
-#
-# Standard style definition
-# Always comes first.
-#
-############################
-
 Style Standard
+       Category          MainText
        Margin            Static
        LatexType         Paragraph
        LatexName         dummy
@@ -81,15 +71,25 @@ 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
+       TocLevel          1
        LatexType         Command
        LatexName         lyxnewslide
        KeepEmpty         1
@@ -100,34 +100,32 @@ Style Slide
        BottomSep         1.0
        ParSep            0.5
        Align             Left
-       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
@@ -139,37 +137,35 @@ Style Overlay
        BottomSep         1.0
        ParSep            0.5
        Align             Left
-       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
@@ -181,127 +177,78 @@ Style Note
        BottomSep         1.0
        ParSep            0.5
        Align             Left
-       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
        KeepEmpty         1
        Margin            Static
        Align             Center
-       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
        KeepEmpty         1
        Margin            Static
        Align             Center
-       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