Debian Codegraph @

texmf-dist/doc/latex/eledform/example.tex

raw
1 \documentclass{article}
2 \usepackage[noreledmac]{eledmac}
3 \usepackage{eledform}
4 \firstlinenum{1}
5 \linenumincrement{1}
6 \varseparator{\thinspace;\space} % Separator between variants
7 \manvarseparator{$\rightarrow$} % Separator between manuscrit and variant
8 \omittext{\emph{del}} % Txt to print when a lemma is ommited
9 \manuscript{A,B,C,D} % Define the existing manuscripts
10 \omitposition{last}
11 \begin{document}x
12 \varseries{B} % Define the series where textual variants will be printed
13 \beginnumbering
14 \pstart
15 \edtext{}{\Afootnote{s}} % Example to test \varseries
16 \var{lorem}{A,B}{ % Basic example
17 {{C}{loram}},
18 {{D}{lorim}}%
19 }
20 \var{ipsum}{}{{C}{ipsem}} % Only variants
21 \var{dolor}{C}{} % Only deletion
22 \var[sit\ldots elit]{sit amet consectetur adipiscing elit}{B,C}{} % Syntaxe with shortened lemma
23 \var{sed}{}{ % Example with two manuscripts with the same form
24 {{C,D}{sid}}
25 }
26 \var{do}{}{ % Example with a wrong manuscript
27 {{C,E}{da}}
28 }
29 \var{eiusmod}{A}{}[\Afootnote{dem. pro. ?}]
30 \pend
31 \endnumbering
32 \end{document}