A \ledsidenote{\textit{big car}}




The distance is huge between the text and the sidenote.

  • 4
    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?
    – egreg
    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.
    – egreg
    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


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

But as you can see if you use


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}}



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.

enter image description here

  • 1
    Would it be possible to avoid issuing an error when ledmac is used without the noeledmac option? A warning seems better suited.
    – egreg
    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.
    – Maïeul
    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}
    – egreg
    Jun 14 '13 at 16:04
  • done github.com/maieul/ledmac/commit/…
    – Maïeul
    Jun 14 '13 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.