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