Support for AEA.cls (American Economic Association journals)

Patch from Koji (#6807).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34800 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-07-07 17:17:09 +00:00
parent 63511e17f8
commit 4da0c94afa
6 changed files with 974 additions and 0 deletions

View File

@ -1326,6 +1326,7 @@ lib_templates_files = Split('''
aastex.lyx aastex.lyx
ACM-siggraph.lyx ACM-siggraph.lyx
ACM-sigplan.lyx ACM-sigplan.lyx
AEA.lyx
agu_article.lyx agu_article.lyx
apa.lyx apa.lyx
beamer-conference-ornate-20min.lyx beamer-conference-ornate-20min.lyx
@ -2718,6 +2719,7 @@ lib_layouts_files = Split('''
aastex.layout aastex.layout
achemso.layout achemso.layout
acmsiggraph.layout acmsiggraph.layout
AEA.layout
agu-dtd.layout agu-dtd.layout
agums.layout agums.layout
amsart.layout amsart.layout

View File

@ -1021,6 +1021,7 @@ dist_layouts_DATA =\
layouts/aastex.layout \ layouts/aastex.layout \
layouts/achemso.layout \ layouts/achemso.layout \
layouts/acmsiggraph.layout \ layouts/acmsiggraph.layout \
layouts/AEA.layout \
layouts/agu-dtd.layout \ layouts/agu-dtd.layout \
layouts/agu_stdclass.inc \ layouts/agu_stdclass.inc \
layouts/agu_stdcounters.inc \ layouts/agu_stdcounters.inc \
@ -1214,6 +1215,7 @@ dist_templates_DATA = \
templates/aastex.lyx \ templates/aastex.lyx \
templates/ACM-siggraph.lyx \ templates/ACM-siggraph.lyx \
templates/ACM-sigplan.lyx \ templates/ACM-sigplan.lyx \
templates/AEA.lyx \
templates/agu_article.lyx \ templates/agu_article.lyx \
templates/apa.lyx \ templates/apa.lyx \
templates/beamer-conference-ornate-20min.lyx \ templates/beamer-conference-ornate-20min.lyx \

View File

@ -1146,6 +1146,103 @@ Publications of the Astronomical Society of the Pacific
. .
\end_layout \end_layout
\begin_layout Subsection
AEA (American Economic Association) Journals
\end_layout
\begin_layout Description
Found:
\begin_inset Info
type "textclass"
arg "AEA"
\end_inset
\end_layout
\begin_layout Description
CTAN: N/A
\end_layout
\begin_layout Description
WWW:
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.aeaweb.org/templates/latex_templates.zip
\end_layout
\end_inset
\end_layout
\begin_layout Description
Notes: The document class
\family sans
AEA
\family default
can be used to write articles for submission to the following journals
published by the American Economic Association:
\emph on
American Economic Review
\emph default
,
\emph on
Papers and Proceedings
\emph default
,
\emph on
Journal of Economic Literature
\emph default
,
\emph on
Journal of Economic Perspectives
\emph default
and
\emph on
American Economics Journal
\emph default
.
The use of packages should be limited to those packages which provide core
functionality, such as
\family sans
amsmath
\family default
,
\family sans
graphicx
\family default
, and
\family sans
harvard
\family default
.
Please read carefully
\family typewriter
AEA-LaTeX-AuthorGuide.pdf
\family default
and Information for Authors on the web
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.aeaweb.org/aer/authref.php
\end_layout
\end_inset
.
Start writing with the template
\family typewriter
AEA.lyx
\family default
and read instructions in it.
\end_layout
\begin_layout Subsection \begin_layout Subsection
AGU Journals AGU Journals
\end_layout \end_layout

View File

@ -990,6 +990,98 @@ Publications of the Astronomical Society of the Pacific
(太平洋天文学会誌)』へ投稿する論文を執筆するのに使用することができます。 (太平洋天文学会誌)』へ投稿する論文を執筆するのに使用することができます。
\end_layout \end_layout
\begin_layout Subsection
アメリカ経済学会AEA発行の学術誌
\end_layout
\begin_layout Description
検出:
\begin_inset Info
type "textclass"
arg "AEA"
\end_inset
\end_layout
\begin_layout Description
CTAN N/A
\end_layout
\begin_layout Description
WWW
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.aeaweb.org/templates/latex_templates.zip
\end_layout
\end_inset
\end_layout
\begin_layout Description
備考: 文書クラス
\family sans
AEA
\family default
は、アメリカ経済学会AEAが発行する、
\emph on
American Economic Review
\emph default
\emph on
Papers and Proceedings
\emph default
\emph on
Journal of Economic Literature
\emph default
\emph on
Journal of Economic Perspectives
\emph default
\emph on
American Economics Journal
\emph default
の各誌への投稿に使用することができます。パッケージの使用は、
\family sans
amsmath
\family default
\family sans
graphicx
\family default
\family sans
harvard
\family default
などの基本機能を提供するものに限定しなくてはなりません。
\family typewriter
AEA-LaTeX-AuthorGuide.pdf
\family default
およびウェブサイト
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.aeaweb.org/aer/authref.php
\end_layout
\end_inset
にあるInformation for Authorsをよくお読みください。ひな型
\family typewriter
AEA.lyx
\family default
を用いて執筆を始め、そこにある説明もお読みください。
\end_layout
\begin_layout Subsection \begin_layout Subsection
アメリカ地球物理学会AGU発行の学術誌 アメリカ地球物理学会AGU発行の学術誌
\end_layout \end_layout

278
lib/layouts/AEA.layout Normal file
View File

@ -0,0 +1,278 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{article (American Economic Association)}
# Author : Koji Yokota <yokota@res.otaru-uc.ac.jp>
Format 11
Input stdclass.inc
Input theorems-bytype.module
Input theorems-ams-extended-bytype.module
Provides amsthm 1
Preamble
\usepackage{harvard}
EndPreamble
NoStyle Part
NoStyle Chapter
NoStyle Paragraph
NoStyle Subparagraph
NoStyle SpecialSection
NoStyle Part*
NoStyle Chapter*
NoStyle Section*
NoStyle Subsection*
NoStyle Subsubsection*
NoStyle Paragraph*
NoStyle Subparagraph*
NoStyle SpecialSection*
NoStyle List
NoStyle LyX-Code
NoStyle Verse
NoStyle Address
NoStyle Right_Address
NoStyle Acknowledgement*
NoStyle Algorithm*
NoStyle Assumption*
NoStyle Axiom*
NoStyle Conclusion*
NoStyle Condition*
NoStyle Criterion*
NoStyle Fact
NoStyle Notation*
NoStyle Note
NoStyle Note*
NoStyle Remark*
NoStyle Summary*
ClassOptions
Other draftmode
End
Style ShortTitle
Category FrontMatter
LatexType Command
LatexName shortTitle
InTitle 1
Align Center
End
Style Publication_Month
CopyStyle ShortTitle
LatexName pubMonth
Align Left
Margin Dynamic
LabelType Static
LabelString "Publication Month:"
LabelSep M
LabelFont
Color Red
EndFont
End
Style Publication_Year
CopyStyle Publication_Month
LatexName pubYear
LabelString "Publication Year:"
End
Style Publication_Volume
CopyStyle Publication_Month
LatexName pubVolume
LabelString "Publication Volume:"
End
Style Publication_Issue
CopyStyle Publication_Month
LatexName pubIssue
LabelString "Publication Issue:"
End
Style Abstract
InTitle 1
End
Style Acknowledgement
Category FrontMatter
LabelString "Acknowledgement."
Preamble
EndPreamble
End
Style Theorem
LatexName theorem
Preamble
\newtheorem{theorem}{Theorem}
EndPreamble
End
Style Algorithm
LatexName algorithm
Preamble
\newtheorem{algorithm}{Algorithm}
EndPreamble
End
Style Axiom
LatexName axiom
Preamble
\newtheorem{axiom}{Axiom}
EndPreamble
End
Style Case
CopyStyle Remark
LatexName case
LabelCounter case
LabelString "Case \thecase."
Preamble
\newtheorem{case}{Case}
EndPreamble
End
Style Claim
LatexName claim
Preamble
\newtheorem{claim}{Claim}
EndPreamble
End
Style Conclusion
LatexName conclusion
LabelCounter conclusion
Preamble
\newtheorem{conclusion}{Conclusion}
EndPreamble
End
Style Condition
LatexName condition
LabelCounter condition
Preamble
\newtheorem{condition}{Condition}
EndPreamble
End
Style Conjecture
LatexName conjecture
Preamble
\newtheorem{conjecture}{Conjecture}
EndPreamble
End
Style Corollary
LatexName corollary
Preamble
\newtheorem{corollary}{Corollary}
EndPreamble
End
Style Criterion
LatexName criterion
LabelCounter criterion
Preamble
\newtheorem{criterion}{Criterion}
EndPreamble
End
Style Definition
LatexName definition
Preamble
\newtheorem{definition}{Definition}
EndPreamble
End
Style Example
LatexName example
Preamble
\newtheorem{example}{Example}
EndPreamble
End
Style Exercise
LatexName exercise
Preamble
\newtheorem{exercise}{Exercise}
EndPreamble
End
Style Lemma
LatexName lemma
Preamble
\newtheorem{lemma}{Lemma}
EndPreamble
End
Style Notation
LatexName notation
LabelCounter notation
Preamble
\newtheorem{notation}{Notation}
EndPreamble
End
Style Problem
LatexName problem
LabelCounter problem
Preamble
\newtheorem{problem}{Problem}
EndPreamble
End
Style Proposition
LatexName proposition
Preamble
\newtheorem{proposition}{Proposition}
EndPreamble
End
Style Remark
LatexName remark
LabelString "Remark \theremark."
Preamble
\newtheorem{remark}{Remark}
EndPreamble
End
Style Solution
CopyStyle Remark
LatexName solution
LabelCounter solution
LabelString "Solution \thesolution."
Preamble
\newtheorem{solution}{Solution}
EndPreamble
End
Style Summary
LatexName summary
LabelCounter summary
Preamble
\newtheorem{summary}{Summary}
EndPreamble
End
Style Caption
CopyStyle Remark
Category MainText
LatexType Command
LatexName QTR{caption}
LabelCounter caption
LabelString "Caption: "
LeftMargin "Caption: "
Align Center
End
Style Proof
Preamble
EndPreamble
End
Counter case
End
Counter remark
End
Counter summary
End
Counter solution
End

503
lib/templates/AEA.lyx Normal file
View File

@ -0,0 +1,503 @@
#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 394
\begin_document
\begin_header
\textclass AEA
\begin_preamble
%\usepackage[cmbold]{mathtime}
\draftSpacing{1.5}
\end_preamble
\use_default_options false
\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
\cite_engine basic
\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
\end_layout
\begin_layout ShortTitle
Short title for running head
\end_layout
\begin_layout Author
Author1 and Author2
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Surname1: affiliation1, address1, email1.
Surname2: affiliation2, address2, email2.
Acknowledgements
\end_layout
\end_inset
\end_layout
\begin_layout Publication Month
Month
\end_layout
\begin_layout Publication Year
Year
\end_layout
\begin_layout Publication Volume
Vol
\end_layout
\begin_layout Publication Issue
Issue
\end_layout
\begin_layout Abstract
Your abstract here (except for JEP/PP).
\end_layout
\begin_layout Abstract
JEL:
\end_layout
\begin_layout Abstract
Keywords:
\end_layout
\begin_layout Acknowledgement
Acknowledgement (valid only for JEP).
For other journals, please use foot note in the author environment.
\end_layout
\begin_layout Standard
\begin_inset Note Note
status open
\begin_layout Enumerate
A journal name must be provided in
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class\SpecialChar \menuseparator
Class options\SpecialChar \menuseparator
Custom
\family default
.
Available options are:
\end_layout
\begin_deeper
\begin_layout Description
AER American Economic Review (default)
\end_layout
\begin_layout Description
PP Papers and Proceedings
\end_layout
\begin_layout Description
JEL Journal of Economic Literature
\end_layout
\begin_layout Description
JEP Journal of Economic Perspectives
\end_layout
\begin_layout Description
AEJ American Economics Journal
\end_layout
\begin_layout Plain Layout
If one of these is not explicitly given to the class option, the default
AER is used.
\end_layout
\end_deeper
\begin_layout Enumerate
Also, choose typesetting mode as the class option.
Available options are:
\end_layout
\begin_deeper
\begin_layout Description
finalmode to typeset the manuscript for submission for publication
\end_layout
\begin_layout Description
reviewmode to typeset a blind review copy
\end_layout
\begin_layout Description
draftmode to typeset a draft copy with 1.5-line spacing (or your own choice
of spacing).
\end_layout
\end_deeper
\begin_layout Enumerate
If your system has the
\family sans
mathtime
\family default
package installed, enable
\family typewriter
\backslash
usepackage{mathtime}
\family default
line in
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
LaT
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{}
\end_layout
\end_inset
eX Preamble
\family default
with appropriate options to suit your system.
\end_layout
\begin_layout Enumerate
Choose
\family sans
LaTeX font encoding
\family default
to
\begin_inset Quotes eld
\end_inset
None (no fontenc)
\begin_inset Quotes erd
\end_inset
in menu
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Fonts
\family default
.
For LyX 1.6.x or prior, change TeX encoding in
\family sans
Tools\SpecialChar \menuseparator
Preferences\SpecialChar \menuseparator
LaT
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{}
\end_layout
\end_inset
eX\SpecialChar \menuseparator
T
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{}
\end_layout
\end_inset
eX Encoding
\family default
to
\begin_inset Quotes eld
\end_inset
default
\begin_inset Quotes erd
\end_inset
.
T1 encoding may cause font problems in LaTeX export.
\end_layout
\begin_layout Enumerate
Disable the babel package in
\family sans
Tools\SpecialChar \menuseparator
Preferences\SpecialChar \menuseparator
Language\SpecialChar \menuseparator
Use babel
\family default
if not particularly necessary.
\end_layout
\begin_layout Enumerate
When you finalize your manuscript for submission, clean up unnecessary preambles
in the exported LaTeX file (with LyX 1.6.x or prior, also delete
\family typewriter
\backslash
usepackage{fontenc}
\family default
line using external editors).
You need to minimize the usage of packages.
\end_layout
\end_inset
Introductory material comes here.
\end_layout
\begin_layout Section
Pointers
\end_layout
\begin_layout Itemize
Do not use an "Introduction" heading.
Begin your introductory material before the first section heading.
\end_layout
\begin_layout Itemize
Use only section, subsection, and subsubsection headings.
\end_layout
\begin_layout Itemize
Avoid style markup (except sparingly for emphasis).
\end_layout
\begin_layout Itemize
Avoid using explicit vertical or horizontal space.
\end_layout
\begin_layout Itemize
Captions are short and go below figures but above tables.
\end_layout
\begin_layout Itemize
If you have difficulties with the mathtime package, adjust the package options
appropriately for your platform.
If you can't get it to work, just remove the package.
\end_layout
\begin_layout Itemize
If you are using an appendix, it goes last, after the bibliography.
Use regular section headings to make the appendix or appendices.
\end_layout
\begin_layout Itemize
If you are not using an appendix, you may delete the appendix command and
sample appendix section heading.
\end_layout
\begin_layout Section
Example Figures and Tables
\end_layout
\begin_layout Standard
Sample figure:
\end_layout
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open
\begin_layout Plain Layout
Figure here.
\end_layout
\begin_layout Caption
Caption for figure below.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Sample table:
\end_layout
\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open
\begin_layout Caption
Caption for table above.
\end_layout
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="left" valignment="top" width="0">
<column alignment="left" valignment="top" width="0">
<column alignment="left" valignment="top" width="0">
<row>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Heading 1
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Heading 2
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 1
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
1
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
2
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Row 2
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
3
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
4
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
References here (manual or bibTeX).
\end_layout
\begin_layout Section
\start_of_appendix
Mathematical Appendix
\end_layout
\end_body
\end_document