Hi! Attach 2 files -elsart.layout which I believe is an improved version of Herbert Voss' file. -elsmaths.inc (modified from amsmath.inc) to be used with elsart Please improve! Staffan ********************************* elsart.layout ***************************** #% Do not delete he line below; configure depends on this # \DeclareLaTeXClass{elsart} # Elsevier Article textclass definition file. Taken from article LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal André <[EMAIL PROTECTED]> # Heavily modifed and enhanced by serveral developers. # article -> elseart by Alain Castera <[EMAIL PROTECTED]> # amsart.layout file used for partial improvement of elsart by Staffan Ringbom # Input general definitions Input stdclass.inc # There are no chapters in an article. NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth 3 # Change a bit Part and Part* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End # begin modifications for elsart from article (A.C.) # small caption fonts Style Caption Font Size Small EndFont End #added ackowledgement but not stisfactory (watch the keepempty option) Style Acknowledgement CopyStyle Section* LatexType Command LatexName ack Margin Dynamic Align Block AlignPossible Block NextNoIndent 1 LabelType Static LabelString Acknowledgement KeepEmpty 1 End #added frontmatter. needs also a protected space and change environment depth # for title etc. by hand Style Frontmatter LatexType Environment LatexName frontmatter KeepEmpty 1 LabelType No_label End #redefined title stuff Style Title LatexType Command Font Series Bold Size Large EndFont End Style Author LatexType Command Font Size Large EndFont End Style Abstract LabelType Top_Environment NextNoIndent 1 End Style Address Margin Static LatexType Command LatexName address AlignPossible Center Align Center Font Shape Italic Size Small EndFont Preamble EndPreamble End ############### Sections. # First the standard numbered definitions Input stdsections.inc # Redefine some of the section styles. Style Section Align Left AlignPossible Block, Center, Left # standard font definition Font Series Bold Shape Upright Size large EndFont End # Subsection-numbered style definition Style Subsection # standard font definition Font Series Medium Shape Italic Size Normal EndFont End # Subsubsection-numbered style definition Style Subsubsection # standard font definition Font Series Medium Shape Italic Size Normal EndFont End # then define the unumbered sections, based on the numbered ones. Input stdstarsections.inc # remove the layouts that we do not need. NoStyle Chapter NoStyle Paragraph NoStyle Subparagraph NoStyle Chapter* #NoStyle Paragraph* #NoStyle Subparagraph* # Perharp's we should put this at the end of the file so it appears at the end # of the list box ?? Input elsmaths.inc Input stdlayouts.inc NoStyle Verse # Although mathematicians tend to be poets at times, # we don't need this. Input stdlists.inc ***************************** end elsart.layout *begin elsmath.inc* ****************************** # Original Author of amsmath.inc: David L. Johnson <[EMAIL PROTECTED]> # Probably broken by Jean-Marc Lasgouttes <[EMAIL PROTECTED]> # modified and modularized by Emmanuel GUREGHIAN <[EMAIL PROTECTED]> # This version has Theorems and other results numbered in one sequence, and all # numbered environments (figures as well) containing the section number. # (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc. # These are only the theorems styles environnements # A partial adaption of amsmath.inc -> elsmath.inc for the Elsevier layout file # by Staffan Ringbom # The environnements defined are : # - Theorem # - Corollary # - Lemma # - Claim # - Axiom # - Conjecture # - Fact # - Hypothesis # - Assumption # - Proposition # - Criterion # - Definition # - Example # - Remark # - Problem # - Principle # - Algorithm # - Note # - Summary # - Case # - Proof # Theorem-numbered style declaration Style Theorem Margin First_Dynamic LatexType Environment LatexName thm NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "Theorem #." # standard font definition Font Shape Italic Size Normal EndFont # label font definition LabelFont Shape Up Series Bold EndFont End # Corollary-numbered style declaration Style Corollary CopyStyle Theorem LatexName cor LabelString "Corollary #." End # Lemma-numbered style declaration Style Lemma CopyStyle Theorem LatexName lem LabelString "Lemma #." End # Claim-numbered style declaration Style Claim CopyStyle Theorem LatexName Claim LabelString "Claim #." End # Axiom-numbered style declaration Style Axiom CopyStyle Theorem LatexName axiom LabelString "Axiom #." End # Conjecture-numbered style declaration Style Conjecture CopyStyle Theorem LatexName conj LabelString "Conjecture #." End # Fact-numbered style declaration Style Fact CopyStyle Theorem LatexName fact LabelString "Fact #." End # Hypothesis-numbered style declaration Style Hypothesis CopyStyle Theorem LatexName hypo LabelString "Hypothesis #." End # Assumption-numbered style declaration Style Assumption CopyStyle Theorem LatexName assum LabelString "Assumption #." End # Proposition-numbered style declaration Style Proposition CopyStyle Theorem LatexName prop LabelString "Proposition #." End # Criterion-numbered style declaration Style Criterion CopyStyle Theorem LatexName crit LabelString "Criterion. #" End # Definition-numbered style declaration Style Definition CopyStyle Theorem LatexName defn LabelString "Definition #." End # Example-numbered style declaration Style Example CopyStyle Theorem LatexName exemp LabelString "Example #." End # Remark-numbered style declaration Style Remark CopyStyle Theorem LatexName rem LabelString "Remark #" End # Problem-numbered style declaration Style Problem CopyStyle Theorem LatexName prob LabelString "Problem #." End # Principle-numbered style declaration Style Principle CopyStyle Theorem LatexName prin LabelString "Principle #." End # NOT SURE IF THE FOLLOWING IS CORRECT, # THEREFORE COMMENTED OUT. # Algorithm-numbered style declaration #Style Algorithm # CopyStyle Theorem # LatexName alg # LabelString "Algortihm #." #End # Note-numbered style declaration Style Note CopyStyle Theorem LatexName note LabelString "Note #." End # Summary-numbered style declaration Style Summary CopyStyle Theorem LatexName summ LabelString "Summary #." End # Case-numbered style declaration Style Case CopyStyle Theorem LatexName case LabelString "Case #." End # Proof style declaration Style Proof Margin First_Dynamic LatexType Environment LatexName pf NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "PROOF. " # EndLabelType Box !!! SURPRISINGLY NOT IN elsart.cls # standard font definition Font Shape Up Size Normal EndFont # label font definition LabelFont Series Bold EndFont End #% Do not delete he line below; configure depends on this # \DeclareLaTeXClass{elsart} # Elsevier Article textclass definition file. Taken from article LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal André <[EMAIL PROTECTED]> # Heavily modifed and enhanced by serveral developers. # article -> elseart by Alain Castera <[EMAIL PROTECTED]> # amsart.layout file used for partial improvement of elsart by Staffan Ringbom # Input general definitions Input stdclass.inc # There are no chapters in an article. NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth 3 # Change a bit Part and Part* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End # begin modifications for elsart from article (A.C.) # small caption fonts Style Caption Font Size Small EndFont End #added ackowledgement but not stisfactory (watch the keepempty option) Style Acknowledgement CopyStyle Section* LatexType Command LatexName ack Margin Dynamic Align Block AlignPossible Block NextNoIndent 1 LabelType Static LabelString Acknowledgement KeepEmpty 1 End #added frontmatter. needs also a protected space and change environment depth # for title etc. by hand Style Frontmatter LatexType Environment LatexName frontmatter KeepEmpty 1 LabelType No_label End #redefined title stuff Style Title LatexType Command Font Series Bold Size Large EndFont End Style Author LatexType Command Font Size Large EndFont End Style Abstract LabelType Top_Environment NextNoIndent 1 End Style Address Margin Static LatexType Command LatexName address AlignPossible Center Align Center Font Shape Italic Size Small EndFont Preamble EndPreamble End ############### Sections. # First the standard numbered definitions Input stdsections.inc # Redefine some of the section styles. Style Section Align Left AlignPossible Block, Center, Left # standard font definition Font Series Bold Shape Upright Size large EndFont End # Subsection-numbered style definition Style Subsection # standard font definition Font Series Medium Shape Italic Size Normal EndFont End # Subsubsection-numbered style definition Style Subsubsection # standard font definition Font Series Medium Shape Italic Size Normal EndFont End # then define the unumbered sections, based on the numbered ones. Input stdstarsections.inc # remove the layouts that we do not need. NoStyle Chapter NoStyle Paragraph NoStyle Subparagraph NoStyle Chapter* #NoStyle Paragraph* #NoStyle Subparagraph* # Perharp's we should put this at the end of the file so it appears at the end # of the list box ?? Input elsmaths.inc Input stdlayouts.inc NoStyle Verse # Although mathematicians tend to be poets at times, # we don't need this. Input stdlists.inc # Original Author of amsmath.inc: David L. Johnson <[EMAIL PROTECTED]> # Probably broken by Jean-Marc Lasgouttes <[EMAIL PROTECTED]> # modified and modularized by Emmanuel GUREGHIAN <[EMAIL PROTECTED]> # This version has Theorems and other results numbered in one sequence, and all # numbered environments (figures as well) containing the section number. # (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc. # These are only the theorems styles environnements # A partial adaption of amsmath.inc -> elsmath.inc for the Elsevier layout file # by Staffan Ringbom # The environnements defined are : # - Theorem # - Corollary # - Lemma # - Claim # - Axiom # - Conjecture # - Fact # - Hypothesis # - Assumption # - Proposition # - Criterion # - Definition # - Example # - Remark # - Problem # - Principle # - Algorithm # - Note # - Summary # - Case # - Proof # Theorem-numbered style declaration Style Theorem Margin First_Dynamic LatexType Environment LatexName thm NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "Theorem #." # standard font definition Font Shape Italic Size Normal EndFont # label font definition LabelFont Shape Up Series Bold EndFont End # Corollary-numbered style declaration Style Corollary CopyStyle Theorem LatexName cor LabelString "Corollary #." End # Lemma-numbered style declaration Style Lemma CopyStyle Theorem LatexName lem LabelString "Lemma #." End # Claim-numbered style declaration Style Claim CopyStyle Theorem LatexName Claim LabelString "Claim #." End # Axiom-numbered style declaration Style Axiom CopyStyle Theorem LatexName axiom LabelString "Axiom #." End # Conjecture-numbered style declaration Style Conjecture CopyStyle Theorem LatexName conj LabelString "Conjecture #." End # Fact-numbered style declaration Style Fact CopyStyle Theorem LatexName fact LabelString "Fact #." End # Hypothesis-numbered style declaration Style Hypothesis CopyStyle Theorem LatexName hypo LabelString "Hypothesis #." End # Assumption-numbered style declaration Style Assumption CopyStyle Theorem LatexName assum LabelString "Assumption #." End # Proposition-numbered style declaration Style Proposition CopyStyle Theorem LatexName prop LabelString "Proposition #." End # Criterion-numbered style declaration Style Criterion CopyStyle Theorem LatexName crit LabelString "Criterion. #" End # Definition-numbered style declaration Style Definition CopyStyle Theorem LatexName defn LabelString "Definition #." End # Example-numbered style declaration Style Example CopyStyle Theorem LatexName exemp LabelString "Example #." End # Remark-numbered style declaration Style Remark CopyStyle Theorem LatexName rem LabelString "Remark #" End # Problem-numbered style declaration Style Problem CopyStyle Theorem LatexName prob LabelString "Problem #." End # Principle-numbered style declaration Style Principle CopyStyle Theorem LatexName prin LabelString "Principle #." End # NOT SURE IF THE FOLLOWING IS CORRECT, THEREFORE COMMENTED OUT. # Algorithm-numbered style declaration #Style Algorithm # CopyStyle Theorem # LatexName alg # LabelString "Algortihm #." #End # Note-numbered style declaration Style Note CopyStyle Theorem LatexName note LabelString "Note #." End # Summary-numbered style declaration Style Summary CopyStyle Theorem LatexName summ LabelString "Summary #." End # Case-numbered style declaration Style Case CopyStyle Theorem LatexName case LabelString "Case #." End # Proof style declaration Style Proof Margin First_Dynamic LatexType Environment LatexName pf NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "PROOF. " # EndLabelType Box !!! SURPRISINGLY NOT IN elsart.cls # standard font definition Font Shape Up Size Normal EndFont # label font definition LabelFont Series Bold EndFont End
#% Do not delete he line below; configure depends on this # \DeclareLaTeXClass{elsart} # Elsevier Article textclass definition file. Taken from article LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal André <[EMAIL PROTECTED]> # Heavily modifed and enhanced by serveral developers. # article -> elseart by Alain Castera <[EMAIL PROTECTED]> # amsart.layout file used for partial improvement of elsart by Staffan Ringbom # Input general definitions Input stdclass.inc # There are no chapters in an article. NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth 3 # Change a bit Part and Part* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End # begin modifications for elsart from article (A.C.) # small caption fonts Style Caption Font Size Small EndFont End #added ackowledgement but not stisfactory (watch the keepempty option) Style Acknowledgement CopyStyle Section* LatexType Command LatexName ack Margin Dynamic Align Block AlignPossible Block NextNoIndent 1 LabelType Static LabelString Acknowledgement KeepEmpty 1 End #added frontmatter. needs also a protected space and change environment depth # for title etc. by hand Style Frontmatter LatexType Environment LatexName frontmatter KeepEmpty 1 LabelType No_label End #redefined title stuff Style Title LatexType Command Font Series Bold Size Large EndFont End Style Author LatexType Command Font Size Large EndFont End Style Abstract LabelType Top_Environment NextNoIndent 1 End Style Address Margin Static LatexType Command LatexName address AlignPossible Center Align Center Font Shape Italic Size Small EndFont Preamble EndPreamble End ############### Sections. # First the standard numbered definitions Input stdsections.inc # Redefine some of the section styles. Style Section Align Left AlignPossible Block, Center, Left # standard font definition Font Series Bold Shape Upright Size large EndFont End # Subsection-numbered style definition Style Subsection # standard font definition Font Series Medium Shape Italic Size Normal EndFont End # Subsubsection-numbered style definition Style Subsubsection # standard font definition Font Series Medium Shape Italic Size Normal EndFont End # then define the unumbered sections, based on the numbered ones. Input stdstarsections.inc # remove the layouts that we do not need. NoStyle Chapter NoStyle Paragraph NoStyle Subparagraph NoStyle Chapter* #NoStyle Paragraph* #NoStyle Subparagraph* # Perharp's we should put this at the end of the file so it appears at the end # of the list box ?? Input elsmaths.inc Input stdlayouts.inc NoStyle Verse # Although mathematicians tend to be poets at times, # we don't need this. Input stdlists.inc
# Original Author of amsmath.inc: David L. Johnson <[EMAIL PROTECTED]> # Probably broken by Jean-Marc Lasgouttes <[EMAIL PROTECTED]> # modified and modularized by Emmanuel GUREGHIAN <[EMAIL PROTECTED]> # This version has Theorems and other results numbered in one sequence, and all # numbered environments (figures as well) containing the section number. # (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc. # These are only the theorems styles environnements # A partial adaption of amsmath.inc -> elsmath.inc for the Elsevier layout file # by Staffan Ringbom # The environnements defined are : # - Theorem # - Corollary # - Lemma # - Claim # - Axiom # - Conjecture # - Fact # - Hypothesis # - Assumption # - Proposition # - Criterion # - Definition # - Example # - Remark # - Problem # - Principle # - Algorithm # - Note # - Summary # - Case # - Proof # Theorem-numbered style declaration Style Theorem Margin First_Dynamic LatexType Environment LatexName thm NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "Theorem #." # standard font definition Font Shape Italic Size Normal EndFont # label font definition LabelFont Shape Up Series Bold EndFont End # Corollary-numbered style declaration Style Corollary CopyStyle Theorem LatexName cor LabelString "Corollary #." End # Lemma-numbered style declaration Style Lemma CopyStyle Theorem LatexName lem LabelString "Lemma #." End # Claim-numbered style declaration Style Claim CopyStyle Theorem LatexName Claim LabelString "Claim #." End # Axiom-numbered style declaration Style Axiom CopyStyle Theorem LatexName axiom LabelString "Axiom #." End # Conjecture-numbered style declaration Style Conjecture CopyStyle Theorem LatexName conj LabelString "Conjecture #." End # Fact-numbered style declaration Style Fact CopyStyle Theorem LatexName fact LabelString "Fact #." End # Hypothesis-numbered style declaration Style Hypothesis CopyStyle Theorem LatexName hypo LabelString "Hypothesis #." End # Assumption-numbered style declaration Style Assumption CopyStyle Theorem LatexName assum LabelString "Assumption #." End # Proposition-numbered style declaration Style Proposition CopyStyle Theorem LatexName prop LabelString "Proposition #." End # Criterion-numbered style declaration Style Criterion CopyStyle Theorem LatexName crit LabelString "Criterion. #" End # Definition-numbered style declaration Style Definition CopyStyle Theorem LatexName defn LabelString "Definition #." End # Example-numbered style declaration Style Example CopyStyle Theorem LatexName exemp LabelString "Example #." End # Remark-numbered style declaration Style Remark CopyStyle Theorem LatexName rem LabelString "Remark #" End # Problem-numbered style declaration Style Problem CopyStyle Theorem LatexName prob LabelString "Problem #." End # Principle-numbered style declaration Style Principle CopyStyle Theorem LatexName prin LabelString "Principle #." End # NOT SURE IF THE FOLLOWING IS CORRECT, # THEREFORE COMMENTED OUT. # Algorithm-numbered style declaration #Style Algorithm # CopyStyle Theorem # LatexName alg # LabelString "Algortihm #." #End # Note-numbered style declaration Style Note CopyStyle Theorem LatexName note LabelString "Note #." End # Summary-numbered style declaration Style Summary CopyStyle Theorem LatexName summ LabelString "Summary #." End # Case-numbered style declaration Style Case CopyStyle Theorem LatexName case LabelString "Case #." End # Proof style declaration Style Proof Margin First_Dynamic LatexType Environment LatexName pf NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "PROOF. " # EndLabelType Box !!! SURPRISINGLY NOT IN elsart.cls # standard font definition Font Shape Up Size Normal EndFont # label font definition LabelFont Series Bold EndFont End