lilypond-user
[Top][All Lists]
Advanced

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

Re: center figured bass vertically


From: Lukas-Fabian Moser
Subject: Re: center figured bass vertically
Date: Tue, 14 Aug 2018 15:42:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hi Markus,

thank you for your help. Your suggestion is a step in the right
direction, but now I do have the problem that the figured bass is more
nearby violin voice than cello voice:

\version "2.19.82"

violin = \relative c'' {
  e4 f4 g4 a4
}

cello = \relative c' {
  g2. g4
}

figuredBass = \figuremode {
  <3>4 <4>2 <3>4
}

\score {
  <<
    \new Staff
    {
      \clef treble \violin
    }
    \new FiguredBass \figuredBass
    \new Staff
    {
      \clef bass \cello
    }
  >>
}
You have to tell the FiguredBass that it "belongs to" the staff below. This is either done by issuing

\layout {
  \override FiguredBass.VerticalAxisGroup.staff-affinity = #DOWN
}

at the top level of the file, or just for the one FiguredBass context by adjusting the command that creates it:

\new FiguredBass \with { \override VerticalAxisGroup.staff-affinity = #DOWN } \figuredBass

instead of

\new FiguredBass \figuredBass

Best
Lukas

reply via email to

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