lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

notation graphique problème


From: Francisco Uberto
Subject: notation graphique problème
Date: Sun, 27 Feb 2022 18:48:47 +0100

Bonjour à tout le monde,

Je n'arrive pas à faire marcher le code suivant (extrait du manuel d'utilisation).
Des idées/solution/explications ? 

Merci mille fois d'avance

Francisco

\version "2.20.0"
\language "english"

\layout {
       \context {
         \Voice
         \consists "Duration_line_engraver"
         \omit Stem
         \omit Flag
         \omit Beam
         \override NoteHead.duration-log = 2
} }
     lastEndStyle =
     #(define-music-function (end-style)(symbol?)
     #{
       \override DurationLine.after-line-breaking =
         #(lambda (grob)
           (let* ((orig (ly:grob-original grob))
                  (siblings (if (ly:grob? orig)
#})
                   (ly:spanner-broken-into orig) '()))
     (last-grob (if (pair? siblings) (last siblings) #f)))
(if last-grob
    (ly:grob-set-nested-property!
      last-grob
      '(bound-details right-broken end-style) end-style))))
{
  \once \override DurationLine.bound-details.right.end-style = #'arrow
  \lastEndStyle #'arrow
  a'1\-
  \bar "|."
}



Francisco Uberto
+33 7 49 37 62 12

reply via email to

[Prev in Thread] Current Thread [Next in Thread]