General ⇒ Formatting stage plays
Formatting stage plays
HAMLET
Blah blah ...
Blah blah ...
and the page on which it continues should look something like this
(HAMLET, CNTD.)
Blah blah ...
Blah blah ...
I'd be grateful for any help toward a solution. Ideally, the solution would be consistent with the macros I already have (which work fine, except for this one annoyance).
Currently, the LaTeX source for this speech looks like:
\Ham Blah blah blah...
and I would very much like to preserve that form, as opposed to, something like
\Ham{Blah blah blah ...}
which users would not like and would very likely cause further complications (when, for example, certain kinds of stage directions are embedded within a speech).
Currently, the unrolling of macros has the effect of making the definition
\newcommand{\Ham}[1]
{<adjust vertical spacing> <adjust horizontal spacing> HAMLET\nobreak}
Note that, despite this command's having an argument, no "#1" appears in the definition. The reason is that I don't ever want to have a page break between "HAMLET" and the first line of his speech -- and it turns out that that the \nobreak command doesn't suffice to guarantee that. Having the first character in the subsequent speech count as the argument to this command seems to prevent the pagebreak. (I don't recall why I thought I needed the \nobreak, too.) Pretty clumsy.
David Guaspari
Edit by localghost: No e-mail addresses in posts (see Board Rules). There will be no support this way.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Formatting stage plays
[1] The TeX Catalogue Online, Topic Index - Poetry and Drama
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10