]> 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 3ffa894dbd0b323232e4ee69dddbc0ef97c26cfd..af1a0d24741a631a7250745e21e0661f88492de3 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[elsart,amssymb.sty]{article (Elsevier, obsolete version)}
+#  \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 22
+Format 45
 Columns                 1
 Sides                   2
 PageStyle               headings
@@ -45,6 +46,7 @@ End
 
 
 Style Standard
+       Category              MainText
        LatexName             dummy
        LatexType             Paragraph
        Margin                Static
@@ -89,6 +91,7 @@ Input stdcounters.inc
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -110,6 +113,7 @@ End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -121,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
@@ -129,7 +136,7 @@ End
 
 
 Style Author_Address
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        LatexName             address
@@ -137,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
@@ -145,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
@@ -165,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
@@ -191,7 +203,10 @@ Style Thanks
        LatexType             Command
        LatexName             thanks
        InTitle               1
-       OptionalArgs          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,7 +242,7 @@ Style Abstract
 End
 
 
-# Theorem environments have been copied over from the theorem modules. They
+# 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.
 
@@ -255,6 +270,7 @@ End
 
 
 Style Theorem
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             thm
@@ -268,7 +284,7 @@ Style Theorem
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          theorem
        LabelString           "Theorem \arabic{theorem}"
        Font
@@ -284,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.
@@ -423,7 +440,7 @@ Style Acknowledgement
        Margin                Static
        LatexType             environment
        LatexName             ack
-       Labeltype             Top_Environment
+       LabelType             Above
        LabelBottomsep        1
        LabelString           "Acknowledgements"
        parsep                0.3
@@ -432,3 +449,5 @@ Style Acknowledgement
          Series              Bold
        EndFont
 End
+
+Input theorems-refprefix.inc