[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\fermataMarkups should flip when below staff
From: |
gnomino |
Subject: |
\fermataMarkups should flip when below staff |
Date: |
Fri, 31 Jul 2009 08:05:34 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- \fermataMarkups should flip when below staff,
gnomino <=