I have tried to implement the solution to my piece and I found a problem in
one of the bars. Here it is:
%%%%%
\new Staff {
\time 3/4
\key ees \major
<<
\relative {
eeses'4 des des |
}
\\
\relative {
<ces aes'>8 <ces beses'> <ces beses'> <ces aes'> <ces aes'>
<bes ges'> |
}
\\
\relative {
s4 \slurDown \acciaccatura ces'8
\once \override NoteHead #'X-extent = #'(0.0 . 0.0)
beses8 \slurNeutral s4. |
}
>>
}
%%%%%
As you can see I haven't hidden the beses note so you can clearly see it
does not blend with the chord, even though I have overridden the NoteHead
X-extent.
Can someone please help me solve this?
I added the pdf output to the email...
http://www.nabble.com/file/p11838810/test4.pdf test4.pdf
Gilles THIBAULT wrote:
>
> Yes, perfect solution
> I tested an acciaccatura with a chord and with a single note : it's
> absolutly the same :
>
> %%%%%%%%%%%%%%%%%%%%%
>
> \version "2.10.25"
>
> \new Staff {
> <<
> {
> \slurDown
> \acciaccatura b'8
> \once \override NoteHead #'X-extent = #'(0.0 .
> 0.0)
> \hideNotes c''4 \unHideNotes
> \slurNeutral
> }
> {
> < e' g' c''>4
> }
> >>
>
> \acciaccatura b'8 c''4
> }
>
> %%%%%%%%%%%%%%%%%%%%%%
>
> I had never really understood the X-extent property, i think now i
> understand a bit more. Thank you Valentin.
>
> A day, when i am a shemer, i'll try to make a function to make that staff
> automatic.
>
> ( with this syntax for exemple \acciaChord b'8 < e' g' c''>4 and the
> function will take the first element of the chord ).
>
> A day ...
>
> Gilles
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
--
View this message in context:
http://www.nabble.com/grace-note-leading-to-chord-tf4136726.html#a11838810
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user