X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbroadway.layout;h=8b80e3b2f9b5b1137681de5665a3680948596313;hb=6c2a8df504b098d9af466552887073d3a19ae3b2;hp=13fe9c583776a9a6c882a33f40da03dd72540adc;hpb=d6e9a804920a02a3adb105e4f641552513a40371;p=lyx.git diff --git a/lib/layouts/broadway.layout b/lib/layouts/broadway.layout index 13fe9c5837..8b80e3b2f9 100644 --- a/lib/layouts/broadway.layout +++ b/lib/layouts/broadway.layout @@ -1,8 +1,10 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[broadway]{broadway} -# +# \DeclareLaTeXClass[broadway,extramarks.sty,fancyhdr.sty,lastpage.sty]{Broadway} +# \DeclareCategory{Scripts} + # For theater plays -# General textclass parameters + +Format 63 Columns 1 Sides 1 SecNumDepth 2 @@ -12,17 +14,23 @@ ClassOptions FontSize 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 +Input stdinsets.inc +#Input stdtitle.inc +Input stdstruct.inc +Input stdfloats.inc +Input stdcounters.inc +# Input lyxmacros.inc + +DefaultStyle Dialogue + +Counter act +End + + +Counter scene +End + -# Dialogue style definition. Actor dialog Style Dialogue Margin Static LatexType Command @@ -30,13 +38,10 @@ Style Dialogue LeftMargin MMMMMMM RightMargin MMMMMMM Align Left - AlignPossible Left LabelType No_Label End - -# Narrative description of Scene Style Narrative Margin Static LatexType Command @@ -45,17 +50,14 @@ Style Narrative ParSkip 0.8 TopSep 1.0 Align Left - AlignPossible Left LabelType No_Label -Font - Family Roman - Series Medium - Shape Italic - Size Normal - Color Black -EndFont + Font + Shape Italic + Color Black + EndFont End + Style ACT Margin Static LatexType Command @@ -65,10 +67,10 @@ Style ACT TopSep 1.0 # KeepEmpty 1 Align Center - AlignPossible Center - LabelType Counter - LabelCounter chapter - LabelString "ACT " + LabelType Static + LabelCounter act + LabelSep M + LabelString "ACT \arabic{act}" End @@ -81,12 +83,13 @@ Style SCENE TopSep 1.0 # KeepEmpty 1 Align Center - AlignPossible Center - LabelType Counter - LabelCounter section - LabelString "SCENE " + LabelType Static + LabelCounter scene + LabelSep M + LabelString "SCENE \arabic{scene}" End + Style SCENE* Margin Dynamic LatexType Command @@ -96,11 +99,12 @@ Style SCENE* TopSep 1.0 KeepEmpty 1 Align Center - AlignPossible Center LabelType Static - LabelString "SCENE " + LabelSep M + LabelString "SCENE" End + Style AT_RISE: Margin Dynamic LatexType Command @@ -109,12 +113,13 @@ Style AT_RISE: ParSkip 0.8 TopSep 1.0 Align Left - AlignPossible Left KeepEmpty 1 LabelType Static - LabelString "AT RISE: " + LabelSep M + LabelString "AT RISE:" End + # Speaker style definition, identifies speaker ALL CAPS Style Speaker Margin Static @@ -123,10 +128,10 @@ Style Speaker ParSkip 0.4 TopSep 0.4 Align Center - AlignPossible 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 @@ -139,27 +144,17 @@ Style Parenthetical BottomSep 0.0 ParSkip 0.0 Align Left - AlignPossible Left LabelType Static - LabelString ( + LabelString "(" EndLabelType Static - EndLabelString ) - -Font - Family Roman - Series Medium - Shape Italic - Size Normal - Color Blue -EndFont - -LabelFont - Family Roman - Series Medium - Shape Up - Size Normal - Color Blue -EndFont + EndLabelString ")" + Font + Shape Italic + Color Blue + EndFont + LabelFont + Color Blue + EndFont End @@ -172,13 +167,14 @@ Style CURTAIN TopSep 1.0 KeepEmpty 1 Align Center - AlignPossible 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 @@ -189,7 +185,9 @@ Style Standard Labeltype No_Label End + Style Title + Category FrontMatter Margin Static LatexType Command LatexName title @@ -199,10 +197,12 @@ Style Title ParSep 1.5 Align Center AlignPossible Left, Right, Center - + HTMLTitle true End + Style Author + Category FrontMatter Margin Static LatexType Command LatexName author @@ -214,7 +214,7 @@ Style Author AlignPossible Left, Right, Center End -# Right Address style + Style Right_Address Margin Right_Address_Box LatexType Command @@ -226,14 +226,7 @@ Style Right_Address Align Left AlignPossible Left, Right End - -Input stdtitle.inc -Input stdstruct.inc -Input stdfloats.inc -Input stdcounters.inc -# Input lyxmacros.inc -NoStyle Abstract -NoStyle Bibliography -NoStyle Date +NoStyle Bibliography +