lilypond-user
[Top][All Lists]
Advanced

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

Re: Again vertical spacing FiguredBass / Staff / Lyrics


From: Carl Sorensen
Subject: Re: Again vertical spacing FiguredBass / Staff / Lyrics
Date: Tue, 26 Apr 2011 05:51:46 -0600

On 4/26/11 12:41 AM, "Michael Käppler" <address@hidden> wrote:

> Hi Carl,
> thanks, but increasing system-system-spacing will increase distance
> between all system groups.
> What I want is increasing just the distance between the lowest staff
> line (resp. the Figured Bass line)
> and the staff above. It works, but only if there is no Lyrics line
> between the two staffs. I'd like to understand, why...

Oops, my mistake.  I should have said default-staff-staff-spacing.

The reason why the Lyrics causes problems is because it comes between the
FiguredBass and the staff above, so it's used for calculating the spacing.

The real surprise to me is that the 'padding value works at all.  Non-staff
lines are supposed to be placed in *after* the staves are already placed.

HTH,

Carl

%%%%% Begin lilypond code

\version "2.13.58"

notes = \repeat unfold 20 { a4 b c b }

text = \lyricmode {
  \repeat unfold 20 { bla bla bla bla }
}

numbers = \figuremode {
  \repeat unfold 20 { <3 5>4 <4 6> <_+> <7> }
}

\layout {
  \context {
    \FiguredBass
    \override VerticalAxisGroup #'nonstaff-unrelatedstaff-spacing #'padding=
#20
    \override VerticalAxisGroup #'staff-affinity = #DOWN
  }
  \context {
    \Staff
    \override VerticalAxisGroup #'default-staff-staff-spacing
#'basic-distance = #20
  }
}

\score {
  <<
    \new Staff {
      \new Voice = "one" \relative c'' \notes
    }     
    \new Lyrics \lyricsto one \text %% Comment this out
    \new FiguredBass \numbers
    \new Staff { \clef bass \relative c \notes }
  >>    
}

%%%%% End lilypond code





reply via email to

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