Files
opus-orchestrator-ai/opus_orchestrator/templates/latex/screenplay.tex
T

105 lines
1.4 KiB
TeX

% Opus Orchestrator - Screenplay Template
% Film/TV scripts, stage plays
\documentclass[12pt]{article}
% Packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{geometry}
\usepackage{setspace}
\usepackage{url}
% Screenplay format
\geometry{
paperwidth=8.5in,
paperheight=11in,
textwidth=6in,
textheight=9in,
left=1.5in,
right=1in,
top=1in,
bottom=1in,
}
% Hyperref
\hypersetup{colorlinks=false}
% Single spaced for screenplay
\singlespacing
% Custom commands for screenplay
\usepackage{ifthen}
\newcounter{scene}
\widowpenalty=10000
\clubpenalty=10000
% Scene heading
\newcommand{\sceneheading}[1]{%
\vspace{1ex}%
\textbf{#1}%
\vspace{1ex}%
}
% Action
\newcommand{\action}[1]{%
#1%
\vspace{1ex}%
}
% Character name
\newcommand{\character}[1]{%
\vspace{1ex}%
\textbf{\MakeUppercase{#1}}%
\vspace{1ex}%
}
% Parenthetical
\newcommand{\parenthetical}[1]{%
\textit{#1}%
}
% Dialogue
\newcommand{\dialogue}[1]{%
#1%
\vspace{1ex}%
}
% Transition
\newcommand{\transition}[1]{%
\raggedleft%
\textbf{#1}%
\normalfont%
\vspace{2ex}%
}
% Metadata
\def\booktitle{$book_title$}
\def\bookauthor{$author$}
\def\bookdate{$date$}
\begin{document}
% Title page
\thispagestyle{empty}
\begin{center}
\vspace*{3in}
{\LARGE\bfseries\booktitle}
\bigskip
\bigskip
written by
\bigskip
\bookauthor
\vfill
\bookdate
\end{center}
% Scenes
\mainmatter
$body$
\end{document}