]> git.lyx.org Git - features.git/blobdiff - lib/layouts/scrclass.inc
Bump layout format
[features.git] / lib / layouts / scrclass.inc
index cd46ac67a818b68f5238e87279e19649f341b7ce..4e6dbcfc4a81d103b0f3513914ed8d2bbba1f858 100644 (file)
@@ -2,15 +2,17 @@
 # Base definitions for the KOMA script layouts.
 # 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.
+# Juergen Spitzmueller <spitz@lyx.org>, 2003/2/08.
 # Mapped List to Labeling
-# Guenter Milde <g.milde web.de>
+# Guenter Milde <milde users.berlios.de>, 2009-02-02
+# Labeling is now used also in non-KOMA classes
 
 
-Format 26
+Format 42
 SecNumDepth             2
 TocDepth                2
 DefaultStyle            Standard
+Provides                subscript 1
 
 Style Standard
        LatexName             dummy
@@ -38,17 +40,12 @@ Style Description
 End
 
 Style Labeling
-       CopyStyle             List
        LatexName             labeling
        # overwrite the preamble code definition
        Preamble
        EndPreamble
 End
 
-Style List
-       Obsoletedby           Labeling
-End
-
 Input stdsections.inc
 
 Style Part
@@ -113,18 +110,30 @@ Input stdstarsections.inc
 Style Addpart
        CopyStyle             Part*
        LatexName             addpart
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "The part as it appears in the table of contents/running headers"
+       EndArgument
 End
 
 
 Style Addchap
        CopyStyle             Chapter*
        LatexName             addchap
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "The chapter as it appears in the table of contents/running headers"
+       EndArgument
 End
 
 
 Style Addsec
        CopyStyle             Section*
        LatexName             addsec
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "The section as it appears in the table of contents/running headers"
+       EndArgument
 End
 
 
@@ -141,6 +150,7 @@ End
 
 
 Style Minisec
+       Category              Section
        LatexType             Command
        LatexName             minisec
        NeedProtect           1
@@ -165,6 +175,14 @@ Style Title
        EndFont
 End
 
+Style Subtitle
+       CopyStyle             Title
+       LatexName             subtitle
+       Font
+         Size                Large
+       EndFont
+End
+
 
 Style Author
        Font
@@ -243,6 +261,7 @@ End
 Input stdlayouts.inc
 
 Style Captionabove
+       Category              Captions
        Margin                First_Dynamic
        LatexType             Command
        LatexName             caption
@@ -253,7 +272,10 @@ Style Captionabove
        Align                 Center
        LabelType             Sensitive
        LabelString           "Senseless!"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "The caption as it appears in the list of figures/tables"
+       EndArgument
        LabelFont
          Series              Bold
        EndFont
@@ -262,6 +284,7 @@ End
 
 
 Style Captionbelow
+       Category              Captions
        Margin                First_Dynamic
        LatexType             Command
        LatexName             caption
@@ -272,7 +295,10 @@ Style Captionbelow
        Align                 Center
        LabelType             Sensitive
        LabelString           "Senseless!"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "The caption as it appears in the list of figures/tables"
+       EndArgument
        LabelFont
          Series              Bold
        EndFont
@@ -281,6 +307,7 @@ End
 
 
 Style Dictum
+       Category             MainText
        Margin               Right_Address_Box
        LatexType            Command
        LatexName            dictum
@@ -288,7 +315,10 @@ Style Dictum
        BottomSep            1.5
        ParSep               1.5
        Align                Left
-       OptionalArgs         1
+       Argument 1
+               LabelString   "Dictum Author"
+               Tooltip       "The author of this dictum"
+       EndArgument
        Font
          Size               Normal
        EndFont