Jacobs, Steven P <spj1 <at> pitt.edu> writes:
> > I am trying to do something that I think would be quite > common, placing chord names for a solo > > in the middle of a song. Following the lilypond > documentation on ChordNames and \chordmode, > > I came up with the code shown below. The problem is that > the chord names appear below the > > staff. In all of the examples shown in the lilypond documentation, > the chord names appear > > above the staff, and that is what I want. What am I doing wrong? > Please help if you can. > The reason the Chord names appear below the staff is you are adding a new staff (the chord staff) partway through the piece. You'll get what you want if you put the chord staff in parallel with your music starting from the first measure. See below. Carl Sorensen \header { title = "Chord Test" } sl = { \override NoteHead #'style = #'slash \override Stem #'transparent = ##t } nsl = { \revert NoteHead #'style \revert Stem #'transparent } melA = { e'4^\markup{Boring Melody} r4 e4 r4 e4 d4 e4 r4 e4 r4 e4 r4 a1} melB = { e4^\markup{More Boring Melody} r4 e4 r4 e4 d4 e4 r4 e4 r4 e4 r4 a1} adlib={\sl b,4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 b4 \nsl} chordline = \chordmode { s1 * 4 a1:m7 a1:m7 a1:m7 a1:m7 s1 * 4} \version "2.10.33" \score { << \new ChordNames \chordline \relative { \clef treble \time 4/4 \key a \minor {\melA \adlib \melB}} >> } _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user