summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-01 21:09:02 +0000
committerKarl Berry <karl@freefriends.org>2020-06-01 21:09:02 +0000
commitdca3307db3555753d51f0394abad0343b007e087 (patch)
tree59be5bb6d1ea8c01ebb13af111c7e1194892c950 /Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex
parentdb8e86866f5ce0e485dc22e402eeaa54bd4da6d0 (diff)
reledmac (1jun20)
git-svn-id: svn://tug.org/texlive/trunk@55377 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex')
-rw-r--r--Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex57
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex b/Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex
new file mode 100644
index 00000000000..072642d93c9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex
@@ -0,0 +1,57 @@
+\documentclass{article}
+\usepackage[osf,p]{libertinus}
+\usepackage[english]{babel}
+\babeltags{english = english}
+
+\usepackage[characterstyle=imprimerie-prose]{thalie}
+
+\usepackage[noeledsec,noend,noledgroup,nofamiliar,nocritical,antilabe]{reledmac}
+\setstanzaindents{1,0,1}
+\setcounter{stanzaindentsrepetition}{1}
+\setcounter{startstanzaindentsrepetition}{2}
+
+\linenumincrement{1}
+\firstlinenum{1}
+%%retained from the thalie package, modifies the way a character's name is given in the first line of speech
+\renewcommand*{\speakswithoutdirection}[1]{%
+ \noindent\textsc{#1}\xspace.%
+}
+
+% Space after \antilabe macro
+\renewcommand{\afterantilabe}{\hspace{1em}}
+\begin{document}
+
+
+\begin{abstract}
+This file provides an example of typesetting verse for a dramatic text with reledmac and thalie packages.
+
+We use the thalie features to manage characters.
+
+We use the following features of reledmac to typeset the verses:
+\begin{itemize}
+ \item \verb+\antilabe+ to show correctly the second half of a split line of verse (antilabe);
+ \item \verb+\afterantilabe+ to add more space after \verb+\antilabe+;
+ \item \verb+\setcounter{stanzaindentsrepetition}+ and \\ \verb+\setcounter{startstanzaindentsrepetition}+ to have the first line of a reply/stanza indented, but not the following ones;
+ \item \verb+\skipnumbering+ to avoid counting the first half of an antilabe in the line counting.
+\end{itemize}
+\end{abstract}
+
+ddd
+%%part of thalie's management of characters
+\begin{dramatis}
+ \character[cmd={Buckingham}]{Buckingham}
+ \character[cmd={Norfolk}]{Norfolk}
+\end{dramatis}
+
+% Normal typesetting
+\beginnumbering
+\stanza\Buckingham Good morrow and well met. How have ye done&
+\skipnumbering Since last we saw in France?\&
+\stanza\antilabe\Norfolk I thank your grace,&
+Healthful, and ever since a fresh admirer&
+\skipnumbering Of what I saw there.\&
+\stanza\antilabe\Buckingham An untimely ague&
+Stayed me a prisoner in my chamber when\&
+\endnumbering
+
+\end{document}