lilypond-user
[Top][All Lists]
Advanced

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

Re: fermatas in parentheses


From: Pierre Perol-Schneider
Subject: Re: fermatas in parentheses
Date: Sat, 6 Sep 2014 10:37:23 +0200

Hi Orm,

2014-09-05 13:52 GMT+02:00 Orm Finnendahl <address@hidden>:
 
1. Is there a way to move the override for the font-size in the into
the definition of "parenfermata"

Try :

\version "2.19"

parenFermata = -\tweak ParenthesesItem.font-size #0
#(let ((m (make-music 'ArticulationEvent 'articulation-type "fermata")))
  (ly:music-set-property! m 'parenthesize #t)
  (ly:music-set-property! m 'tweaks
   (acons 'font-size -1 (ly:music-property m 'tweaks)))
  m)

\relative c' {
  c \parenFermata
}

 
2. Can this be achieved that it applies to multimeasure rest fermatas
as well?

\version "2.19"

parenFermataMarkup =
-\tweak stencil #(lambda (grob)
   (grob-interpret-markup grob #{
     \markup\concat {
       \fontsize #0 \musicglyph #"accidentals.leftparen"
       \hspace #.2 \lower #.6
       \fontsize #-1 \musicglyph #"scripts.ufermata"
       \hspace #.2
       \fontsize #0 \musicglyph #"accidentals.rightparen"  }
     #}))
-\tweak staff-padding #'()
\fermataMarkup

\relative c' {
  R1
  \parenFermataMarkup
}


HTH,
Pierre
 



reply via email to

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