diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-30 23:02:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-30 23:02:23 +0000 |
commit | 1c66f34431d8bca21785b67e55de3088093508fb (patch) | |
tree | 16ae747d3d254912af1a1da2de3e366f9d728e6a /Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.tex | |
parent | 775c98e0f724a659a785f096cab3fe88ad3e2929 (diff) |
reledmac (30nov15)
git-svn-id: svn://tug.org/texlive/trunk@38985 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.tex | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.tex b/Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.tex new file mode 100644 index 00000000000..628a4530d47 --- /dev/null +++ b/Master/texmf-dist/doc/latex/reledmac/examples/2-notes-width.tex @@ -0,0 +1,52 @@ +\documentclass[12pt]{article} +\usepackage{lipsum} +\usepackage{polyglossia} +\usepackage{libertineotf} +\usepackage[a4paper,textwidth=12cm]{geometry} +\setmainlanguage{latin} +\setotherlanguage{english} +\usepackage[noend,noeledsec,noledgroup,series={A,B,C,D}]{reledmac} +\Xarrangement[A]{paragraph} +\Xarrangement[B]{twocol} +\Xarrangement[C]{threecol} +\arrangementX[A]{paragraph} +\arrangementX[B]{twocol} +\arrangementX[C]{threecol} +\Xhsize{\columnwidth+\marginparsep+\ledrsnotewidth} +\hsizeX{\columnwidth+\marginparsep+\ledrsnotewidth} +\rightnoteupfalse + +\AtBeginDocument{% + \maxhnotesX{0.8\textheight} + \Xmaxhnotes{0.8\textheight} +} +\Xcolalign{\justifying} +\colalignX{\justifying} +\begin{document} + +\begin{english} +\title{Setting footnotes width} +\maketitle +\begin{abstract} +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. +\end{abstract} +\end{english} +\newpage +\beginnumbering +\pstart +\edtext{Lorem}{ + \Afootnote{A\lipsum*[1]} + \Bfootnote{B\lipsum*[2]} + \Cfootnote{C\lipsum*[3]} + \Dfootnote{D\lipsum*[4]} + } +Dolor +\ledsidenote{A long side note.} +\lipsum*[1] +\pend +\newpage +\pstart +\lipsum*[2]\ledsidenote{A long side note.}\footnoteA{A\lipsum*[5]}\footnoteB{B\lipsum*[6]}\footnoteC{C\lipsum*[7]}\footnoteD{D\lipsum*[8]} +\pend +\endnumbering +\end{document} |