]> git.lyx.org Git - features.git/blob - lib/layouts/broadway.layout
Dekel patch to add EndLabelString tag to layout files.
[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   Align                 Center
150   AlignPossible         Center
151   LabelType             Static
152   LabelString           (
153   EndLabelType          Static
154   EndLabelString        )
155
156 Font
157   Family                Roman
158   Series                Medium
159   Shape                 Italic
160   Size                  Normal
161   Color                 Blue
162 EndFont
163
164 LabelFont
165   Family                Roman
166   Series                Medium
167   Shape                 Up
168   Size                  Normal
169   Color                 Blue
170 EndFont
171 End
172
173 # Dialogue style definition. Actor dialog
174 Style Dialogue
175   Margin                Static
176   LatexType             Environment
177   LatexName             dialogue
178   LeftMargin            MM
179   RightMargin           MM
180   Align                 Left
181   AlignPossible         Left
182   LabelType             No_Label
183 End
184
185 Style CURTAIN
186   Margin                Dynamic
187   LatexType             Paragraph
188   LatexName             dummy
189   ParIndent             ""
190   ParSkip               0.8
191   TopSep                1.0
192   KeepEmpty             1
193   Align                 Center
194   AlignPossible         Center
195   LabelType             Static
196   LabelString           "CURTAIN"
197 End
198
199 Style Title
200   Margin                Static
201   LatexType             Command
202   LatexName             title
203   InTitle               1
204   ParSkip               0.4
205   BottomSep             1.5
206   ParSep                1.5
207   Align                 Center
208   AlignPossible         Left, Right, Center
209
210 End
211
212 Style Author
213   Margin                Static
214   LatexType             Command
215   LatexName             author
216   InTitle               1
217   ParSkip               0.4
218   BottomSep             1.5
219   ParSep                1.5
220   Align                 Center
221   AlignPossible         Left, Right, Center
222 End
223
224 # Right Address style
225 Style Right_Address
226   Margin                Right_Address_Box
227   LatexType             Command
228   LatexName             address
229   InTitle               1
230   ParSkip               0.4
231   BottomSep             1.5
232   ParSep                1.5
233   Align                 Left
234   AlignPossible         Left, Right
235 End
236  
237 Input stdtitle.inc
238 Input stdstruct.inc
239 # Input lyxmacros.inc
240 NoStyle Abstract
241 NoStyle Bibliography
242 NoStyle Date
243
244