lilypond-user
[Top][All Lists]
Advanced

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

Re: How to group whole notes/semibreves in one system?


From: Robin Bannister
Subject: Re: How to group whole notes/semibreves in one system?
Date: Thu, 29 Mar 2012 16:00:11 +0200

Klaus Föhl worte:
the bracket should be after the notes and not in front of them.


When you want that to happen you should precede the chord with
 \once \override Arpeggio #'direction = #RIGHT


When you have got it on the other side you will see that
it is still looking to the right and so needs to be flipped.
One way to get that is to redefine arpeggioBracket as follows:

arpeggioBracket =
{
 \revert Arpeggio #'X-extent
 \override Arpeggio #'stencil = #(lambda (grob)
   (ly:stencil-rotate (ly:arpeggio::brew-chord-bracket grob)
     (if (eq? LEFT (ly:grob-property grob 'direction LEFT)) 0 180) 0 0))
}


Cheers,
Robin


P.S.
The 180 degree rotation is a trick.
With 2.14 and later you can use ly:stencil-scale instead.



reply via email to

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