Hi Eluze, Thank you so much for your advice. I did manage to adapt the snippet you recommended me and now my score looks fine, but here are my general thoughts about this issue:
- I believe that this problem with acciaccaturas should be covered in the documentation, since a regular user would expect this to be working (I could not find a single mention of it in there, but this might be my mistake) - I tried the snippet you recommend me, but it works only in very limited cases. Have a look on the results of this code: slash = { #(remove-grace-property 'Voice 'Stem 'direction) \once \override Stem #'stencil = #(lambda (grob) (let* ((x-parent (ly:grob-parent grob X)) (is-rest? (ly:grob? (ly:grob-object x-parent 'rest)))) (if is-rest? empty-stencil (let* ((dir (ly:grob-property grob 'direction)) (stem (ly:stem::print grob)) (stem-y (ly:grob-extent grob grob Y)) (stem-length (- (cdr stem-y) (car stem-y)))) (ly:stencil-add stem (grob-interpret-markup grob (markup #:translate (cons -1 (* dir (1- (/ stem-length 2)))) #:draw-line (cons 2 (* dir 2)))) ))))) } \new Staff { \relative c'' { \acciaccatura {\slash g8[ a b c ] } d4 \acciaccatura {\slash g8[ a b c ] } d4 \acciaccatura {\slash g8[ a b c ] } d4 \acciaccatura {\slash g8[ a b c ] } d4 } \relative c' { \clef bass \acciaccatura {\slash d8[ c b a ] } g4 \acciaccatura {\slash d8[ c b a ] } g4 \acciaccatura {\slash d8[ c b a ] } g4 \acciaccatura {\slash d8[ c b a ] } g4 } } - Also, the automatic slurs should not exist, in my opinion. Even in Mozart's music one can find examples where acciaccaturas or grace notes are not slurred, and when it comes to contemporary music and extended techniques things get even more complicated. - On the other hand, there should be automatic beaming inside the \acciaccatura { ... }, since this is the most standard form of writing grace notes. If one doesn't want it, then she/he could simply use \acciaccatura { \autoBeamOff ... } * * * Contemporary composers constantly use slashed notes, being them acciaccaturas or regular notes, beamed or not, single or multiple, slurred or not. This is a very important part of the contemporary music vocabulary, and I think it should be important to address this problem with LilyPond. Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Acciaccaturas-and-slashed-stems-tp150981p150995.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user