X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbroadway.layout;h=72edf2bef5e6b9a8ad9c4a64392904a1d94e562d;hb=9e425a0547a2861dc41b130a32b62fc7ff7072c8;hp=e7a615929b4e5cc72ed4bb0017535b3edea08cc0;hpb=4c0fafb715871bcc26207b64fe4e725fcaedd7c5;p=lyx.git diff --git a/lib/layouts/broadway.layout b/lib/layouts/broadway.layout index e7a615929b..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 +Format 45 Columns 1 Sides 1 SecNumDepth 2 @@ -12,14 +14,18 @@ ClassOptions FontSize 12 End +Input stdinsets.inc +#Input stdtitle.inc +Input stdstruct.inc +Input stdfloats.inc +Input stdcounters.inc +# Input lyxmacros.inc -Counter - Name act +Counter act End -Counter - Name scene +Counter scene End @@ -30,7 +36,6 @@ Style Dialogue LeftMargin MMMMMMM RightMargin MMMMMMM Align Left - AlignPossible Left LabelType No_Label End @@ -43,7 +48,6 @@ Style Narrative ParSkip 0.8 TopSep 1.0 Align Left - AlignPossible Left LabelType No_Label Font Shape Italic @@ -61,9 +65,9 @@ Style ACT TopSep 1.0 # KeepEmpty 1 Align Center - AlignPossible Center - LabelType Counter + LabelType Static LabelCounter act + LabelSep M LabelString "ACT \arabic{act}" End @@ -77,9 +81,9 @@ Style SCENE TopSep 1.0 # KeepEmpty 1 Align Center - AlignPossible Center - LabelType Counter + LabelType Static LabelCounter scene + LabelSep M LabelString "SCENE \arabic{scene}" End @@ -93,9 +97,9 @@ Style SCENE* TopSep 1.0 KeepEmpty 1 Align Center - AlignPossible Center LabelType Static - LabelString "SCENE " + LabelSep M + LabelString "SCENE" End @@ -107,10 +111,10 @@ 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 @@ -122,7 +126,6 @@ Style Speaker ParSkip 0.4 TopSep 0.4 Align Center - AlignPossible Center LabelType No_Label End @@ -139,11 +142,10 @@ Style Parenthetical BottomSep 0.0 ParSkip 0.0 Align Left - AlignPossible Left LabelType Static - LabelString ( + LabelString "(" EndLabelType Static - EndLabelString ) + EndLabelString ")" Font Shape Italic Color Blue @@ -163,7 +165,6 @@ Style CURTAIN TopSep 1.0 KeepEmpty 1 Align Center - AlignPossible Center LabelType Static LabelString "CURTAIN" End @@ -171,6 +172,7 @@ End # Standard style definition (I kept this one to provide a general case) Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -183,6 +185,7 @@ End Style Title + Category FrontMatter Margin Static LatexType Command LatexName title @@ -192,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 @@ -220,13 +225,6 @@ Style Right_Address 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 +