Hi Orm,

2014-09-05 13:52 GMT+02:00 Orm Finnendahl <
orm.finnend...@selma.hfmdk-frankfurt.de>:


> 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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to