summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eledmac/examples/1-verses.tex
blob: ecdc1b5461db23d8ec9194895cc722bc709058ff (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
\documentclass{article}
\usepackage{polyglossia,fontspec,xunicode}
\usepackage{libertineotf}
\setmainlanguage{latin}
\setotherlanguage{english}

\usepackage[series={A,B},noend,noeledsec,noledgroup,noreledmac]{eledmac}
\renewcommand{\hangingsymbol}{[\,}


\begin{document}
\begin{english}
\date{}
\title{Stanza}
\maketitle

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

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+\hangingsymbol+).
Two levels of critical footnotes are used.
\end{abstract}
\end{english}

\beginnumbering
\setcounter{stanzaindentsrepetition}{2}
\setstanzaindents{8,0,1}
\stanza
Lorem 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&
\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&
Duis aute irure dolor in reprehenderit&
in voluptate velit esse cillum dolore eu fugiat nulla&
pariatur. Excepteur sint occaecat\&
\endnumbering

\end{document}