#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[jasatex]{Journal of the Acoustical Society of America (JASA)}
#  \DeclareCategory{Articles}
# JASATeX textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)

Format 111

Columns			1
Sides			1
SecNumDepth		3
TocDepth		3
DefaultStyle		Standard
Provides natbib		1

ClassOptions
	FontSize	10|11|12
end

Preamble
	\setcitestyle{numbers} % use the numbers citation style as required by jasatex
EndPreamble


# 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
	Category	MainText
	Margin		Static
	LatexType	Paragraph
	LatexName	dummy
	ParIndent	MM
	ParSkip		0.4
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	No_Label
	DocBookTag  para
End


Input stdcounters.inc
Input stdfloats.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc

NoStyle Chapter
NoCounter 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
	Argument 1
	  LabelString	"Short Title|S"
	  Tooltip	"Short title that will appear in header line"
	  InsertCotext   1
	EndArgument
	LabelType	No_Label
	Font
	  Size		Largest
	EndFont
	HTMLTitle	true
	DocBookTag            title
	DocBookTagType        paragraph
	DocBookInInfo         maybe
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	Center
	LabelType	No_Label
	Font
	  Size		Large
	EndFont
	DocBookTag            personname
	DocBookTagType        paragraph
	DocBookWrapperTag     author
	DocBookWrapperTagType inline
	DocBookInInfo         always
End


Style Affiliation
	Margin		Static
	LatexType	Command
	LatexName	affiliation
	Category	FrontMatter
	InTitle		1
	ParSkip		0.4
	Align		Center
	AlignPossible	Center
	LabelType	No_Label
	Font
	  Shape		Italic
	EndFont
	DocBookTag                        affiliation
	DocBookWrapperTag                 author
	DocBookWrapperMergeWithPrevious   true
	DocBookItemTag                    orgname
	DocBookItemTagType                paragraph
	DocBookInInfo                     always
End


Style "Alternative Affiliation"
	CopyStyle	Affiliation
	LatexType	Command
	LatexName	altaffiliation
	Argument 1
	  LabelString	"Affiliation Prefix"
	  Tooltip	"A prefix like 'Also at '"
	EndArgument
	DocBookTag                        affiliation
	DocBookAttr                       role='alternate'
	DocBookWrapperTag                 author
	DocBookWrapperMergeWithPrevious   true
	DocBookItemTag                    orgname
	DocBookItemTagType                paragraph
	DocBookInInfo                     always
End


Style Homepage
	CopyStyle	Affiliation
	LatexName	homepage
	Font
	  Shape		Up
	EndFont
	DocBookTag                        uri
	DocBookTagType                    paragraph
	DocBookWrapperTag                 author
	DocBookWrapperMergeWithPrevious   true
	DocBookItemTag                    NONE
	DocBookInInfo                     always
End


Style Email
	CopyStyle	Homepage
	LatexName	email
	DocBookTag                        email
	DocBookTagType                    paragraph
	DocBookWrapperTag                 author
	DocBookWrapperMergeWithPrevious   true
	DocBookItemTag                    NONE
	DocBookInInfo                     always
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
	DocBookTag            date
	DocBookTagType        paragraph
	DocBookInInfo         always
    DocBookNoFontInside   true
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
	LabelString	"Abstract"
	LabelBottomSep	0.5
	Font
	  Size		Small
	EndFont
	LabelFont
	  Series	Bold
	  Size		Large
	EndFont
	DocBookTag       para
	DocBookAbstract  true
End


Style Keywords
	Margin		Dynamic
	LatexType	Command
	LatexName	keywords
	Category	FrontMatter
	InTitle		1
	NextNoIndent	1
	BottomSep	0.5
	ParSkip		0.4
	Align		Block
	AlignPossible	Block
	LabelSep	xx
	LabelType	Static
	LabelString	"Keywords:"
	LabelFont
	  Color		textlabel2
	  Series	Bold
	EndFont
	DocBookTag            keyword
	DocBookTagType        paragraph
	DocBookWrapperTag     keywordset
	DocBookInInfo         always
End


Style PACS
	CopyStyle	Keywords
	LatexName	pacs
	LabelString	"PACS numbers:"
	DocBookTag          subjectset
	DocBookAttr         role='pacs'
	DocBookTagType      block
	DocBookItemWrapperTag      subject
	DocBookItemWrapperTagType  paragraph
	DocBookItemTag      subjectterm
	DocBookItemTagType  inline
	DocBookWrapperTag   NONE
	DocBookWrapperAttr  ""
	DocBookInInfo       always
End

Style "Preprint number"
	CopyStyle	Keywords
	LatexName	preprint
	LabelString	"Preprint number:"
End


Style Acknowledgments
	CopyStyle	Abstract
	LatexName	acknowledgments
	Category	BackMatter
	InTitle		0
	LabelType	Above
	LabelString	"Acknowledgments"
	Font
	  Size		Normal
	EndFont
	LabelFont
	  Series	Bold
	  Size		Normal
	EndFont
	DocBookTag            para
	DocBookWrapperTag     acknowledgements
	DocBookSection        true
	DocBookAbstract       false
End


InsetLayout "Flex:Online citation"
	LyxType		custom
	LatexType	command
	LatexName	onlinecite
	LabelString	"Online citation"
	Font
	  Color		foreground
	  Size		Small
	  Family	Roman
	  Shape		Up
	  Series	Medium
	  Misc		No_Emph
	  Misc		No_Noun
	  Misc		No_Bar
	EndFont
	LabelFont
	  Color		textlabel2
	  Size		Small
	EndFont
End


Style Bibliography
	Margin		First_Dynamic
	LatexType	Bib_Environment
	LatexName	thebibliography
	Category	BackMatter
	NextNoIndent	1
	ToggleIndent	Never
	LeftMargin	MM
	ParSkip		0.4
	ItemSep		0
	TopSep		0.7
	BottomSep	0.7
	ParSep		0.5
	Align		Block
	AlignPossible	Block
	LabelType	Bibliography
	LabelString	"References"
	LabelBottomSep	1.2
	LabelFont
	  Series	Bold
	  Size		Larger
	EndFont
	TocLevel        1
	IsTocCaption    0
	Argument listpreamble:1
	  LabelString    "Bib preamble"
	  MenuString     "Bibliography Preamble"
	  Tooltip        "LaTeX code to be inserted before the first bibliography item"
	  PassThru       1
	  Font
	    Family typewriter
	    Color latex
	  EndFont
	EndArgument
End

