Debian Codegraph @

texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex

raw
1 \documentclass{article}
2 \usepackage[T1]{fontenc}
3 \usepackage[osf,p]{libertinus}
4 \usepackage[english]{babel}
5 \babeltags{english = english}
6
7 \usepackage[characterstyle=imprimerie-prose]{thalie}
8
9 \usepackage[noeledsec,noend,noledgroup,nofamiliar,nocritical,antilabe]{reledmac}
10 \setstanzaindents{1,0,1}
11 \setcounter{stanzaindentsrepetition}{1}
12 \setcounter{startstanzaindentsrepetition}{2}
13
14 \linenumincrement{1}
15 \firstlinenum{1}
16 %%retained from the thalie package, modifies the way a character's name is given in the first line of speech
17 \renewcommand*{\speakswithoutdirection}[1]{%
18 \noindent\textsc{#1}\xspace.%
19 }
20
21 % Space after \antilabe macro
22 \renewcommand{\afterantilabe}{\hspace{1em}}
23 \begin{document}
24
25
26 \begin{abstract}
27 This file provides an example of typesetting verse for a dramatic text with reledmac and thalie packages.
28
29 We use the thalie features to manage characters.
30
31 We use the following features of reledmac to typeset the verses:
32 \begin{itemize}
33 \item \verb+\antilabe+ to show correctly the second half of a split line of verse (antilabe);
34 \item \verb+\afterantilabe+ to add more space after \verb+\antilabe+;
35 \item \verb+\setcounter{stanzaindentsrepetition}+ and \\ \verb+\setcounter{startstanzaindentsrepetition}+ to have the first line of a reply/stanza indented, but not the following ones;
36 \item \verb+\skipnumbering+ to avoid counting the first half of an antilabe in the line counting.
37 \end{itemize}
38 \end{abstract}
39
40 ddd
41 %%part of thalie's management of characters
42 \begin{dramatis}
43 \character[cmd={Buckingham}]{Buckingham}
44 \character[cmd={Norfolk}]{Norfolk}
45 \end{dramatis}
46
47 % Normal typesetting
48 \beginnumbering
49 \stanza\Buckingham Good morrow and well met. How have ye done&
50 \skipnumbering Since last we saw in France?\&
51 \stanza\antilabe\Norfolk I thank your grace,&
52 Healthful, and ever since a fresh admirer&
53 \skipnumbering Of what I saw there.\&
54 \stanza\antilabe\Buckingham An untimely ague&
55 Stayed me a prisoner in my chamber when\&
56 \endnumbering
57
58 \end{document}