Good morning.
I am working to build a template for a theatre script.
I had an help to make this code and everything seems to work fine.
Problem: If I enter simple text, see example below Story text, the font remains attached to the last command (\sce).
How can I do to "reset" the font after elements?
Thank you.
Sorry for my English!
Text Formatting ⇒ Build theatre script
Build theatre script
- Attachments
-
- tea.tex
- (3.29 KiB) Downloaded 274 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Build theatre script
Welcome,
i haven't looked closely what the example does, but the special markup for scene-titles is not resetting the font to normal. You can do this:or maybe even better:
EDIT: Other commands are missing a proper font management as well.
PS: If you decide to have a List of scenes (something like a table of contents) later, bet set up your stuff in a different way. We can help you with that, if you want.
i haven't looked closely what the example does, but the special markup for scene-titles is not resetting the font to normal. You can do this:
Code: Select all
\newcommand\sce[1]{\newpage\everypar{\hangindent=0\linewidth\hangafter=0}\parskip=0.5\baselineskip\fontsize{22pt}{24pt}\selectfont\raggedright{#1}\vskip\unoskip\normalfont\normalsize}
Code: Select all
\newcommand\sce[1]{\newpage\begingroup\everypar{\hangindent=0\linewidth\hangafter=0}\parskip=0.5\baselineskip\fontsize{22pt}{24pt}\selectfont\raggedright{#1}\vskip\unoskip\endgroup\normalfont\normalsize}
EDIT: Other commands are missing a proper font management as well.
PS: If you decide to have a List of scenes (something like a table of contents) later, bet set up your stuff in a different way. We can help you with that, if you want.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Build theatre script
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.