bug-lilypond
[Top][All Lists]
Advanced

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

Re: Spacing problems


From: Neil Puttock
Subject: Re: Spacing problems
Date: Sat, 5 Mar 2011 15:47:13 +0000

On 5 March 2011 15:01, Phil Holmes <address@hidden> wrote:

> Ah.  Didn't realise you meant for them to be outside all staff definitions.
> I've now changed this to read:
>
> \relative c''{
> <<
>  \context Staff = "MainStaff"
>  \new Voice = "MainVoice" {
>
> which is the only way I can see to put the lyrics so they're not inside a
> \new Staff { } block?  Makes no difference.

Hmm, I can only get the ossia lyrics below the main stave (probably
due to the nesting of the alignAboveContext settings).

I think the only way around this is to use \skip:

\version "2.13.52"
\relative c'' {
  <<
    \new Staff = "MainStaff" \new Voice = "MainVoice" {
      \repeat unfold 28 { c4 }
      \break
      \repeat unfold 8 { c4 }
      \repeat unfold 12 { c4 }

      \repeat unfold 2 { d8 [ r d d ] }
      \repeat unfold 8 { c4 }
      \break
      \repeat unfold 16 { c4 }

    }
    {
      \skip 4*36
      <<
        \new Staff = "Ossia" \with {
          \remove "Time_signature_engraver"
          alignAboveContext = #"MainStaff"
          \override StaffSymbol #'staff-space = #(magstep -3) % Sets
the staff line spacing
          fontSize = #-2
        }
        \new Voice = "Testing" {
          \repeat unfold 12 { d4 }
        }
        \new Lyrics \with {
          alignAboveContext = "Ossia"
        }
        \lyricsto "Testing" { \small \repeat unfold 12 hm }
      >>
    }
    \new Lyrics \lyricsto "MainVoice" { \repeat unfold 77 la }
  >>
}

Cheers,
Neil



reply via email to

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