]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsarticle.layout
use LatexParam where appropriate
[lyx.git] / lib / layouts / elsarticle.layout
index 0b1ca9a5a1019422da06d89f397dd9ef829bb00f..f3360c4d0d1f674fd794698fd222d95664929702 100644 (file)
@@ -4,7 +4,7 @@
 # elsarticle textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 40
+Format 41
 
 Columns                        1
 Sides                  1
@@ -84,7 +84,7 @@ Style Title
        LatexName               title
        Category                FrontMatter
        InTitle                 0
-       OptionalArgs            0
+       ResetArgs               1
        ParSkip                 0.4
        ItemSep                 0
        TopSep                  0
@@ -127,7 +127,10 @@ Style "Title footnote"
        LatexName               tnotetext
        Category                FrontMatter
        InTitle                 0
-       OptionalArgs            1
+       Argument 1
+         LabelString           "Footnote Label"
+         Tooltip               "Label you refer to in the title"
+       EndArgument
        ParSkip                 0.4
        BottomSep               0.5
        Align                   Left
@@ -146,7 +149,10 @@ Style Author
        LatexType               Command
        Category                FrontMatter
        InTitle                 0
-       OptionalArgs            1
+       Argument 1
+         LabelString           "Author Label"
+         Tooltip               "Label you will reference in the address"
+       EndArgument
        LatexName               author
        LabelSep                xxx
        ParSkip                 0.4
@@ -187,6 +193,10 @@ Style "Author footnote"
        CopyStyle               "Title footnote"
        LatexName               fntext
        LabelString             "Author footnote:"
+       Argument 1
+         LabelString           "Author Footnote Label"
+         Tooltip               "Label you refer to for an author"
+       EndArgument
 End
 
 
@@ -213,7 +223,7 @@ End
 
 
 Style "Corresponding author"
-       CopyStyle               "Title footnote"
+       CopyStyle               "Author footnote"
        LatexName               cortext
        LabelString             "Corresponding author text:"
 End
@@ -225,7 +235,10 @@ Style Address
        Category                FrontMatter
        LatexName               address
        InTitle                 0
-       OptionalArgs            1
+       Argument 1
+         LabelString           "Address Label"
+         Tooltip               "Label of the author you refer to"
+       EndArgument
        ParSkip                 0.4
        Align                   Center
        AlignPossible           Left, Right
@@ -240,6 +253,10 @@ Style Email
        CopyStyle               Address
        LatexName               ead
        AlignPossible           Block
+       Argument 1
+         LabelString           "Internet"
+         Tooltip               "if content is 'url', email becomes an Internet address"
+       EndArgument
        Font
          Shape                 Up
        EndFont