| 1 |
\documentclass[12pt]{sides} |
| 2 |
|
| 3 |
\title{A Sample Play} |
| 4 |
|
| 5 |
\author{Wing L. Mui |
| 6 |
\\ \\ |
| 7 |
17 Imaginary Road \\ |
| 8 |
Real Town, MA 01002 |
| 9 |
\\ \\ |
| 10 |
http://www.wingie.org |
| 11 |
} |
| 12 |
|
| 13 |
\date{5/9/2005} |
| 14 |
|
| 15 |
\begin{document} |
| 16 |
|
| 17 |
\maketitle |
| 18 |
|
| 19 |
\castpage |
| 20 |
|
| 21 |
\cast{Eleanor} A girl of age 18. She likes pies and $\pi$. |
| 22 |
|
| 23 |
\cast{Cat} A large creature that meows. |
| 24 |
|
| 25 |
\notes |
| 26 |
|
| 27 |
This is a sample of what the $sides$ package for \LaTeX\ can do. |
| 28 |
|
| 29 |
\newact |
| 30 |
|
| 31 |
\newscene |
| 32 |
|
| 33 |
\stagedir{2003, New York City. The \chara{Cat} and \chara{Eleanor} are engaging in conversation upon a meadow.} |
| 34 |
|
| 35 |
\repl{Cat} Meow. I am a kitten. Kittens like to meow. |
| 36 |
|
| 37 |
\repl{Eleanor} Yes, indeed. \pause\ But the question is, do cats like to typeset in \LaTeX ? |
| 38 |
|
| 39 |
\repl{Cat} I do not know. Let us find out! |
| 40 |
|
| 41 |
\stagedir{They exit.} |
| 42 |
|
| 43 |
\newscene |
| 44 |
|
| 45 |
\stagedir{Five hours later. \chara{Eleanor} enters and rushes across the stage.} |
| 46 |
|
| 47 |
\repl{Ellie} \paren{Angrily.} My document class does not work! The cat has destroyed my code! |
| 48 |
|
| 49 |
\stagedir{\chara{Eleanor} exits.} |
| 50 |
|
| 51 |
\newactnamed{Interlude} |
| 52 |
|
| 53 |
\stagedir{The \chara{Cat} is eating a biscuit on top of a roof.} |
| 54 |
|
| 55 |
\repl{Cat} Cats are not known to give monologues. But they are also not known to talk. So I am an exception. |
| 56 |
|
| 57 |
You see, all is relative---including class paths. Eleanor failed in that she did not take this into account. |
| 58 |
|
| 59 |
This is a mighty tasty biscuit. |
| 60 |
|
| 61 |
\stagedir{The \chara{Cat} exits.} |
| 62 |
|
| 63 |
\newact |
| 64 |
|
| 65 |
\newscenenamed{The Final Scene} |
| 66 |
|
| 67 |
\stagedir{Three days later. \chara{Eleanor} and the \chara{Cat} speak to each other upon a roof on a stormy night. \chara{Eleanor} is about to jump off the edge.} |
| 68 |
|
| 69 |
\repl{Cat} Do not jump, dear girl! |
| 70 |
|
| 71 |
\repl{Eleanor} But I must! For I cannot write my documents in \LaTeX ! \paren{She jumps.} |
| 72 |
|
| 73 |
\repl{Cat} No! |
| 74 |
|
| 75 |
\stagedir{Blackout. We hear the sound of a ``splat''. End of play.} |
| 76 |
|
| 77 |
\end{document} |