summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/reledmac/examples/2-antilabe.tex
blob: 010f4df0328f4a7556471493dc59fde855053b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
\documentclass{article}
\usepackage[T1]{fontenc}
\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}