Graham Percival wrote:
On 12-May-06, at 10:33 AM, Stan Mulder wrote:
But when the parts are transposed the slashes move all over the place
for the Bb and Eb instruments. Is there are way to keep the slash
exactly on a certain note and ignore the transposition?
As it happens, this is part of an example in 9.2.6 Defining new
contexts.
Even though the slashes don't move, octaves and accidentals (because of
transposition) do affect the music following the slashed music. Also
transposition can cause accidentals to appear with the slashes"
\version "2.8.2"
\layout{
\context {
\name ImproVoice
\type "Engraver_group"
\consists "Note_heads_engraver"
\consists "Text_engraver"
\consists Pitch_squash_engraver
squashedPosition = #0
\override NoteHead #'style = #'slash
\override Stem #'transparent = ##t
\alias Voice
}
\context {
\Staff
\accepts "ImproVoice"
}
}
aaa = \relative c'' {
d2 e f g
\new ImproVoice {
c4 c c c
}
g4 e c2
}
{ \transpose c bes, \aaa }
Paul
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user