]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ectaart.layout
Safe line break to increase precision of error reporting in Listings caption
[lyx.git] / lib / layouts / ectaart.layout
index 5b7657f949e0e62703682b1d0c929e6149e8357d..2d8b2dc4bbc5e209b41f41af5f8e21349236a127 100644 (file)
@@ -1,8 +1,9 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ectaart]{article (Econometrica)}
+#  \DeclareLaTeXClass[ectaart]{Econometrica}
+#  \DeclareCategory{Articles}
 # Author : Koji Yokota <yok...@res.otaru-uc.ac.jp>
 
-Format 28
+Format 62
 Input article.layout
 
 TitleLatexType         Environment
@@ -15,7 +16,7 @@ End
 Style Title
        Margin          Manual
        LeftMargin      -MMMMMMMM
-       Align           Left
+       Align           Center
 End
 
 Style RunTitle
@@ -62,7 +63,10 @@ End
 Style Address
        CopyStyle       RunTitle
        LatexName       address
-       OptionalArgs    1
+       Argument 1
+               LabelString   "Address Option"
+               Tooltip       "Optional argument for the address"
+       EndArgument
        LabelString     "Address:"
 End
 
@@ -70,7 +74,10 @@ Style Email
        Category        FrontMatter
        LatexType       Command
        LatexName       lyxead
-       OptionalArgs    1
+       Argument 1
+               LabelString   "E-Mail Option"
+               Tooltip       "Optional argument for the e-mail"
+       EndArgument
        InTitle         1
        Margin          First_Dynamic
        LabelType       Static
@@ -128,7 +135,7 @@ Style Thanks_Text
        LatexType       Command
        LatexName       lyxthankstext
        NeedProtect     1
-       LabelType       Counter
+       LabelType       Static
        LabelCounter    Thanks
        LabelString     "Thanks \theThanks:"
         Preamble
@@ -149,60 +156,61 @@ Style Emphasize
        EndPreamble
 End
 
-InsetLayout Thanks_Reference
+InsetLayout Flex:Thanks_Reference
        LyxType         custom
        LatexType       Command
        LatexName       thanksref
+       MultiPar        0
        CustomPars      0
        Decoration      Classic
        LabelString     "Thanks Ref"
        ForcePlain      1
-       MultiPar        0
        BgColor         background
+       ResetsFont true
 End
 
-InsetLayout Internet_Address_Reference
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Internet_Address_Reference
+       CopyStyle       Flex:Thanks_Reference
        LatexName       printead
        LabelString     "Internet Addess Ref"
 End
 
-InsetLayout Corresponding_Author
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Corresponding_Author
+       CopyStyle       Flex:Thanks_Reference
        LatexName       corref
        LabelString     "Corresponding Author"
        BgColor         black
 End
 
-InsetLayout Author
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Author
+       CopyStyle       Flex:Thanks_Reference
        LatexName       author
        LabelString     "Author"
        BgColor         green
 End
 
-InsetLayout Name_(First_Name)
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Name_(First_Name)
+       CopyStyle       Flex:Thanks_Reference
        LatexName       fnms
        LabelString     "First Name"
        BgColor         background
 End
 
-InsetLayout Name_(Surname)
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Name_(Surname)
+       CopyStyle       Flex:Thanks_Reference
        LatexName       snm
        LabelString     "Surname"
        BgColor         background
 End
 
-InsetLayout Keyword
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Keyword
+       CopyStyle       Flex:Thanks_Reference
        LatexName       kwd
        LabelString     "Keyword"
 End
 
-InsetLayout By_Same_Author_(bib)
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:By_Same_Author_(bib)
+       CopyStyle       Flex:Thanks_Reference
        LatexName       bysame
        LabelString     "bysame"
        BgColor         blue