]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/scrlettr.layout
Move obsolete layouts to an Obsolete category
[lyx.git] / lib / layouts / scrlettr.layout
index cacc7a9322683542656ad734bf99c1909812c08d..994b6ac6ba8de592e3c42bba6bcf585a15a6da00 100644 (file)
@@ -1,51 +1,46 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrlettr]{letter (koma-script)}
-# KOMA scrlettr textclass definition file. 
+#  \DeclareLaTeXClass{KOMA-Script Letter (V. 1, Obsolete)}
+#  \DeclareCategory{Obsolete}
+# KOMA scrlettr textclass definition file.
 # Bernd Rellermeyer <100.41728@germanynet.de>, 1999/2/17.
 
-# Standard style definition
+Format 63
 Style Standard
+       Category              MainText
        LatexName             dummy
        ParSep                0.4
        AlignPossible         Block, Left, Right, Center
 End
 
 Input stdlists.inc
+Input stdcounters.inc
+Input stdinsets.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 stdlayouts.inc
 
-# Delete Caption
-NoStyle Caption
 
-# Letter style definition
+
 Style Letter
+       Category              Letter
        LatexType             Command
        LatexName             letter
        KeepEmpty             1
@@ -54,11 +49,9 @@ Style Letter
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "L"
-
-       LabelFont 
+       LabelFont
          Series              Bold
          Shape               Italic
          Size                Small
@@ -66,19 +59,19 @@ Style Letter
        EndFont
 End
 
-# Opening style definition
+
 Style Opening
        CopyStyle             Letter
        LatexName             lyxopening
        LabelString           "O"
-
        Preamble
          \newcommand{\lyxopening}[1]{\pagebreak\startbreaks\opening{#1}}
        EndPreamble
 End
 
-# Closing style definition
+
 Style Closing
+       Category              Letter
        LatexType             Command
        LatexName             closing
        KeepEmpty             0
@@ -86,10 +79,9 @@ Style Closing
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
 End
 
-# PS style definition
+
 Style PS
        LatexType             Command
        LatexName             ps
@@ -97,10 +89,9 @@ Style PS
        BottomSep             0.4
        ParSep                0.4
        Align                 Left
-       AlignPossible         Left
 End
 
-# CC style definition
+
 Style CC
        LatexType             Command
        LatexName             cc
@@ -110,20 +101,20 @@ Style CC
        BottomSep             0.4
        ParSep                0.4
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "cc:"
 End
 
-# Encl style definition
+
 Style Encl
        CopyStyle             CC
        LatexName             encl
        LabelString           "encl:"
 End
 
-# Name style definition
+
 Style Name
+       Category              Letter
        LatexType             Command
        LatexName             name
        KeepEmpty             1
@@ -133,94 +124,92 @@ Style Name
        BottomSep             0.4
        ParSep                0.4
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "Name:"
-
-       LabelFont 
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               Blue
        EndFont
 End
 
-# Signature style definition
+
 Style Signature
        CopyStyle             Name
        LatexName             signature
        LabelString           "Signature:"
 End
 
-# Address style definition
+
 Style Address
        CopyStyle             Name
        LatexName             address
        LabelString           "Address:"
 End
 
-# Telephone style definition
+
 Style Telephone
        CopyStyle             Name
        LatexName             telephone
        LabelString           "Telephone:"
 End
 
-# Place style definition
+
 Style Place
        CopyStyle             Name
        LatexName             place
        LabelString           "Place:"
 End
 
-# Date style definition
+
 Style Date
        CopyStyle             Name
        LatexName             date
        LabelString           "Date:"
 End
 
-# Backaddress style definition
+
 Style Backaddress
        CopyStyle             Name
        LatexName             backaddress
        LabelString           "Backaddress:"
 End
 
-# Specialmail style definition
+
 Style Specialmail
        CopyStyle             Name
        LatexName             specialmail
        LabelString           "Specialmail:"
 End
 
-# Location style definition
+
 Style Location
        CopyStyle             Name
        LatexName             location
        LabelString           "Location:"
 End
 
-# Title style definition
+
 Style Title
        CopyStyle             Name
        LatexName             title
        LabelString           "Title:"
+       HTMLTitle             true
 End
 
-# Subject style definition
+
 Style Subject
        CopyStyle             Name
        LatexName             subject
        LabelString           "Subject:"
 End
 
-# Yourref style definition
+
 Style Yourref
        CopyStyle             Name
        LatexName             yourref
        LabelString           "Your ref.:"
-
-       LabelFont 
+       LabelFont
          Family              Sans
          Series              Medium
          Shape               Up
@@ -229,28 +218,28 @@ Style Yourref
        EndFont
 End
 
-# Yourmail style definition
+
 Style Yourmail
        CopyStyle             Yourref
        LatexName             yourmail
        LabelString           "Your letter of:"
 End
 
-# Myref style definition
+
 Style Myref
        CopyStyle             Yourref
        LatexName             myref
        LabelString           "Our ref.:"
 End
 
-# Customer style definition
+
 Style Customer
        CopyStyle             Yourref
        LatexName             customer
        LabelString           "Customer no.:"
 End
 
-# Invoice style definition
+
 Style Invoice
        CopyStyle             Yourref
        LatexName             invoice