]> 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 9442a644d9542ff0f565cef01bb3717cc480d9d0..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
 #       for use of BeginTitle/EndTitle
 # modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName
 # modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell
-# modified 2003-07-23 Rod Pinna - changes MaxCounter to Section, 
-#       rather than subsection. The Elsevier doc file allows for 
+# modified 2003-07-23 Rod Pinna - changes MaxCounter to Section,
+#       rather than subsection. The Elsevier doc file allows for
 #       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
 
 
@@ -57,10 +56,10 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-End                     
-                        
-                        
-Style Keywords          
+End
+
+
+Style Keywords
        LatexName             keyword
        LatexType             Environment
        Margin                Static
@@ -73,14 +72,14 @@ Style Keywords
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-       Font                  
+       Font
          Color               blue
        EndFont
 End
 
 
+Input stdinsets.inc
 Input stdsections.inc
-Input numarticle.inc
 Input stdstarsections.inc
 Input stdlists.inc
 Input stdstruct.inc
@@ -101,11 +100,12 @@ Style Title
        ParSep                0.7
        Align                 Center
        LabelType             No_Label
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -121,22 +121,23 @@ Style Author
        ItemSep               0
        ParSep                0
        Align                 Center
-       AlignPossible         Center
-       Font 
+       OptionalArgs          1
+       Font
          Series              Bold
        EndFont
 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
        EndFont
@@ -144,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
@@ -164,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
@@ -188,17 +191,18 @@ End
 Style Thanks
        Margin                Static
        LatexType             Command
-       LatexName             thanks          
+       LatexName             thanks
        InTitle               1
-       Font  
+       OptionalArgs          1
+       Font
          Size                Small
          Family              Typewriter
          Shape               Italic
-       EndFont       
+       EndFont
 End
 
 
-Style Abstract 
+Style Abstract
        Margin                Static
        LatexType             Environment
        LatexName             abstract
@@ -212,23 +216,22 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        LabelType             Centered_Top_Environment
-       LabelString           Abstract
+       LabelString           "Abstract"
        LabelBottomSep        0.5
-       Font 
+       Font
          Size                Small
        EndFont
-       LabelFont 
+       LabelFont
          Series              Bold
          Size                Large
        EndFont
-End 
+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
@@ -249,8 +252,7 @@ End
 # - Acknowledgement
 # - Case
 
-Counter
-       Name                  theorem
+Counter theorem
 End
 
 
@@ -260,7 +262,7 @@ Style Theorem
        LatexName             thm
        NextNoIndent          1
        LabelSep              xx
-       ParIndent             MMM  
+       ParIndent             MMM
        ParSkip               0.4
        ItemSep               0.2
        TopSep                0.7
@@ -269,7 +271,7 @@ Style Theorem
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Counter
-       LabelCounter          theorem  
+       LabelCounter          theorem
        LabelString           "Theorem \arabic{theorem}"
        Font
          Shape               Italic
@@ -279,7 +281,7 @@ Style Theorem
          Shape               Up
          Series              Bold
        EndFont
-End  
+End
 
 
 # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu)
@@ -321,28 +323,28 @@ Style Corollary
        CopyStyle             Theorem
        LatexName             cor
        LabelString           "Corollary \arabic{theorem}"
-End  
+End
 
 
 Style Proposition
        CopyStyle             Theorem
        LatexName             prop
        LabelString           "Proposition \arabic{theorem}"
-End  
+End
 
 
 Style Criterion
        CopyStyle             Theorem
        LatexName             crit
        LabelString           "Criterion \arabic{theorem}"
-End  
+End
 
 
 Style Algorithm
        CopyStyle             Theorem
        LatexName             alg
        LabelString           "Algorithm \arabic{theorem}"
-End  
+End
 
 
 Style Definition
@@ -356,7 +358,7 @@ Style Definition
          Shape               Up
          Series              Bold
        EndFont
-End  
+End
 
 
 Style Conjecture
@@ -370,35 +372,35 @@ Style Example
        CopyStyle             Theorem
        LatexName             exmp
        LabelString           "Example \arabic{theorem}"
-End  
+End
 
 
 Style Problem
        CopyStyle             Theorem
        LatexName             prob
        LabelString           "Problem \arabic{theorem}"
-End  
+End
 
 
 Style Remark
        CopyStyle             Theorem
        LatexName             rem
        LabelString           "Remark \arabic{theorem}"
-End  
+End
 
 
 Style Note
        CopyStyle             Theorem
        LatexName             note
        LabelString           "Note \arabic{theorem}"
-End  
+End
 
 
 Style Claim
        CopyStyle             Theorem
        LatexName             claim
        LabelString           "Claim \arabic{theorem}"
-End  
+End
 
 
 Style Summary
@@ -406,7 +408,7 @@ Style Summary
        LatexName             summ
        LabelCounter          summ
        LabelString           "Summary \arabic{summ}"
-End  
+End
 
 
 Style Case
@@ -414,7 +416,7 @@ Style Case
        LatexName             case
        LabelCounter          case
        LabelString           "Case \arabic{case}"
-End  
+End
 
 
 # This is not taken from the AMS defs, so as to match the output of the
@@ -425,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