Debian Codegraph @

texmf-dist/doc/latex/reledmac/examples/1-verses.tex

raw
1 \documentclass{article}
2 \usepackage[T1]{fontenc}
3 \usepackage[osf,p]{libertinus}
4 \usepackage{microtype}
5 \usepackage[pdfusetitle,hidelinks]{hyperref}
6 \usepackage[english, main=latin]{babel}
7 \babeltags{english = english}
8
9 \usepackage[series={A,B},nofamiliar,noend,noeledsec,noledgroup]{reledmac}
10 \sethangingsymbol{[\,}
11
12 \setcounter{stanzaindentsrepetition}{2}
13 \setstanzaindents{8,0,1}
14
15 \begin{document}
16 \begin{english}
17 \date{}
18
19 \title{Stanza}
20 \maketitle
21
22 \begin{abstract}
23 This file provides an example of typesetting verse with reledmac.
24
25 The odd numbered verses are not indented, the even ones are. When a verse is too long for a line, the continuation is printed after a long indentation and a left bracket is inserted (\verb+\sethangingsymbol+).
26 Two levels of critical footnotes are used.
27
28 We also have an example of notes overlapping two lines of verse, using \verb+xxref+ and \verb+lemma+.
29 \end{abstract}
30 \end{english}
31
32 \beginnumbering
33 \stanza
34 \edlabel{begin:1}\edtext{Lorem}{\lemma{Lorem\ldots nisis}\xxref{begin:1}{end:1}\Afootnote{A note on two verses}} ipsum dolor sit amet, consectetur adipisicing elit,&
35 sed do eiusmod tempor incididunt ut labore et dolore&
36 magna aliqua. Ut enim ad minim veniam, quis nostrud&
37 exercitation ullamco laboris nisi\edlabel{end:1}&
38 \edtext{ut aliquip}{\Afootnote{ut aliliquip}} consequat ut aliquip consequat irure dolor in reprehenderit irure dolor in reprehenderit&
39 \edtext{Duis aute}{\Bfootnote{Some comments}} irure dolor in reprehenderit&
40 in voluptate velit esse cillum dolore eu ur. Excepteur sint occaecat&
41 cupidatat non proident, sunt in culpa qui officia deserunt&
42 \edlabel{begin:2}\edtext{Duis}{\xxref{begin:2}{end:2}\lemma{Duis\ldots occaecat}\Afootnote{Another note on two verses}} aute irure dolor in reprehenderit&
43 in voluptate velit esse cillum dolore eu fugiat nulla&
44 pariatur. Excepteur sint occaecat\edlabel{end:2}\&
45 \endnumbering
46
47 \end{document}