X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbroadway.layout;h=d47036dd23afbb64a23c1e279183130c6daf622a;hb=1663dbcbcfacf15d88558783660ebae418394c67;hp=aa4ce16f0e1ff5acb314394042c6c244b691a1ed;hpb=5c7e829eff86ccacecc114a5c1d9ee6d8a1691b6;p=lyx.git diff --git a/lib/layouts/broadway.layout b/lib/layouts/broadway.layout index aa4ce16f0e..d47036dd23 100644 --- a/lib/layouts/broadway.layout +++ b/lib/layouts/broadway.layout @@ -1,244 +1,232 @@ #% 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 54 Columns 1 Sides 1 SecNumDepth 2 TocDepth 2 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 - -Preamble -\usepackage{fancyhdr} -\usepackage{extramarks} -\usepackage{ifthen} -\usepackage{lastpage} -\pagestyle{fancy} -\newcommand{\TheAuthor}{} -\newcommand{\Author}[1]{\renewcommand{\TheAuthor}{#1}} -\newcommand{\TheTitle}{} -\newcommand{\Title}[1]{\renewcommand{\TheTitle}{#1}} - - -\rhead{\thepage} -\lhead{\TheTitle} -\chead{\TheAuthor} -\cfoot{} -% We do not want any hyphenation - \sloppy -EndPreamble +FontSize 12 +End -# Standard style definition (I kept this one to provide a general case) -Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent "" - ParSkip 0.4 - Align Left - AlignPossible Block, Left, Right, Center - Labeltype No_Label +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 + + +Style Dialogue + Margin Static + LatexType Command + LatexName dialogue + LeftMargin MMMMMMM + RightMargin MMMMMMM + Align Left + LabelType No_Label End -# Narrative description of Scene + Style Narrative - Margin Static - LatexType Environment - LatexName narrative - ParIndent "" - 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 + Margin Static + LatexType Command + LatexName narrative + ParIndent "" + ParSkip 0.8 + TopSep 1.0 + Align Left + LabelType No_Label + Font + Shape Italic + Color Black + EndFont End + Style ACT - Margin Dynamic - LatexType Environment - LatexName act - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - KeepEmpty 1 - Align Center - AlignPossible Center - LabelType Counter_Chapter - LabelString "ACT " -End - -Style ACT* - Margin Dynamic - LatexType Paragraph - LatexName dummy - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - Align Center - AlignPossible Center - LabelType No_Label + 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 Environment - LatexName scene - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - KeepEmpty 1 - Align Center - AlignPossible Center - LabelType Static # Counter_EnumI - LabelString "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 Environment - LatexName atrise - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - Align Left - AlignPossible Left - KeepEmpty 1 - LabelType Static - LabelString "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 Environment - LatexName speaker - ParSkip 0.4 - TopSep 0.4 - Align Center - AlignPossible Center - LabelType No_Label + 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 Environment - LatexName parenthetical - Align Center - AlignPossible Center - LabelType Static - 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 -End - -# Dialogue style definition. Actor dialog -Style Dialogue - Margin Static - LatexType Environment - LatexName dialogue - LeftMargin MM - RightMargin MM - Align Left - AlignPossible Left - LabelType No_Label +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 Blue + EndFont + LabelFont + Color Blue + EndFont End + Style CURTAIN - Margin Dynamic - LatexType Paragraph - LatexName dummy - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - KeepEmpty 1 - Align Center - AlignPossible Center - LabelType Static - LabelString "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 End -Style Title - Margin Static - LatexType Command - LatexName title - InTitle 1 - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Left, Right, Center +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 End + Style Author - Margin Static - LatexType Command - LatexName author - InTitle 1 - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Left, Right, Center -End - -# Right Address style + 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 +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 - -Input stdtitle.inc -Input stdstruct.inc -# Input lyxmacros.inc -NoStyle Abstract -NoStyle Bibliography -NoStyle Date + 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 +