summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/reledmac/examples/1-tabular.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/reledmac/examples/1-tabular.tex')
-rw-r--r--macros/latex/contrib/reledmac/examples/1-tabular.tex63
1 files changed, 63 insertions, 0 deletions
diff --git a/macros/latex/contrib/reledmac/examples/1-tabular.tex b/macros/latex/contrib/reledmac/examples/1-tabular.tex
new file mode 100644
index 0000000000..315be5701a
--- /dev/null
+++ b/macros/latex/contrib/reledmac/examples/1-tabular.tex
@@ -0,0 +1,63 @@
+\documentclass{article}
+\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}