lilypond-user
[Top][All Lists]
Advanced

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

Changing thickness of ParenthesesItem


From: Thomas Morley
Subject: Changing thickness of ParenthesesItem
Date: Wed, 5 Nov 2014 00:43:27 +0100

Hi all,

maybe I'm too tired, though, is there no better way to change the
thickness of a ParenthesesItem, than scaling their stencils?

\version "2.19.13"

paren-thick =
#(define-music-function (parser location x music)(number? ly:music?)
#{
  \tweak ParenthesesItem.stencils
  #(lambda (grob)
      (map
        (lambda (stil) (ly:stencil-scale stil x 1))
        (parentheses-item::calc-parenthesis-stencils grob)))
  $music
#})

{
  <
   b''
   \paren-thick #3 \parenthesize b'
   b
  >4
}


-Harm



reply via email to

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