summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/reledmac/examples/1-tabular.tex
blob: a14573d3fec6e7ea6acdcb4fbe2abbf5ef33bb57 (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
59
60
61
62
63
64
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[osf,p]{libertinus}
\usepackage{microtype}
\usepackage[pdfusetitle,hidelinks]{hyperref}
\usepackage[english, main=italian]{babel}
\babeltags{english = english}

\usepackage[series={A,B},noend,noeledsec,noledgroup]{reledmac}
\firstlinenum{1}
\linenumincrement{1}%

\begin{document}
\begin{english}
\date{}
\title{Tabulars with reledmac}
\maketitle
\begin{abstract}
This file provides example of using tabular environments with \emph{reledmac}.

We use \verb+edtabularl+, \verb+edtabularc+ and \verb+edtabularr+, with marginal, critical and familiar notes. We also use optional arguments of \verb+\pstart+.
\end{abstract}
\end{english}


\beginnumbering
\pstart[\section{Left align}]
\begin{edtabularl}
linea prima & linea prima\ledouternote{sidenote l} \\
linea secunda & linea secunda\footnoteA{familiar footnote A.} \\
linea tertia & linea \edtext{tertia}{\Afootnote{critical note A}} \\
linea quarta & linea \edtext{quarta}{\Bfootnote{critical note B}} \\
linea quinta & linea quinta\footnoteB{familiar footnote B.} \\
linea sexta & linea sexta
\end{edtabularl}
\pend

\pstart[\section{Center align}]
\begin{edtabularc}
linea prima & linea prima\ledouternote{sidenote c} \\
linea secunda & linea secunda\footnoteA{familiar footnote A.} \\
linea tertia & linea \edtext{tertia}{\Afootnote{critical note A}} \\
linea quarta & linea \edtext{quarta}{\Bfootnote{critical note B}} \\
linea quinta & linea quinta\footnoteB{familiar footnote B.} \\
linea sexta & linea sexta
\end{edtabularc}
\pend



\pstart[\section{Right align}]
\begin{edtabularr}
linea prima & linea prima\ledouternote{sidenote r} \\
linea secunda & linea secunda\footnoteA{familiar footnote A.} \\
linea tertia & linea \edtext{tertia}{\Afootnote{critical note A}} \\
linea quarta & linea \edtext{quarta}{\Bfootnote{critical note B}} \\
linea quinta & linea quinta\footnoteB{familiar footnote B.} \\
linea sexta & linea sexta
\end{edtabularr}
\pend

\endnumbering

\end{document}