]> git.lyx.org Git - lyx.git/blob - lib/layouts/hollywood.layout
Backup file patch from Dekel; Update to scr layout files from Hartmut Goebel
[lyx.git] / lib / layouts / hollywood.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[hollywood]{hollywood}
3 # This layout follows the current Hollywood standard for movie scripts
4
5 # Font Courier 12 pts
6 # abbreviations used in scripts are as follows:
7 # INT. - interior       EXT. - exterior
8 #(O.S) - off screen     b.g. - background       PAN - camera movement
9 #(V.O) - voice over     C.U. - close-up         INSERT - cut to close-up of
10 # each page should be 1 minute of film
11 # Spec scripts should not be more that 120 pages or less than 110.
12 # Nothing goes in a script that you cannot see or hear.
13
14 # Contributed by Garst R. Reese with lots of help from the LyX Team
15 # Based on course given by Lars Davidson
16
17 # General textclass parameters
18 Columns                 1
19 Sides                   1
20 SecNumDepth             2
21 TocDepth                2
22
23 ClassOptions
24 FontSize                12
25 End
26
27 # This is just to show how to declare the default font.
28 # The defaults are exactly those shown here.
29 DefaultFont
30   Family                Typewriter
31   Series                Medium
32   Shape                 Up
33   Size                  Normal
34   Color                 None
35 EndFont
36
37 Preamble
38 \usepackage{fancyhdr}
39 \usepackage{extramarks}
40 \usepackage{ifthen}
41 \usepackage{lastpage}
42 \pagestyle{fancy}
43 % This stuff is for a shooting script
44 % \lhead{\ifthenelse{ \not \value{page} = 1}{CONTINUED:}{}}
45 % \rfoot{\ifthenelse{ \not \value{page}=\pageref{LastPage}}{(CONT'D)}
46 %  {\ifthenelse{\value{page}=\pageref{LastPage}}{(END)}{}}}
47
48
49 % This is what we want for a spec script
50 \rhead{\thepage.}
51 \cfoot{}
52 % \renewcommand{\headrulewitdh}{0pt}
53   % This one is needed to get real adobe courier, but you can use
54   % cmtt which is also correct
55   \renewcommand{\familydefault}{pcr}
56   % This is to negate the effect of the ~ that LyX adds everywhere
57  \let~=\space
58   % this protects you against the fact that TeX does not want to
59   % hyphenate in typewriter font. It is possible to enable
60   % hyphenation, but I do not remember how.
61   % That's good because we -do not- want any hyphenation.
62   \sloppy
63 EndPreamble
64
65 # Standard style definition (I kept this one to provide a general case)
66 Style Standard
67   Margin                Static
68   LatexType             Paragraph
69   LatexName             dummy
70   ParIndent             ""
71   ParSkip               0.4
72   Align                 Left
73   AlignPossible         Block, Left, Right, Center
74   Labeltype             No_Label
75 End
76
77
78 # Narrative description of Scene
79 Style Narrative
80   Margin                Static
81   LatexType             Environment
82   LatexName             narrative
83   ParIndent             ""
84   ParSkip               0.8
85   TopSep                1.0
86   Align                 Left
87   AlignPossible         Left
88   LabelType             No_Label
89 End
90
91 # FADE_IN: and FADE_OUT: usually stand alone. If you want a more complicated
92 # FADE_IN e.g. FADE_IN on STELLA:, use the Narrative Style.
93 Style FADE_IN:
94   Margin                Dynamic
95   LatexType             Environment
96   LatexName             fadein
97   ParIndent             ""
98   ParSkip               0.8
99   TopSep                1.0
100   Align                 Left
101   AlignPossible         Left
102   KeepEmpty             1
103   LabelType             Static
104   LabelString           "FADE IN: "
105 End
106
107 # Scene headings (ALL CAPS) This is a general case, probably not needed
108 # example:
109 # INT. LOG CABIN - NIGHT
110 # Use Style EXT. for Exterior, INT. for Interior scenes. Last word should be
111 # - DAY, or - NIGHT or similar to define lighting.
112 Style INT.
113   Margin                Dynamic
114   LatexType             Environment
115   LatexName             interior
116   ParIndent             ""
117   ParSkip               0.8
118   TopSep                1.0
119   Align                 Left
120   AlignPossible         Left
121   LabelType             Static
122   LabelString           "INT. "
123 End
124
125 Style EXT.
126   Margin                Dynamic
127   LatexType             Environment
128   LatexName             exterior
129   ParIndent             ""
130   ParSkip               0.8
131   TopSep                1.0
132   Align                 Left
133   AlignPossible         Left
134   LabelType             Static
135   LabelString           "EXT. "
136 End
137
138 # Dialogue style definition. Actor dialog
139 Style Dialogue
140   Margin                Static
141   LatexType             Environment
142   LatexName             dialogue
143   LeftMargin            MMMMMMMMMMMM
144   RightMargin           MMMMMMMMMMMM
145   ParSkip               0.0
146   TopSep                0.0
147   BottomSep             0.0
148   Align                 Left
149   AlignPossible         Left
150   LabelType             No_Label
151 End
152 # Speaker style definition, identifies speaker  ALL CAPS
153 Style Speaker
154   Margin                Static
155   LatexType             Environment
156   LatexName             speaker
157   LeftMargin            MMMMMMMMMMMMMMMMMMMMMM
158   ParSkip               0.0
159   TopSep                1.0
160   BottomSep             0.0
161   Align                 Left
162   AlignPossible         Left
163   LabelType             No_Label
164 End
165
166 # Parenthetical instruction to speaker (in parenthises, l.c.)
167 # The ( will automatically appear on screen, both () will be
168 # in print, so don't type any.
169 Style Parenthetical  
170   Margin                Static
171   LatexType             Environment
172   LatexName             parenthetical
173   LeftMargin            MMMMMMMMMMMMMMMMM
174   TopSep                0.0
175   BottomSep             0.0
176   ParSkip               0.0
177   Align                 Left
178   AlignPossible         Left
179   LabelType             Static
180   LabelString           (
181 Font
182   Family                Typewriter
183   Series                Medium
184   Shape                 Up
185   Size                  Normal
186   Color                 Blue
187 EndFont
188
189 End
190
191 # Transition style definition ALL CAPS
192 Style Transition
193   Margin                Static
194   LatexType             Environment
195   LatexName             flushright
196   ParIndent             ""
197   TopSep                1.0
198   ParSkip               0.4
199   Align                 Right
200   AlignPossible         Right
201   LabelType             No_Label
202 End
203
204 Style FADE_OUT:
205   Margin                Dynamic
206   LatexType             Environment
207   LatexName             fadeout
208   ParIndent             ""
209   ParSkip               0.8
210   TopSep                1.0
211   Align                 Left
212   AlignPossible         Left
213   KeepEmpty             1
214   LabelType             Static
215   LabelString           "FADE OUT: "
216 End
217
218
219
220
221 # Right Address style
222 Style Right_Address
223   Margin                Right_Address_Box
224   LatexType             Command
225   LatexName             address
226   InTitle               1
227   ParSkip               0.4
228   BottomSep             1.5
229   ParSep                1.5
230   Align                 Left
231   AlignPossible         Left, Right
232 End
233
234 Style Author
235   Margin                Static
236   LatexType             Command
237   LatexName             author
238   InTitle               1
239   ParSkip               0.4
240   BottomSep             1.5
241   ParSep                1.5
242   Align                 Center
243   AlignPossible         Left, Right, Center
244
245 End
246
247 Style Title
248   Margin                Static
249   LatexType             Command
250   LatexName             title
251   InTitle               1
252   ParSkip               0.4
253   BottomSep             1.5
254   ParSep                1.5
255   Align                 Center
256   AlignPossible         Left, Right, Center
257
258 End
259  
260 Input stdtitle.inc
261 Input stdstruct.inc
262 # Input lyxmacros.inc
263 NoStyle Abstract
264 NoStyle Bibliography
265 NoStyle Date
266
267