I try to format endnotes with eledmac in a way that I can use them to correct printing errors of the original text, but unfortunately i don't understand how to change the fonts.

Say, for example, I edit this text:

I did it \edtext{my}{\Aendnote{may}} way

In the Appendix I want to have this:

p. 7, 2 my] my

But I don't get the manual on how to format "my" in bold and get the bracket. Can anyone help?

  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – cfr
    Sep 26, 2014 at 21:33
  • actually, the lemma has the same formating than the main text. There are no option for a ≠ formating. But as you are not the only one which asked for it (cf tex.stackexchange.com/questions/202134/…) you could ask for a new feature on github.com/maieul/ledmac/issues.
    – Maïeul
    Sep 27, 2014 at 19:03
  • but the solution of jon is semanticly better.
    – Maïeul
    Sep 27, 2014 at 19:04

1 Answer 1


The commands involved behind the scenes for the creating and printing of lemmata are very involved. Unless the package is extended to provide this option, you need to cheat using the \lemma command. (OK, you don't need to cheat in this way, but this is the simplest way to achieve what you want....)

Here's one way, using a simple \if switch. It also relies on using an abstracted version of the \edtext command, which I strongly recommend for legibility reasons. The input file of critical edition texts gets really difficult to read (and debut) even if avoid error-prone coding like using:

\edtext{<correct text>}{\Aendnote{<incorrect text>}}

Slightly cleaner is a definition like:


which is then used in the file as


(Apologies if you already are doing something like that but are simply trying to keep your example low-level for the sake of the question.)

Anyway, try the below file. If you comment out the \prooftrue line, your lemmata will be set regularly, if you uncomment it, the lemmata will be bold.

% Set up an "ifproof" switch
% When you want the bold lemma in the notes, uncomment the following
% line:



 I did it \variant{my}{may} way.


\section{A Endnotes}


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .