]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ectaart.layout
Fix typos in comments
[lyx.git] / lib / layouts / ectaart.layout
index 0d6b2b28f00c7c92df3d9bd3646303921ea2021c..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 28
+Format 98
 Input article.layout
 
 TitleLatexType         Environment
@@ -15,7 +16,10 @@ End
 Style Title
        Margin          Manual
        LeftMargin      -MMMMMMMM
-       Align           Left
+       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,19 +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
+       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
@@ -82,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
@@ -103,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
@@ -110,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
@@ -127,7 +167,7 @@ Style Thanks_Text
        LatexType       Command
        LatexName       lyxthankstext
        NeedProtect     1
-       LabelType       Counter
+       LabelType       Static
        LabelCounter    Thanks
        LabelString     "Thanks \theThanks:"
         Preamble
@@ -135,68 +175,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
+       BgColor         foreground
 End
 
-InsetLayout Author
-       CopyStyle       Thanks_Reference
+InsetLayout Flex:Author
+       CopyStyle       Flex:Thanks_Reference
        LatexName       author
        LabelString     "Author"
+       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 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         textlabel1
 End
 
 Counter Thanks
+       GuiName "Footnote (Title)"
 End