Hi Luis,

On Mon, May 20, 2013 at 8:22 PM, luis jure <[email protected]> wrote:


> everything looks fine except for one small detail: the stem has rounded
> tips, while the barline is rectangular (see the second image).
>
> can this be changed?
>

The only way I know to do this is to create your own filled box to replace
the stem.  You can incorporate the following override, which specifies a
rounded box with no rounding of the corners:

 \override Stem.stencil = #(lambda (grob)
    (let ((th (ly:output-def-lookup (ly:grob-layout grob) 'line-thickness)))
      (ly:make-stencil
        `(round-filled-box
           0 (* 1.3 ,th)
           0.8125 0.8125
           0)
         (cons 0 (* 1.3 th))
         (cons 0.8125 0.8125))))


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

Reply via email to