]> git.lyx.org Git - features.git/commitdiff
aastex.layout: cleanup the file
authorUwe Stöhr <uwestoehr@lyx.org>
Tue, 28 May 2013 22:20:53 +0000 (00:20 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Tue, 28 May 2013 22:20:53 +0000 (00:20 +0200)
- rearrange the style definitions in the order they should appear
- remove the hackish ordering

lib/layouts/aastex.layout

index 98a2b462b85451a12db663f4e38c6b8517569666..13c43edecd9454619f1b3b8489573c03aeabde3c 100644 (file)
@@ -64,98 +64,6 @@ Style Standard
 End
 
 
-# I want to keep the entries in a logical order.
-# Therefore I'll define the entries first, then fill them in
-
-Style Section
-       TocLevel        1
-End
-
-Style Subsection
-       TocLevel        2
-End
-
-Style Subsubsection
-       TocLevel        3
-End
-
-Style Paragraph
-       TocLevel        4
-End
-
-Style Itemize
-End
-
-Style Enumerate
-End
-
-Style Description
-End
-
-Style List
-End
-
-Style Title
-End
-
-Style Author
-End
-
-Style Affiliation
-End
-
-Style Email
-End
-
-Style And
-End
-
-Style Date
-End
-
-Style Abstract
-End
-
-Style Keywords
-End
-
-Style Acknowledgements
-End
-
-Style Appendix
-End
-
-Style References
-End
-
-Style PlaceFigure
-End
-
-Style PlaceTable
-End
-
-Style TableComments
-End
-
-Style TableRefs
-End
-
-
-Style MathLetters
-End
-
-Style NoteToEditor
-End
-
-Style Facility
-End
-
-Style Objectname
-End
-
-Style Dataset
-End
-
 # OK, now we have a more or less consistent Ordering. Now fill the
 # definitions. First, the standard includes
 
@@ -241,37 +149,6 @@ Style Author
 End
 
 
-Style Date
-       InTitle         0
-       LabelSep        ""
-       TopSep          1.2
-       Align           Center
-       Font
-         Size          Small
-       EndFont
-End
-
-
-Style Abstract
-       LeftMargin      "MMM"
-       RightMargin     "MMM"
-       ParIndent       "MM"
-       InTitle         0
-       TopSep          1.4
-       BottomSep       0.7
-       LabelType       Centered
-       Align           Block
-       AlignPossible   Block, Left, Right, Center
-       Font
-         Size          Normal
-       EndFont
-       LabelFont
-         Series        Bold
-         Size          Normal
-       EndFont
-End
-
-
 Style Affiliation
        Margin          Static
        LatexType       Command
@@ -310,6 +187,76 @@ Style Altaffilation
 End
 
 
+Style Email
+       Margin          Static
+       LatexType       Command
+       InTitle         0
+       LatexName       email
+       Category        FrontMatter
+       ParSkip         0.4
+       BottomSep       0.4
+       Align           Center
+       AlignPossible   Block, Left, Right, Center
+       LabelType       No_Label
+       Font
+         Family        Roman
+         Size          Normal
+         Shape         Italic
+       EndFont
+End
+
+
+Style And
+       Margin          Dynamic
+       LatexType       Command
+       InTitle         0
+       LatexName       and
+       Category        FrontMatter
+       TopSep          1.2
+       ParSkip         0.4
+       BottomSep       1.2
+       Align           Center
+       LabelType       Static
+       LabelString     "and"
+       KeepEmpty       1
+       Font
+         Family        Roman
+         Size          Normal
+       EndFont
+End
+
+
+Style Date
+       InTitle         0
+       LabelSep        ""
+       TopSep          1.2
+       Align           Center
+       Font
+         Size          Small
+       EndFont
+End
+
+
+Style Abstract
+       LeftMargin      "MMM"
+       RightMargin     "MMM"
+       ParIndent       "MM"
+       InTitle         0
+       TopSep          1.4
+       BottomSep       0.7
+       LabelType       Centered
+       Align           Block
+       AlignPossible   Block, Left, Right, Center
+       Font
+         Size          Normal
+       EndFont
+       LabelFont
+         Series        Bold
+         Size          Normal
+       EndFont
+End
+
+
 InsetLayout "Flex:altaffilmark"
        LyxType         custom
        LatexType       command
@@ -359,25 +306,6 @@ Style Keywords
 End
 
 
-Style Email
-       Margin          Static
-       LatexType       Command
-       InTitle         0
-       LatexName       email
-       Category        FrontMatter
-       ParSkip         0.4
-       BottomSep       0.4
-       Align           Center
-       AlignPossible   Block, Left, Right, Center
-       LabelType       No_Label
-       Font
-         Family        Roman
-         Size          Normal
-         Shape         Italic
-       EndFont
-End
-
-
 Style Acknowledgements
        Category        BackMatter
        Margin          Dynamic
@@ -399,26 +327,6 @@ Style Acknowledgements
 End
 
 
-Style And
-       Margin          Dynamic
-       LatexType       Command
-       InTitle         0
-       LatexName       and
-       Category        FrontMatter
-       TopSep          1.2
-       ParSkip         0.4
-       BottomSep       1.2
-       Align           Center
-       LabelType       Static
-       LabelString     "and"
-       KeepEmpty       1
-       Font
-         Family        Roman
-         Size          Normal
-       EndFont
-End
-
-
 Style PlaceFigure
        Margin          Dynamic
        LatexType       Command