]> git.lyx.org Git - features.git/blob - lib/layouts/broadway.layout
Hollywood/broadway fixes; update configure check for xforms version.
[features.git] / lib / layouts / broadway.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[broadway]{broadway}
3
4 # For theater plays
5 # General textclass parameters
6 Columns                 1
7 Sides                   1
8 SecNumDepth             2
9 TocDepth                2
10
11 ClassOptions
12 FontSize                12
13 End
14
15 # This is just to show how to declare the default font.
16 # The defaults are exactly those shown here.
17 DefaultFont
18   Family                Roman
19   Series                Medium
20   Shape                 Up
21   Size                  Normal
22   Color                 None
23 EndFont
24
25 Preamble
26 \usepackage{fancyhdr}
27 \usepackage{extramarks}
28 \usepackage{ifthen}
29 \usepackage{lastpage}
30 \pagestyle{fancy}
31 \newcommand{\TheAuthor}{}
32 \newcommand{\Author}[1]{\renewcommand{\TheAuthor}{#1}}
33 \newcommand{\TheTitle}{}
34 \newcommand{\Title}[1]{\renewcommand{\TheTitle}{#1}}
35
36
37 \rhead{\thepage}
38 \lhead{\TheTitle}
39 \chead{\TheAuthor}
40 \cfoot{}
41 % We do not want any hyphenation
42   \sloppy
43 EndPreamble
44
45 # Standard style definition (I kept this one to provide a general case)
46 Style Standard
47   Margin                Static
48   LatexType             Paragraph
49   LatexName             dummy
50   ParIndent             ""
51   ParSkip               0.4
52   Align                 Left
53   AlignPossible         Block, Left, Right, Center
54   Labeltype             No_Label
55 End
56
57 # Narrative description of Scene
58 Style Narrative
59   Margin                Static
60   LatexType             Environment
61   LatexName             narrative
62   ParIndent             ""
63   ParSkip               0.8
64   TopSep                1.0
65   Align                 Left
66   AlignPossible         Left
67   LabelType             No_Label
68 Font
69   Family                Roman
70   Series                Medium
71   Shape                 Italic
72   Size                  Normal
73   Color                 Black
74 EndFont
75 End
76
77 Style ACT
78   Margin                Dynamic
79   LatexType             Environment
80   LatexName             act
81   ParIndent             ""
82   ParSkip               0.8
83   TopSep                1.0
84   KeepEmpty             1
85   Align                 Center
86   AlignPossible         Center
87   LabelType             Counter_Chapter
88   LabelString           "ACT "
89 End
90
91 Style ACT*
92   Margin                Dynamic
93   LatexType             Paragraph
94   LatexName             dummy
95   ParIndent             ""
96   ParSkip               0.8
97   TopSep                1.0
98   Align                 Center
99   AlignPossible         Center
100   LabelType             No_Label
101 End
102
103 Style SCENE
104   Margin                Dynamic
105   LatexType             Environment
106   LatexName             scene
107   ParIndent             ""
108   ParSkip               0.8
109   TopSep                1.0
110   KeepEmpty             1
111   Align                 Center
112   AlignPossible         Center
113   LabelType             Static       # Counter_EnumI
114   LabelString           "SCENE "
115 End
116
117 Style AT_RISE:
118   Margin                Dynamic
119   LatexType             Environment
120   LatexName             atrise
121   ParIndent             ""
122   ParSkip               0.8
123   TopSep                1.0
124   Align                 Left
125   AlignPossible         Left
126   KeepEmpty             1
127   LabelType             Static
128   LabelString           "AT RISE: "
129 End
130
131 # Speaker style definition, identifies speaker  ALL CAPS
132 Style Speaker
133   Margin                Static
134   LatexType             Environment
135   LatexName             speaker
136   ParSkip               0.4
137   TopSep                0.4
138   Align                 Center
139   AlignPossible         Center
140   LabelType             No_Label
141 End
142
143 # Parenthetical instruction to speaker (in parenthises, l.c.)
144 # The ( and ) will automatically appear on screen, so don't type any.
145 Style Parenthetical  
146   Margin                Static
147   LatexType             Environment
148   LatexName             parenthetical
149   LeftMargin            MMMMMMMMMMMMMMMMM
150   TopSep                0.0
151   BottomSep             0.0
152   ParSkip               0.0
153   Align                 Left
154   AlignPossible         Left
155   LabelType             Static
156   LabelString           (
157   EndLabelType          Static
158   EndLabelString        )
159
160 Font
161   Family                Roman
162   Series                Medium
163   Shape                 Italic
164   Size                  Normal
165   Color                 Blue
166 EndFont
167
168 LabelFont
169   Family                Roman
170   Series                Medium
171   Shape                 Up
172   Size                  Normal
173   Color                 Blue
174 EndFont
175 End
176
177 # Dialogue style definition. Actor dialog
178 Style Dialogue
179   Margin                Static
180   LatexType             Environment
181   LatexName             dialogue
182   LeftMargin            MM
183   RightMargin           MM
184   Align                 Left
185   AlignPossible         Left
186   LabelType             No_Label
187 End
188
189 Style CURTAIN
190   Margin                Dynamic
191   LatexType             Paragraph
192   LatexName             dummy
193   ParIndent             ""
194   ParSkip               0.8
195   TopSep                1.0
196   KeepEmpty             1
197   Align                 Center
198   AlignPossible         Center
199   LabelType             Static
200   LabelString           "CURTAIN"
201 End
202
203 Style Title
204   Margin                Static
205   LatexType             Command
206   LatexName             title
207   InTitle               1
208   ParSkip               0.4
209   BottomSep             1.5
210   ParSep                1.5
211   Align                 Center
212   AlignPossible         Left, Right, Center
213
214 End
215
216 Style Author
217   Margin                Static
218   LatexType             Command
219   LatexName             author
220   InTitle               1
221   ParSkip               0.4
222   BottomSep             1.5
223   ParSep                1.5
224   Align                 Center
225   AlignPossible         Left, Right, Center
226 End
227
228 # Right Address style
229 Style Right_Address
230   Margin                Right_Address_Box
231   LatexType             Command
232   LatexName             address
233   InTitle               1
234   ParSkip               0.4
235   BottomSep             1.5
236   ParSep                1.5
237   Align                 Left
238   AlignPossible         Left, Right
239 End
240  
241 Input stdtitle.inc
242 Input stdstruct.inc
243 # Input lyxmacros.inc
244 NoStyle Abstract
245 NoStyle Bibliography
246 NoStyle Date
247
248