]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsart.layout
Move the Provides directives out of the amsdefs.inc file and into the class
[lyx.git] / lib / layouts / elsart.layout
index 417884ea8de24fc36ba1d437e48bfa689102ee37..4ed4e3f01b12a12ba87604a76fa12ce59b43cc98 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,latexsym.sty]{article (Elsevier, obsolete version)}
 # 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 33
 Columns                 1
 Sides                   2
 PageStyle               headings
@@ -35,13 +36,11 @@ End
 TitleLatexType Environment
 TitleLatexName frontmatter
 
-Counter
-       Name                  summ
+Counter summ
 End
 
 
-Counter
-       Name                  case
+Counter case
 End
 
 
@@ -79,8 +78,8 @@ Style Keywords
 End
 
 
+Input stdinsets.inc
 Input stdsections.inc
-Input numarticle.inc
 Input stdstarsections.inc
 Input stdlists.inc
 Input stdstruct.inc
@@ -106,6 +105,7 @@ Style Title
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -121,7 +121,6 @@ Style Author
        ItemSep               0
        ParSep                0
        Align                 Center
-       AlignPossible         Center
        OptionalArgs          1
        Font
          Series              Bold
@@ -130,14 +129,14 @@ End
 
 
 Style Author_Address
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        LatexName             address
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
-       LabelString           "Address: "
+       LabelSep              M
+       LabelString           "Address:"
        OptionalArgs          1
        LabelFont
          Shape               Italic
@@ -146,15 +145,16 @@ End
 
 
 Style Author_Email
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             ead
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
-       LabelString           "Email: "
+       LabelSep              M
+       LabelString           "Email:"
        TextFont
          Family              Typewriter
        EndFont
@@ -166,16 +166,17 @@ End
 
 
 Style Author_URL
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             ead
        LatexParam            "[url]"
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
-       LabelString           "URL: "
+       LabelSep              M
+       LabelString           "URL:"
        TextFont
          Family              Typewriter
        EndFont
@@ -192,6 +193,7 @@ Style Thanks
        LatexType             Command
        LatexName             thanks
        InTitle               1
+       OptionalArgs          1
        Font
          Size                Small
          Family              Typewriter
@@ -214,9 +216,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
@@ -228,9 +229,9 @@ Style Abstract
 End
 
 
-# Theorem environments have been copied over from the amsmaths.inc file. It
-# could not be input as it does some stuff which is incompatible with the
-# Elsevier stlye: it redefines the theorem* environments in the preamble.
+# Theorem environments have been copied over from the theorem modules. They
+# could not be input as they do some stuff which is incompatible with the
+# Elsevier stlye: redefine the theorem* environments in the preamble.
 
 # The environments defined are :
 # - Theorem
@@ -251,8 +252,7 @@ End
 # - Acknowledgement
 # - Case
 
-Counter
-       Name                  theorem
+Counter theorem
 End
 
 
@@ -427,10 +427,12 @@ Style Acknowledgement
        LatexName             ack
        Labeltype             Top_Environment
        LabelBottomsep        1
-       LabelString           "Acknowledgement \arabic{theorem}"
+       LabelString           "Acknowledgements"
        parsep                0.3
        LabelFont
          Size                large
          Series              Bold
        EndFont
 End
+
+Input theorems-refprefix.inc