Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter https://lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at https://lilypondforum.de.
\version "2.18.2"\relative c' { c d e\prall f g\mordent a b\trill c}
\version "2.18.2"#(define-public (bracket-stencils axis thick protrusion) (let* ((lb (ly:bracket axis (cons -0.8 0.8) thick protrusion)) (rb (ly:bracket axis (cons -0.8 0.8) thick (- protrusion)))) (list lb rb)))bracketify = #(define-music-function (parser loc arg) (ly:music?) (let ((axis Y) (thick 0.1) (protrusion 0.2) (padding 0.5)) (if (music-is-of-type? arg 'event-chord) #{ \once \override ParenthesesItem.stencils = #(bracket-stencils axis thick protrusion) \once \override ParenthesesItem.padding = #padding \parenthesize $arg #} #{ \tweak ParenthesesItem.stencils #(bracket-stencils axis thick protrusion) \tweak ParenthesesItem.padding #padding \parenthesize $arg #}))) \relative c'' { \bracketify c4 \bracketify g4 <e \bracketify g b> -\bracketify \prall \bracketify <e g b>4 \bracketify r4}\relative c' { c d e-\bracketify \prall f g-\bracketify \mordent a b-\bracketify \trill c}
harm6: Du kannst ParenthesesItem.stencils verändern
\version "2.18.2"#(define-public (bracket-stencils ext axis thick protrusion) (let* ((lb (ly:bracket axis ext thick protrusion)) (rb (ly:bracket axis ext thick (- protrusion)))) (list lb rb)))bracketify = #(define-music-function (parser loc ext arg) ((pair? (cons -0.8 0.8)) ly:music?) (let ((axis Y) (thick 0.1) (protrusion 0.2) (padding 0.5)) (if (music-is-of-type? arg 'event-chord) #{ \once \override ParenthesesItem.stencils = #(bracket-stencils ext axis thick protrusion) \once \override ParenthesesItem.padding = #padding \parenthesize $arg #} #{ \tweak ParenthesesItem.stencils #(bracket-stencils ext axis thick protrusion) \tweak ParenthesesItem.padding #padding \parenthesize $arg #})))\relative c' { c d e-\bracketify \prall f g-\bracketify #'(-0.5 . 0.5) \mordent a b-\bracketify #'(-1 . 1) \trill c}
(axis Y) (thick 0.1) (protrusion 0.2) (padding 0.5))