]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ectaart.layout
Fix typos in comments
[lyx.git] / lib / layouts / ectaart.layout
index 9d7bc46d1f696de291a3be58879d63a778c17bb4..c2e96cf8747a3b355ac016346ed199be54a7c8d9 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 29
+Format 98
 Input article.layout
 
 TitleLatexType         Environment
@@ -16,6 +17,9 @@ Style Title
        Margin          Manual
        LeftMargin      -MMMMMMMM
        Align           Center
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 Style RunTitle
@@ -28,8 +32,11 @@ Style RunTitle
        LabelString     "Running Title:"
        LabelSep        M
        LabelFont
-         Color         Red
+         Color         textlabel3
        EndFont
+       DocBookTag            titleabbrev
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 Style RunAuthor
@@ -37,6 +44,9 @@ Style RunAuthor
        LatexType       Command
        LatexName       runauthor
        LabelString     "Running Author:"
+       DocBookTag            authorinitials
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 Style Abstract
@@ -57,20 +67,33 @@ Style Abstract
          Size                  Normal
          Series                Medium
        EndFont
+       DocBookAbstract       true
+       DocBookInInfo         always
+       DocBookWrapperTag     abstract
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 Style Address
        CopyStyle       RunTitle
        LatexName       address
-       OptionalArgs    1
+       Argument 1
+               LabelString   "Address Option"
+               Tooltip       "Optional argument for the address"
+       EndArgument
        LabelString     "Address:"
+       DocBookInInfo         always
+       DocBookTag            address
 End
 
 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
@@ -83,20 +106,26 @@ Style Email
          Family        Roman
          Series        Medium
          Size          Normal
-         Color         Blue
+         Color         textlabel1
        EndFont
-        Preamble
+       Preamble
                \def\lyxead[#1]#2{\ead[label=#1]{#2}}
-        EndPreamble
+       EndPreamble
+       DocBookTag            email
+       DocBookWrapperTag     address
+       DocBookInInfo         always
 End
 
 Style Web_Address
        CopyStyle       Email
        LatexName       lyxeadurl
        LabelString     "Web address:"
-        Preamble
+       Preamble
                \def\lyxeadurl[#1]#2{\ead[label=#1,url]{#2}}
-        EndPreamble
+       EndPreamble
+       DocBookTag            uri
+       DocBookWrapperTag     address
+       DocBookInInfo         always
 End
 
 Style Author
@@ -104,6 +133,11 @@ Style Author
        LatexName       author
        NewLine         0
        InTitle         1
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 Style Authors_Block
@@ -111,6 +145,11 @@ Style Authors_Block
        LatexType       Environment
        LatexName       aug
        LabelString     "Authors Block:"
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 Style Keyword
@@ -128,7 +167,7 @@ Style Thanks_Text
        LatexType       Command
        LatexName       lyxthankstext
        NeedProtect     1
-       LabelType       Counter
+       LabelType       Static
        LabelCounter    Thanks
        LabelString     "Thanks \theThanks:"
         Preamble
@@ -149,64 +188,66 @@ 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
+       BgColor         foreground
 End
 
-InsetLayout Author
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Author
+       CopyStyle       Flex:Thanks_Reference
        LatexName       author
        LabelString     "Author"
-       BgColor         green
+       BgColor         textlabel2
 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
+       BgColor         textlabel1
 End
 
 Counter Thanks
+       GuiName "Footnote (Title)"
 End