X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fectaart.layout;h=a6ed31994c1ce537640586cb15599b79bf0987ea;hb=2841a1c06315edb7dd3a264746c093ee4c1a7c9f;hp=f46ae1de01eb25a2a58e6ff8afeeb4c57861f42f;hpb=8ba08a53b2ac7039126a0b90fce5d19374c781ea;p=lyx.git diff --git a/lib/layouts/ectaart.layout b/lib/layouts/ectaart.layout index f46ae1de01..a6ed31994c 100644 --- a/lib/layouts/ectaart.layout +++ b/lib/layouts/ectaart.layout @@ -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 -Format 36 +Format 100 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 @@ -159,6 +198,7 @@ InsetLayout Flex:Thanks_Reference LabelString "Thanks Ref" ForcePlain 1 BgColor background + ResetsFont true End InsetLayout Flex:Internet_Address_Reference @@ -171,14 +211,14 @@ InsetLayout Flex:Corresponding_Author CopyStyle Flex:Thanks_Reference LatexName corref LabelString "Corresponding Author" - BgColor black + BgColor foreground End InsetLayout Flex:Author CopyStyle Flex:Thanks_Reference LatexName author LabelString "Author" - BgColor green + BgColor textlabel2 End InsetLayout Flex:Name_(First_Name) @@ -205,8 +245,9 @@ 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