X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbroadway.layout;h=1b9cd05619d86ef0caf3135ecd027a5aeb28dc80;hb=c5d617710f7bc0dec3140a9134a3ddcae535fc26;hp=a244d8c83458f02c976e040a72c01acd8b941949;hpb=e96fc497ec3df22eba641ba85c662f56152c746f;p=lyx.git diff --git a/lib/layouts/broadway.layout b/lib/layouts/broadway.layout index a244d8c834..1b9cd05619 100644 --- a/lib/layouts/broadway.layout +++ b/lib/layouts/broadway.layout @@ -22,42 +22,24 @@ DefaultFont 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 - -# Standard style definition (I kept this one to provide a general case) -Style Standard +# Dialogue style definition. Actor dialog +Style Dialogue Margin Static - LatexType Paragraph - LatexName dummy - ParIndent "" - ParSkip 0.4 + LatexType Command + LatexName dialogue + LeftMargin MMMMMMM + RightMargin MMMMMMM Align Left - AlignPossible Block, Left, Right, Center - Labeltype No_Label + AlignPossible Left + LabelType No_Label End + + # Narrative description of Scene Style Narrative Margin Static - LatexType Environment + LatexType Command LatexName narrative ParIndent "" ParSkip 0.8 @@ -75,48 +57,51 @@ EndFont End Style ACT - Margin Dynamic - LatexType Environment + Margin Static + LatexType Command LatexName act ParIndent "" ParSkip 0.8 TopSep 1.0 - KeepEmpty 1 +# KeepEmpty 1 Align Center AlignPossible Center LabelType Counter_Chapter LabelString "ACT " End -Style ACT* + +Style SCENE Margin Dynamic - LatexType Paragraph - LatexName dummy + LatexType Command + LatexName scene ParIndent "" ParSkip 0.8 TopSep 1.0 +# KeepEmpty 1 Align Center AlignPossible Center - LabelType No_Label + LabelType Counter_Section + LabelString "SCENE " End -Style SCENE +Style SCENE* Margin Dynamic - LatexType Environment - LatexName scene + LatexType Command + LatexName scenestar ParIndent "" ParSkip 0.8 TopSep 1.0 KeepEmpty 1 Align Center AlignPossible Center - LabelType Static # Counter_EnumI + LabelType Static LabelString "SCENE " End Style AT_RISE: Margin Dynamic - LatexType Environment + LatexType Command LatexName atrise ParIndent "" ParSkip 0.8 @@ -131,7 +116,7 @@ End # Speaker style definition, identifies speaker ALL CAPS Style Speaker Margin Static - LatexType Environment + LatexType Command LatexName speaker ParSkip 0.4 TopSep 0.4 @@ -144,9 +129,10 @@ End # The ( and ) will automatically appear on screen, so don't type any. Style Parenthetical Margin Static - LatexType Environment + LatexType Command LatexName parenthetical - LeftMargin MMMMMMMMMMMMMMMMM + LeftMargin MMMMMMMMMMMMM + RightMargin MMMM TopSep 0.0 BottomSep 0.0 ParSkip 0.0 @@ -174,22 +160,11 @@ LabelFont 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 -End Style CURTAIN - Margin Dynamic - LatexType Paragraph - LatexName dummy + Margin Static + LatexType Command + LatexName curtain ParIndent "" ParSkip 0.8 TopSep 1.0 @@ -200,6 +175,18 @@ Style CURTAIN LabelString "CURTAIN" 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 +End + Style Title Margin Static LatexType Command