]> git.donarmstrong.com Git - lilypond.git/commitdiff
Let \fermataMarkup use \fermata markup command
authorDavid Kastrup <dak@gnu.org>
Sun, 28 Jul 2013 11:20:13 +0000 (13:20 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 2 Aug 2013 07:48:04 +0000 (09:48 +0200)
ly/property-init.ly

index 94be429743cdf2e77484ced4d3be7b6bfc10bdb4..5222b232d89de76917c55266393fb186d84f110e 100644 (file)
@@ -1,6 +1,6 @@
 % property-init.ly
 
-\version "2.17.20"
+\version "2.17.24"
 
 %% for dashed slurs, phrasing slurs, and ties
 #(define (make-simple-dash-definition dash-fraction dash-period)
@@ -219,14 +219,10 @@ endincipit = \context Staff {
 
 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)
-                      (cons 'outside-staff-padding 0)))
+            ;; Set the 'text based on the 'direction
+            'text (make-fermata-markup)
+             'tweaks '((outside-staff-priority . 40)
+                      (outside-staff-padding . 0)))
 
 %% font sizes