X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fectaart.layout;h=1eeef362e7418a115228f64b5922b2803bb7bf29;hb=2a72fa3a041ddb5061aef564ce779a5d01a7c216;hp=7b80d0ed612db56a818d24c79ab10e92dbe31ac7;hpb=2e02eb99c2a9984b9ba16624d2161526f632f07d;p=lyx.git diff --git a/lib/layouts/ectaart.layout b/lib/layouts/ectaart.layout index 7b80d0ed61..1eeef362e7 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 11 +Format 69 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,11 +74,14 @@ 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 - LabelString "E-mail: " + LabelString "E-mail:" LabelSep M Font Family Typewriter @@ -92,8 +100,7 @@ End Style Web_Address CopyStyle Email LatexName lyxeadurl - LabelString "Web address: " - LabelSep "" + LabelString "Web address:" Preamble \def\lyxeadurl[#1]#2{\ead[label=#1,url]{#2}} EndPreamble @@ -110,14 +117,14 @@ Style Authors_Block CopyStyle RunTitle LatexType Environment LatexName aug - LabelString "Authors Block: " + LabelString "Authors Block:" End Style Keyword CopyStyle Abstract LatexType Environment LatexName keyword - LabelString "Keywords: " + LabelString "Keywords:" LabelFont Shape SmallCaps EndFont @@ -128,75 +135,85 @@ Style Thanks_Text LatexType Command LatexName lyxthankstext NeedProtect 1 - LabelType Counter + LabelType Static LabelCounter Thanks - LabelString "Thanks \theThanks: " + LabelString "Thanks \theThanks:" Preamble \def\lyxthankstext[#1]#2{\thankstext{#1}{#2}} 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