lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Aligning Text Above (and Below) Notes


From: Eluze
Subject: Re: Aligning Text Above (and Below) Notes
Date: Wed, 5 Dec 2012 12:57:06 -0800 (PST)

Eric Pancer wrote
> One more issue: my lyrics above the second line of music have more
> affinity towards the bottom lyric of the first line, than the actual
> notes of the second line. Any pointers on how to fix it are
> appreciated.

hmm - that's astonishing! if I change the order of the 2 scores this happens
too, with the 2nd score being misaligned again!

I tried all the kind of spacing overrides: nonstaff-relatedstaff-spacing and
others and finally found a working solution:

      \new Lyrics \with {
        alignAboveContext = exAA
        \override VerticalAxisGroup.staff-staff-spacing = #'(
          (basic-distance . 1)
          (minimum-distance . 1)
          (padding . .5)
          (stretchability . 999)
        )
        \override VerticalAxisGroup.staff-affinity = ##f
        fontSize = #-2
      }

note that the staff-affinity has to be set to false for this to work.

I wonder if there are better solutions or if this is a bug.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Aligning-Text-Above-and-Below-Notes-tp137190p137230.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]