]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsart.layout
Support for beamer \frametitle
[lyx.git] / lib / layouts / elsart.layout
index d1025b6f0506204bdcebfb0b29e8c6adb8c53e34..ab7aae15f87839876d9333d8efa669a23b6184e4 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 6
+Format 42
 Columns                 1
 Sides                   2
 PageStyle               headings
@@ -36,13 +37,11 @@ End
 TitleLatexType Environment
 TitleLatexName frontmatter
 
-Counter
-       Name                  summ
+Counter summ
 End
 
 
-Counter
-       Name                  case
+Counter case
 End
 
 
@@ -107,6 +106,7 @@ Style Title
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -122,7 +122,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 +133,7 @@ End
 
 
 Style Author_Address
-       Margin                Static
+       Margin                Dynamic
        LatexType             Command
        InTitle               1
        LatexName             address
@@ -138,7 +141,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 +152,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 +173,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 +200,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
@@ -227,9 +239,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.
+# 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
@@ -250,8 +262,7 @@ End
 # - Acknowledgement
 # - Case
 
-Counter
-       Name                  theorem
+Counter theorem
 End
 
 
@@ -433,3 +444,5 @@ Style Acknowledgement
          Series              Bold
        EndFont
 End
+
+Input theorems-refprefix.inc