Dear list, The attached patch is the layout support for ectaart.cls, the class file for Econometrica journal published by Econometric Society, which is one of the leading journals in the field of statistics and economics.
The class file can be found at: http://www.e-publications.org/ecta/support/ If it looks fine, could you include it in the forthcoming 2.0? Regards, Koji Yokota http://www.lyx.org/trac/ticket/6761
diff -ur --unidirectional-new-file lib.orig/Makefile.am lib/Makefile.am --- lib.orig/Makefile.am 2010-09-22 00:16:27.000000000 +0900 +++ lib/Makefile.am 2010-09-22 00:20:23.000000000 +0900 @@ -1064,6 +1064,7 @@ layouts/docbook.layout \ layouts/doublecol-new.layout \ layouts/dtk.layout \ + layouts/ectaart.layout \ layouts/egs.layout \ layouts/elsart.layout \ layouts/elsarticle.layout \ @@ -1227,6 +1228,7 @@ templates/de_beamer-conference-ornate-20min.lyx \ templates/dinbrief.lyx \ templates/docbook_article.lyx \ + templates/ectaart.lyx \ templates/elsarticle.lyx \ templates/es_beamer-conference-ornate-20min.lyx \ templates/fr_beamer-conference-ornate-20min.lyx \ diff -ur --unidirectional-new-file lib.orig/doc/LaTeXConfig.lyx lib/doc/LaTeXConfig.lyx --- lib.orig/doc/LaTeXConfig.lyx 2010-09-22 00:16:25.000000000 +0900 +++ lib/doc/LaTeXConfig.lyx 2010-09-22 01:34:58.000000000 +0900 @@ -1580,6 +1580,57 @@ \end_layout \begin_layout Subsection +ectaart (Econometrica) +\end_layout + +\begin_layout Description +Found: +\begin_inset Info +type "textclass" +arg "ectaart" +\end_inset + + +\end_layout + +\begin_layout Description +CTAN: +\family typewriter +N/A +\end_layout + +\begin_layout Description +WWW: +\family typewriter + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.e-publications.org/ecta/support/ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Notes: The document class +\family sans +ectaart +\family default + can be used for the submissions for the Econometrica journal by the Econometric + Society. + Start working with the template +\family sans +ectaart.lyx +\family default +. +\end_layout + +\begin_layout Subsection egs (European Geophysical Society journals) \end_layout diff -ur --unidirectional-new-file lib.orig/doc/ja/LaTeXConfig.lyx lib/doc/ja/LaTeXConfig.lyx --- lib.orig/doc/ja/LaTeXConfig.lyx 2010-09-22 00:16:19.000000000 +0900 +++ lib/doc/ja/LaTeXConfig.lyx 2010-09-22 00:29:49.000000000 +0900 @@ -1,21 +1,28 @@ -#LyX 1.6.5 created this file. For more info see http://www.lyx.org/ -\lyxformat 345 +#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 400 \begin_document \begin_header \textclass article \use_default_options false +\maintain_unincluded_children false \language japanese \inputencoding auto +\fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default +\use_xetex false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default \paperfontsize default \spacing single \use_hyperref false @@ -23,21 +30,29 @@ \use_geometry false \use_amsmath 0 \use_esint 0 +\use_mhchem 1 +\use_mathdots 1 \cite_engine basic \use_bibtopic false +\use_indices false \paperorientation portrait +\suppress_date false +\index 索引 +\shortcut idx +\color #008000 +\end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent -\defskip medskip +\paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle plain \tracking_changes false \output_changes false -\author "" -\author "" +\html_math_output 0 +\html_be_strict false \end_header \begin_body @@ -1359,6 +1374,55 @@ \end_layout \begin_layout Subsection +ectaart (Econometrica) +\end_layout + +\begin_layout Description +Found: +\begin_inset Info +type "textclass" +arg "ectaart" +\end_inset + + +\end_layout + +\begin_layout Description +CTAN: +\family typewriter +N/A +\end_layout + +\begin_layout Description +WWW: +\family typewriter + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.e-publications.org/ecta/support/ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Notes: 文書クラス +\family sans +ectaart +\family default +は、計量経済学会発行の学術誌Econometricaへの投稿用に使用することができます。新規文書作成に当たっては、ひな形 +\family sans +ectaart.lyx +\family default +を使ってください。 +\end_layout + +\begin_layout Subsection egs(欧州地球物理学会の各学術誌) \end_layout diff -ur --unidirectional-new-file lib.orig/layouts/ectaart.layout lib/layouts/ectaart.layout --- lib.orig/layouts/ectaart.layout 1970-01-01 09:00:00.000000000 +0900 +++ lib/layouts/ectaart.layout 2010-08-11 18:17:22.000000000 +0900 @@ -0,0 +1,192 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{article (Econometrica)} +# Author : Koji Yokota <yok...@res.otaru-uc.ac.jp> + +Format 11 +Input article.layout + +#Requires natbib + +TitleLatexType Environment +TitleLatexName frontmatter + +ClassOptions + Other draft +End + +Style Title + Margin Manual + LeftMargin -MMMMMMMM + Align Left +End + +Style RunTitle + Category FrontMatter + LatexType Command + LatexName runtitle + InTitle 1 + Margin Dynamic + LabelType Static + LabelString "Running Title:" + LabelSep M + LabelFont + Color Red + EndFont +End + +Style RunAuthor + CopyStyle RunTitle + LatexType Command + LatexName runauthor + LabelString "Running Author:" +End + +Style Abstract + InTitle 1 +End + +Style Address + CopyStyle RunTitle + LatexName address + LabelString "Address:" +End + +Style Email + Category FrontMatter + LatexType Command + LatexName lyxead + OptionalArgs 1 + InTitle 1 + Margin First_Dynamic + LabelType Static + LabelString "E-mail (Add label via Short Title):" + LabelSep M + Font + Family Typewriter + EndFont + LabelFont + Family Roman + Series Medium + Size Normal + Color Blue + EndFont + Preamble + \def\lyxead[#1]#2{\ead[label=#1]{#2}} + EndPreamble +End + +Style Web_Address + CopyStyle Email + LatexName lyxeadurl + LabelString "Web (Add label via Short Title): http://" + LabelSep "" + Preamble + \def\lyxeadurl[#1]#2{\ead[label=#1,url]{#2}} + EndPreamble +End + +Style Author + LatexType Command + LatexName author + NewLine 0 + InTitle 1 +End + +Style Authors_Block + CopyStyle RunTitle + LatexType Environment + LatexName aug + LabelString "Authors Block:" +End + +Style Keyword + CopyStyle Email + LatexType Environment + LatexName keyword + LabelString "Key words and phrases:" + Font + Family Roman + EndFont + LabelFont + Color Blue + EndFont +End + +Style Thanks_Text + CopyStyle Keyword + LatexType Command + LatexName lyxthankstext + NeedProtect 1 + LabelType Counter + LabelCounter Thanks + LabelString "Thanks \theThanks (Add label via Short Title):" + Preamble + \def\lyxthankstext[#1]#2{\thankstext{#1}{#2}} + EndPreamble +End + +InsetLayout Thanks_Reference + LyxType custom + LatexType Command + LatexName thanksref + CustomPars 0 + Decoration Classic + LabelString "Thanks Ref" + ForcePlain 1 + MultiPar 0 +End + +InsetLayout Internet_Address_Reference + CopyStyle Thanks_Reference + LatexName printead + LabelString "Internet Addess Ref" +End + +InsetLayout Corresponding_Author + CopyStyle Thanks_Reference + LatexName corref + LabelString "Corresponding Author" + BgColor "black" +End + +InsetLayout Author + CopyStyle Thanks_Reference + LatexName author + LabelString "Author" +End + +InsetLayout Name_(First_Name) + CopyStyle Thanks_Reference + LatexName fnms + LabelString "First Name" + BgColor "background" +End + +InsetLayout Name_(Surname) + CopyStyle Thanks_Reference + LatexName snm + LabelString "Surname" + BgColor "background" +End + +InsetLayout Email + CopyStyle Thanks_Reference + LatexName printead + LabelString "Email" +End + +InsetLayout Keyword + CopyStyle Thanks_Reference + LatexName kwd + LabelString "Keyword" +End + +InsetLayout By_Same_Author_(bib) + CopyStyle Thanks_Reference + LatexName bysame + LabelString "bysame" + BgColor "black" +End + +Counter Thanks +End diff -ur --unidirectional-new-file lib.orig/templates/ectaart.lyx lib/templates/ectaart.lyx --- lib.orig/templates/ectaart.lyx 1970-01-01 09:00:00.000000000 +0900 +++ lib/templates/ectaart.lyx 2010-09-22 01:37:29.000000000 +0900 @@ -0,0 +1,469 @@ +#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 401 +\begin_document +\begin_header +\textclass ectaart +\begin_preamble +\startlocaldefs +\endlocaldefs +\end_preamble +\use_default_options true +\maintain_unincluded_children false +\language english +\inputencoding auto +\fontencoding global +\font_roman default +\font_sans default +\font_typewriter default +\font_default_family default +\use_xetex false +\font_sc false +\font_osf false +\font_sf_scale 100 +\font_tt_scale 100 + +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_amsmath 1 +\use_esint 1 +\use_mhchem 1 +\use_mathdots 1 +\cite_engine natbib_authoryear +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\quotes_language english +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Title +Title of an article in Econometrica +\begin_inset Note Note +status open + +\begin_layout Plain Layout +This template is prepared for the +\series bold +draft +\series default + mode. + When you finalize the document for actual submission, disable +\family sans +Predefined Class Options +\family default + in menu Document -> Preference -> Document Class. + It implies to use the default +\begin_inset Quotes eld +\end_inset + + +\series bold +final +\series default + +\begin_inset Quotes erd +\end_inset + + option for prepublication. +\end_layout + +\begin_layout Plain Layout +Other available document options are: +\end_layout + +\begin_layout Plain Layout + +\series bold +titlepage +\series default +: print the title page (default in draft mode) +\end_layout + +\begin_layout Plain Layout + +\series bold +notitlepage +\series default +: do not print the title page (default in final mode) +\end_layout + +\begin_layout Plain Layout + +\series bold +doublespacing +\series default +: set the double spacing (default in draft mode) +\end_layout + +\begin_layout Plain Layout + +\series bold +singlespacing +\series default +: set the single spacing (default in final mode) +\end_layout + +\begin_layout Plain Layout + +\series bold +linenumbers +\series default +: print line numbers on margins (default in draft mode) +\end_layout + +\begin_layout Plain Layout + +\series bold +nolinenumbers +\series default +: turn off line numbers (default in final mode) +\end_layout + +\begin_layout Plain Layout + +\series bold +infoline +\series default +: print id line at bottom of the page (default in draft mode) +\end_layout + +\begin_layout Plain Layout + +\series bold +noinfoline +\series default +: turn off id line (default in final mode) +\end_layout + +\end_inset + + +\end_layout + +\begin_layout RunTitle +Title to be shown at the header of even pages +\end_layout + +\begin_layout Authors Block +\begin_inset Note Note +status open + +\begin_layout Plain Layout +You can use Author environment when there is only one author. + However, if you have multiple authors, use Authors Block instead of Author + environment as in this example. + Put the name of each author in the Author inset. + Put all names within one line. + For the corresponding author, put Corresponding Author inset as a tag in + the Author inset (you don't have to fill in anything in Corresponing Author + inset). +\end_layout + +\end_inset + + +\begin_inset Flex Author +status open + +\begin_layout Plain Layout +\begin_inset Flex Name (First Name) +status open + +\begin_layout Plain Layout +First +\end_layout + +\end_inset + + +\begin_inset Flex Name (Surname) +status open + +\begin_layout Plain Layout +Author +\end_layout + +\end_inset + + +\begin_inset Flex Thanks Reference +status open + +\begin_layout Plain Layout +thk1 +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Flex Author +status open + +\begin_layout Plain Layout +\begin_inset Flex Name (First Name) +status open + +\begin_layout Plain Layout +Second +\end_layout + +\end_inset + + +\begin_inset Flex Name (Surname) +status open + +\begin_layout Plain Layout +Author +\end_layout + +\end_inset + + +\begin_inset Flex Thanks Reference +status open + +\begin_layout Plain Layout +thk2 +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Flex Author +status open + +\begin_layout Plain Layout +\begin_inset Flex Name (First Name) +status open + +\begin_layout Plain Layout +Corresponding +\end_layout + +\end_inset + + +\begin_inset Flex Name (Surname) +status open + +\begin_layout Plain Layout +Author +\end_layout + +\end_inset + + +\begin_inset Flex Corresponding Author +status collapsed + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout RunAuthor +Author name to be shown at the header of even pages +\end_layout + +\begin_layout Address +Address. + Email: +\begin_inset Flex Email +status open + +\begin_layout Plain Layout +email +\end_layout + +\end_inset + +, Web: +\begin_inset Flex Internet Address Reference +status open + +\begin_layout Plain Layout +web +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Thanks Text +Short title is used to refer this thanks text. +\begin_inset Argument +status open + +\begin_layout Plain Layout +thk1 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Thanks Text +Thanks by the second author. +\begin_inset Argument +status open + +\begin_layout Plain Layout +thk2 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Keyword +\begin_inset Flex Keyword +status open + +\begin_layout Plain Layout +Keyword1 +\end_layout + +\end_inset + + +\begin_inset Flex Keyword +status open + +\begin_layout Plain Layout +Keyword2 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Email +...@email.address +\begin_inset Argument +status open + +\begin_layout Plain Layout +email +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Web Address +www.my.home.page +\begin_inset Argument +status open + +\begin_layout Plain Layout +web +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Section +\end_layout + +\begin_layout Standard +\begin_inset CommandInset label +LatexCommand label +name "sec:section" + +\end_inset + +Section label must not be inserted in the section line, but put it in the + text body as this example. +\end_layout + +\begin_layout Bibliography +\labelwidthstring References +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "Smith-1" + +\end_inset + +Smith, Adam (1759) The Theory of Moral Sentiments, A. + Millar, London. +\end_layout + +\begin_layout Bibliography +\labelwidthstring References +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "Smith-2" + +\end_inset + + +\begin_inset Flex By Same Author (bib) +status collapsed + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + (1776) An Inquiry into the Nature and Causes of the Wealth of Nations, + W. + Strahan and T. + Cadell, London. +\end_layout + +\end_body +\end_document