]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsart.layout
specify a background color for listings and allow the user to change it, patch by...
[lyx.git] / lib / layouts / elsart.layout
index ce45512499e25d13afd2a2b500b62a0e7bf1e2a0..1eb36f462a38281ff86c4f0cfdd5a71acc69ab83 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[elsart,amssymb.sty]{article (elsevier)}
+#  \DeclareLaTeXClass[elsart,amssymb.sty]{article (Elsevier)}
 # Author: Rod Pinna <rpinna@civil.uwa.edu.au>
 # The Elsevier doc style also duplicates the theorem
 # environments used by the AMS. The definitions here have been
@@ -22,6 +22,7 @@
 #       numbered sections, as does the class file.
 
 
+Format 8
 Columns                 1
 Sides                   2
 PageStyle               headings
@@ -79,8 +80,8 @@ Style Keywords
 End
 
 
+Input stdinsets.inc
 Input stdsections.inc
-Input numarticle.inc
 Input stdstarsections.inc
 Input stdlists.inc
 Input stdstruct.inc
@@ -121,7 +122,7 @@ Style Author
        ItemSep               0
        ParSep                0
        Align                 Center
-       AlignPossible         Center
+       OptionalArgs          1
        Font
          Series              Bold
        EndFont
@@ -134,9 +135,10 @@ Style Author_Address
        InTitle               1
        LatexName             address
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
-       LabelString           "Address: "
+       LabelSep              M
+       LabelString           "Address:"
+       OptionalArgs          1
        LabelFont
          Shape               Italic
        EndFont
@@ -150,9 +152,9 @@ Style Author_Email
        PassThru              1
        LatexName             ead
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
-       LabelString           "Email: "
+       LabelSep              M
+       LabelString           "Email:"
        TextFont
          Family              Typewriter
        EndFont
@@ -171,9 +173,9 @@ Style Author_URL
        LatexName             ead
        LatexParam            "[url]"
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
-       LabelString           "URL: "
+       LabelSep              M
+       LabelString           "URL:"
        TextFont
          Family              Typewriter
        EndFont
@@ -212,9 +214,8 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        LabelType             Centered_Top_Environment
-       LabelString           Abstract
+       LabelString           "Abstract"
        LabelBottomSep        0.5
        Font
          Size                Small
@@ -425,7 +426,7 @@ Style Acknowledgement
        LatexName             ack
        Labeltype             Top_Environment
        LabelBottomsep        1
-       LabelString           "Acknowledgement \arabic{theorem}"
+       LabelString           "Acknowledgements"
        parsep                0.3
        LabelFont
          Size                large