From: Uwe Stöhr Date: Sat, 18 May 2013 18:33:39 +0000 (+0200) Subject: AEA.lyx: make the file compilable X-Git-Tag: 2.0.7~102 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=01fd11eb1e2ecdccf34bab97e13d132a1d841aeb;p=features.git AEA.lyx: make the file compilable - also updated its content to follow the current AEA submission guidelines --- diff --git a/lib/templates/AEA.lyx b/lib/templates/AEA.lyx index 13bbb02fa9..6b49c422ed 100644 --- a/lib/templates/AEA.lyx +++ b/lib/templates/AEA.lyx @@ -4,15 +4,21 @@ \begin_header \textclass AEA \begin_preamble +% Uncomment the line below if you wish to use the mathtime package: %\usepackage[cmbold]{mathtime} + +% Uncomment the next line to use the harvard package with bibtex +%\usepackage[abbr]{harvard} + \draftSpacing{1.5} \end_preamble +\options AER \use_default_options false \maintain_unincluded_children false \language english -\language_package default +\language_package none \inputencoding auto -\fontencoding global +\fontencoding default \font_roman default \font_sans default \font_typewriter default @@ -47,8 +53,8 @@ \shortcut idx \color #008000 \end_index -\secnumdepth 3 -\tocdepth 3 +\secnumdepth 2 +\tocdepth 2 \paragraph_separation indent \paragraph_indentation default \quotes_language english @@ -91,63 +97,6 @@ http://wiki.lyx.org/Examples/AEA \end_layout -\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 @@ -213,103 +162,158 @@ draftmode to typeset a draft copy with 1.5-line spacing (or your own choice \end_deeper \begin_layout Enumerate -If your system has the -\family sans -mathtime -\family default - package installed, enable -\family typewriter +If your system has the mathtime package installed, uncomment the line about + mathtime in Document\SpecialChar \menuseparator +Settings\SpecialChar \menuseparator +LaTeX Preamble. +\end_layout -\backslash -usepackage{mathtime} -\family default - line in -\family sans -Document\SpecialChar \menuseparator +\begin_layout Enumerate +Set LaTeX font encoding to “None (no fontenc)” in menu Document\SpecialChar \menuseparator Settings\SpecialChar \menuseparator -LaTeX Preamble -\family default - with appropriate options to suit your system. +Fonts. + (Because the default encoding “T1” may cause font problems in LaTeX export.) \end_layout \begin_layout Enumerate -Choose -\family sans -LaTeX font encoding -\family default - to -\begin_inset Quotes eld -\end_inset +When you finalize your manuscript for submission, clean up unnecessary preambles + in the exported LaTeX file. + You need to minimize the usage of packages. +\end_layout -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 -LaTeX\SpecialChar \menuseparator -TeX Encoding -\family default - to -\begin_inset Quotes eld + +\end_layout + +\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 -default -\begin_inset Quotes erd + +\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 Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +JEL{} +\end_layout + \end_inset -. - T1 encoding may cause font problems in LaTeX export. + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +only necessary for the JEL journal \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_inset + + \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 +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + \backslash -usepackage{fontenc} -\family default - line using external editors). - You need to minimize the usage of packages. +Keywords{ \end_layout \end_inset -Introductory material comes here. +keywords +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} \end_layout -\begin_layout Section -Pointers +\end_inset + + \end_layout -\begin_layout Itemize -Do not use an "Introduction" heading. - Begin your introductory material before the first section heading. +\begin_layout Abstract +Your abstract here. + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +except for JEP/PP +\end_layout + +\end_inset + + +\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 +American Economic Review Pointers: \end_layout \begin_layout Itemize -Use only section, subsection, and subsubsection headings. +Do not use an +\begin_inset Quotes eld +\end_inset + +Introduction +\begin_inset Quotes erd +\end_inset + + heading. + Begin your introductory material before the first section heading. \end_layout \begin_layout Itemize @@ -324,25 +328,37 @@ Avoid using explicit vertical or horizontal space. Captions are short and go below figures but above tables. \end_layout +\begin_layout Itemize +The tablenotes or figurenotes environments may be used below tables or figures, + respectively, as demonstrated below. +\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. + If you can't get it to work, just remove the package or see our technical + support document online (please refer to the author instructions). \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. + Use regular section headings to make the appendix headings. \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 Itemize +Either the natbib package or the harvard package may be used with bibtex. + To include one of these packages, uncomment the appropriate usepackage + command above. + Note: you can't use both packages at once or compile-time errors will result. \end_layout \begin_layout Section -Example Figures and Tables +First Section in Body \end_layout \begin_layout Standard @@ -356,17 +372,104 @@ sideways false status open \begin_layout Plain Layout -\align center Figure here. \end_layout -\begin_layout Caption +\begin_layout Plain Layout +\begin_inset Caption + +\begin_layout Plain Layout Caption for figure below. \end_layout \end_inset +\end_layout + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +begin{figurenotes} +\end_layout + +\end_inset + +Figure notes without optional leadin. +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +end{figurenotes} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +begin{figurenotes} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +[ +\end_layout + +\end_inset + +Source +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +] +\end_layout + +\end_inset + +Figure notes with optional leadin (Source, in this case). +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +end{figurenotes} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -379,12 +482,19 @@ wide false sideways false status open -\begin_layout Caption +\begin_layout Plain Layout +\begin_inset Caption + +\begin_layout Plain Layout Caption for table above. \end_layout +\end_inset + + +\end_layout + \begin_layout Plain Layout -\align center \begin_inset Tabular @@ -405,7 +515,7 @@ Caption for table above. \begin_inset Text \begin_layout Plain Layout -Heading 1 +Heading 1 \end_layout \end_inset @@ -414,7 +524,7 @@ Heading 1 \begin_inset Text \begin_layout Plain Layout -Heading 2 +Heading 2 \end_layout \end_inset @@ -425,7 +535,7 @@ Heading 2 \begin_inset Text \begin_layout Plain Layout -Row 1 +Row 1 \end_layout \end_inset @@ -434,7 +544,7 @@ Row 1 \begin_inset Text \begin_layout Plain Layout -1 +1 \end_layout \end_inset @@ -443,7 +553,7 @@ Row 1 \begin_inset Text \begin_layout Plain Layout -2 +2 \end_layout \end_inset @@ -454,7 +564,7 @@ Row 1 \begin_inset Text \begin_layout Plain Layout -Row 2 +Row 2 \end_layout \end_inset @@ -463,7 +573,7 @@ Row 2 \begin_inset Text \begin_layout Plain Layout -3 +3 \end_layout \end_inset @@ -485,13 +595,113 @@ Row 2 \end_layout +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +begin{tablenotes} +\end_layout + +\end_inset + +Table notes environment without optional leadin. +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +end{tablenotes} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Table Notes +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +begin{tablenotes} +\end_layout + \end_inset +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +[ +\end_layout + +\end_inset + +Source +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +] +\end_layout + +\end_inset + +Table notes environment with optional leadin (Source, in this case). +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +end{tablenotes} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Algorithm +An example Algorithm \end_layout \begin_layout Standard References here (manual or BibTeX). + If you are using BibTeXyou must use the bibliography style +\series bold +aea +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset CommandInset bibtex +LatexCommand bibtex +bibfiles "../examples/biblioExample" +options "aea" + +\end_inset + + \end_layout \begin_layout Section @@ -499,5 +709,18 @@ References here (manual or BibTeX). Mathematical Appendix \end_layout +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +the appendix is optional +\end_layout + +\end_inset + + +\end_layout + \end_body \end_document diff --git a/status.20x b/status.20x index 325876d68f..ce23900ecf 100644 --- a/status.20x +++ b/status.20x @@ -70,6 +70,7 @@ What's new * DOCUMENTATION AND LOCALIZATION +- Make the AEA template file compilable. * LYXHTML