The attached patch adds a template and a layout file for the journal JASA
http://asa.aip.org/jasa.html
following the official author guidelines and using the official LaTeX class.

Seeking for 2 OKs to go in. Jürgen, can this also go to branch?

regards Uwe
Index: layouts/jasa.layout
===================================================================
--- layouts/jasa.layout	(revision 0)
+++ layouts/jasa.layout	(revision 0)
@@ -0,0 +1,249 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[jasatex]{article (JASA)}
+# jasatex textclass definition file.
+# Author: Uwe Stöhr ([EMAIL PROTECTED])
+
+Format 10
+
+Columns                 1
+Sides                   1
+SecNumDepth             3
+TocDepth                3
+DefaultStyle            Standard
+
+ClassOptions
+	FontSize		10|11|12
+end
+
+
+# This is just to show how to declare the default font.
+# The defaults are exactly those shown here.
+DefaultFont
+	Family			Roman
+	Series			Medium
+	Shape			Up
+	Size			Normal
+	Color			None
+EndFont
+
+
+Style Standard
+	Margin			Static
+	LatexType		Paragraph
+	LatexName		dummy
+	ParIndent		MM
+	ParSkip			0.4
+	Align			Block
+	AlignPossible		Block, Left, Right, Center
+	LabelType		No_Label
+End
+
+
+Input stdcounters.inc
+Input stdfloats.inc
+Input stdlists.inc
+Input stdsections.inc
+Input stdstarsections.inc
+
+NoStyle Chapter
+NoStyle Chapter*
+
+
+Style Title
+	Margin			Static
+	LatexType		Command
+	LatexName		title
+	Category		FrontMatter
+	InTitle			1
+	ParSkip			0.4
+	ItemSep			0
+	TopSep			0
+	BottomSep		1
+	ParSep			1
+	Align			Center
+	AlignPossible		Left, Right
+	LabelType		No_Label
+	Font
+	  Size			Largest
+	EndFont
+End
+
+
+Style Author
+	Margin			Static
+	LatexType		Command
+	LatexName		author
+	Category		FrontMatter
+	InTitle			1
+	LabelSep		xxx
+	ParSkip			0.4
+	TopSep			1.3
+	BottomSep		0.7
+	ParSep			0.7
+	Align			Center
+	AlignPossible		None
+	LabelType		No_Label
+	Font
+	  Size			Large
+	EndFont
+End
+
+
+Style Affiliation
+	Margin			Static
+	LatexType		Command
+	LatexName		affiliation
+	Category		FrontMatter
+	InTitle			1
+	ParSkip			0.4
+	Align			Center
+	AlignPossible		None
+	LabelType		No_Label
+	Font
+	  Shape			Italic
+	EndFont
+End
+
+
+Style "Alternative Affiliation"
+	CopyStyle		Affiliation
+	LatexType		Command
+	LatexName		altaffiliation
+	OptionalArgs		1
+End
+
+
+Style Homepage
+	CopyStyle		Affiliation
+	LatexName		homepage
+	Font
+	  Shape			Up
+	EndFont
+End
+
+
+Style Email
+	CopyStyle		Homepage
+	LatexName		email
+	Font
+	  Shape			Up
+	EndFont
+End
+
+
+Style Date
+	Margin			Dynamic
+	LatexType		Command
+	Category		FrontMatter
+	InTitle			1
+	LatexName		date
+	LabelSep		xxx
+	ParSkip			0.4
+	TopSep			0.9
+	BottomSep		0.5
+	ParSep			1
+	Align			Center
+	LabelType		No_Label
+	Font
+	  Size			Large
+	EndFont
+End
+
+
+Style Abstract
+	Margin			Static
+	LatexType		Environment
+	LatexName		abstract
+	Category		FrontMatter
+	InTitle			1
+	NextNoIndent		1
+	LeftMargin		MMM
+	RightMargin		MMM
+	ParIndent		MM
+	ItemSep			0
+	TopSep			0.7
+	BottomSep		0.7
+	ParSep			0
+	Align			Block
+	AlignPossible		Left, Right, Center, Block
+	LabelType		Centered_Top_Environment
+	LabelString		"Abstract"
+	LabelBottomSep		0.5
+	Font
+	  Size			Small
+	EndFont
+	LabelFont
+	  Series		Bold
+	  Size			Large
+	EndFont
+End
+
+
+Style Keywords
+	Margin			Dynamic
+	LatexType		Command
+	LatexName		keywords
+	Category		FrontMatter
+	InTitle			1
+	Align			Left
+	NextNoIndent		1
+	BottomSep		0.5
+	ParSkip			0.4
+	Align			Block
+	AlignPossible		None
+	LabelSep		xx
+	LabelType		Static
+	LabelString		"Keywords:"
+	LabelFont
+	  Color			Green
+	  Series		Bold
+	EndFont		
+End
+
+
+Style PACS
+	CopyStyle		Keywords
+	LatexName		pacs
+	LabelString		"PACS:"
+End
+
+
+Style Acknowledgments
+	CopyStyle		Abstract
+	LatexName		acknowledgments
+	Category		BackMatter
+	LabelType		Top_Environment
+	LabelString		"Acknowledgments"
+	Font
+	  Size			Normal
+	EndFont
+	LabelFont
+	  Series		Bold
+	  Size			Normal
+	EndFont
+End
+
+
+Style Bibliography
+	Margin			First_Dynamic
+	LatexType		Bib_Environment
+	LatexName		thebibliography
+	Category		BackMatter
+	NextNoIndent		1
+	LeftMargin		MM
+	ParSkip			0.4
+	ItemSep			0
+	TopSep			0.7
+	BottomSep		0.7
+	ParSep			0.5
+	Align			Block
+	AlignPossible		None
+	LabelType		Bibliography
+	LabelString		"References"
+	LabelBottomSep		1.2
+	LabelFont
+	  Series		Bold
+	  Size			Larger
+	EndFont
+End
+

Property changes on: layouts\jasa.layout
___________________________________________________________________
Name: svn:eol-style
   + native

Index: templates/jasa.lyx
===================================================================
--- templates/jasa.lyx	(revision 0)
+++ templates/jasa.lyx	(revision 0)
@@ -0,0 +1,371 @@
+#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 341
+\begin_document
+\begin_header
+\textclass jasa
+\language english
+\inputencoding auto
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+
+\graphics default
+\paperfontsize default
+\spacing single
+\use_hyperref false
+\papersize default
+\use_geometry true
+\use_amsmath 0
+\use_esint 1
+\cite_engine basic
+\use_bibtopic false
+\paperorientation portrait
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\defskip medskip
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\author "" 
+\author "" 
+\end_header
+
+\begin_body
+
+\begin_layout Standard
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+For informations about this article class, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+to use the right document class options to get the page format for your
+ journal, have a look at the elsarticle documentation: 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://www.ctan.org/get/macros/latex/contrib/elsarticle/elsdoc.pdf
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Title
+Manuscript Title
+\begin_inset Newline newline
+\end_inset
+
+that can span several lines
+\begin_inset OptArg
+status open
+
+\begin_layout Plain Layout
+Short title
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The short tile appears at the bottom of the title page.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Author
+An Author
+\end_layout
+
+\begin_layout Alternative Affiliation
+Physics Department, XYZ University.
+\begin_inset OptArg
+status open
+
+\begin_layout Plain Layout
+Also at 
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+This affiliation appears as footnote.
+ The short title should be 
+\begin_inset Quotes eld
+\end_inset
+
+Also at 
+\begin_inset Quotes eld
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Author
+Second Author
+\end_layout
+
+\begin_layout Email
[EMAIL PROTECTED]
+\end_layout
+
+\begin_layout Affiliation
+Authors' institution and/or address
+\end_layout
+
+\begin_layout Author
+Charlie Author
+\end_layout
+
+\begin_layout Homepage
+http://www.Second.institution.edu/
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+~
+\end_layout
+
+\end_inset
+
+Charlie.Author
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Tildes have to be inserted as TeX code.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Affiliation
+Second institution and/or address
+\end_layout
+
+\begin_layout Date
+10-01-2010
+\end_layout
+
+\begin_layout Abstract
+Abstract, should normally be not longer than 200 words.
+\end_layout
+
+\begin_layout PACS
+Valid PACS numbers
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+optional
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Keywords
+Suggested keywords
+\end_layout
+
+\begin_layout Section
+Introduction
+\end_layout
+
+\begin_layout Standard
+Bla bla, as listed in 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Parkin2005,LComp2004"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula \begin{eqnarray}
+A & = & \prod_{i=1}^{\infty}B\nonumber \\
+ & = & C\end{eqnarray}
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Subsection
+\end_layout
+
+\begin_layout Enumerate
+test
+\end_layout
+
+\begin_layout Enumerate
+test
+\end_layout
+
+\begin_layout Subsubsection
+Subsubsection
+\end_layout
+
+\begin_layout Standard
+Bla, bla
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+Example figure.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Acknowledgments
+Acknowledgments go here
+\end_layout
+
+\begin_layout Section
+\start_of_appendix
+Appendix name
+\end_layout
+
+\begin_layout Standard
+Appendix, only when needed, inserted behind the acknowledgments but before
+ the bibliography.
+\end_layout
+
+\begin_layout Section*
+-----------------
+\end_layout
+
+\begin_layout Standard
+You can use either BibTeX:
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following bibliography styles are allowed: 
+\family sans
+jasaauthyear
+\family default
+ or 
+\family sans
+jasanum
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "../examples/biblioExample"
+options "bibtotoc,jasaauthyear"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section*
+---------------------
+\end_layout
+
+\begin_layout Standard
+\noindent
+Or plain bibliography:
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "key-1"
+
+\end_inset
+
+Frank Mittelbach and Michel Goossens: 
+\emph on
+The LaTeX Companion Second Edition.
+
+\emph default
+ Addison-Wesley, 2004.
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "key-2"
+
+\end_inset
+
+Scott Pakin.
+ The comprehensive LaTeX symbol list, 2005.
+\end_layout
+
+\end_body
+\end_document

Property changes on: templates\jasa.lyx
___________________________________________________________________
Name: svn:eol-style
   + native

Reply via email to