]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/scrclass.inc
specify a background color for listings and allow the user to change it, patch by...
[lyx.git] / lib / layouts / scrclass.inc
index 61e92a4959b3957ff83fff8d2442dce1d379a6d2..1569c82223c891505dffd623547072f794212000 100644 (file)
@@ -3,13 +3,15 @@
 # Bernd Rellermeyer <100.41728@germanynet.de>, 1998/7/23.
 # Update for Koma Script Release >=2.8q
 # Juergen Spitzmueller <j.spitzmueller@gmx.de>, 2003/2/08.
+# Mapped List to Labeling
+# Guenter Milde <g.milde web.de>
 
-# General textclass parameters
+
+Format 8
 SecNumDepth             2
 TocDepth                2
 DefaultStyle            Standard
 
-# Standard style definition
 Style Standard
        LatexName             dummy
        ParIndent             MM
@@ -17,84 +19,74 @@ Style Standard
        AlignPossible         Block, Left, Right, Center
 End
 
+Input stdinsets.inc
 Input stdlists.inc
 Input stdcounters.inc
 Input stdfloats.inc
 
-# Modify Description
 Style Description
        LabelFont
          Family              Sans
        EndFont
 End
 
-# Delete List
-NoStyle List
-
-# Labeling style definition
 Style Labeling
-       Margin                Manual
-       LatexType             List_Environment
+       CopyStyle             List
        LatexName             labeling
-       NextNoindent          1
-       LabelSep              xxx
-       ParSkip               0.4
-       TopSep                0.7
-       BottomSep             0.7
-       ParSep                0.5
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Manual
-       LabelString           00.00.0000
+       # overwrite the preamble code definition
+       Preamble
+       EndPreamble
+End
+
+Style List
+       Obsoletedby           Labeling
 End
 
 Input stdsections.inc
 
-# Modify Part
 Style Part
        Font
          Family              Sans
        EndFont
 End
 
-# Modify Chapter
+
 Style Chapter
-       LabelString           ""
        Font
          Family              Sans
          Size                Largest
        EndFont
 End
 
-# Modify Section
+
 Style Section
        Font
          Family              Sans
        EndFont
 End
 
-# Modify Subsection
+
 Style Subsection
        Font
          Family              Sans
        EndFont
 End
 
-# Modify Subsubsection
+
 Style Subsubsection
        Font
          Family              Sans
        EndFont
 End
 
-# Modify Paragraph
+
 Style Paragraph
        Font
          Family              Sans
        EndFont
 End
 
-# Modify Subparagraph
+
 Style Subparagraph
        LeftMargin            ""
        Font
@@ -104,37 +96,36 @@ End
 
 Input stdstarsections.inc
 
-# Addpart Style Definition
 Style Addpart
        CopyStyle             Part*
        LatexName             addpart
 End
 
-# Addchap Style Definition
+
 Style Addchap
        CopyStyle             Chapter*
        LatexName             addchap
 End
 
-# Addsec Style Definition
+
 Style Addsec
        CopyStyle             Section*
        LatexName             addsec
 End
 
-# Addchap* Style Definition
+
 Style Addchap*
        CopyStyle             Chapter*
        LatexName             addchap*
 End
 
-# Addsec* Style Definition
+
 Style Addsec*
        CopyStyle             Section*
        LatexName             addsec*
 End
 
-# Minisec style definition
+
 Style Minisec
        LatexType             Command
        LatexName             minisec
@@ -145,8 +136,7 @@ Style Minisec
        TopSep                0.4
        ParSep                0.4
        AlignPossible         Block, Left
-
-       Font 
+       Font
          Family              Sans
          Series              Bold
        EndFont
@@ -154,7 +144,6 @@ End
 
 Input stdtitle.inc
 
-# Modify Title
 Style Title
        Font
          Family              Sans
@@ -162,63 +151,61 @@ Style Title
        EndFont
 End
 
-# Modify Author
+
 Style Author
        Font
          Size                Larger
        EndFont
 End
 
-# Modify Date
+
 Style Date
        Font
          Size                Larger
        EndFont
 End
 
-# Subject style definition
+
 Style Subject
        CopyStyle             Author
        LatexName             subject
 End
 
-# Publishers style definition
+
 Style Publishers
        CopyStyle             Author
        LatexName             publishers
 End
 
-# Dedication style definition
+
 Style Dedication
        CopyStyle             Author
        LatexName             dedication
 End
 
-# Titlehead style definition
+
 Style Titlehead
        CopyStyle             Author
        LatexName             titlehead
        Align                 Left
-       AlignPossible         Left
-
-       Font 
+       Font
          Size                Normal
        EndFont
 End
 
-# Uppertitleback style definition
+
 Style Uppertitleback
        CopyStyle             Titlehead
        LatexName             uppertitleback
 End
 
-# Lowertitleback style definition
+
 Style Lowertitleback
        CopyStyle             Titlehead
        LatexName             lowertitleback
 End
 
-# Extratitle style definition
+
 Style Extratitle
        CopyStyle             Titlehead
        LatexName             extratitle
@@ -226,14 +213,13 @@ End
 
 Input stdstruct.inc
 
-# Modify Abstract
 Style Abstract
        LabelFont
          Family              Sans
        EndFont
 End
 
-# Modify Bibliography
+
 Style Bibliography
        LabelFont
          Family              Sans
@@ -242,19 +228,44 @@ End
 
 Input stdlayouts.inc
 
-# Captionabove style definition
 Style Captionabove
-       CopyStyle            Caption
+       Margin                First_Dynamic
+       LatexType             Command
+       LatexName             caption
+       NeedProtect           1
+       LabelSep              xx
+       ParSkip               0.4
+       TopSep                0.5
+       Align                 Center
+       LabelType             Sensitive
+       LabelString           "Senseless!"
+       OptionalArgs          1
+       LabelFont
+         Series              Bold
+       EndFont
        LatexName            captionabove
 End
 
-# Captionbelow style definition
+
 Style Captionbelow
-       CopyStyle            Caption
+       Margin                First_Dynamic
+       LatexType             Command
+       LatexName             caption
+       NeedProtect           1
+       LabelSep              xx
+       ParSkip               0.4
+       TopSep                0.5
+       Align                 Center
+       LabelType             Sensitive
+       LabelString           "Senseless!"
+       OptionalArgs          1
+       LabelFont
+         Series              Bold
+       EndFont
        LatexName            captionbelow
 End
 
-# Dictum style definition
+
 Style Dictum
        Margin               Right_Address_Box
        LatexType            Command
@@ -263,13 +274,11 @@ Style Dictum
        BottomSep            1.5
        ParSep               1.5
        Align                Left
-       AlignPossible        Left
        OptionalArgs         1
-       
        Font
-         Size                Normal
+         Size               Normal
        EndFont
 End
 
 Input lyxmacros.inc
-Input scrmacros.inc
+