]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsart.layout
RJournal: use 'classic' decoration for email inset
[lyx.git] / lib / layouts / elsart.layout
index 9442a644d9542ff0f565cef01bb3717cc480d9d0..af1a0d24741a631a7250745e21e0661f88492de3 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[elsart,amssymb.sty]{article (elsevier)}
+#  \DeclareLaTeXClass[elsart,amssymb.sty,latexsym.sty]{Elsevier (Obsolete Version)}
+#  \DeclareCategory{Articles}
 # 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 45
 Columns                 1
 Sides                   2
 PageStyle               headings
@@ -35,17 +37,16 @@ End
 TitleLatexType Environment
 TitleLatexName frontmatter
 
-Counter
-       Name                  summ
+Counter summ
 End
 
 
-Counter
-       Name                  case
+Counter case
 End
 
 
 Style Standard
+       Category              MainText
        LatexName             dummy
        LatexType             Paragraph
        Margin                Static
@@ -57,10 +58,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 +74,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
@@ -90,6 +91,7 @@ Input stdcounters.inc
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -101,15 +103,17 @@ Style Title
        ParSep                0.7
        Align                 Center
        LabelType             No_Label
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -121,22 +125,29 @@ Style Author
        ItemSep               0
        ParSep                0
        Align                 Center
-       AlignPossible         Center
-       Font 
+       Argument 1
+               LabelString   "Author Option"
+               Tooltip       "Optional argument for the author"
+       EndArgument
+       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:"
+       Argument 1
+               LabelString   "Address Option"
+               Tooltip       "Optional argument for the address"
+       EndArgument
        LabelFont
          Shape               Italic
        EndFont
@@ -144,15 +155,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 +176,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 +201,21 @@ End
 Style Thanks
        Margin                Static
        LatexType             Command
-       LatexName             thanks          
+       LatexName             thanks
        InTitle               1
-       Font  
+       Argument 1
+               LabelString   "Thanks Option"
+               Tooltip       "Optional argument for the thanks statement"
+       EndArgument
+       Font
          Size                Small
          Family              Typewriter
          Shape               Italic
-       EndFont       
+       EndFont
 End
 
 
-Style Abstract 
+Style Abstract
        Margin                Static
        LatexType             Environment
        LatexName             abstract
@@ -212,23 +229,22 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       AlignPossible         Block
-       LabelType             Centered_Top_Environment
-       LabelString           Abstract
+       LabelType             Centered
+       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.
+# Reasoning 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,18 +265,18 @@ End
 # - Acknowledgement
 # - Case
 
-Counter
-       Name                  theorem
+Counter theorem
 End
 
 
 Style Theorem
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             thm
        NextNoIndent          1
        LabelSep              xx
-       ParIndent             MMM  
+       ParIndent             MMM
        ParSkip               0.4
        ItemSep               0.2
        TopSep                0.7
@@ -268,8 +284,8 @@ Style Theorem
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter
-       LabelCounter          theorem  
+       LabelType             Static
+       LabelCounter          theorem
        LabelString           "Theorem \arabic{theorem}"
        Font
          Shape               Italic
@@ -279,11 +295,12 @@ Style Theorem
          Shape               Up
          Series              Bold
        EndFont
-End  
+End
 
 
 # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu)
 Style Proof
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        # elsart defines the unusual environment pf for proofs.
@@ -321,28 +338,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 +373,7 @@ Style Definition
          Shape               Up
          Series              Bold
        EndFont
-End  
+End
 
 
 Style Conjecture
@@ -370,35 +387,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 +423,7 @@ Style Summary
        LatexName             summ
        LabelCounter          summ
        LabelString           "Summary \arabic{summ}"
-End  
+End
 
 
 Style Case
@@ -414,7 +431,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
@@ -423,12 +440,14 @@ Style Acknowledgement
        Margin                Static
        LatexType             environment
        LatexName             ack
-       Labeltype             Top_Environment
+       LabelType             Above
        LabelBottomsep        1
-       LabelString           "Acknowledgement \arabic{theorem}"
+       LabelString           "Acknowledgements"
        parsep                0.3
        LabelFont
          Size                large
          Series              Bold
        EndFont
 End
+
+Input theorems-refprefix.inc