On 19/10/13 07:07, Gilberto Agostinho wrote:
Hi all,

I would like to change the shape of more than one laissezVibrer at the same
time in chord, but I can't seem to find an way to do it because they are
simultaneous. Does anyone have any idea how to solve this problem?

\version "2.17.28"
\markup {The top laissezVibrer is looking like I want, but not the bottom
one.}
{
   \shape #'((0 . 0) (0 . 0.5) (3 . 0.5) (3 . 0)) LaissezVibrerTie
   <c' c''>1\laissezVibrer | R1 |
}
\markup {I would like the bottom laissezVibrer to look like this:}
{
   \shape #'((0 . 0) (0 . -0.5) (3 . -0.5) (3 . 0)) LaissezVibrerTie
   c'1\laissezVibrer | R1 |
}

\version "2.17.28"

% extend laissez-vibrer tie
extendLV = #(define-music-function (parser location further) (number?) #{
  \once \override LaissezVibrerTie.X-extent = #'(0 . 0)
  \once \override LaissezVibrerTie.details.note-head-gap = #(/ further -2)
  \once \override LaissezVibrerTie.extra-offset = #(cons (/ further 2) 0)
#})

{
  \extendLV #2.5
  <c' c''>1\laissezVibrer | R1 |
}


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to