]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/slides.layout
Move the CSS for the TOC to its own InsetLayout.
[lyx.git] / lib / layouts / slides.layout
index 54b7038acca3d0a541ebf2fb790782caa8585587..6bbd0a8c446928f3b9ad6ba03cb677db97e729e6 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 45
 Columns        1
 Sides          1
 PageStyle      Plain
-MaxCounter     Counter_EnumI
+
 
 DefaultFont
        Family       Sans
@@ -28,13 +30,6 @@ ClassOptions
 End
 
 
-#####################################
-#
-#  Layout-specific preamble
-#
-#####################################
-
-
 Preamble
        \newcounter{slidetype}
        \setcounter{slidetype}{0}
@@ -64,6 +59,7 @@ EndPreamble
 
 
 Style Standard
+       Category          MainText
        Margin            Static
        LatexType         Paragraph
        LatexName         dummy
@@ -75,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
 
-##############################
-#
-# New Definitions for Slides
-#
-##############################
+Input stdinsets.inc
+Input stdlists.inc
+Input stdlayouts.inc
+Input lyxmacros.inc
+Input stdcounters.inc
+Input stdfloats.inc
+
+NoStyle Address
+NoStyle Right_Address
 
 
 Style Slide
+       TocLevel          1
        LatexType         Command
        LatexName         lyxnewslide
        KeepEmpty         1
@@ -94,30 +100,28 @@ 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
 
@@ -133,33 +137,31 @@ 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
 
@@ -175,33 +177,31 @@ 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
 
@@ -212,25 +212,20 @@ Style InvisibleText
        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
 
@@ -241,61 +236,19 @@ Style VisibleText
        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