Hi Kevin,

On Tue, Jan 23, 2024 at 8:06 PM Kevin Pye <kjpl...@pye.id.au> wrote:

> For the first time in many years of using Lilypond, I have a need to add a
> footnote to some music. One thing puzzles me:
>
> As is traditional in all texts, Lilypond places a horizontal line above
> the footnotes, separating them from the music above. However the horizontal
> position of this line confuses me. I would have expected the line to be
> above the footnotes, starting at the left margin. However it is placed
> further to the right. This can be seen in the examples in the NR (
> http://lilypond.org/doc/v2.25/Documentation/notation/footnotes-in-music-expressions).
> In my case the footnote is in the second bar of music in the staff, and the
> line does not start until the beginning of that bar, potentially after the
> end of the footnote text. Because the music to which the footnote is
> attached may be several staves above the footnote text, this does not make
> sense to me.
>
> Is there some way of shifting this line to the left margin?
>
> Kevin.
>

The function defining the separator line can be found in ly/
paper-defaults-init.ly  It defaults to:
footnote-separator-markup = \markup \fill-line { \override #'(span-factor .
1/2) \draw-hline }
Copying that into the \paper block of your .ly file, you can then tweak it
to whatever you desire. Simply removing \fill-line will shift the line to
the left margin, leaving the length the same.
-- 
Michael

Reply via email to