# The distance is far too big between the text and marginal notes

\documentclass[10pt,a4paper]{book}

\usepackage{ledmac}
\usepackage{ulem}

\begin{document}

\beginnumbering
\pstart

A \ledsidenote{\textit{big car}}

\pend

\endnumbering

\end{document}


The distance is huge between the text and the sidenote.

• The side note is typeset in the right margin and this is how it's supposed to work. Can you tell more precisely what you mean? Jun 14 '13 at 10:02
• The side note appears farther than the page number, which is odd. Jun 14 '13 at 12:06
• should I use the marginnote package? Jun 14 '13 at 12:23
• That would give exactly the same result. The marginal notes are in the margin, the page number isn't. Jun 14 '13 at 12:24
• how could I make the side notes appear right next to the text? Jun 14 '13 at 12:26

As stated in the documentation, you can use

\ledlsnotesep=<length>
\ledrsnotesep=<length>


to change the distance between text and (respectively) the left and the right notes.

But as you can see if you use

\beginnumbering
\pstart

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
est laborum.  \ledsidenote{\textit{big car}}

\pend

\endnumbering


the page number is just next to the text right margin. So it's the line number which needs to be moved. You can use, for that, the package fancyhdr.

• Would it be possible to avoid issuing an error when ledmac is used without the noeledmac option? A warning seems better suited. Jun 14 '13 at 12:41
• I think no one should start with ledmac today. So I prefer to produce an error, to be sure people knwo that ledmac is obsolete. Jun 14 '13 at 15:51
• At least format the error message in a sensible way; now it's split across lines at random. My proposal: \ledmac@error{% Using package ledmac' is deprecated. We suggest\MessageBreak using eledmac' instead. If you want to continue\MessageBreak with ledmac', you can disable this message by\MessageBreak adding the option noeledmac' when loading ledmac'}{\@ehc}` Jun 14 '13 at 16:04
• Jun 14 '13 at 16:13