| 1 |
`screenwriter` -- A LaTeX class for writing screenplays |
| 2 |
======================================================= |
| 3 |
|
| 4 |
- **Author:** J. A. Corbal (jacorbal [at] gmail [dot] com) |
| 5 |
- **Last update:** Sun May 10 13:21:05 UTC 2026 |
| 6 |
- **Version:** 1.0.2 |
| 7 |
|
| 8 |
License |
| 9 |
------- |
| 10 |
|
| 11 |
This work may be distributed and/or modified under the conditions of the |
| 12 |
LaTeX Project Public License (LPPL), either version 1.3c of this license |
| 13 |
or (at your option) any later version. The latest version of the |
| 14 |
license is available at: <https://www.latex-project.org/lppl.txt> |
| 15 |
|
| 16 |
The project is maintained by the author (for now). |
| 17 |
|
| 18 |
Overview |
| 19 |
-------- |
| 20 |
|
| 21 |
The `screenwriter` class provides a LaTeX document class for writing |
| 22 |
film and television screenplays. It is based on John Pate's |
| 23 |
`screenplay.cls`, but updated for current LaTeX distributions and |
| 24 |
extended with a modular language system and better integration with |
| 25 |
`babel`. |
| 26 |
|
| 27 |
The class focuses on: |
| 28 |
|
| 29 |
- A standard screenplay layout (12pt typewriter, one column, US Letter |
| 30 |
or A4 paper). |
| 31 |
- Convenient macros for sluglines, dialogue, transitions, and cover |
| 32 |
pages. |
| 33 |
- Language‑dependent strings (such as “FADE IN”, “THE END”, “INT.”, |
| 34 |
“EXT.”) implemented via separate language definition files. |
| 35 |
|
| 36 |
Files |
| 37 |
----- |
| 38 |
The distribution typically contains: |
| 39 |
|
| 40 |
- The main class file: |
| 41 |
- `screenwriter.cls` |
| 42 |
|
| 43 |
- Language definition files providing localized versions of all |
| 44 |
internal strings used by the class (e.g., “FADE IN”, “THE END”, |
| 45 |
“TITLE OVER”, “(O.S.)”, &c.): |
| 46 |
|
| 47 |
- `screenwriter-lang-english.ldf` |
| 48 |
- `screenwriter-lang-catalan.ldf` |
| 49 |
- `screenwriter-lang-esperanto.ldf` |
| 50 |
- `screenwriter-lang-french.ldf` |
| 51 |
- `screenwriter-lang-galician.ldf` |
| 52 |
- `screenwriter-lang-german.ldf` |
| 53 |
- `screenwriter-lang-italian.ldf` |
| 54 |
- `screenwriter-lang-portuguese.ldf` |
| 55 |
- `screenwriter-lang-spanish.ldf` |
| 56 |
|
| 57 |
- User documentation and examples: |
| 58 |
- `screenwriter-doc-a4.tex` |
| 59 |
- `screenwriter-doc-a4.pdf` |
| 60 |
- `screenwriter-doc-letter.tex` |
| 61 |
- `screenwriter-doc-letter.pdf` |
| 62 |
- `sample.tex` |
| 63 |
- `sample.pdf` |
| 64 |
|
| 65 |
- License file (LPPL 1.3c): |
| 66 |
- `LICENSE` |
| 67 |
|
| 68 |
- This file: |
| 69 |
- `README` |
| 70 |
|
| 71 |
Installation |
| 72 |
------------ |
| 73 |
|
| 74 |
For a local installation in a personal TEXMF tree, copy the files as |
| 75 |
follows: |
| 76 |
|
| 77 |
- Place `screenwriter.cls` and all `screenwriter-lang-*.ldf` files |
| 78 |
into a directory such as: |
| 79 |
|
| 80 |
TEXMFHOME/tex/latex/screenwriter/ |
| 81 |
|
| 82 |
where `TEXMFHOME` is your local TEXMF root (for example `~/texmf` on |
| 83 |
a typical TeX Live installation). |
| 84 |
|
| 85 |
- Run `mktexlsr` or the equivalent command for your TeX distribution |
| 86 |
to update the file name database, if required. |
| 87 |
|
| 88 |
Once installed, LaTeX should find the class and language files |
| 89 |
automatically. |
| 90 |
|
| 91 |
Usage |
| 92 |
----- |
| 93 |
|
| 94 |
A minimal document using the default (English) settings: |
| 95 |
|
| 96 |
\documentclass{screenwriter} |
| 97 |
|
| 98 |
\title{My First Screenplay} |
| 99 |
\author{Screenwriter Name} |
| 100 |
|
| 101 |
\begin{document} |
| 102 |
\coverpage |
| 103 |
|
| 104 |
\fadein |
| 105 |
\intslug[DAY]{Office} |
| 106 |
|
| 107 |
\begin{dialogue}{WRITER} |
| 108 |
This is a line of dialogue. |
| 109 |
\end{dialogue} |
| 110 |
|
| 111 |
\theend |
| 112 |
\end{document} |
| 113 |
|
| 114 |
Page Layout and Options |
| 115 |
----------------------- |
| 116 |
|
| 117 |
The class loads the standard `article` class internally and sets up a |
| 118 |
screenplay-friendly layout: |
| 119 |
|
| 120 |
- 12pt typewriter font |
| 121 |
- One column, one-sided |
| 122 |
- US Letter (default) or A4 paper |
| 123 |
- Ragged-right text, custom margins and dialogue widths |
| 124 |
|
| 125 |
Paper options: |
| 126 |
|
| 127 |
- `a4paper` -- use A4 paper and adjust the width of dialogue and |
| 128 |
address blocks accordingly. |
| 129 |
- `letterpaper` -- use US Letter paper (default). |
| 130 |
|
| 131 |
Example: |
| 132 |
|
| 133 |
\documentclass[a4paper]{screenwriter} |
| 134 |
|
| 135 |
Screenplay style options: |
| 136 |
|
| 137 |
- `literary` -- sluglines without scene numbers (default). |
| 138 |
- `technical` -- sluglines with automatically numbered scenes in the |
| 139 |
margins. |
| 140 |
|
| 141 |
Example: |
| 142 |
|
| 143 |
\documentclass[technical]{screenwriter} |
| 144 |
|
| 145 |
Language support |
| 146 |
---------------- |
| 147 |
|
| 148 |
The class provides a simple language mechanism for its own internal |
| 149 |
strings (such as “FADE IN”, “THE END”, “INT.”, “EXT.”, etc.). This is |
| 150 |
separate from, but designed to cooperate with, `babel`. |
| 151 |
|
| 152 |
There are two ways to select a language: |
| 153 |
|
| 154 |
1. **Via class options (explicit language)** |
| 155 |
|
| 156 |
You can explicitly choose the language used for the internal strings |
| 157 |
by passing one of the available language options to the class: |
| 158 |
|
| 159 |
- `english` (default) |
| 160 |
- `catalan` |
| 161 |
- `esperanto` |
| 162 |
- `french` |
| 163 |
- `galician` |
| 164 |
- `german` |
| 165 |
- `italian` |
| 166 |
- `portuguese` |
| 167 |
- `spanish` |
| 168 |
|
| 169 |
Example: |
| 170 |
|
| 171 |
\documentclass[spanish]{screenwriter} |
| 172 |
|
| 173 |
This will load `screenwriter-lang-spanish.ldf` and use Spanish |
| 174 |
versions for all internal labels, regardless of whether `babel` is |
| 175 |
loaded. |
| 176 |
|
| 177 |
2. **Via babel (implicit language)** |
| 178 |
|
| 179 |
If no explicit language option is given to the class, but `babel` is |
| 180 |
loaded with a language option, the class will attempt to detect the |
| 181 |
current language through `\languagename` at `\begin{document}` and |
| 182 |
load the corresponding `screenwriter-lang-<language>.ldf` file, if |
| 183 |
available. |
| 184 |
|
| 185 |
Example: |
| 186 |
|
| 187 |
\documentclass{screenwriter} |
| 188 |
\usepackage[french]{babel} |
| 189 |
|
| 190 |
In this case, the class will try to use |
| 191 |
`screenwriter-lang-french.ldf`. If no matching language file is |
| 192 |
found, it falls back to English. |
| 193 |
|
| 194 |
Note that the class does not load `babel` on its own; users are expected |
| 195 |
to load `babel` (or `polyglossia`) in the usual way if they require |
| 196 |
language-specific hyphenation and typography. |
| 197 |
|
| 198 |
Main commands |
| 199 |
------------- |
| 200 |
|
| 201 |
The class defines several commands and environments tailored to |
| 202 |
screenplays: |
| 203 |
|
| 204 |
- Cover and title |
| 205 |
|
| 206 |
- `\coverpage` |
| 207 |
Produce a standard cover page with title, author, and contact |
| 208 |
information. |
| 209 |
|
| 210 |
- `\nicholl` |
| 211 |
Alternative simple title page variant. |
| 212 |
|
| 213 |
- `\title{...}`, `\author{...}` |
| 214 |
Standard LaTeX macros reused by the class. |
| 215 |
|
| 216 |
- `\realauthor{...}` |
| 217 |
Set the real author name for the cover in case that `\author` is |
| 218 |
a pseudonym, or a shorter version of the name. |
| 219 |
|
| 220 |
- `\address{...}`, `\agent{...}` |
| 221 |
Provide address and agent information for the cover page. |
| 222 |
|
| 223 |
- Sluglines |
| 224 |
|
| 225 |
- `\intslug[QUALIFIER]{LOCATION}` |
| 226 |
Interior slugline (INT.). |
| 227 |
|
| 228 |
- `\extslug[QUALIFIER]{LOCATION}` |
| 229 |
Exterior slugline (EXT.). |
| 230 |
|
| 231 |
- `\intextslug[QUALIFIER]{LOCATION}` |
| 232 |
Combined interior/exterior slugline (INT./EXT.). |
| 233 |
|
| 234 |
- `\extintslug[QUALIFIER]{LOCATION}` |
| 235 |
Combined exterior/interior slugline (EXT./INT.). |
| 236 |
|
| 237 |
The exact abbreviations and punctuation are language-dependent and |
| 238 |
defined in the corresponding `.ldf` files. |
| 239 |
|
| 240 |
- Dialogue |
| 241 |
|
| 242 |
- Environment `dialogue[paren]{CHARACTER}` |
| 243 |
Typesets character name and dialogue in the standard screenplay |
| 244 |
layout. An optional parenthetical can be provided in the optional |
| 245 |
argument. |
| 246 |
|
| 247 |
- `\dialbreak[paren]{CHARACTER}` |
| 248 |
Ends the current dialogue block with a “(MORE)” marker, starts |
| 249 |
a new page, and continues the same character's dialogue marked as |
| 250 |
“(CONT'D)”. |
| 251 |
|
| 252 |
- Transitions and labels |
| 253 |
|
| 254 |
- `\fadein`, `\fadeout` |
| 255 |
Insert “FADE IN:” and “FADE OUT:” (or their localized versions). |
| 256 |
|
| 257 |
- `\intercut`, `\flashback` |
| 258 |
Insert transition labels such as “INTERCUT WITH:” and |
| 259 |
“FLASHBACK TO:”. |
| 260 |
|
| 261 |
- `\titleover` environment |
| 262 |
For “TITLE OVER:” blocks (such as on-screen text). |
| 263 |
|
| 264 |
- `\theend` |
| 265 |
Typesets the final “THE END” (or localized equivalent) centered. |
| 266 |
|
| 267 |
For detailed examples and spacing behaviour, see the accompanying |
| 268 |
`screenwriter-doc.pdf`. |
| 269 |
|
| 270 |
Development and contributions |
| 271 |
----------------------------- |
| 272 |
|
| 273 |
The class is intended as an up-to-date, language-aware replacement for |
| 274 |
the original `screenplay.cls`, while preserving the general user |
| 275 |
interface familiar to screenwriters using LaTeX. |
| 276 |
|
| 277 |
Bug reports, suggestions, and contributions (especially new language |
| 278 |
definition files) are welcome. Please contact the maintainer at: |
| 279 |
(jacorbal [at] gmail [dot] com). |