X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fhollywood.layout;h=78f522206c6b700fc3dfd58a8c24b060d8b6e8dd;hb=1caa7670d2222a3bae6277c3c6bbe0ce65a8f658;hp=800ac81bfa5344eb68aef9632ea7e371ceec5d5a;hpb=db0716f6669599f9b6293f77223cd017810295ca;p=lyx.git diff --git a/lib/layouts/hollywood.layout b/lib/layouts/hollywood.layout index 800ac81bfa..78f522206c 100644 --- a/lib/layouts/hollywood.layout +++ b/lib/layouts/hollywood.layout @@ -1,12 +1,12 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[hollywood]{hollywood} +# \DeclareLaTeXClass[hollywood,calc.sty,fancyhdr.sty,ulem.sty]{hollywood} # This layout follows the current Hollywood standard for movie scripts -# +# # Font Courier 12 pts # abbreviations used in scripts are as follows: -# INT. - interior EXT. - exterior -#(O.S) - off screen b.g. - background PAN - camera movement -#(V.O) - voice over C.U. - close-up INSERT - cut to close-up of +# INT. - interior EXT. - exterior +#(O.S) - off screen b.g. - background PAN - camera movement +#(V.O) - voice over C.U. - close-up INSERT - cut to close-up of # each page should be 1 minute of film # Spec scripts should not be more that 120 pages or less than 110. # Nothing goes in a script that you cannot see or hear. @@ -14,254 +14,360 @@ # Contributed by Garst R. Reese with lots of help from the LyX Team # Based on course given by Lars Davidson -# General textclass parameters + +Format 30 Columns 1 Sides 1 SecNumDepth 2 TocDepth 2 ClassOptions -FontSize 12 + FontSize 12 End -# This is just to show how to declare the default font. -# The defaults are exactly those shown here. DefaultFont - Family Typewriter - Series Medium - Shape Up - Size Normal - Color None + Family Typewriter + Series Medium + Shape Up + Size Normal + Color None EndFont -Preamble -\usepackage{fancyhdr} -\usepackage{extramarks} -\usepackage{ifthen} -\usepackage{lastpage} -\pagestyle{fancy} -% This stuff is for a shooting script -% \lhead{\ifthenelse{ \not \value{page} = 1}{CONTINUED:}{}} -% \rfoot{\ifthenelse{ \not \value{page}=\pageref{LastPage}}{(CONT'D)} -% {\ifthenelse{\value{page}=\pageref{LastPage}}{(END)}{}}} - - -% This is what we want for a spec script -\rhead{\thepage.} -\cfoot{} -% \renewcommand{\headrulewitdh}{0pt} - % This one is needed to get real adobe courier, but you can use - % cmtt which is also correct - \renewcommand{\familydefault}{pcr} - % This is to negate the effect of the ~ that LyX adds everywhere - \let~=\space - % this protects you against the fact that TeX does not want to - % hyphenate in typewriter font. It is possible to enable - % hyphenation, but I do not remember how. - % That's good because we -do not- want any hyphenation. - \sloppy -EndPreamble +DefaultStyle Dialogue -# 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 + +# Actor dialog +Style Dialogue + Margin Static + LatexType Command + LatexName dialogue + LeftMargin MMMMMMMMMM + RightMargin MMMMMMMMMMMMMMMMMMMMMMM + ParSkip 0.0 + TopSep 0.0 + BottomSep 0.0 + Align Left + LabelType No_Label End -# Narrative description of Scene -Style Narrative - Margin Static - LatexType Environment - LatexName narrative - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - Align Left - AlignPossible Left - LabelType No_Label +# More: Use to break a long Dialogue +Style More + Margin Static + LatexType Command + LatexName more + LeftMargin MMMMMMMMMMMMMMMMMMMMMMMMMMM + ParSkip 0.0 + TopSep 0.0 + BottomSep 0.0 + KeepEmpty 1 + Align Left + LabelType Static + LabelString "(MORE)" + Font + Family Typewriter + Series Medium + Shape Up + Size Normal + Color Green + EndFont End + # FADE_IN: and FADE_OUT: usually stand alone. If you want a more complicated # FADE_IN e.g. FADE_IN on STELLA:, use the Narrative Style. Style FADE_IN: - Margin Dynamic - LatexType Environment - LatexName fadein - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - Align Left - AlignPossible Left - KeepEmpty 1 - LabelType Static - LabelString "FADE IN: " + Margin Dynamic + LatexType Command + LatexName fadein + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + Align Left + KeepEmpty 1 + LabelType Static + LabelSep M + LabelString "FADE IN:" End + # Scene headings (ALL CAPS) This is a general case, probably not needed # example: # INT. LOG CABIN - NIGHT # Use Style EXT. for Exterior, INT. for Interior scenes. Last word should be # - DAY, or - NIGHT or similar to define lighting. Style INT. - Margin Dynamic - LatexType Environment - LatexName interior - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - Align Left - AlignPossible Left - LabelType Static - LabelString "INT. " + Margin Dynamic + LatexType Command + LatexName interiorshot + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + Align Left + LabelType Static + LabelSep M + LabelString "INT." End + Style EXT. - Margin Dynamic - LatexType Environment - LatexName exterior - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - Align Left - AlignPossible Left - LabelType Static - LabelString "EXT. " + Margin Dynamic + LatexType Command + LatexName exteriorshot + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + Align Left + LabelType Static + LabelSep M + LabelString "EXT." End -# Dialogue style definition. Actor dialog -Style Dialogue - Margin Static - LatexType Environment - LatexName dialogue - LeftMargin MMMMMMMMMMMM - RightMargin MMMMMMMMMMMM - ParSkip 0.0 - TopSep 0.0 - BottomSep 0.0 - Align Left - AlignPossible Left - LabelType No_Label + +# Narrative description of Scene +# same as narrative, but glued to INT., EXT., or Scene +Style Description + Margin Static + LatexType Command + LatexName description + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + RightMargin MMMMM + Align Left + LabelType No_Label End + + # Speaker style definition, identifies speaker ALL CAPS +# Use this also for THE END Style Speaker - Margin Static - LatexType Environment - LatexName speaker - LeftMargin MMMMMMMMMMMMMMMMMMMMMM - ParSkip 0.0 - TopSep 1.0 - BottomSep 0.0 - Align Left - AlignPossible Left - LabelType No_Label + Margin Static + LatexType Command + LatexName speaker + LeftMargin MMMMMMMMMMMMMMMMMMMMMMM + ParSkip 0.0 + TopSep 0.25 + BottomSep 0.0 + Align Left + LabelType No_Label End + # Parenthetical instruction to speaker (in parenthises, l.c.) -# The ( will automatically appear on screen, both () will be -# in print, so don't type any. -Style Parenthetical - Margin Static - LatexType Environment - LatexName parenthetical - LeftMargin MMMMMMMMMMMMMMMMM - TopSep 0.0 - BottomSep 0.0 - ParSkip 0.0 - Align Left - AlignPossible Left - LabelType Static - LabelString ( -Font - Family Typewriter - Series Medium - Shape Up - Size Normal - Color Blue -EndFont +# The ( and ) will automatically appear on screen, so don't type any. +Style Parenthetical + Margin Static + LatexType Command + LatexName parenthetical + LeftMargin MMMMMMMMMMMMMMMMMMM + RightMargin MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM + TopSep 0.0 + BottomSep 0.0 + ParSkip 0.0 + Align Left + LabelType Static + LabelString "(" + EndLabelType Static + EndLabelString ")" + Font + Family Typewriter + Series Medium + Shape Up + Size Normal + Color Blue + EndFont +End + +# Used when the same speaker continues after a narrative. Don't type +# anything. +Style Continuing + Margin Static + LatexType Command + LatexName continuing + LeftMargin MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM + TopSep 0.5 + BottomSep 0.5 + ParSkip 0.0 + KeepEmpty 1 + Align Left + LabelType Static + LabelString "(continuing)" + Font + Family Typewriter + Series Medium + Shape Up + Size Normal + Color Green + EndFont End + +# Narrative description of action +Style Narrative + Margin Static + LatexType Command + LatexName narrative + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + RightMargin MMMMM + Align Left + LabelType No_Label +End + + # Transition style definition ALL CAPS Style Transition - Margin Static - LatexType Environment - LatexName flushright - ParIndent "" - TopSep 1.0 - ParSkip 0.4 - Align Right - AlignPossible Right - LabelType No_Label + Margin Static + LatexType Environment + LatexName flushright + ParIndent "" + TopSep 0.5 + ParSkip 0.4 + Align Right + LabelType No_Label End -Style FADE_OUT: - Margin Dynamic - LatexType Environment - LatexName fadeout - ParIndent "" - ParSkip 0.8 - TopSep 1.0 - Align Left - AlignPossible Left - KeepEmpty 1 - LabelType Static - LabelString "FADE OUT: " + +Style TITLE_OVER: + Margin Dynamic + LatexType Command + LatexName titleover + ParIndent "" + ParSkip 0.5 + TopSep 0.5 + Align Left + KeepEmpty 1 + LabelType Static + LabelSep M + LabelString "TITLE OVER:" End +Style INTERCUT + Margin Dynamic + LatexType Command + LatexName intercut + ParIndent "" + ParSkip 0.25 + TopSep 0.5 + Align Left + KeepEmpty 1 + LabelType Static + LabelSep M + LabelString "INTERCUT WITH:" +End + + +Style FADE_OUT + Margin Dynamic + LatexType Command + LatexName fadeout + ParIndent "" + ParSkip 0.8 + TopSep 1.0 + Align Left + KeepEmpty 1 + LabelType Static + LabelSep M + LabelString "FADE OUT" +End + + +# Same as Standard, Standard deprecated +Style General + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent "" + ParSkip 0.4 + Align Left + AlignPossible Block, Left, Right, Center + Labeltype No_Label +End + + +# General Left aligned CAPS +Style Scene + Margin Dynamic + LatexType Command + LatexName scene + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + Align Left + LabelType No_Label +End -# Right Address style Style Right_Address - Margin Right_Address_Box - LatexType Command - LatexName address - InTitle 1 - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Left, Right + Margin Right_Address_Box + LatexType Command + LatexName address + InTitle 1 + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Left + AlignPossible Left, Right End -Style Author - Margin Static - LatexType Command - LatexName author - InTitle 1 - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Left, Right, Center +Style Author + Margin Static + LatexType Command + LatexName author + InTitle 1 + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Center + AlignPossible Left, Right, Center End + Style Title - Margin Static - LatexType Command - LatexName title - InTitle 1 - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Center - AlignPossible Left, Right, Center + Margin Static + LatexType Command + LatexName title + InTitle 1 + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Center + AlignPossible Left, Right, Center +End + +# Standard style definition (I kept this one to provide a general case) +Style Standard + ObsoletedBy General End - + + +# For shooting scripts only, puts CONTINUED in rfoot, CONTINUED: in +# nextpage lhead and clears that rfoot. It is used when a scene continues +# onto the next page. This command is provided in case a production unit +# wants to convert the spec script into a shooting script. + +#Style CONTINUED +# LatexType Command +# LatexName continued +#End +# Clears rfoot, does a pagebreak, and clears lhead. +#Style NOT_CONTD +# LatexType Command +# LatexName endcontinued +#End + +Input stdinsets.inc Input stdtitle.inc Input stdstruct.inc -# Input lyxmacros.inc +Input stdfloats.inc +Input stdcounters.inc + NoStyle Abstract NoStyle Bibliography NoStyle Date - -