Hello,

The \fermataMarkup command always produces a downward-facing symbol, even if
placed below the staff:

% the second \fermataMarkup isn't flipped, unlike the second \fermata
\relative { c1^\fermata c1_\fermata R1^\fermataMarkup R1_\fermataMarkup }



The following definition of \fermataMarkup seems to fix this just fine:

% directly sets the grob property 'text based on the 'direction
fermataMarkup = #(make-music 'MultiMeasureTextEvent
    'tweaks (list (cons 'text (lambda (grob)
        (if (= (ly:grob-property grob 'direction) DOWN)
            (markup #:musicglyph "scripts.dfermata")
            (markup #:musicglyph "scripts.ufermata")
        )
    )))
)

% the second \fermataMarkup is correctly flipped
\relative { c1^\fermata c1_\fermata R1^\fermataMarkup R1_\fermataMarkup }



I think this would be a useful modification of the \fermataMarkup command.

Any comments would be appreciated.



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to