Hi Pierre,

 thanks, works like a charm. This'll save me a lot of typing (and
time), I really appreciate your help!

I consider this input invaluable for understanding some of the inner
workings of lilypond for practical purposes even if it's only on a
surface level!

--
Orm

Am Samstag, den 06. September 2014 um 10:37:23 Uhr (+0200) schrieb Pierre 
Perol-Schneider:
> 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