| 1 |
%% |
| 2 |
%% This is file `example.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% screenplay.dtx (with options: `example') |
| 8 |
%% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= |
| 9 |
%% |
| 10 |
%% Authored by and Copyright (C)2006 by |
| 11 |
%% John Pate <[email protected]> |
| 12 |
%% http://dvc.org.uk |
| 13 |
%% Latest version is available as: |
| 14 |
%% http://dvc.org.uk/sacrific.txt/screenplay.zip |
| 15 |
%% |
| 16 |
%% This program is free software; you can redistribute it and/or |
| 17 |
%% modify it under the terms of the GNU General Public License as |
| 18 |
%% published by the Free Software Foundation; either version 2 of |
| 19 |
%% the License, or (at your option) any later version. |
| 20 |
%% |
| 21 |
%% This program is distributed in the hope that it will be useful, |
| 22 |
%% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 23 |
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 24 |
%% GNU General Public License for more details. |
| 25 |
%% |
| 26 |
%% You should have received a copy of the GNU General Public |
| 27 |
%% License along with this program; if not, write to the Free |
| 28 |
%% Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
| 29 |
%% MA 02110-1301 USA |
| 30 |
%% |
| 31 |
%% GPL v2 text also available as: |
| 32 |
%% http://dvc.org.uk/gplv2.txt |
| 33 |
%% |
| 34 |
%% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= |
| 35 |
%% \CheckSum{356} |
| 36 |
\documentclass{screenplay}[2012/06/30] |
| 37 |
|
| 38 |
\title{Example .tex File} |
| 39 |
|
| 40 |
\author{John Pate} |
| 41 |
|
| 42 |
\address{the address\\ |
| 43 |
here if you're\\ |
| 44 |
going postal\\ |
| 45 |
UK\\ |
| 46 |
+44~(0)131~999~9999\\ |
| 47 |
[email protected] |
| 48 |
} |
| 49 |
|
| 50 |
%% ... preamble finished, let's go ... |
| 51 |
\begin{document} |
| 52 |
|
| 53 |
%% Make a title page ... |
| 54 |
\coverpage |
| 55 |
%% ...or use \nicholl |
| 56 |
|
| 57 |
%% TeX allows quite a lot of leeway in whitespace, so I've messed this |
| 58 |
%% up a bit. I find keeping the format structured helps me a lot tho. |
| 59 |
%% Note: but don't have blank lines *inside* the body of text in |
| 60 |
%% a dialogue environment. |
| 61 |
%% I use vi (Elvis) with macros to make a lot of typing disappear. |
| 62 |
%% You can, of course, define LaTeX macros to shorten the command names. |
| 63 |
%% |
| 64 |
%% Anyhoo, on with the show ... |
| 65 |
|
| 66 |
%% for some reason this always happens at the start ... |
| 67 |
\fadein |
| 68 |
|
| 69 |
\intslug[illumination]{example sample -- screenplay.cls} |
| 70 |
|
| 71 |
In space, nobody knows what time of day it is. Wait, there is no |
| 72 |
day. |
| 73 |
|
| 74 |
So BOB, a cross-dressing Republican, and BROWN, a Christian |
| 75 |
fundamentalist Democrat, are talking nonsense instead. |
| 76 |
|
| 77 |
\begin{dialogue}{Bob} |
| 78 |
That means that someone |
| 79 |
sabotaged the unit and killed the |
| 80 |
President! Was it one of us? |
| 81 |
\end{dialogue} |
| 82 |
\begin{dialogue}{Brown} |
| 83 |
Who else is mad but us, Condi\ldots |
| 84 |
\paren{beat} |
| 85 |
and Bliar? |
| 86 |
\end{dialogue} |
| 87 |
|
| 88 |
Bob buries his head in his hands. |
| 89 |
|
| 90 |
\intslug{Atlantis -- somewhere ANyway} |
| 91 |
|
| 92 |
JOHN and MARK are at adjacent consoles. FRED is with them. TOM |
| 93 |
is at another console slightly further away. |
| 94 |
|
| 95 |
\begin{dialogue}{John} |
| 96 |
The planetoid seems to have a thin crust |
| 97 |
covering a nickel-iron core. Could have |
| 98 |
been an Earth-like planet at one time. |
| 99 |
\end{dialogue} |
| 100 |
|
| 101 |
\begin{dialogue}{Mark} |
| 102 |
We're coming up on the radio source now. |
| 103 |
\end{dialogue} |
| 104 |
|
| 105 |
Brown walks in and goes to a console. |
| 106 |
|
| 107 |
He has a PARROT on his shoulder. |
| 108 |
|
| 109 |
The Parrot has an air of quiet insouciance. |
| 110 |
|
| 111 |
\begin{dialogue}{Fred} |
| 112 |
Switch the visual to main screen so we |
| 113 |
can get a good look.\end{dialogue} |
| 114 |
|
| 115 |
They look up at the main screen. |
| 116 |
|
| 117 |
\begin{dialogue}[to John and Mark]{Fred} |
| 118 |
Lock on to that. |
| 119 |
\dialbreak[to Tom]{Fred} |
| 120 |
Establish planetary orbit. |
| 121 |
\end{dialogue} |
| 122 |
|
| 123 |
\intextslug[day]{in or out} |
| 124 |
Apparently some people do this. |
| 125 |
|
| 126 |
\intercut |
| 127 |
\extintslug[night]{out or in} |
| 128 |
Or even this. |
| 129 |
|
| 130 |
\extslug[day or nite]{NO WARRANTY -- EXPRESS OR IMPLIED} |
| 131 |
|
| 132 |
\pov\ I made the slugline DAY/NIGHT optional 'cause in space no-one can |
| 133 |
tell the time. You probably will need to specify. |
| 134 |
|
| 135 |
Don't put in pagebreaks by hand until you're really, really |
| 136 |
finished editing! |
| 137 |
|
| 138 |
It isn't the done thing to hyphenate for formatting purposes. |
| 139 |
\centretitle{http://dvc.org.uk/sacrific.txt/} |
| 140 |
|
| 141 |
That was a centred titleover. |
| 142 |
\begin{titleover}There's a titleover environment for dialogue-like layout if you're |
| 143 |
doing the "Star Wars" thing.\end{titleover}\extslug[All Hail Discordia!]{where to find us} |
| 144 |
http://dvc.org.uk/sacrific.txt/screenplay.zip |
| 145 |
|
| 146 |
Use the source, Luke. |
| 147 |
|
| 148 |
\extslug[illumination]{for definitive info on layout} |
| 149 |
|
| 150 |
http://www.oscars.org/awards/nicholl/resources.html |
| 151 |
|
| 152 |
%% and this always happens at the end ... |
| 153 |
\fadeout |
| 154 |
|
| 155 |
\theend |
| 156 |
|
| 157 |
\end{document} |
| 158 |
%% |
| 159 |
%% Hail Eris! All Hail Discordia! |
| 160 |
%% |
| 161 |
%% End of file `example.tex'. |