]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsart.layout
listerrors.lyx : Update a link.
[lyx.git] / lib / layouts / elsart.layout
index 5ebc9ad6350af861601ba4a53f8061a897720653..0dc7270a175835f22b7d5c0f512470ea037f30f1 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 (obsolete Elsevier 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,7 +22,7 @@
 #       numbered sections, as does the class file.
 
 
-Format 4
+Format 36
 Columns                 1
 Sides                   2
 PageStyle               headings
@@ -36,13 +36,11 @@ End
 TitleLatexType Environment
 TitleLatexName frontmatter
 
-Counter
-       Name                  summ
+Counter summ
 End
 
 
-Counter
-       Name                  case
+Counter case
 End
 
 
@@ -80,6 +78,7 @@ Style Keywords
 End
 
 
+Input stdinsets.inc
 Input stdsections.inc
 Input stdstarsections.inc
 Input stdlists.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,12 +129,11 @@ End
 
 
 Style Author_Address
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        LatexName             address
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
        LabelSep              M
        LabelString           "Address:"
@@ -147,13 +145,13 @@ End
 
 
 Style Author_Email
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             ead
        Align                 Center
-       AlignPossible         Center
        Labeltype             Static
        LabelSep              M
        LabelString           "Email:"
@@ -168,14 +166,14 @@ 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
        LabelSep              M
        LabelString           "URL:"
@@ -195,6 +193,7 @@ Style Thanks
        LatexType             Command
        LatexName             thanks
        InTitle               1
+       OptionalArgs          1
        Font
          Size                Small
          Family              Typewriter
@@ -217,7 +216,6 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        LabelType             Centered_Top_Environment
        LabelString           "Abstract"
        LabelBottomSep        0.5
@@ -231,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
@@ -254,8 +252,7 @@ End
 # - Acknowledgement
 # - Case
 
-Counter
-       Name                  theorem
+Counter theorem
 End
 
 
@@ -437,3 +434,5 @@ Style Acknowledgement
          Series              Bold
        EndFont
 End
+
+Input theorems-refprefix.inc