Am 02.05.2017 um 10:34 schrieb Thomas Morley:
> 2017-05-02 10:08 GMT+02:00  <caag...@gmail.com>:
>> Wouldn't the <>\stopGroup extend the group one note too far?
>
>
> You're right.
> I shouldn't post before second coffee...
>
> Sorry for the noise.

No, *this* is not an issue, I can simply put it before the music like this:

test =
#(define-music-function (mus)(ly:music?)
   #{
     <>\startGroup
     #mus
   #})

{
  \test c' d' e' f' \stopGroup
}

to have that sorted out.

What I did *not* manage yet is at the end of the thing.
When I use

test =
#(define-music-function (mus)(ly:music?)
   #{
     <>\startGroup
     #mus
     <>\stopGroup
   #})

{
  \test { c' d' e' f' } g' a' b' c'
}

the bracket includes the g' - or rather the zero-length chord
immediately before it.

Do you have any suggestion how to do *this* in a convenient manner, i.e.
without splitting #mus into pieces and insert the \stopGroup before the
last element?

Urs

>
> :Harm
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to