On 4/18/2011 9:03 AM, Christian Eitner wrote:
Dear Xavier,

On 18 April 2011 10:40, Xavier Scheuer<x.sche...@gmail.com>  wrote:
It is due to implicit context creation.
If you explicit your contexts (Staff, ChordNames) then such problem
would not appear.

As explained in the doc,  \chords { ... }  is a shortcut notation for
  \new ChordNames { \chordmode { ... } } .


\score {
  <<
    \new ChordNames {
      \chordmode {
        a1 c
      }
    }
    \new Staff {
      \relative c'' {
        \key a \major
        a1 c
      }
    }
  >>
}
I see. So \key implicitly creates the Staff context before the
ChordNames context, which is why they appear below the staff.

My problem is that a lot of things are going on before I need a few
bars with added chord names. What would be the recommended way to add
these 'in the middle of things'?

Cheers,

Christian

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


I would simply use skips:

\version "2.12.3"

{
<<
    \chords
    {
      s1*2
      a1 c
    }
    \relative c''
    {
      a1 c a c
    }
>>
}

Isn't this what you mean?

-David

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to