diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/eledmac/examples/2-cross_referencing.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/eledmac/examples/2-cross_referencing.tex')
-rw-r--r-- | macros/latex/contrib/eledmac/examples/2-cross_referencing.tex | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/latex/contrib/eledmac/examples/2-cross_referencing.tex b/macros/latex/contrib/eledmac/examples/2-cross_referencing.tex new file mode 100644 index 0000000000..ebf9475080 --- /dev/null +++ b/macros/latex/contrib/eledmac/examples/2-cross_referencing.tex @@ -0,0 +1,37 @@ +\documentclass{article} +\usepackage{polyglossia,fontspec,xunicode} +\usepackage{libertineotf} +\setmainlanguage{latin} +\setotherlanguage{english} +\usepackage[series={A},noend,noeledsec,nofamiliar,noledgroup,noreledmac]{eledmac} +\usepackage{hyperref} + +\renewcommand{\apprefprefixsingle}{l.~} + +\begin{document} + +\begin{english} +\title{Cross-referencing with eledmac} +\date{} +\maketitle +\begin{abstract} +This file provides a MWE of cross-referencing with eledmac, with reference to line number. +The \verb+\edlabel+, \verb+\edpageref+ and \verb+\lineref+ commands are used. + +We also use \verb+\applabel+, \verb+\appref+ and \verb+\apprefprefixsingle+. + +\end{abstract} +\end{english} + +See p.~\edpageref{ultrices} l.~\lineref{ultrices}. + +Read the variant in \appref{variant}. + +\beginnumbering + +\pstart +Pellentesque non orci dui. Donec a libero eu nisl sollicitudin lobortis eget nec lacus. Nulla pellentesque, neque ut tincidunt vestibulum, ante mi varius purus, nec cursus neque orci ut orci. \edtext{Donec bibendum ligula bibendum nisl aliquet auctor. Nam luctus lorem mauris, ac venenatis felis posuere non. Quisque ultricies ante magna, facilisis pellentesque nibh placerat at}{\applabel{variant}\Afootnote{omit}}. Aliquam sit amet ante varius, vestibulum augue condimentum, scelerisque turpis. Proin at nibh vulputate, tincidunt tellus vel, vehicula libero. Praesent venenatis, turpis nec feugiat sodales, risus sapien tempus odio, at vehicula ipsum nisl a nisl. Nunc pretium elit tellus, \edlabel{ultrices}ultrices facilisis odio interdum non. Donec et condimentum quam, id ullamcorper nisl. +\pend + +\endnumbering +\end{document} |