summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/reledmac/examples/1-verses.tex
blob: 7b2f27ee04765905cc430dc269c1d3144c8a3f04 (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
\documentclass{article}
\usepackage{polyglossia,fontspec}
\usepackage{libertineotf}
\setmainlanguage{latin}
\setotherlanguage{english}

\usepackage[series={A,B},noend,noeledsec,noledgroup]{reledmac}
\sethangingsymbol{[\,}


\begin{document}
\begin{english}
\date{}

\title{Stanza}
\maketitle

\begin{abstract}
This file provides an example of verse's typesetting with reledmac. 

The odd verses are not indented, the even are indented. When a verse is too long, the end is printed after a long indentation, and a left bracket is inserted (\verb+\sethangingsymbol+).
Two levels of critical footnotes are used.

We also add example of notes overlapping two lines of verse, using \verb+xxref+ and \verb+lemma+.
\end{abstract}
\end{english}

\beginnumbering
\setcounter{stanzaindentsrepetition}{2}
\setstanzaindents{8,0,1}
\stanza
\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,&
sed do eiusmod tempor incididunt ut labore et dolore&
magna aliqua. Ut enim ad minim veniam, quis nostrud&
exercitation ullamco laboris nisi\edlabel{end:1}&
\edtext{ut aliquip}{\Afootnote{ut aliliquip}} consequat ut aliquip consequat irure dolor in reprehenderit irure dolor in reprehenderit&
\edtext{Duis aute}{\Bfootnote{Some comments}} irure dolor in reprehenderit&
in voluptate velit esse cillum dolore eu ur. Excepteur sint occaecat&
cupidatat non proident, sunt in culpa qui officia deserunt&
\edlabel{begin:2}\edtext{Duis}{\xxref{begin:2}{end:2}\lemma{Duis\ldots occaecat}\Afootnote{A other note on two verses}} aute irure dolor in reprehenderit&
in voluptate velit esse cillum dolore eu fugiat nulla&
pariatur. Excepteur sint occaecat\edlabel{end:2}\&
\endnumbering

\end{document}