X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbroadway.layout;h=72edf2bef5e6b9a8ad9c4a64392904a1d94e562d;hb=9e425a0547a2861dc41b130a32b62fc7ff7072c8;hp=1c19bdb8c2b5d215bbc78930a530de6f75a314e2;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/broadway.layout b/lib/layouts/broadway.layout index 1c19bdb8c2..72edf2bef5 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 45 Columns 1 Sides 1 SecNumDepth 2 @@ -12,17 +14,21 @@ 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 + +Counter act +End + + +Counter scene +End + -# Dialogue style definition. Actor dialog Style Dialogue Margin Static LatexType Command @@ -30,13 +36,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 +48,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,9 +65,10 @@ Style ACT TopSep 1.0 # KeepEmpty 1 Align Center - AlignPossible Center - LabelType Counter_Chapter - LabelString "ACT " + LabelType Static + LabelCounter act + LabelSep M + LabelString "ACT \arabic{act}" End @@ -80,11 +81,13 @@ Style SCENE TopSep 1.0 # KeepEmpty 1 Align Center - AlignPossible Center - LabelType Counter_Section - LabelString "SCENE " + LabelType Static + LabelCounter scene + LabelSep M + LabelString "SCENE \arabic{scene}" End + Style SCENE* Margin Dynamic LatexType Command @@ -94,11 +97,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 @@ -107,12 +111,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 @@ -121,10 +126,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 @@ -137,27 +142,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 @@ -170,13 +165,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 @@ -187,7 +183,9 @@ Style Standard Labeltype No_Label End + Style Title + Category FrontMatter Margin Static LatexType Command LatexName title @@ -197,10 +195,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 @@ -212,7 +212,7 @@ Style Author AlignPossible Left, Right, Center End -# Right Address style + Style Right_Address Margin Right_Address_Box LatexType Command @@ -224,14 +224,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 +