#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[broadway,extramarks.sty,fancyhdr.sty,lastpage.sty]{Broadway}
#  \DeclareCategory{Scripts}

# For theater plays

Format 111
Columns                 1
Sides                   1
SecNumDepth             2
TocDepth                2

ClassOptions
FontSize                12
End

Input stdinsets.inc
#Input stdtitle.inc
Input stdstruct.inc
Input stdfloats.inc
Input stdcounters.inc
# Input lyxmacros.inc

DefaultStyle Dialogue

Counter act
	GuiName "Act Number"
	PrettyFormat "Act|Acts ##"
End


Counter scene
	GuiName "Scene Number"
	PrettyFormat "Scene|Scenes ##"
End


Style Dialogue
	Margin                Static
	LatexType             Command
	LatexName             dialogue
	LeftMargin            MMMMMMM
	RightMargin           MMMMMMM
	Align                 Left
	LabelType             No_Label
End


Style Narrative
	Margin                Static
	LatexType             Command
	LatexName             narrative
	ParIndent             ""
	ParSkip               0.8
	TopSep                1.0
	Align                 Left
	LabelType             No_Label
	Font
	  Shape               Italic
	  Color               foreground
	EndFont
End


Style ACT
	Margin                Static
	LatexType             Command
	LatexName             act
	ParIndent             ""
	ParSkip               0.8
	TopSep                1.0
#  KeepEmpty            1
	Align                 Center
	LabelType             Static
	LabelCounter          act
	LabelSep              M
	LabelString           "ACT \arabic{act}"
End


Style SCENE
	Margin                Dynamic
	LatexType             Command
	LatexName             scene
	ParIndent             ""
	ParSkip               0.8
	TopSep                1.0
#  KeepEmpty            1
	Align                 Center
	LabelType             Static
	LabelCounter          scene
	LabelSep              M
	LabelString           "SCENE \arabic{scene}"
End


Style SCENE*
	Margin                Dynamic
	LatexType             Command
	LatexName             scenestar
	ParIndent             ""
	ParSkip               0.8
	TopSep                1.0
	KeepEmpty             1
	Align                 Center
	LabelType             Static
	LabelSep              M
	LabelString           "SCENE"
End


Style AT_RISE:
	Margin                Dynamic
	LatexType             Command
	LatexName             atrise
	ParIndent             ""
	ParSkip               0.8
	TopSep                1.0
	Align                 Left
	KeepEmpty             1
	LabelType             Static
	LabelSep              M
	LabelString           "AT RISE:"
End


# Speaker style definition, identifies speaker  ALL CAPS
Style Speaker
	Margin                Static
	LatexType             Command
	LatexName             speaker
	ParSkip               0.4
	TopSep                0.4
	Align                 Center
	LabelType             No_Label
End


# Parenthetical instruction to speaker (in parenthises, l.c.)
# The ( and ) will automatically appear on screen, so don't type any.
Style Parenthetical
	Margin                Static
	LatexType             Command
	LatexName             parenthetical
	LeftMargin            MMMMMMMMMMMMM
	RightMargin           MMMM
	TopSep                0.0
	BottomSep             0.0
	ParSkip               0.0
	Align                 Left
	LabelType             Static
	LabelString           "("
	EndLabelType          Static
	EndLabelString        ")"
	Font
	  Shape               Italic
	  Color               textlabel1
	EndFont
	LabelFont
	  Color               textlabel1
	EndFont
End


Style CURTAIN
	Margin                Static
	LatexType             Command
	LatexName             curtain
	ParIndent             ""
	ParSkip               0.8
	TopSep                1.0
	KeepEmpty             1
	Align                 Center
	LabelType             Static
	LabelString           "CURTAIN"
End


# Standard style definition (I kept this one to provide a general case)
Style Standard
	Category              MainText
	Margin                Static
	LatexType             Paragraph
	LatexName             dummy
	ParIndent             ""
	ParSkip               0.4
	Align                 Left
	AlignPossible         Block, Left, Right, Center
	Labeltype             No_Label
	DocBookTag            para
End


Style Title
	Category              FrontMatter
	Margin                Static
	LatexType             Command
	LatexName             title
	InTitle               1
	ParSkip               0.4
	BottomSep             1.5
	ParSep                1.5
	Align                 Center
	AlignPossible         Left, Right, Center
	HTMLTitle             true
	DocBookTag            title
	DocBookTagType        paragraph
	DocBookInInfo         maybe
End


Style Author
	Category              FrontMatter
	Margin                Static
	LatexType             Command
	LatexName             author
	InTitle               1
	ParSkip               0.4
	BottomSep             1.5
	ParSep                1.5
	Align                 Center
	AlignPossible         Left, Right, Center
	DocBookTag            personname
	DocBookTagType        paragraph
	DocBookWrapperTag     author
	DocBookWrapperTagType inline
	DocBookInInfo         always
End


Style Right_Address
	Margin                Right_Address_Box
	LatexType             Command
	LatexName             address
	InTitle               1
	ParSkip               0.4
	BottomSep             1.5
	ParSep                1.5
	Align                 Left
	AlignPossible         Left, Right
End


NoStyle Bibliography

