| 1 |
%% |
| 2 |
%% This is file `pkg-example.tex', |
| 3 |
%% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= |
| 4 |
%% |
| 5 |
%% Original file Authored by and Copyright (C)2006 by |
| 6 |
%% John Pate <[email protected]> |
| 7 |
%% http://dvc.org.uk |
| 8 |
% This file modified by Alan Munn to test the standalone package version |
| 9 |
% |
| 10 |
% |
| 11 |
% |
| 12 |
%This package may be distributed and/or modified under the conditions of |
| 13 |
%the LaTeX Project Public License, either version 1.3 of this license or |
| 14 |
%any later version. The latest version of this license is in |
| 15 |
%http://www.latex-project.org/lppl.txt and version 1.3 or later is part |
| 16 |
%of all distributions of LaTeX version 2005/12/01 or later. |
| 17 |
% |
| 18 |
%This package has the LPPL maintenance status `maintained'. |
| 19 |
% |
| 20 |
% |
| 21 |
|
| 22 |
\documentclass{article} |
| 23 |
\usepackage{screenplay-pkg} |
| 24 |
\usepackage{lipsum} |
| 25 |
\begin{document} |
| 26 |
|
| 27 |
%% TeX allows quite a lot of leeway in whitespace, so I've messed this |
| 28 |
%% up a bit. I find keeping the format structured helps me a lot tho. |
| 29 |
%% Note: but don't have blank lines *inside* the body of text in |
| 30 |
%% a dialogue environment. |
| 31 |
%% I use vi (Elvis) with macros to make a lot of typing disappear. |
| 32 |
%% You can, of course, define LaTeX macros to shorten the command names. |
| 33 |
%% |
| 34 |
%% Anyhoo, on with the show ... |
| 35 |
|
| 36 |
%% for some reason this always happens at the start ... |
| 37 |
This is some normal text in the document. \lipsum[1] |
| 38 |
|
| 39 |
% To insert a screenplay fragment, use the screenplay environment |
| 40 |
\begin{screenplay} |
| 41 |
\fadein |
| 42 |
|
| 43 |
\intslug[illumination]{example sample -- screenplay.cls} |
| 44 |
|
| 45 |
In space, nobody knows what time of day it is. Wait, there is no |
| 46 |
day. |
| 47 |
|
| 48 |
So BOB, a cross-dressing Republican, and BROWN, a Christian |
| 49 |
fundamentalist Democrat, are talking nonsense instead. |
| 50 |
|
| 51 |
\begin{dialogue}{Bob} |
| 52 |
That means that someone |
| 53 |
sabotaged the unit and killed the |
| 54 |
President! Was it one of us? |
| 55 |
\end{dialogue} |
| 56 |
\begin{dialogue}{Brown} |
| 57 |
Who else is mad but us, Condi\ldots |
| 58 |
\paren{beat} |
| 59 |
and Bliar? |
| 60 |
\end{dialogue} |
| 61 |
|
| 62 |
Bob buries his head in his hands. |
| 63 |
|
| 64 |
\intslug{Atlantis -- somewhere ANyway} |
| 65 |
|
| 66 |
JOHN and MARK are at adjacent consoles. FRED is with them. TOM |
| 67 |
is at another console slightly further away. |
| 68 |
|
| 69 |
\begin{dialogue}{John} |
| 70 |
The planetoid seems to have a thin crust |
| 71 |
covering a nickel-iron core. Could have |
| 72 |
been an Earth-like planet at one time. |
| 73 |
\end{dialogue} |
| 74 |
|
| 75 |
\begin{dialogue}{Mark} |
| 76 |
We're coming up on the radio source now. |
| 77 |
\end{dialogue} |
| 78 |
|
| 79 |
Brown walks in and goes to a console. |
| 80 |
|
| 81 |
He has a PARROT on his shoulder. |
| 82 |
|
| 83 |
The Parrot has an air of quiet insouciance. |
| 84 |
|
| 85 |
\begin{dialogue}{Fred} |
| 86 |
Switch the visual to main screen so we |
| 87 |
can get a good look.\end{dialogue} |
| 88 |
|
| 89 |
They look up at the main screen. |
| 90 |
|
| 91 |
\begin{dialogue}[to John and Mark]{Fred} |
| 92 |
Lock on to that. |
| 93 |
\dialbreak[to Tom]{Fred} |
| 94 |
Establish planetary orbit. |
| 95 |
\end{dialogue} |
| 96 |
|
| 97 |
\intextslug[day]{in or out} |
| 98 |
Apparently some people do this. |
| 99 |
|
| 100 |
\intercut |
| 101 |
\extintslug[night]{out or in} |
| 102 |
Or even this. |
| 103 |
|
| 104 |
\extslug[day or nite]{NO WARRANTY -- EXPRESS OR IMPLIED} |
| 105 |
|
| 106 |
\pov\ I made the slugline DAY/NIGHT optional 'cause in space no-one can |
| 107 |
tell the time. You probably will need to specify. |
| 108 |
|
| 109 |
Don't put in pagebreaks by hand until you're really, really |
| 110 |
finished editing! |
| 111 |
|
| 112 |
It isn't the done thing to hyphenate for formatting purposes. |
| 113 |
\centretitle{http://dvc.org.uk/sacrific.txt/} |
| 114 |
|
| 115 |
That was a centred titleover. |
| 116 |
\begin{titleover}There's a titleover environment for dialogue-like layout if you're |
| 117 |
doing the "Star Wars" thing.\end{titleover}\extslug[All Hail Discordia!]{where to find us} |
| 118 |
http://dvc.org.uk/sacrific.txt/screenplay.zip |
| 119 |
|
| 120 |
Use the source, Luke. |
| 121 |
|
| 122 |
\extslug[illumination]{for definitive info on layout} |
| 123 |
|
| 124 |
http://www.oscars.org/nicholl/format.html |
| 125 |
|
| 126 |
%% and this always happens at the end ... |
| 127 |
\fadeout |
| 128 |
|
| 129 |
\theend |
| 130 |
\end{screenplay} |
| 131 |
\end{document} |
| 132 |
%% |
| 133 |
%% Hail Eris! All Hail Discordia! |
| 134 |
%% |
| 135 |
%% End of file `pkg-example.tex'. |