lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 3056 in lilypond: Barring example in Notation


From: lilypond
Subject: Re: [Lilypond-auto] Issue 3056 in lilypond: Barring example in Notation Reference
Date: Thu, 27 Dec 2012 09:32:04 +0000


Comment #6 on issue 3056 by address@hidden: Barring example in Notation Reference
http://code.google.com/p/lilypond/issues/detail?id=3056

I think the interface is poor. \startTextSpan and \stopTextSpan are implementation details and don't belong in the user interface for \barre. Even worse is that \barre is a standalone event, and \startTextSpan and \stopTextSpan are postevents.

That's quite broken.  Instead we should have something like
beginBarre =
#(define-event-function ...
    #{ \tweak bound-details.left.text \markup \small \bold ...
       \tweak bound-details.style #'line
       \tweak ...
       \startTextSpan
    #})
endBarre = \stopTextSpan

and then use it as
c4\beginBarre 2 3 c c \times 2/3 { c8 c c\endBarre }

I am suggesting begin/end instead of start/stop here since one does not "stop" a barre according to my gut feeling.




reply via email to

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