X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fectaart.layout;h=a6ed31994c1ce537640586cb15599b79bf0987ea;hb=2841a1c06315edb7dd3a264746c093ee4c1a7c9f;hp=5b7657f949e0e62703682b1d0c929e6149e8357d;hpb=80759f71097cc45e878a4ebadfde94f4cb0d4aab;p=lyx.git diff --git a/lib/layouts/ectaart.layout b/lib/layouts/ectaart.layout index 5b7657f949..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 28 +Format 100 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,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