]> git.lyx.org Git - features.git/blobdiff - lib/layouts/ectaart.layout
Update layouts
[features.git] / lib / layouts / ectaart.layout
index 0d6b2b28f00c7c92df3d9bd3646303921ea2021c..4cee35cb7a7995ff6f84cb147e22715bfb449a68 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 82
 Input article.layout
 
 TitleLatexType         Environment
@@ -15,7 +16,7 @@ End
 Style Title
        Margin          Manual
        LeftMargin      -MMMMMMMM
-       Align           Left
+       Align           Center
 End
 
 Style RunTitle
@@ -62,6 +63,10 @@ End
 Style Address
        CopyStyle       RunTitle
        LatexName       address
+       Argument 1
+               LabelString   "Address Option"
+               Tooltip       "Optional argument for the address"
+       EndArgument
        LabelString     "Address:"
 End
 
@@ -69,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
@@ -127,7 +135,7 @@ Style Thanks_Text
        LatexType       Command
        LatexName       lyxthankstext
        NeedProtect     1
-       LabelType       Counter
+       LabelType       Static
        LabelCounter    Thanks
        LabelString     "Thanks \theThanks:"
         Preamble
@@ -135,68 +143,79 @@ Style Thanks_Text
         EndPreamble
 End
 
-InsetLayout Thanks_Reference
+Style Emphasize
+       CopyStyle       Standard
+       LatexType       Environment
+       LatexName       lyxem
+       TopSep          1
+       Font
+         Shape         Italic
+       EndFont
+       Preamble
+               \newenvironment{lyxem}{\par\begin{em}}{\end{em}\par}
+       EndPreamble
+End
+
+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 Email
-       CopyStyle       Thanks_Reference
-       LatexName       printead
-       LabelString     "Email"
-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         black
+       BgColor         blue
 End
 
 Counter Thanks
+       GuiName "Footnote (Title)"
 End