lilypond-devel
[Top][All Lists]
Advanced

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

Re: priority problem \fermataMarkup vs. text markup


From: Trevor Daniels
Subject: Re: priority problem \fermataMarkup vs. text markup
Date: Wed, 2 Sep 2009 16:50:23 +0100


Carl Sorensen wrote Wednesday, September 02, 2009 1:06 PM

On 9/2/09 2:41 AM, "Trevor Daniels" <address@hidden> wrote:

So instead I propose to change the definition
of \fermataMarkup to:

fermataMarkup =
#(make-music 'MultiMeasureTextEvent
   'tweaks (list
             ; Set the 'text based on the 'direction
             (cons 'text (lambda (grob)
               (if (eq? (ly:grob-property grob 'direction) DOWN)
                 (markup #:musicglyph "scripts.dfermata")
                 (markup #:musicglyph "scripts.ufermata"))))
             (cons 'outside-staff-priority 40)))

Carl, as my first frogs task could you please
check this out before I commit?

This looks good to me, but before I would approve it I would want to see a regtest and the output of the regtest. Have you made a test and run it?

Draft regtest and pdf output attached.
(The function definition would be removed
from the regtest before committing of
course.)

Trevor

Attachment: full-measure-rest-fermata.ly
Description: Text Data

Attachment: full-measure-rest-fermata.pdf
Description: Adobe PDF document


reply via email to

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