[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proper placing of chordnames re: alternative ending brackets
From: |
Mats Bengtsson |
Subject: |
Re: proper placing of chordnames re: alternative ending brackets |
Date: |
Tue, 06 Jul 2004 11:26:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 |
It turns out, that another solution to the same problem was already
included in the Tips and Tricks document, see
http://lilypond.org/doc/v2.2/input/test/out-www/collated-files.html#volta-chord-names.ly
/Mats
Mats Bengtsson wrote:
I have added the following example to the Tips and Tricks document
(both for 2.2.x and the development series).
\version "2.2.0"
\header {
texidoc = "@cindex ChordNames repeats
To make the chord names appear below the brackets of the alternative
endings of a repeat, move the Volta_engraver to the Score level.
" }
\score{
<<
\new ChordNames \chords{
\repeat volta 2 {
f1:maj f:7} \alternative{{bes:7}{c:maj}}
}
\new Staff \notes \relative c'{
\repeat volta 2 { c4 d e f g a b c } \alternative{{g2 e }{c1}}
}
>>
\paper {
\context {
\ScoreContext
\consists "Volta_engraver"
\override VoltaBracket #'minimum-space = #0
}
\context {
\StaffContext
\remove "Volta_engraver"
}
}
}
/Mats
Bertalan Fodor wrote:
Hello,
you could use this instead:
...
\context Staff = one \with { \remove Volta_engraver } \melody
...
\paper {
\context {
\ScoreContext \consists "Volta_engraver"
\override VoltaBracket #'minimum-space = #0
}
}
Bert
_______________________________________________
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
=============================================