bug-lilypond
[Top][All Lists]
Advanced

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

Re: Why do chords print below staff?


From: Han-Wen Nienhuys
Subject: Re: Why do chords print below staff?
Date: Fri, 20 May 2005 00:31:07 +0200
User-agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324)

Mats Bengtsson wrote:
Tricky one! I send a copy to bug-lilypond, both since the
difference between \chords and \chordmode is completely undocumented
(except for the NEWS file for 2.4) and since I don't realize why
the chords end up below the stave.

I stripped down your example to the following, where the chords
still are printed below the staff.

\version "2.4.0"

melody = \relative c'' {
  a4 a8 a g4 g |
  f2 f |
}

guitar = \new ChordNames \chordmode {
  f2 c |
  f1 |
}

\score {
  <<
  \new ChordNames {
    \set chordChanges = ##t
    \guitar
 }

  \new Staff \context Voice = mel {
    \melody
    }
  >>
}


Note that I replaced '\chords' with '\new ChordNames \chordmode'
(which is equivalent) in an attempt to understand what's going on.

The problem is that file has \new ChordNames twice, and the inner one is processed after \new Staff.

--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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