[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chords showing on bottom?
From: |
Mats Bengtsson |
Subject: |
Re: Chords showing on bottom? |
Date: |
Wed, 22 Sep 2004 10:37:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 |
Just move the ChordNames out of the PianoStaff, i.e.
...
\new ChordNames {...}
\new PianoStaff <<
\new Staff { ...
I don't really understand why your example doesn't work as
expected, but a PianoStaff is certainly not intended to contain
anything bug ordinary Staff lines.
/Mats
Chris Morris wrote:
Newbie alert: just subscribed to the list. If I can find my answer
elsewhere, please just redirect me.
I have the following .ly content, and the output puts the chordnames
under the piano staff, I'd like them to be on top of the piano staff,
or on top of the voice staff. How can I control this? I've
experimented with various groupings, but I'm not sure.
% comment line
\include "english.ly"
\version "2.2.0"
\paper { raggedlast = ##t }
\header {
title = "Chords on Bottom example"
arranger = "Chris Morris"
}
\score {
\notes <<
\new Staff {
\context Voice = "Melody" {
\relative bf' {
\key ef \major
\time 4/4
r2 r4 f4 | f4 ef4 d4 ef4
}
}
}
\lyricsto "Melody" \new Lyrics \lyrics {
The Lord has pro -- mised
}
\new PianoStaff <<
\new ChordNames {
r1 | \chords { ef:2 }
}
\new Staff {
\clef treble
\context Voice {
\relative bf {
\key ef \major
r1 | << f1 bf1 ef1 f1 >>
}
}
}
\new Staff {
\clef bass
\relative bf, {
\key ef \major
r1 | << ef,1 bf'1 ef1 >>
}
}
>>
>>
}
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================