| 1 |
\documentclass{article} |
| 2 |
\usepackage[T1]{fontenc} |
| 3 |
\usepackage[osf,p]{libertinus} |
| 4 |
\usepackage{microtype} |
| 5 |
\usepackage[pdfusetitle,hidelinks]{hyperref} |
| 6 |
\usepackage[english, main=latin]{babel} |
| 7 |
\babeltags{english = english} |
| 8 |
\usepackage{lipsum} |
| 9 |
|
| 10 |
\usepackage[noend,noeledsec,noledgroup,series={A,B,C,D}]{reledmac} |
| 11 |
\Xarrangement[A]{paragraph} |
| 12 |
\Xarrangement[B]{twocol} |
| 13 |
\Xarrangement[C]{threecol} |
| 14 |
\arrangementX[A]{paragraph} |
| 15 |
\arrangementX[B]{twocol} |
| 16 |
\arrangementX[C]{threecol} |
| 17 |
\Xwidth{\columnwidth+\marginparsep+\ledrsnotewidth} |
| 18 |
\widthX{\columnwidth+\marginparsep+\ledrsnotewidth} |
| 19 |
\rightnoteupfalse |
| 20 |
|
| 21 |
\AtBeginDocument{% |
| 22 |
\maxhnotesX{0.8\textheight} |
| 23 |
\Xmaxhnotes{0.8\textheight} |
| 24 |
} |
| 25 |
\Xcolalign{\justifying} |
| 26 |
\colalignX{\justifying} |
| 27 |
\begin{document} |
| 28 |
|
| 29 |
\begin{english} |
| 30 |
\date{} |
| 31 |
\title{Setting footnotes width} |
| 32 |
\maketitle |
| 33 |
\begin{abstract} |
| 34 |
This example use \verb+maxhnotesX+ and \verb+Xmaxhnotes+ to set the width of familiar and critical footnotes. The width is set to \verb+\columnwidth+\marginparsep+\ledrsnotewidth+, that means footnotes go from the left of the text to the right of the sidenotes. |
| 35 |
\end{abstract} |
| 36 |
\end{english} |
| 37 |
\newpage |
| 38 |
\beginnumbering |
| 39 |
\pstart |
| 40 |
\edtext{Lorem}{ |
| 41 |
\Afootnote{A\lipsum*[1]} |
| 42 |
\Bfootnote{B\lipsum*[2]} |
| 43 |
\Cfootnote{C\lipsum*[3]} |
| 44 |
\Dfootnote{D\lipsum*[4]} |
| 45 |
} |
| 46 |
Dolor |
| 47 |
\ledsidenote{A long side note.} |
| 48 |
\lipsum*[1] |
| 49 |
\pend |
| 50 |
\newpage |
| 51 |
\pstart |
| 52 |
\lipsum*[2]\ledsidenote{A long side note.}\footnoteA{A\lipsum*[5]}\footnoteB{B\lipsum*[6]}\footnoteC{C\lipsum*[7]}\footnoteD{D\lipsum*[8]} |
| 53 |
\pend |
| 54 |
\endnumbering |
| 55 |
\end{document} |