]> git.lyx.org Git - features.git/commitdiff
new layout for articles in the journal JASA (http://wiki.lyx.org/Layouts/JASATeX)
authorUwe Stöhr <uwestoehr@web.de>
Sat, 10 Dec 2011 23:07:24 +0000 (23:07 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 10 Dec 2011 23:07:24 +0000 (23:07 +0000)
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40475 a592a061-630c-0410-9148-cb99ea01b6c8

lib/Makefile.am
lib/layouts/jasatex.layout [new file with mode: 0644]
lib/templates/JASA.lyx [new file with mode: 0644]

index 4faf263051318715c8cf24e6a02f20411d60be89..8f55a90991746fb4be2fb01796ad9f06d709fb80 100644 (file)
@@ -1383,6 +1383,7 @@ dist_layouts_DATA =\
        layouts/iopart.layout \
        layouts/isprs.layout \
        layouts/jarticle.layout \
+       layouts/jasatex.layout \
        layouts/jbook.layout \
        layouts/jgrga.layout \
        layouts/jreport.layout \
@@ -1549,6 +1550,7 @@ dist_templates_DATA = \
        templates/IJMPC.lyx \
        templates/IJMPD.lyx \
        templates/IOP-article.lyx \
+       templates/JASA.lyx \
        templates/JSS-article.lyx \
        templates/kluwer.lyx \
        templates/koma-letter2.lyx \
diff --git a/lib/layouts/jasatex.layout b/lib/layouts/jasatex.layout
new file mode 100644 (file)
index 0000000..b1821b5
--- /dev/null
@@ -0,0 +1,258 @@
+#% Do not delete the line below; configure depends on this\r
+#  \DeclareLaTeXClass[jasatex]{article (JASA)}\r
+# JASATeX textclass definition file.\r
+# Author: Uwe Stöhr (uwestoehr@web.de)\r
+\r
+Format 36\r
+\r
+Columns                 1\r
+Sides                   1\r
+SecNumDepth             3\r
+TocDepth                3\r
+DefaultStyle            Standard\r
+\r
+ClassOptions\r
+       FontSize                10|11|12\r
+end\r
+\r
+Preamble\r
+       \setcitestyle{numbers} % use the numbers citation style as required by jasatex\r
+EndPreamble\r
+\r
+\r
+# This is just to show how to declare the default font.\r
+# The defaults are exactly those shown here.\r
+DefaultFont\r
+       Family                  Roman\r
+       Series                  Medium\r
+       Shape                   Up\r
+       Size                    Normal\r
+       Color                   None\r
+EndFont\r
+\r
+\r
+Style Standard\r
+       Margin                  Static\r
+       LatexType               Paragraph\r
+       LatexName               dummy\r
+       ParIndent               MM\r
+       ParSkip                 0.4\r
+       Align                   Block\r
+       AlignPossible           Block, Left, Right, Center\r
+       LabelType               No_Label\r
+End\r
+\r
+\r
+Input stdcounters.inc\r
+Input stdfloats.inc\r
+Input stdlists.inc\r
+Input stdsections.inc\r
+Input stdstarsections.inc\r
+\r
+NoStyle Chapter\r
+NoCounter chapter\r
+NoStyle Chapter*\r
+\r
+Provides natbib 1\r
+\r
+Style Title\r
+       Margin                  Static\r
+       LatexType               Command\r
+       LatexName               title\r
+       Category                FrontMatter\r
+       InTitle                 1\r
+       ParSkip                 0.4\r
+       ItemSep                 0\r
+       TopSep                  0\r
+       BottomSep               1\r
+       ParSep                  1\r
+       Align                   Center\r
+       AlignPossible           Left, Right\r
+       LabelType               No_Label\r
+       Font\r
+         Size                  Largest\r
+       EndFont\r
+       HTMLTitle               true\r
+End\r
+\r
+\r
+Style Author\r
+       Margin                  Static\r
+       LatexType               Command\r
+       LatexName               author\r
+       Category                FrontMatter\r
+       InTitle                 1\r
+       LabelSep                xxx\r
+       ParSkip                 0.4\r
+       TopSep                  1.3\r
+       BottomSep               0.7\r
+       ParSep                  0.7\r
+       Align                   Center\r
+       AlignPossible           Center\r
+       LabelType               No_Label\r
+       Font\r
+         Size                  Large\r
+       EndFont\r
+End\r
+\r
+\r
+Style Affiliation\r
+       Margin                  Static\r
+       LatexType               Command\r
+       LatexName               affiliation\r
+       Category                FrontMatter\r
+       InTitle                 1\r
+       ParSkip                 0.4\r
+       Align                   Center\r
+       AlignPossible           Center\r
+       LabelType               No_Label\r
+       Font\r
+         Shape                 Italic\r
+       EndFont\r
+End\r
+\r
+\r
+Style "Alternative Affiliation"\r
+       CopyStyle               Affiliation\r
+       LatexType               Command\r
+       LatexName               altaffiliation\r
+       OptionalArgs            1\r
+End\r
+\r
+\r
+Style Homepage\r
+       CopyStyle               Affiliation\r
+       LatexName               homepage\r
+       Font\r
+         Shape                 Up\r
+       EndFont\r
+End\r
+\r
+\r
+Style Email\r
+       CopyStyle               Homepage\r
+       LatexName               email\r
+End\r
+\r
+\r
+Style Date\r
+       Margin                  Dynamic\r
+       LatexType               Command\r
+       Category                FrontMatter\r
+       InTitle                 1\r
+       LatexName               date\r
+       LabelSep                xxx\r
+       ParSkip                 0.4\r
+       TopSep                  0.9\r
+       BottomSep               0.5\r
+       ParSep                  1\r
+       Align                   Center\r
+       LabelType               No_Label\r
+       Font\r
+         Size                  Large\r
+       EndFont\r
+End\r
+\r
+\r
+Style Abstract\r
+       Margin                  Static\r
+       LatexType               Environment\r
+       LatexName               abstract\r
+       Category                FrontMatter\r
+       InTitle                 1\r
+       NextNoIndent            1\r
+       LeftMargin              MMM\r
+       RightMargin             MMM\r
+       ParIndent               MM\r
+       ItemSep                 0\r
+       TopSep                  0.7\r
+       BottomSep               0.7\r
+       ParSep                  0\r
+       Align                   Block\r
+       AlignPossible           Left, Right, Center, Block\r
+       LabelType               Centered_Top_Environment\r
+       LabelString             "Abstract"\r
+       LabelBottomSep          0.5\r
+       Font\r
+         Size                  Small\r
+       EndFont\r
+       LabelFont\r
+         Series                Bold\r
+         Size                  Large\r
+       EndFont\r
+End\r
+\r
+\r
+Style Keywords\r
+       Margin                  Dynamic\r
+       LatexType               Command\r
+       LatexName               keywords\r
+       Category                FrontMatter\r
+       InTitle                 1\r
+       Align                   Left\r
+       NextNoIndent            1\r
+       BottomSep               0.5\r
+       ParSkip                 0.4\r
+       Align                   Block\r
+       AlignPossible           Block\r
+       LabelSep                xx\r
+       LabelType               Static\r
+       LabelString             "Keywords:"\r
+       LabelFont\r
+         Color                 Green\r
+         Series                Bold\r
+       EndFont         \r
+End\r
+\r
+\r
+Style PACS\r
+       CopyStyle               Keywords\r
+       LatexName               pacs\r
+       LabelString             "PACS numbers:"\r
+End\r
+\r
+Style "Preprint number"\r
+       CopyStyle               Keywords\r
+       LatexName               preprint\r
+       LabelString             "Preprint number:"\r
+End\r
+\r
+\r
+Style Acknowledgments\r
+       CopyStyle               Abstract\r
+       LatexName               acknowledgments\r
+       Category                BackMatter\r
+       LabelType               Top_Environment\r
+       LabelString             "Acknowledgments"\r
+       Font\r
+         Size                  Normal\r
+       EndFont\r
+       LabelFont\r
+         Series                Bold\r
+         Size                  Normal\r
+       EndFont\r
+End\r
+\r
+\r
+Style Bibliography\r
+       Margin                  First_Dynamic\r
+       LatexType               Bib_Environment\r
+       LatexName               thebibliography\r
+       Category                BackMatter\r
+       NextNoIndent            1\r
+       LeftMargin              MM\r
+       ParSkip                 0.4\r
+       ItemSep                 0\r
+       TopSep                  0.7\r
+       BottomSep               0.7\r
+       ParSep                  0.5\r
+       Align                   Block\r
+       AlignPossible           Block\r
+       LabelType               Bibliography\r
+       LabelString             "References"\r
+       LabelBottomSep          1.2\r
+       LabelFont\r
+         Series                Bold\r
+         Size                  Larger\r
+       EndFont\r
+End\r
diff --git a/lib/templates/JASA.lyx b/lib/templates/JASA.lyx
new file mode 100644 (file)
index 0000000..a0e72d9
--- /dev/null
@@ -0,0 +1,429 @@
+#LyX 2.0 created this file. For more info see http://www.lyx.org/\r
+\lyxformat 413\r
+\begin_document\r
+\begin_header\r
+\textclass jasatex\r
+\options showkeys\r
+\use_default_options false\r
+\maintain_unincluded_children false\r
+\language english\r
+\language_package default\r
+\inputencoding auto\r
+\fontencoding global\r
+\font_roman default\r
+\font_sans default\r
+\font_typewriter default\r
+\font_default_family default\r
+\use_non_tex_fonts false\r
+\font_sc false\r
+\font_osf false\r
+\font_sf_scale 100\r
+\font_tt_scale 100\r
+\r
+\graphics default\r
+\default_output_format default\r
+\output_sync 0\r
+\bibtex_command default\r
+\index_command default\r
+\paperfontsize default\r
+\spacing single\r
+\use_hyperref false\r
+\papersize default\r
+\use_geometry false\r
+\use_amsmath 1\r
+\use_esint 1\r
+\use_mhchem 1\r
+\use_mathdots 1\r
+\cite_engine natbib_authoryear\r
+\use_bibtopic false\r
+\use_indices false\r
+\paperorientation portrait\r
+\suppress_date false\r
+\use_refstyle 0\r
+\index Index\r
+\shortcut idx\r
+\color #008000\r
+\end_index\r
+\secnumdepth 3\r
+\tocdepth 3\r
+\paragraph_separation indent\r
+\paragraph_indentation default\r
+\quotes_language english\r
+\papercolumns 1\r
+\papersides 1\r
+\paperpagestyle default\r
+\tracking_changes false\r
+\output_changes false\r
+\html_math_output 0\r
+\html_css_as_file 0\r
+\html_be_strict false\r
+\end_header\r
+\r
+\begin_body\r
+\r
+\begin_layout Standard\r
+\begin_inset Note Note\r
+status open\r
+\r
+\begin_layout Plain Layout\r
+Use the document class option \r
+\series bold\r
+nopreprint\r
+\series default\r
+ for non-preprints.\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Preprint number\r
+AIP/123-QED\r
+\begin_inset Note Note\r
+status open\r
+\r
+\begin_layout Plain Layout\r
+does not appear in a non-preprint\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Title\r
+Manuscript Title\r
+\begin_inset Newline newline\r
+\end_inset\r
+\r
+that can span several lines\r
+\begin_inset Argument\r
+status open\r
+\r
+\begin_layout Plain Layout\r
+Short title\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\begin_inset Note Note\r
+status collapsed\r
+\r
+\begin_layout Plain Layout\r
+The short tile appears at the bottom of the title page.\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Author\r
+An Author\r
+\end_layout\r
+\r
+\begin_layout Alternative Affiliation\r
+Physics Department, XYZ University.\r
+\begin_inset Argument\r
+status open\r
+\r
+\begin_layout Plain Layout\r
+Also at \r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\begin_inset Note Note\r
+status collapsed\r
+\r
+\begin_layout Plain Layout\r
+This affiliation appears as footnote.\r
+ The short title should be \r
+\begin_inset Quotes eld\r
+\end_inset\r
+\r
+Also at \r
+\begin_inset Quotes eld\r
+\end_inset\r
+\r
+.\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Author\r
+Second Author\r
+\end_layout\r
+\r
+\begin_layout Email\r
+second.author@institution.abc\r
+\end_layout\r
+\r
+\begin_layout Affiliation\r
+Authors' institution and/or address\r
+\end_layout\r
+\r
+\begin_layout Author\r
+Charlie Author\r
+\end_layout\r
+\r
+\begin_layout Homepage\r
+http://www.Second.institution.edu/\r
+\begin_inset ERT\r
+status collapsed\r
+\r
+\begin_layout Plain Layout\r
+\r
+~\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+Charlie.Author\r
+\begin_inset Note Note\r
+status collapsed\r
+\r
+\begin_layout Plain Layout\r
+Tildes have to be inserted as TeX code.\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Affiliation\r
+Second institution and/or address\r
+\end_layout\r
+\r
+\begin_layout Date\r
+\begin_inset ERT\r
+status collapsed\r
+\r
+\begin_layout Plain Layout\r
+\r
+\r
+\backslash\r
+today \r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\begin_inset Note Note\r
+status collapsed\r
+\r
+\begin_layout Plain Layout\r
+you can alternatively specify a certain date\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Abstract\r
+An article usually includes an abstract, a concise summary of the work covered\r
+ at length in the main body of the article.\r
+ It is used for secondary publications and for information retrieval purposes.\r
+\end_layout\r
+\r
+\begin_layout PACS\r
+insert suggested PACS numbers\r
+\begin_inset Note Note\r
+status open\r
+\r
+\begin_layout Plain Layout\r
+optional\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Keywords\r
+Suggested keywords\r
+\begin_inset Note Note\r
+status open\r
+\r
+\begin_layout Plain Layout\r
+only appear in the output if the document class option \r
+\series bold\r
+showkeys\r
+\series default\r
+ is used\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Section\r
+Introduction\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+Bla bla, as listed in \r
+\begin_inset CommandInset citation\r
+LatexCommand cite\r
+key "Parkin2005,LComp2004"\r
+\r
+\end_inset\r
+\r
+.\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+\begin_inset Formula \r
+\begin{eqnarray}\r
+A & = & \prod_{i=1}^{\infty}B\nonumber \\\r
+ & = & C\r
+\end{eqnarray}\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Subsection\r
+Subsection\r
+\end_layout\r
+\r
+\begin_layout Enumerate\r
+test\r
+\end_layout\r
+\r
+\begin_layout Enumerate\r
+test\r
+\end_layout\r
+\r
+\begin_layout Subsubsection\r
+Subsubsection\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+Bla, bla\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+\begin_inset Float figure\r
+placement h\r
+wide false\r
+sideways false\r
+status collapsed\r
+\r
+\begin_layout Plain Layout\r
+\begin_inset Caption\r
+\r
+\begin_layout Plain Layout\r
+Example figure.\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Plain Layout\r
+\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Acknowledgments\r
+Acknowledgments go here\r
+\end_layout\r
+\r
+\begin_layout Section\r
+\start_of_appendix\r
+Appendix name\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+Appendix, only when needed, inserted behind the acknowledgments but before\r
+ the bibliography.\r
+\end_layout\r
+\r
+\begin_layout Section*\r
+-----------------\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+You can use either BibTeX:\r
+\begin_inset Note Note\r
+status open\r
+\r
+\begin_layout Plain Layout\r
+The following bibliography styles are allowed: \r
+\family sans\r
+jasaauthyear\r
+\family default\r
+ or \r
+\family sans\r
+jasanum\r
+\end_layout\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+\begin_inset CommandInset bibtex\r
+LatexCommand bibtex\r
+bibfiles "../examples/biblioExample"\r
+options "bibtotoc,jasaauthyear"\r
+\r
+\end_inset\r
+\r
+\r
+\end_layout\r
+\r
+\begin_layout Section*\r
+---------------------\r
+\end_layout\r
+\r
+\begin_layout Standard\r
+\noindent\r
+Or plain bibliography:\r
+\end_layout\r
+\r
+\begin_layout Bibliography\r
+\begin_inset CommandInset bibitem\r
+LatexCommand bibitem\r
+key "key-1"\r
+\r
+\end_inset\r
+\r
+Frank Mittelbach and Michel Goossens: \r
+\emph on\r
+The LaTeX Companion Second Edition.\r
+\r
+\emph default\r
+ Addison-Wesley, 2004.\r
+\end_layout\r
+\r
+\begin_layout Bibliography\r
+\begin_inset CommandInset bibitem\r
+LatexCommand bibitem\r
+key "key-2"\r
+\r
+\end_inset\r
+\r
+Scott Pakin.\r
+ The comprehensive LaTeX symbol list, 2005.\r
+\end_layout\r
+\r
+\end_body\r
+\end_document\r