]> 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 af9fb817d39e3e71ca19f8f3c14697170ad46543..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
@@ -22,7 +23,7 @@
 #       numbered sections, as does the class file.
 
 
-Format 7
+Format 45
 Columns                 1
 Sides                   2
 PageStyle               headings
@@ -36,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
@@ -91,6 +91,7 @@ Input stdcounters.inc
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -107,10 +108,12 @@ Style Title
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -122,7 +125,10 @@ Style Author
        ItemSep               0
        ParSep                0
        Align                 Center
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Author Option"
+               Tooltip       "Optional argument for the author"
+       EndArgument
        Font
          Series              Bold
        EndFont
@@ -130,7 +136,7 @@ End
 
 
 Style Author_Address
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        LatexName             address
@@ -138,7 +144,10 @@ Style Author_Address
        Labeltype             Static
        LabelSep              M
        LabelString           "Address:"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Address Option"
+               Tooltip       "Optional argument for the address"
+       EndArgument
        LabelFont
          Shape               Italic
        EndFont
@@ -146,10 +155,11 @@ End
 
 
 Style Author_Email
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             ead
        Align                 Center
        Labeltype             Static
@@ -166,10 +176,11 @@ End
 
 
 Style Author_URL
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             ead
        LatexParam            "[url]"
        Align                 Center
@@ -192,6 +203,10 @@ Style Thanks
        LatexType             Command
        LatexName             thanks
        InTitle               1
+       Argument 1
+               LabelString   "Thanks Option"
+               Tooltip       "Optional argument for the thanks statement"
+       EndArgument
        Font
          Size                Small
          Family              Typewriter
@@ -214,7 +229,7 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Abstract"
        LabelBottomSep        0.5
        Font
@@ -227,9 +242,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.
+# 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
@@ -250,12 +265,12 @@ End
 # - Acknowledgement
 # - Case
 
-Counter
-       Name                  theorem
+Counter theorem
 End
 
 
 Style Theorem
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             thm
@@ -269,7 +284,7 @@ Style Theorem
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          theorem
        LabelString           "Theorem \arabic{theorem}"
        Font
@@ -285,6 +300,7 @@ 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.
@@ -424,7 +440,7 @@ Style Acknowledgement
        Margin                Static
        LatexType             environment
        LatexName             ack
-       Labeltype             Top_Environment
+       LabelType             Above
        LabelBottomsep        1
        LabelString           "Acknowledgements"
        parsep                0.3
@@ -433,3 +449,5 @@ Style Acknowledgement
          Series              Bold
        EndFont
 End
+
+Input theorems-refprefix.inc