[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ChordName placement - above or below staff
From: |
Mats Bengtsson |
Subject: |
Re: ChordName placement - above or below staff |
Date: |
Wed, 02 Aug 2006 17:07:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 |
If you want a staff above the chords, the basic structure is
<<
staff stuff
chord stuff
>>
You have mixed it all together.
The following modified version of your example prints the chord names
below the staff. If you want it above, just move the \chords{...} up above
the initial '{'.
<<
{
\key aes \major
\time 4/4
f'8 aes'8~ \times 2/3 {aes'8 f'8 aes'8} bes'8 aes'4 f'16 des'16
}
\chords {c1 d1}
>>
To make the structure even more clear, I would propose to explicitly
specify what you want:
\score{
<<
\new Staff {
\key aes \major
\time 4/4
f'8 aes'8~ \times 2/3 {aes'8 f'8 aes'8} bes'8 aes'4 f'16 des'16
}
\new ChordNames \chordmode {c1 d1}
>>
}
(note that "\chords" is just a shorthand for "\new ChordNames \chordmode")
/Mats
Fred Smith wrote:
I believe I found that this question has already been posted -
however, I did not see an answer. Any pointers would greatly be
appreciated!
I'm trying to create lead sheets using lilypond. However, I'm unable
to control whether chord names are printed above or below the staff -
the position seems to be affected by (in my limited understanding)
unrelated changes. The example below was done using lilypond 2.8.5 on
a Windows build.
When the key is set (\key aes \major), the chord names appear below
the staff. When the key is not set (if you comment that line out), the
chord names appear above the staff. Is there a way to explicitly place
the chord names in relation to the staff?
Thanks again for any pointers to documentation on how to control this!
( I would really like to always have chord names above the staff - all
the documentation and examples I have found show them as appearing
above the staff by default.)
-fred
%{ ------------ Open the song: ---------------- %}
{
\key aes \major
{\time 4/4}
{
<<
\chords {c1 d1}
{f'8 aes'8~ \times 2/3 {aes'8 f'8 aes'8} bes'8 aes'4 f'16
des'16}
>>
}
%{ ------------ and finish ------------ %}
}
------------------------------------------------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls
<http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
to the US (and 30+ countries) for 2ยข/min or less.
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
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
=============================================